首頁

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