首页

Check box

画在原生 <input type=checkbox> 上的复选框,不需要额外的 label 标记。

<div class="field-row-stacked">
  <label><input type="checkbox" checked> Show warnings</label>
  <label><input type="checkbox"> Use small icons</label>
  <label><input type="checkbox" checked disabled> Locked</label>
</div>
Mac OS 四个年代并排对照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Check box 简介

选择器
input[type=checkbox] label > input[type=checkbox] .field-row
Token
--clio-check-size --clio-check-bg --clio-check-border --clio-check-shadow --clio-check-mark
无障碍
它是原生 input,所以键盘、表单和屏幕阅读器的行为都由浏览器负责。在强制颜色模式下,控件改回系统自己的画法。
证据(8)
每个数值的来源(英文)
年代数值状态来源
System 7Identical to System 6: 12px, X when checked实测clio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame general-controls
100% identical, on and off
System 6A 12px box with a 1px frame; held, the frame thickens to 2px实测clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame get-info (Locked)
AI System 6 uses 13px
System 6Checked draws an X from corner to corner of the box实测clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame get-info-checked (Locked)
the art is system.css's checkmark.svg (MIT), which matches
System 6X art第三方apps/desktop/assets/themes/classic/controls/checkmark.svg
system.css icon/checkmark.svg (MIT, Sakun Acharige)
Platinum12px #ddd well, 1px black frame, white top-left and #888 bottom-right bevel实测apps/desktop/styles/65-appearance-themes.css:897 (P18)
GUIdebook Mac OS 9.0 Appearance Options tab (checkbox specimens)
PlatinumCheck mark: Mac OS 9's grey-shaded mark inside the frame, overhanging its right edge by two pixels实测clio.css capture, Mac OS 9.0 in Infinite Mac (npm run capture:platinum), frame general-controls; redrawn by tooling/p9-art.py
Show Desktop when in background; 96.4% identical (the frame 98.6%)
Drawing BoardCheck box: the theme's 14x11 pictures; image 0 off, 1 on, 3 mixed, 4/5 pressed, 8/9 disabled实测clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frames general-controls and date-time; the theme file's pxm# pixmaps, decoded by tooling/theme-resources.py and redrawn by tooling/db-art.py
off, on and disabled found 1:1 (Show Desktop, Show Launcher, Daylight-Saving Time is in effect)
NeXTSTEPSwitch: a 15x15 raised square (white top and left, #555555 then black bottom and right); on, an embossed check实测clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefs-dock (Workspace Manager Preferences, Dock), the Dock list's switches); tooling/nx-art.py check
fidelity nx-switch-on, nx-switch-off; AI System 6's 12px switch corrected

关于 clio.css

版本 2.0.4

MIT 许可。源代码在 GitHub。

字体:Clio Sans '84、Clio Text '84 和 Clio Sans '97 是按实测点阵新做的字体。ChicagoFLF 的作者是 Robin Casady(公有领域)。Asap 的作者是 Omnibus-Type,Clio Sans NX 取自 Liberation Sans 2,Clio Pixel 取自 TakWolf 的 Fusion Pixel Font,这三种都用 SIL Open Font License 1.1。详情见 THIRD-PARTY.md(英文)。

本项目与 Apple Inc. 没有关联,也未获其认可。Macintosh、Mac OS 和 Chicago 是 Apple Inc. 的商标,这里提到它们只为说明所还原的年代。

查找

输入组件、选择器、token 或数值。索引是英文的,请用英文查找。