首頁

Rounded-corner window

桌面附屬程式的視窗(rDocProc):圓角加黑色標題列,Classic 各個年代的計算機都這樣畫。

Calculator

<div class="rounded-window" style="width: 160px; height: 90px">
  <div class="rounded-title">
    <button class="close" aria-label="Close"></button>
    <h3>Calculator</h3>
  </div>
</div>
Mac OS 四個年代並排對照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Rounded-corner window 簡介

選擇器
.rounded-window .rounded-window.inactive .rounded-title .rounded-title > .close .rounded-title > h2
Token
--clio-rounded-bg --clio-art-rdoc-mask-tl --clio-art-rdoc-frame-tl
無障礙
替關閉方塊加標籤(aria-label="Close"),標題保持為真正的標題元素。圓角是遮罩:內容要離它 6px。
證據(5)
每個數值的來源(英文)
年代數值狀態來源
System 6A 1px black frame whose corners step in 5, 3, 2, 1, 1 pixels (the frame follows the same curve one pixel in); a 17-row black title bar ruled below; an 11px white close box at (9,4); the title in white, centred right of the close box. In the background: a white bar, a black title, no close box實測clio.css capture, System 6.0.8 in Infinite Mac (frames in .fidelity, see tooling/fidelity.ts): the Calculator (Apple menu), frames rdoc-calc and rdoc-calc-inactive; tooling/rare-art.py
specimens s6-rdoc-title, -title-inactive, -left, -bottom-left 100% identical
System 7The same window in System 7.5.3實測clio.css capture, System 7.5.3 in Infinite Mac (frames in .fidelity, see tooling/fidelity.ts): the Calculator, frame rdoc-calc
specimens s7-rdoc-title and s7-rdoc-left 100% identical
PlatinumMac OS 9.0 draws the old window unchanged, its title in the system font antialiased (white on black; black on white in the background)實測clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity, see tooling/fidelity.ts): the Calculator, frames rdoc-calc and rdoc-calc-inactive; levels in tooling/aa-palettes.py
specimens p9-rdoc-title and -title-inactive 100% identical but for ten faint title pixels the font lacks (masked); the title's place fitted to this capture
Drawing BoardDrawing Board leaves it as Platinum does實測clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (frames in .fidelity, see tooling/fidelity.ts): the Calculator, frame rdoc-calc
specimen db-rdoc-title 100% identical (the same ten pixels masked)
Classic erasThe Calculator's heavy right and bottom edge (3px) is its own drawing, not the window's推斷Inside Macintosh: Macintosh Toolbox Essentials (1992), ch. 4 (rDocProc drawn with a plain frame)
the left edge is 1px in the same frames; no other rDocProc window was found

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