System 7.5 到 Mac OS 9 的 Control Strip:帶選單三角形的模組按鈕、捲動箭頭,以及把它收起來的拉柄。標記和 AI System 6 的一致。
<div class="control-strip">
<button class="control-strip-scroll control-strip-scroll-back" disabled aria-label="Scroll back"></button>
<div class="control-strip-modules" role="toolbar" aria-label="Control Strip">
<div class="control-strip-module-track">
<button class="control-strip-module" aria-haspopup="menu" aria-expanded="false" aria-label="Monitor bit depth"><svg viewBox='0 0 16 16' aria-hidden='true'><rect x='2' y='3' width='12' height='9' fill='none' stroke='currentColor'/><rect x='4' y='5' width='8' height='5' fill='#ff0000'/><rect x='6' y='12' width='4' height='2' fill='currentColor'/></svg></button>
<button class="control-strip-module" aria-haspopup="menu" aria-expanded="false" aria-label="Sound volume"><svg viewBox='0 0 16 16' aria-hidden='true'><rect x='2' y='3' width='12' height='9' fill='none' stroke='currentColor'/><rect x='4' y='5' width='8' height='5' fill='currentColor'/><rect x='6' y='12' width='4' height='2' fill='currentColor'/></svg></button>
<button class="control-strip-module" aria-haspopup="menu" aria-expanded="false" aria-label="File sharing"><svg viewBox='0 0 16 16' aria-hidden='true'><rect x='2' y='3' width='12' height='9' fill='none' stroke='currentColor'/><rect x='4' y='5' width='8' height='5' fill='#3366cc'/><rect x='6' y='12' width='4' height='2' fill='currentColor'/></svg></button>
</div>
</div>
<button class="control-strip-scroll control-strip-scroll-forward" disabled aria-label="Scroll forward"></button>
<button class="control-strip-handle" aria-label="Collapse Control Strip"></button>
</div>Mac OS 四個年代並排對照
收起
加上 .is-collapsed 後只顯示拉柄。
<div class="control-strip is-collapsed"><button class="control-strip-handle" aria-label="Expand Control Strip"></button></div>- 選擇器
.control-strip.control-strip.is-collapsed.control-strip-scroll.control-strip-scroll-back.control-strip-scroll-forward.control-strip-modules.control-strip-module-track.control-strip-module.control-strip-handle- Token
--clio-strip-height--clio-strip-bg--clio-strip-line--clio-strip-cell-shadow--clio-strip-sunken-shadow--clio-strip-pressed-bg--clio-strip-pressed-shadow--clio-strip-module-width--clio-strip-handle- 無障礙
- 在 .control-strip-modules 上用 role=toolbar,並加 aria-label。每個模組和箭頭都是帶 aria-label 的 <button>。會打開選單的模組要帶 aria-haspopup="menu" 和 aria-expanded。沒有內容可捲動時,停用捲動箭頭。收起(.is-collapsed)和定位由你的腳本來做。
證據(7)
| 年代 | 數值 | 狀態 | 來源 |
|---|---|---|---|
| Platinum | 24px: 1px black lines round every cell; #c0c0c0 cells with a #c0c0c0 then white light and a #a0a0a0 then #808080 shade; an end cap, 13px scroll cells (sunken while there is nothing to scroll), 30px modules with the 16px icon 2px in and a 4x7 menu triangle 4px from the right, then 2px of black and the tab | 實測 | clio.css capture, Mac OS 9.0 in Infinite Mac (npm run capture:platinum), frame strip-expandedFinder desktop; start of the strip 89.5% identical |
| Platinum | Held module: #808080 face, 2px #404040 light and 2px #c0c0c0 shade | 實測 | clio.css capture, Mac OS 9.0 in Infinite Mac (npm run capture:platinum), frame strip-sliderSound module held |
| Platinum | End-cap icon, scroll arrows, menu triangle, the tab and the folded tab | 實測 | tooling/p9-art.py, redrawn from frames strip-expanded and strip-collapsedtab and folded tab 100% identical |
| Drawing Board | The Control Strip is not themed: Mac OS 8.5 under Drawing Board draws it exactly as Mac OS 9 does | 實測 | clio.css capture, Mac OS 8.5 with Drawing Board (npm run capture:drawingboard), frame findersame cells, bevels and tab, other modules |
| System 6 | System 6 had no Control Strip: drawn at the Mac OS 9 geometry in ink and paper, with 1-bit arrows, triangle and tab drawn for clio.css | 調整 | clio.cssAI System 6 shows its Control Strip in every era |
| System 7 | System 7.5.3 draws the Mac OS 9 strip in System 7 greys: #ccc cells, white light, #aaa then #888 shade, idle scroll cells sunken #888/white; end cap, arrows, triangle and tab identical pixel for pixel | 實測 | clio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame folder-windowFinder desktop |
| System 7 | Held module in System 7 greys (#888 face, #555 light, #ccc shade) | 推斷 | clio.css, from Mac OS 9's held modulenot captured in 7.5.3 |