首頁

Tabs

面板上方的一排標籤頁。Platinum 原本就有;System 6 沒有標籤頁控制項,這裡是調整出來的。

<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>
Mac OS 四個年代並排對照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

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

關於 clio.css

版本 2.0.4

MIT 授權。原始碼在 GitHub。

字體:Clio Sans '84、Clio Text '84 和 Clio Sans '97 是依實測點陣新做的字體。ChicagoFLF 的作者是 Robin Casady(公有領域)。Asap 的作者是 Omnibus-Type,Clio Sans NX 取自 Liberation Sans 2,Clio Pixel 取自 TakWolf 的 Fusion Pixel Font,這三種都採用 SIL Open Font License 1.1。詳情見 THIRD-PARTY.md(英文)。

本專案與 Apple Inc. 沒有關聯,也未獲其認可。Macintosh、Mac OS 和 Chicago 是 Apple Inc. 的商標,這裡提到它們只為說明所還原的年代。

尋找

輸入元件、選擇器、token 或數值。索引是英文的,請用英文尋找。