clio.css Read Me

clio.css draws the windows, menus and controls of Classic Mac OS and NeXTSTEP on plain HTML elements. It has five eras: System 6, System 7, Mac OS 8.5’s withdrawn Drawing Board theme, Mac OS 9 Platinum and NeXTSTEP 3.3.

Macintosh HD

12 items232K in disk167K available

A window pane scrolls with the era's scroll bars.

Save changes to the document “Untitled” before closing?

In the package

  • 32 components. Each has a page with a live example, its markup, its tokens and its evidence.
  • 348 values, each with a source: 255 measured from real pixels of the era, 44 inferred, 45 adapted for the web and 4 third-party.
  • CSS and small SVGs. clio.js is optional: it adds held controls, Return and Esc in dialogs, and scroll bars with the era's fixed scroll box.
  • Every rule uses :where() or a single class, so your own CSS wins. Every value is a --clio-* custom property.
  • No screenshots, icons or Apple fonts. MIT.

Eras

Eradata-eraMeasured fromYear
System 6system6 (the default)System 6.0.81991
NeXTSTEPclio.nextstep.css (its own file)NeXTStep 3.0, for NeXTSTEP 3.3's look1992
System 7system7 System 7.5.31996
Drawing Boarddrawingboard Mac OS 8.5 with the 8.5b6 Drawing Board theme1998
Platinumplatinum Mac OS 9.01999

Put data-era on <html>, or on any element, to switch everything inside it. NeXTSTEP is clio.nextstep.css, a file of its own.

Coming from system.css? Its markup works unchanged: .window, .title-bar with button.close and button.resize, .details-bar, .window-pane, .btn, .btn-default, .standard-dialog, .modal-dialog, .alert-box, .field-row and role="menu-bar" menus.

For AI agents: llms.txt (summary and links), llms-full.txt (every component's markup and the full stylesheet) and components.json (selectors, tokens, markup and evidence per component).

Installer

<link rel="stylesheet" href="https://unpkg.com/clio.css@2.0.4/dist/clio.css">

Easy Install is one line for your page's <head>. The page draws System 6 until you set data-era.

clio.system6.css, clio.system7.css, clio.drawingboard.css and clio.platinum.css each hold one era. Fonts and art load from dist/fonts/ and dist/art/ beside the stylesheet, so serve the dist folder whole. The CDNs do.

Components

Windows and desktop

Window
A document window: frame, title bar with close and zoom boxes (plus the WindowShade box in Platinum), an optional details bar and a scrolling pane. System 7 adds colour to the frame and title bar.
Dialogs and alerts
The modal dialog frame, the alert layout with an icon, and the plain shadowed box.
Rounded-corner window
The desk accessory's window (rDocProc): rounded corners and a black title bar, as the Calculator draws it in every Classic era.
Side-title utility window
A floating window whose title bar runs down its left side (kWindowFloatSide*): close box at the top, collapse box at the foot.
Menu bar and menus
The menu bar across the top of the screen and its pull-down menus: items, keyboard shortcuts, check marks, separators, disabled items and submenus.
Desktop and icons
The desktop pattern and desktop icons with their name labels. Bring your own icon images; clio.css ships no Apple icons.
Control Strip
The Control Strip of System 7.5 to Mac OS 9: module buttons with menu triangles, scroll arrows and a tab that folds it away. Markup matches AI System 6's.
Workspace dock (NeXTSTEP)
The column of 64px application tiles at the screen's right edge; a docked application that is not running shows three dots. NeXTSTEP only.
Help balloon
Balloon Help: a white balloon with a tail pointing at what it describes.
Placard
A framed strip for status or a small control at the foot of a window, beside the horizontal scroll bar.
Split bar
The bar above a vertical scroll bar that splits a window into panes, and the split line between two panes.
Scroll bar
The era's scroll bar on every scroll area clio.css owns, on any element with .clio-scroll, or on the whole page with <html class="clio-scrollbars">.

Controls

Push button
Push buttons, the default button with its ring, the pressed state and the disabled state. Styles <button>, .btn and input buttons.
Bevel button
A square bevelled button for an icon or a short label: push button, toggle (aria-pressed) or menu (class menu).
Help button
The square button with the help icon in a dialog's lower left.
Check box
A check box drawn on the native <input type=checkbox>; no extra label markup needed.
Radio button
A radio button drawn on the native <input type=radio>.
Text field
Single-line inputs and <textarea>.
Pop-up menu
A <select> drawn as the era's pop-up menu; <select multiple> or size>1 becomes a list box.
Pull-down list (NeXTSTEP)
A button that opens a list of commands; its title stays the same. NeXTSTEP only.
Slider
<input type=range> as the Appearance slider, with optional tick marks.
Little arrows
The up and down pair beside a number or a clock field.
Disclosure triangle
The triangle that shows and hides a list's or a dialog's details. A <details> summary gets it too.
Tabs
A tab strip over a panel. Native in Platinum; an adaptation in System 6, which had no tab control.
Group box
A <fieldset> with a <legend>, for grouping controls.
Progress bar
The native <progress> element as the era's thermometer.
Chasing arrows
The asynchronous progress indicator: two arrows chasing round a circle.
Image well
A sunken well holding a picture or an icon.

Lists and type

List box
A scrolling list with one or more selected rows, as in the Open dialog.
List view
The Finder's list view: column headers with the sorted column marked, and rows of names and details.
Browser (NeXTSTEP)
NeXTSTEP's column browser: lists side by side, each item that leads further marked with an arrow. NeXTSTEP only (clio.nextstep.css).
Type and tokens
The fonts, the palette and every --clio-* custom property you can override.

Evidence policy

The values come from AI System 6, a writing desktop that recreates these eras and measures them against real screens: System 6.0.8, System 7.5.3 and Mac OS 8.5 (with the 8.5b6 Drawing Board theme) in the Infinite Mac emulator, and Mac OS 9.0 in Infinite Mac and from GUIdebook captures. Each value carries one of four labels:

  • Measured read from real pixels of the era.
  • Inferred reasoned from documentation or behaviour, not yet measured.
  • Adapted a deliberate change for the web: touch sizes, keyboard focus, contrast.
  • Third-party art or a font from a named, licensed project.

clio.css ships no screenshots, icons, logos or Apple fonts; screenshots stay evidence only. Small control parts for System 7, Mac OS 9 and Drawing Board (boxes, arrows, check boxes, tab ends) are redrawn pixel for pixel by a script, from measured pixels or the theme’s own resources, and labelled in the evidence; large textures are not reproduced. The full table is in EVIDENCE.md.

About clio.css

Version 2.0.4

MIT licence. Source on GitHub.

Fonts: Clio Sans '84, Clio Text '84 and Clio Sans '97 are new fonts built from measured bitmaps. ChicagoFLF is by Robin Casady (public domain). Asap is by Omnibus-Type, Clio Sans NX comes from Liberation Sans 2, and Clio Pixel comes from Fusion Pixel Font by TakWolf (all three: SIL Open Font License 1.1). Details are in THIRD-PARTY.md.

Not affiliated with or endorsed by Apple Inc. Macintosh, Mac OS and Chicago are trademarks of Apple Inc., named here only to describe the eras recreated.

Find

Type a component, a selector, a token or a value.