clio.css窗口控件列表Menu

List box
Chinese text garbled? Show it as pictures

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

示例:listbox

<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>

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