clio.css視窗控制項列表Menu

Control Strip
Chinese text garbled? Show it as pictures

System 7.5 到 Mac OS 9 的 Control Strip:帶選單三角形的模組按鈕、捲動箭頭,以及把它收起來的拉柄。標記和 AI System 6 的一致。

範例:control-strip

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

收起

加上 .is-collapsed 後只顯示拉柄。

範例:control-strip-0

<div class="control-strip is-collapsed"><button class="control-strip-handle"
    aria-label="Expand Control Strip"></button></div>

Control Strip 簡介

選擇器
.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)

每個數值的來源(英文)
年代數值狀態來源
Platinum24px: 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-expanded
Finder desktop; start of the strip 89.5% identical
PlatinumHeld 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-slider
Sound module held
PlatinumEnd-cap icon, scroll arrows, menu triangle, the tab and the folded tab實測tooling/p9-art.py, redrawn from frames strip-expanded and strip-collapsed
tab and folded tab 100% identical
Drawing BoardThe 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 finder
same cells, bevels and tab, other modules
System 6System 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.css
AI System 6 shows its Control Strip in every era
System 7System 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-window
Finder desktop
System 7Held module in System 7 greys (#888 face, #555 light, #ccc shade)推斷clio.css, from Mac OS 9's held module
not captured in 7.5.3