首页

List box

可滚动的列表,可以选中一行或多行,和“打开”对话框里的一样。

  • Apple DVD Player
  • Apple Video Player
  • AppleCD Audio Player
  • QuickTime
  • Security
  • SimpleText
<ul class="listbox" role="listbox" aria-label="Documents" style="width: 220px; height: 82px">
  <li role="option" aria-selected="true">Apple DVD Player</li>
  <li role="option">Apple Video Player</li>
  <li role="option">AppleCD Audio Player</li>
  <li role="option">QuickTime</li>
  <li role="option">Security</li>
  <li role="option">SimpleText</li>
</ul>
Mac OS 四个年代并排对照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

List box 简介

选择器
.listbox [role=listbox] [role=option] [aria-selected=true] .selected
Token
--clio-list-bg --clio-list-border --clio-list-shadow --clio-list-row --clio-selection-bg --clio-selection-fg
无障碍
用 role=listbox 和 role=option,并加 aria-selected。焦点的移动由你的脚本来做(roving tabindex)。
证据(6)
每个数值的来源(英文)
年代数值状态来源
System 7As System 6: a selected row inverts across the list推断seen in the Keyboard control panel during capture; the Color control panel's highlight colour is Black & White (System 7.5.3 in Infinite Mac); the row itself not pixel-checked
System 7.5.3
System 6White list, 1px ink frame, 16px rows; a selected row inverts across the whole list width实测clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frames save-dialog and list-selected (Standard File)
System 6.0.8 TeachText Save As
PlatinumSelection is lavender #ccccff with black text实测apps/desktop/styles/65-appearance-themes.css:128
GUIdebook Mac OS 9.0 Open dialog (open-list-scrollbar specimen)
PlatinumRows carry no divider实测apps/desktop/styles/65-appearance-themes.css:860 (P10)
Mac OS 9 native list capture 21
Drawing BoardList boxes: a 2px olive #9c9c63 line, 1px of whatever is behind inside it (the pane's paper), white rows, the chosen row #ccf with black text实测clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame desktop-tab
pattern list, lower-left corner
NeXTSTEPLists: white, 1px black frame, 16px rows; a selected row is white on a light-grey cell in a browser, light grey in a plain list推断AI System 6 69-nextstep-appearance.css
not captured

关于 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 或数值。索引是英文的,请用英文查找。