首页

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 或数值。索引是英文的,请用英文查找。