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 |