首頁

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