首頁

Group box

帶 <legend> 的 <fieldset>,用來替控制項分組。

Sound
<fieldset style="width: 260px">
  <legend>Sound</legend>
  <div class="field-row"><label><input type="checkbox" checked> Play system alerts</label></div>
</fieldset>
Mac OS 四個年代並排對照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Group box 簡介

選擇器
fieldset legend
Token
--clio-group-border --clio-group-shadow
無障礙
fieldset 的 legend 會把這一組的名稱告訴螢幕閱讀器。
證據(8)
每個數值的來源(英文)
年代數值狀態來源
System 7Native group box: a 1px grey line with the legend on it; the original alternates #777 and #888, drawn #777 here實測clio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frames general-controls and numbers
System 7.5.3 control panels
System 6System 6 had no group box; clio.css draws a 1px ink frame with the legend on paper調整clio.css
Control Panel divides its panes with plain 1px rules (clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame control-panel)
PlatinumEtched: #888 line with a white line inside and below實測apps/desktop/styles/65-appearance-themes.css:909 (P20)
Mac OS 9 native group box
Drawing BoardGroup boxes: a 1px #777 line (#888 on the bottom and right edge), no bevel實測clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame general-controls
Desktop group
PlatinumSecondary group box (fieldset.secondary): one #888 line, no light實測clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity/hig/platinum9), frame sound (Settings for selected device)
—
Classic erasA check box or pop-up menu can title a group box from inside the legend實測clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity/platinum9), frame date-time (Use a Network Time Server)
—
NeXTSTEPBox: a #555555 outline with a white one drawn over it a pixel down and right實測clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefsapp-moved (Preferences, Mouse), the Menu Button box)
fidelity nx-box-corner
NeXTSTEPThe box's title centred across its top line, the lines broken round it推斷clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefsapp-moved (Preferences, Mouse))
the title is Helvetica and is not compared

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