clio.css窗口控件列表Menu

Tabs
Chinese text garbled? Show it as pictures

面板上方的一排标签页。Platinum 原本就有;System 6 没有标签页控件,这里是调整出来的。

示例:tabs

<div style="width: 320px">
  <div role="tablist" aria-label="Appearance">
    <button role="tab" aria-selected="true">Appearance</button>
    <button role="tab" aria-selected="false">Fonts</button>
    <button role="tab" aria-selected="false">Sound</button>
  </div>
  <div role="tabpanel">
    <div class="field-row"><label for="clio-theme">Theme:</label>
      <select id="clio-theme"><option>Mac OS Default</option></select>
    </div>
  </div>
</div>

Tabs 简介

选择器
[role=tablist] [role=tab] [aria-selected=true] [role=tabpanel] .tabs .tab-panel
Token
--clio-tab-height --clio-tab-panel-bg --clio-tab-panel-border
无障碍
用 role=tablist、带 aria-selected 和 aria-controls 的 role=tab,以及 role=tabpanel。用方向键在标签页之间移动,要由你的脚本来做。

证据(5)

每个数值的来源(英文)
年代数值状态来源
System 7System 7 had no tab control; the System 6 adaptation is used调整clio.css
System 7.5.3
System 6Boxed labels that join the panel调整clio.css
System 6 had no tab control
PlatinumTab art: sloped caps, #ccc tabs, the front tab #eee and 2px taller, drawn by tooling/tab-art.py from the measured geometry实测tooling/tab-art.py, from AI System 6 specimen selected-tab (GUIdebook Mac OS 9.0 Appearance)
95.7% identical against GUIdebook (selected-tab)
Drawing BoardTabs: the theme's left end (6px) and right end (17px, 2px taller) with the right end's first column stretched between; the front tab is the content colour and opens into the panel实测clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame appearance; the theme file's pxm# pixmaps, decoded by tooling/theme-resources.py and redrawn by tooling/db-art.py
NTabLeft and NTabRight found 1:1 at (244,96) and (327,94)
NeXTSTEPNeXTSTEP 3.3 had no tab control; tabs take the button's bevel调整clio.css
NeXTSTEP User Interface Guidelines, Release 3 has no tab view