首頁

Combo box

Mac OS 8/9 Appearance Manager 的可編輯組合框:文字輸入框右側附帶彈出箭頭按鈕。

<div class="combo-box" style="width: 180px">
  <input type="text" value="Charcoal" aria-label="Font">
  <button type="button" aria-label="Choose font"></button>
</div>
Mac OS 四個年代並排對照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Combo box 簡介

選擇器
.combo-box .combo-box > input .combo-box > button
Token
--clio-combo-arrow --clio-combo-arrow-size --clio-combo-arrow-held
無障礙
使用 role="combobox" 或為 <input> 加標籤,並為右側箭頭 <button> 加上 aria-label 和 aria-expanded。
證據(4)
每個數值的來源(英文)
年代數值狀態來源
PlatinumEditable text field joined to a 20px push button carrying the pop-up menu's 7x10 arrow推斷Mac OS 8/9 Appearance Manager Human Interface Guidelines
reuses the measured pop-up arrow (--clio-art-p-dropdown); no combo box captured
Drawing BoardThe same, with Drawing Board's own 7x9 pop-up arrow推斷clio.css
reuses --clio-art-db-popup-arrow; no combo box captured
System 7The era's text field and a 20px push button with the pop-up menu's 11x6 triangle, white while held (System 7 had no combo box)調整clio.css
the triangle is System 7's measured pop-up mark; keeps the markup working in every Classic era
System 6The same as System 7 (System 6 had no combo box)調整clio.css
keeps the markup working in every Classic era

關於 clio.css

版本 2.1.1

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 或數值。索引是英文的,請用英文尋找。