首页

Bevel button

方形的斜面按钮,放图标或短标签:可以是普通按钮、开关(aria-pressed)或菜单(menu 类)。

<button class="bevel menu" style="width: 36px; height: 27px" aria-label="Shortcuts" aria-haspopup="menu">☞</button>
<button class="bevel" aria-pressed="true" style="width: 36px; height: 27px">B</button>
Mac OS 四个年代并排对照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Bevel button 简介

选择器
.bevel .bevel.menu .bevel[aria-pressed=true] .bevel:active
Token
--clio-art-bevel --clio-art-bevel-held --clio-bevel-slice
无障碍
真正的按钮。只有图标的要加标签;菜单式的斜面按钮需要 aria-haspopup 和 aria-expanded。
证据(4)
每个数值的来源(英文)
年代数值状态来源
Platinum#666/#333 outline, white light, #ccc face, #999/#777 shade, 3px corners; held dark; a 3x2 menu arrow 5px from the right and 4px up实测clio.css capture, Mac OS 9.0 in Infinite Mac (driven by hand, frames in .fidelity/hig/platinum9), frames nav and nav-bevel-held (Navigation Services)
normal with its menu arrow 100% identical; the held frame's bottom row was under the opened menu and is the right edge's #444 (inferred)
Drawing BoardDrawn as the theme's push button (pens, corner pixels, hatch)推断clio.css
the Navigation Services bevel buttons were not matched pen for pen
System 7Earlier eras had none; they use Platinum's调整clio.css
Mac OS 8 Human Interface Guidelines (1997), ch. 2 (Bevel Buttons)
System 6System 6 had none; it uses Platinum's调整clio.css
—

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