首頁

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 或數值。索引是英文的,請用英文尋找。