, which stays chosen while the
pointer is in the submenu: its own items start from the black levels. */
:is([data-era="platinum"], [data-era="drawingboard"]) :is(.menu, [role="menu"]) :is(.menu, [role="menu"]) {
font-palette: normal;
}
/* ---- Side-title utility window (kWindowFloatSide*) ----------------------------
Mac OS 9's frame is in 91-platinum-only.css, Drawing Board's in
92-drawingboard.css. Both leave the title undrawn, for assistive technology. */
:is([data-era="platinum"], [data-era="drawingboard"]) .window.utility.side > .title-bar > :is(.title, h1, h2, h3) {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
/* ---- Placard (Mac OS 9.0, the Appearance SDK's CDEF Tester, frame placard) -----
1px black, white light on the top and left, #aaa shade on the right and the
bottom (the corners they would share stay #ddd), #ddd face. Disabled: a #555
frame on #eee, no light or shade (frame placard-disabled). */
:is([data-era="platinum"], [data-era="drawingboard"]) .placard {
border-color: #000000;
background:
linear-gradient(#ffffff, #ffffff) 0 0 / calc(100% - 1px) 1px no-repeat,
linear-gradient(#ffffff, #ffffff) 0 0 / 1px calc(100% - 1px) no-repeat,
linear-gradient(#aaaaaa, #aaaaaa) 100% 1px / 1px calc(100% - 1px) no-repeat,
linear-gradient(#aaaaaa, #aaaaaa) 1px 100% / calc(100% - 1px) 1px no-repeat,
#dddddd;
color: #000000;
}
:is([data-era="platinum"], [data-era="drawingboard"]) .placard:is(:disabled, [aria-disabled="true"], .window.inactive *) {
border-color: #555555;
background: #eeeeee;
color: #555555;
}
/* ---- Split bar (BBEdit 5.1, Mac OS 9.0, frames bb3 and split-done) -------------
7 rows of black across the scroll bar's width; the split line puts its two
lines on the bar's fourth and sixth rows. */
:is([data-era="platinum"], [data-era="drawingboard"]) :is(.split-view, .split-bar, .split-line) {
--clio-split-bar-height: 7px;
--clio-split-bg: #ffffff;
--clio-split-ink: #000000;
}
:is([data-era="platinum"], [data-era="drawingboard"]) .split-line {
--clio-split-line-1: 3px;
}
/* ---- Rounded-corner window (the Calculator, Mac OS 9.0 and 8.5) ----------------
The old window definition draws it as in System 7, its title in the system font
antialiased: white on black, black on white in the background (levels measured,
tooling/aa-palettes.py). */
:is([data-era="platinum"], [data-era="drawingboard"]) .rounded-window > .rounded-title {
font-family: Charcoal, "Charcoal CY", "Clio Sans '97 Title Exact", "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, sans-serif;
padding-left: 16px; /* Clio Sans '97 Title sets "Calculator" 2px narrower than the Mac's Charcoal: fitted to the capture */
font-size: 12px;
font-palette: --clio-aa-rdoc-title;
}
:is([data-era="platinum"], [data-era="drawingboard"]) .rounded-window.inactive > .rounded-title {
font-palette: --clio-aa-rdoc-title-inactive;
}
/* Mac OS 9 Platinum only (not Drawing Board, whose theme draws its own):
scroll-bar details read from the Mac OS 9.0 Finder (frames hig/platinum9/
finder-scroll-*) and the side-title window's frame. The build leaves this file
out of clio.drawingboard.css. */
/* ---- The scroll box's far side is the window's frame (Mac OS 9.0 Finder) --- */
:is([data-era="platinum"]) :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-thumb:vertical {
border-right-width: 0;
}
:is([data-era="platinum"]) :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb.clio-sb-v > .clio-sb-thumb {
border-right-width: 0;
}
:is([data-era="platinum"]) :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-thumb:horizontal {
border-bottom-width: 0;
}
:is([data-era="platinum"]) :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb.clio-sb-h > .clio-sb-thumb {
border-bottom-width: 0;
}
/* Smart Scrolling (clio.js bars): the up and left arrows move to the far end
and take their black line on the lane's side (frame finder-scroll-smart). */
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-v.clio-sb-smart > .clio-sb-dec {
border-top: 1px solid #000000;
border-bottom-width: 0;
}
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-h.clio-sb-smart > .clio-sb-dec {
border-left: 1px solid #000000;
border-right-width: 0;
}
/* Nothing to scroll (clio.js bars): a flat #eee lane and dimmed arrows, the
bevels gone (Finder, frame finder-scroll-fixed, its horizontal bar). */
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-off > .clio-sb-track {
background: #eeeeee;
box-shadow: none;
}
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-off > .clio-sb-button {
background-color: #eeeeee;
box-shadow: none;
}
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-v.clio-sb-off > .clio-sb-button.clio-sb-dec { background-image: var(--clio-art-p-up-off); }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-v.clio-sb-off > .clio-sb-button.clio-sb-inc { background-image: var(--clio-art-p-down-off); }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-h.clio-sb-off > .clio-sb-button.clio-sb-dec { background-image: var(--clio-art-p-left-off); }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-h.clio-sb-off > .clio-sb-button.clio-sb-inc { background-image: var(--clio-art-p-right-off); }
/* ...and the lines between the arrows and the lane dim to #555, drawn as
shadows so the black line across keeps the corner. */
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-h.clio-sb-off > .clio-sb-button.clio-sb-dec { border-right-width: 0; box-shadow: inset -1px 0 #555555; }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-h.clio-sb-off > .clio-sb-button.clio-sb-inc { border-left-width: 0; box-shadow: inset 1px 0 #555555; background-position: 1px 1px; }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-v.clio-sb-off > .clio-sb-button.clio-sb-dec { border-bottom-width: 0; box-shadow: inset 0 -1px #555555; }
[data-era="platinum"] .clio-sb-host > .clio-sb-anchor > .clio-sb-v.clio-sb-off > .clio-sb-button.clio-sb-inc { border-top-width: 0; box-shadow: inset 0 1px #555555; background-position: 1px 1px; }
/* ---- Collapsed (WindowShade): the frame closes round the title bar --------
Mac OS 9.0, Games collapsed (frame collapsed): the title bar's last two rows
become the window's own #999 shade and black frame, which run under the side
bands too. */
[data-era="platinum"] .window.collapsed {
padding-bottom: 1px;
}
/* the bevel only: the inner strip round the pane has gone with it */
[data-era="platinum"] .window.collapsed:not(.inactive) {
background:
var(--clio-p9-bevel),
var(--clio-window-bg);
}
[data-era="platinum"] .window.collapsed > .title-bar {
height: calc(var(--clio-titlebar-height) - 2px);
border-bottom-width: 0;
}
/* ---- The open pop-up menu (Mac OS 9.0, Appearance > Fonts, Large System Font
held; frame popup-open) ----------------------------------------------------
Laid with its top on the button's (the current item there), as wide as the
button less its arrows (20px), framed all round in black with a white and
#999 bevel whose other two corners stay #ddd, and its shadow starting 2px in
(the clip takes the first pixel of each end). The check mark sits 3px in,
the text 20px. */
[data-era="platinum"] select {
--clio-popup-menu-trim: 20px;
--clio-popup-menu-align: top;
}
[data-era="platinum"] .clio-popup-menu {
border-top-width: 1px;
background:
var(--clio-p9-bevel),
#dddddd;
box-shadow: 1px 1px 0 #222222;
clip-path: polygon(0 0, 100% 0, 100% 2px, calc(100% + 1px) 2px, calc(100% + 1px) calc(100% + 1px), 2px calc(100% + 1px), 2px 100%, 0 100%);
}
[data-era="platinum"] .clio-popup-menu > li {
padding-left: 20px;
}
/* Black on #ddd, every antialiasing level as the screen shows it (the push
buttons' palette: the same colours). */
[data-era="platinum"] .clio-popup-menu > li:not(.disabled, .active, :hover) {
font-family: "Clio Sans '97 Exact", var(--clio-font-chrome);
font-palette: --clio-aa-p9-button;
}
[data-era="platinum"] .clio-popup-menu > li:is(.checked, [aria-checked="true"])::before {
left: 3px;
}
/* The same menu where the browser draws it (base-select). */
@supports (appearance: base-select) {
[data-era="platinum"] select::picker(select) {
min-width: calc(anchor-size(width) - 20px);
border-top-width: 1px;
background:
var(--clio-p9-bevel),
#dddddd;
box-shadow: 1px 1px 0 #222222;
clip-path: polygon(0 0, 100% 0, 100% 2px, calc(100% + 1px) 2px, calc(100% + 1px) calc(100% + 1px), 2px calc(100% + 1px), 2px 100%, 0 100%);
}
[data-era="platinum"] select option {
padding-left: 20px;
}
[data-era="platinum"] select option:not(:disabled, :hover, :focus-visible) {
font-family: "Clio Sans '97 Exact", var(--clio-font-chrome);
font-palette: --clio-aa-p9-button;
}
[data-era="platinum"] select option::checkmark {
left: 3px;
}
}
/* While its menu is open the button's arrows are drawn pressed: a #444 top row,
#555 then a #666 face, the arrows white, #777 and #888 below and to the right
(frame fonts-popup-open). clio.js marks the select it opens a menu for. */
[data-era="platinum"] select.clio-open {
background: var(--clio-art-p9-popup-open-arrows) right 0 top 0 / 19px 18px no-repeat, var(--clio-popup-arrow), var(--clio-popup-bg);
border-image-source: var(--clio-art-frame-p9-popup-open); /* the arrows' corners pressed too */
}
@supports selector(:open) {
[data-era="platinum"] select:open {
background: var(--clio-art-p9-popup-open-arrows) right 0 top 0 / 19px 18px no-repeat, var(--clio-popup-arrow), var(--clio-popup-bg);
border-image-source: var(--clio-art-frame-p9-popup-open);
}
}
/* The title's line is 12px, not the 13px row: Charcoal's 11px ascent and 3px
descent then leave no half pixel above the baseline, which each browser
rounded its own way (Chromium up, WebKit and Firefox down a row). The box
keeps its 13px height. */
[data-era="platinum"] .title-bar > :is(.title, h1, h2, h3) {
line-height: calc(var(--clio-titlebar-row) - 1px);
}
/* The column just past the cut-out covers the ridges' #777 rows (their cut is a
pixel to the right of the white rows'). It used to be an ::after outside the
title, shown through overflow-clip-margin, which WebKit lacks; now the title
is a pixel wider into it (a -1px margin keeps it centred where it was) and
paints that column itself. */
[data-era="platinum"] .title-bar:not(.inactive-title-bar, .window.inactive > .title-bar) > :is(.title, h1, h2, h3) {
margin-right: -1px;
padding-right: 4px;
background:
repeating-linear-gradient(to bottom, transparent 0 1px, #777777 1px 2px) 0 0 / 1px 12px no-repeat,
repeating-linear-gradient(to bottom, transparent 0 1px, #cccccc 1px 2px) right 0 top 0 / 1px 12px no-repeat,
linear-gradient(#cccccc, #cccccc) 0 0 / calc(100% - 1px) 100% no-repeat;
}
[data-era="platinum"] .title-bar > :is(.title, h1, h2, h3)::after {
content: none;
}
/* ---- The window's drop shadow starts 2px in -------------------------------
Mac OS 9.0 (Infinite HD, measured): the 1px black shadow runs down the right
from the frame's third row and along the foot from its third column; a
box-shadow could only start it 1px in. Two border lines on a pseudo-element
draw it (the box itself stays clear); its offsets count from the padding box,
inside the 1px frame. */
[data-era="platinum"] .window {
box-shadow: none;
}
[data-era="platinum"] .window::after {
content: "";
position: absolute;
top: 1px;
right: -2px;
bottom: -2px;
left: 1px;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
pointer-events: none;
}
/* Behind another window the shadow turns #555555 and keeps the same notch
(Mac OS 9.0 Finder window, measured). */
[data-era="platinum"] .window.inactive {
box-shadow: none;
}
[data-era="platinum"] .window.inactive::after {
border-color: #555555;
}
/* ---- Side-title utility window (kWindowFloatSide*; Mac OS 9.0, the Appearance
SDK's sample "Side Utility Window", frames side3) ------------------------------
with the usual .title-bar (close box at the
top, collapse box at the foot; no title is drawn). The frame is the utility
window's: 1px black, white light on the top and left, #999 shade on the right
and the bottom, the drop from the second row and column. The bar is 10px of #ccc
down the left with the 3px dot pattern from 12px below its top to 12px above its
foot; the collapse box is the title-bar one transposed. */
[data-era="platinum"] .window.utility.side {
flex-direction: row;
background:
linear-gradient(#ffffff, #ffffff) 0 0 / calc(100% - 1px) 1px no-repeat,
linear-gradient(#ffffff, #ffffff) 0 0 / 1px calc(100% - 1px) no-repeat,
linear-gradient(#999999, #999999) 100% 1px / 1px calc(100% - 1px) no-repeat,
linear-gradient(#999999, #999999) 1px 100% / calc(100% - 1px) 1px no-repeat,
#cccccc;
}
[data-era="platinum"] .window.utility.side > .title-bar {
display: block;
flex: none;
width: 10px;
height: auto;
margin: 1px 0 1px 1px;
padding: 0;
background: url("art/platinum/utility-dots.png") 1px 12px / 3px 3px repeat, #cccccc;
box-shadow: none;
}
/* The dots keep to columns 1 to 9 and rows 12 to 12 above the foot: a #ccc frame
painted over the pattern's edges. */
[data-era="platinum"] .window.utility.side > .title-bar::before {
content: "";
position: absolute;
inset: 0;
border-style: solid;
border-color: #cccccc;
border-width: 12px 0 12px 1px;
pointer-events: none;
}
[data-era="platinum"] .window.utility.side > .title-bar::after {
content: none;
}
[data-era="platinum"] .window.utility.side > .title-bar > :is(.close, .close-box, .resize, .resize-box, .zoom, .shade, .shade-box, .collapse) {
top: 0;
right: auto;
left: 0;
z-index: 1;
box-shadow: none;
}
[data-era="platinum"] .window.utility.side > .title-bar > :is(.shade, .shade-box, .collapse, .resize, .resize-box, .zoom) {
top: auto;
bottom: 0;
background-image: url("art/platinum/utility-collapse-side.png");
}
[data-era="platinum"] .window.utility.side > .window-pane {
margin: 1px 1px 1px 0;
}
/* In the background: a #555 frame and drop on flat #ddd; no boxes, no dots. */
[data-era="platinum"] .window.utility.side.inactive {
border-color: #555555;
background: #dddddd;
}
[data-era="platinum"] .window.utility.side.inactive::before {
background:
linear-gradient(#555555, #555555) 100% 0 / 1px 100% no-repeat,
linear-gradient(#555555, #555555) 0 100% / 100% 1px no-repeat;
}
[data-era="platinum"] .window.utility.side.inactive > .title-bar {
background: #dddddd;
}
[data-era="platinum"] .window.utility.side.inactive > .title-bar::before {
content: none;
}
/* ---- Utility window: the dot pattern right of the title ---------------------- */
/* The dots right of the title run from the right end (their phase differs
from the left run's by one column). */
[data-era="platinum"] .window.utility > .title-bar::after {
content: "";
position: absolute;
top: 0;
right: 25px;
bottom: 1px;
left: 50%;
border: 0;
background:
url("art/platinum/utility-dots.png") right -1px top 2px / 3px 3px repeat-x,
url("art/platinum/utility-dots.png") right -1px top 5px / 3px 3px repeat-x,
url("art/platinum/utility-dots.png") right -1px top 8px / 3px 3px repeat-x,
#cccccc;
box-shadow: none;
}
/* Mac OS 8.5 "Drawing Board" (the beta theme Apple shipped in 8.5b6 and
withdrew). Applies inside any element with data-era="drawingboard"; it shares
the Platinum layer's structure (both are Appearance Manager themes) and
replaces its colours, geometry and art. clio.drawingboard.css is a build of
this file with Drawing Board as the page default.
Values: Infinite Mac, Mac OS 8.5 with the theme installed
(`npm run capture:drawingboard`), read 1:1. The art is the theme's own:
its 'pxm#' pictures and 'ppat' patterns (papers and the pattern pens the
theme draws its pencil lines with), written to art/drawingboard/ by
tooling/db-art.py and tooling/db-pens.py and placed as Mac OS places them,
each found 1:1 in the capture. The stylesheet loads them from art/ beside
itself, as it loads fonts/. See EVIDENCE.md. */
[data-era="drawingboard"] {
/* the theme's own arrow: 'crsr' 128, 16x16 in greys, hot spot 0,0 (tooling/db-cursor.py
writes art/cursors/db-arrow{,-2x,-3x}.png; --check compares every pixel with the
resource). 129-131 are the same arrow with a drag badge (copy, alias, a document). */
--clio-cursor-arrow: image-set(url("art/cursors/db-arrow.png") 1x, url("art/cursors/db-arrow-2x.png") 2x, url("art/cursors/db-arrow-3x.png") 3x) 0 0, default;
--clio-scrollbar-size: 16px;
--clio-scrollbar-button-bevel: none;
--clio-scrollbar-button-bevel-on: none;
/* clio.js: the dragged region is the frame and its shadow, 7px across and 8px
down, with the frame pieces' overrun near the corners (tooling/db-outline.py
writes those as patches; the outline gets a 12px margin to hold them) */
--clio-drag-outline-extra: 7px;
--clio-drag-outline-extra-y: 8px;
--clio-drag-outline-margin: 12px;
--clio-db-outline-tl: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAQAAAAkGDomAAAARElEQVR42u3WwQ0AIAgEQUP/PWMHfD3iTAUbIcRzAF7pTqio9OiaUhLesNLHXDs2cUPU6lCA375ZDjQAAAAAAAAAADC6wVkT9TSjiRQAAAAASUVORK5CYII=");
--clio-db-outline-tr: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAQAAAAkGDomAAAAZElEQVR42u3UwQ5AMBBF0Y74/1+ulSAS6YY8nLOTWFyjndZ4qd7H3pvSP0SgQIECb96Ec9birooJPKfETXD9xVvqaPQjcfsTeHxyi3+2ZuInWAnzu7q98RMEAAAAAAAAAAD4oAW4lBQeuypXEwAAAABJRU5ErkJggg==");
--clio-db-outline-bl: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAQAAAAkGDomAAAAfElEQVR42u3XSw6AMAgFQNt4/yvj3sT6V9rMbHXxBIo6TQAAAAAAAAAAAGeV1sWI1c3l+4DzVpw/wtwSsa7nN+qZFqcKmCFcM2CWGWxWMEPI9DNY9s7u3y2vB58j31aMuLr5nh2M+sLUlOQB7cFO3iRaPHwFu/hE9Uc0ggXRch4XFPn+mwAAAABJRU5ErkJggg==");
--clio-db-outline-br: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAQAAAAkGDomAAAATUlEQVR42u3XwQkAIAwDQO3+O+sAiviMcjdBqGDT1gAAAAAAAOBkDDMAACC8su5Ka2U16jViZU2xdzcJ8PNWeOpbuQ1Y6W8hoIACQrgJSZMT/52XbkwAAAAASUVORK5CYII=");
/* outline patches: 176 pixels in four 80x80 corners (tooling/db-outline.py) */
--clio-scrollbar-thumb-overlap: 0px;
--clio-scrollbar-thumb-after: none;
/* Titles sit on the textured title bar, where no palette can know the
background: they keep Clio Sans '97 Title in the text colour. */
--clio-font-window-title: Charcoal, "Charcoal CY", "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
/* Where a 128px theme pattern starts. Mac OS sometimes starts one half a
tile (64px) earlier, depending on where the window sits on screen; a page
matching a particular screen can set 64px on that window or control. */
--clio-db-phase: 0px;
/* Slider (Keyboard, Key Repeat): a 1px pencil track (ppat 7024) 2px below
the top of the theme's 9x16 thumb (1106). */
--clio-slider-track-height: 1px;
--clio-slider-track-top: 2px;
--clio-slider-track-slice: 0px;
--clio-slider-thumb-width: 9px;
--clio-art-slider-thumb: url("art/drawingboard/parts/slider-thumb.png");
/* Tick marks (Keyboard, Key Repeat): 2px of the theme's ink, 3px tall, under
the track at the same spacing as Platinum's (the Keyboard capture: five
marks 22px apart, the first 9px in). */
--clio-slider-tick-light: transparent;
--clio-slider-tick-ink: #333333;
--clio-slider-tick-shade: #333333;
--clio-slider-tick-offset: 9px;
--clio-slider-tick-run: 9px;
/* Little arrows: the theme's 13x21 pictures (350: normal, up held, down held,
dimmed), through 16 bits (Date & Time). */
--clio-little-arrows-width: 13px;
--clio-little-arrows-height: 21px;
--clio-art-little-arrows: url("art/drawingboard/parts/little-arrows.png");
--clio-art-little-arrows-up: url("art/drawingboard/parts/little-arrows-up.png");
--clio-art-little-arrows-down: url("art/drawingboard/parts/little-arrows-down.png");
--clio-art-little-arrows-disabled: url("art/drawingboard/parts/little-arrows-disabled.png");
/* Chasing arrows: the theme's six frames (390). */
--clio-art-chasing-arrows: url("art/drawingboard/parts/chasing-arrows.png");
--clio-chasing-arrows-frames: 6;
/* Help button: as the Keyboard control panel draws it. */
--clio-art-help-button: url("art/drawingboard/help-button.png");
/* Scrolling menu arrows: the theme's 364 and 389 (Control Panels submenu). */
--clio-art-menu-scroll-down: url("art/drawingboard/parts/menu-scroll-down.png");
--clio-art-menu-scroll-up: url("art/drawingboard/parts/menu-scroll-up.png");
/* Disclosure triangle: the theme's 11px pictures (closed 340, open 343, which
Mac OS draws through 16 bits), Finder list view. */
--clio-disclosure-size: 11px;
--clio-art-disclosure: url("art/drawingboard/parts/disclosure.png");
--clio-art-disclosure-open: url("art/drawingboard/parts/disclosure-open.png");
--clio-ink: #313131;
--clio-paper: #e7ded6;
--clio-face: #cdc6bd;
--clio-disabled: #8c8c8c;
--clio-selection-bg: #ccccff;
--clio-border: 1px solid #555555;
/* Window: the theme's own nine frame pictures (see the Window rules), on
the content paper. The frame is 6px on each side inside the outline; the
title bar's 22 rows include the outline and the #555 rule. */
--clio-window-bg: #cdc6bd;
--clio-pane-bg: #e7ded6;
--clio-window-border: 0 none;
--clio-window-shadow: none;
--clio-window-padding: 0 6px 6px;
/* Title bar: 22 rows of the frame picture. Boxes 11px, 5px below the top. */
--clio-titlebar-height: 22px;
--clio-titlebar-padding: 4px 0 0;
--clio-titlebar-margin: 0 -1px;
--clio-titlebar-border: 0 none;
--clio-titlebar-row: 16px;
--clio-titlebar-inactive-bg: #cdc6bd;
--clio-title-bg: transparent;
--clio-title-fg: #313131;
--clio-title-inactive-fg: #9f9a94;
/* Menu bar: 22px of #cec6b5 paper, no rule under it. Menus: #ddd paper,
#333 outline, 18px items (20px with an icon); the chosen title and item
are underlined in pencil: left, stretched centre and right pieces, 16px
in from the menu's left, 15px from its right (Control Panels; the Appearance
pop-up's sits 16px from both), 1px above the item's foot. */
--clio-menubar-height: 22px;
--clio-menubar-bg: url("art/drawingboard/menubar.png") 0 0 / 630px 27px repeat-x, #cec6b5;
--clio-menubar-border: 0 none;
--clio-menubar-shadow: none;
--clio-menu-title-active-bg:
var(--clio-art-db-title-underline-left) left 0 bottom 3px / 15px 3px no-repeat,
var(--clio-art-db-title-underline-right) right 0 bottom 3px / 16px 3px no-repeat,
var(--clio-art-db-title-underline-tiled) left 15px bottom 3px / calc(100% - 31px) 4px no-repeat;
--clio-menu-title-active-fg: #313131;
--clio-menu-title-active-shadow: none;
/* Menus: the theme's paper inside a pencil frame (see the Menus rules). */
--clio-menu-bg: #dddddd;
--clio-menu-border: 1px solid transparent;
--clio-menu-border-top-width: 1px;
--clio-menu-shadow: none;
--clio-menu-item-height: 18px;
--clio-menu-item-active-bg:
var(--clio-art-db-menu-underline-left) left 16px bottom 1px / 29px 3px no-repeat,
var(--clio-art-db-menu-underline-right) right 15px bottom 1px / 36px 3px no-repeat,
var(--clio-art-db-menu-underline-tiled) left 45px bottom 1px / calc(100% - 96px) 3px no-repeat;
--clio-menu-item-active-fg: #313131;
--clio-menu-item-active-shadow: none;
--clio-menu-separator: none;
--clio-menu-separator-height: 9px;
/* Push buttons: four pattern pens (ppat 7070-7072, 7079) tiled from the last
column and row, the corner pixels they leave (tooling/db-pens.py), the
hatched ButtonFaceCorner in the lower right of the #cec6b5 face, and a
1px pencil shade right and below (the Buttons rules). Held: other pens
for the foot and right side, tiled from the second column and row, and no
hatch ("Save Theme…" held). */
--clio-button-bg:
url("art/drawingboard/pens/button-left.png") left 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/button-right.png") right 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/button-top.png") right 1px top 0 / 64px 1px repeat-x border-box,
url("art/drawingboard/pens/button-bottom.png") right 1px bottom 0 / 64px 1px repeat-x border-box,
var(--clio-art-db-button-corner) right 0 bottom / 24px 24px no-repeat padding-box,
#cec6b5;
--clio-button-fg: #313131;
/* The label sits 1px lower than Platinum's (themes tab, "Save Theme…"). */
--clio-button-padding: 2px 10px 0;
--clio-button-border: 1px solid transparent;
--clio-button-radius: 0;
--clio-button-shadow: none;
--clio-button-active-bg:
url("art/drawingboard/pens/button-held-left.png") left 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/button-held-right.png") right 0 top 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/button-held-top.png") right 1px top 0 / 64px 1px repeat-x border-box,
url("art/drawingboard/pens/button-held-bottom.png") left 1px bottom 0 / 32px 1px repeat-x border-box,
#cec6b5;
--clio-button-active-fg: #313131;
--clio-button-active-shadow: none;
--clio-button-frame: url("art/drawingboard/pens/button-corners.png");
--clio-button-frame-held: url("art/drawingboard/pens/button-held-corners.png");
--clio-button-frame-disabled: url("art/drawingboard/pens/button-corners.png");
--clio-button-frame-slice: 5;
--clio-ring-frame: none;
/* Pop-up frame: four pattern pens (ppat 7095-7098) tiled from the last
column and row, and the corner pixels they leave (tooling/db-pens.py). */
--clio-popup-frame: url("art/drawingboard/pens/popup-corners.png");
--clio-popup-frame-slice: 5;
--clio-popup-bg:
url("art/drawingboard/pens/popup-left.png") left 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/popup-right.png") right 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/popup-top.png") right 1px top 0 / 64px 1px repeat-x border-box,
url("art/drawingboard/pens/popup-bottom.png") right 1px bottom 0 / 64px 1px repeat-x border-box,
#cec6b5;
--clio-popup-border: 1px solid transparent;
--clio-popup-radius: 0;
--clio-popup-shadow: none;
--clio-popup-padding: 0 30px 0 7px;
--clio-popup-arrow:
var(--clio-art-db-popup-arrow) right 5px top 4px / 7px 9px no-repeat,
var(--clio-art-db-popup-corner) right 19px bottom / 24px 24px no-repeat;
/* Check boxes and radio buttons are the theme's own pictures. */
--clio-check-size: 14px;
--clio-radio-size: 16px;
/* Edit text: a 1px pencil line drawn with pattern pens, 1px of whatever is
behind (the paper) inside it, then the white field (Date & Time; the
Text fields rules). */
--clio-field-border: 2px solid transparent;
--clio-field-shadow: none;
--clio-field-focus-shadow: none;
--clio-button-disabled-fg: #8c8c8c;
--clio-button-disabled-border: 1px solid #888888;
/* The theme's scroll box at its shortest, 7px end and 8px end. */
--clio-scrollbar-thumb-length: 15px;
/* Scroll bars: the theme's 16px arrow boxes; a #ece6e4 track with a #aaa
edge, a two-pixel pencil rail down the middle and a #777 far edge; the
scroll box drawn from the theme's ends, stretch and grip. */
--clio-scrollbar-up: var(--clio-art-db-up);
--clio-scrollbar-up-on: var(--clio-art-db-up-on);
--clio-scrollbar-down: var(--clio-art-db-down);
--clio-scrollbar-down-on: var(--clio-art-db-down-on);
--clio-scrollbar-left: var(--clio-art-db-left);
--clio-scrollbar-left-on: var(--clio-art-db-left-on);
--clio-scrollbar-right: var(--clio-art-db-right);
--clio-scrollbar-right-on: var(--clio-art-db-right-on);
--clio-scrollbar-button-bg: transparent;
--clio-scrollbar-button-shadow: none;
/* Vertical (Desktop tab pattern list): #555 edges, a two-pixel #777 rail. */
--clio-scrollbar-track: linear-gradient(to right, #555555 0 1px, #ece6e4 1px 7px, #777777 7px 9px, #ece6e4 9px 15px, #555555 15px);
--clio-scrollbar-track-color: #ece6e4;
--clio-scrollbar-track-shadow: none;
/* The grip lies over the ends, (length - 2) / 2 rounded down from the start:
on the 15px box it covers the start's last pixel (Themes tab list). */
--clio-scrollbar-thumb-bg:
var(--clio-art-db-thumb-vgrip) 1px round(down, 50%, 1px) / 14px 2px no-repeat,
var(--clio-art-db-thumb-top) 1px 0 / 14px 7px no-repeat,
var(--clio-art-db-thumb-bottom) 1px 100% / 14px 8px no-repeat,
var(--clio-art-db-thumb-vstretch) 1px 0 / 14px 100% no-repeat;
--clio-scrollbar-thumb-bg-horizontal:
var(--clio-art-db-thumb-hgrip) round(down, 50%, 1px) 1px / 2px 14px no-repeat,
var(--clio-art-db-thumb-left) 0 1px / 7px 14px no-repeat,
var(--clio-art-db-thumb-right) 100% 1px / 8px 14px no-repeat,
var(--clio-art-db-thumb-hstretch) 0 1px / 100% 14px no-repeat;
--clio-scrollbar-thumb-color: #cdc6bd;
--clio-scrollbar-thumb-border: 0 none;
--clio-scrollbar-thumb-shadow: none;
--clio-scrollbar-corner: var(--clio-art-db-grow) 0 0 / 16px 16px no-repeat, #cdc6bd;
/* Dialogs: the theme's frame pictures (see the Dialogs rules); plain dialogs
keep a 1px pencil frame with a #777 band 7px wide on the right and 8px
deep below. */
--clio-dialog-bg: #e7ded6;
--clio-modal-border: 1px solid transparent;
--clio-modal-frame: none;
--clio-plain-dialog-border: 1px solid #333333;
--clio-plain-dialog-shadow: 7px 0 0 #777777, 0 8px 0 #777777, 7px 8px 0 #777777;
--clio-details-bg: #e7ded6;
--clio-details-border: 1px solid #555555;
--clio-details-shadow: none;
/* List boxes (Desktop tab pattern list): a 2px olive #9c9c63 line, 1px of
whatever is behind (the pane's paper) inside it, then white; the chosen
row #ccf. */
--clio-list-border: 2px solid #9c9c63;
--clio-list-shadow: none;
--clio-list-bg: #ffffff;
--clio-group-border: 1px solid #777777;
--clio-group-bg: transparent;
--clio-group-shadow: none;
/* Progress bar (Finder copy window): 12px, a #756f66 pencil line (#333 on
the left) round #ddd6c5; an indeterminate bar shows the theme's arrows.
The determinate fill was not captured and stays Platinum's. */
--clio-progress-height: 12px;
--clio-progress-bg: #ddd6c5;
--clio-progress-border: 1px solid #756f66;
--clio-progress-shadow: none;
--clio-tab-height: 27px;
/* Tab pane paper (ppat 7115), from the pane's inner top-left. */
--clio-tab-panel-bg: url("art/drawingboard/tab-paper.png") 0 0 / 256px 64px, #e7ded6;
--clio-tab-panel-border: 1px solid #555555;
/* Art: redrawn from the theme's 'pxm#' pixmaps by tooling/db-art.py. */
--clio-art-db-close: url("art/drawingboard/parts/close.png"); /* 11x11 */
--clio-art-db-close-on: url("art/drawingboard/parts/close-on.png"); /* 11x11 */
--clio-art-db-collapse: url("art/drawingboard/parts/collapse.png"); /* 11x11 */
--clio-art-db-collapse-on: url("art/drawingboard/parts/collapse-on.png"); /* 11x11 */
--clio-art-db-zoom: url("art/drawingboard/parts/zoom.png"); /* 11x11 */
--clio-art-db-zoom-on: url("art/drawingboard/parts/zoom-on.png"); /* 11x11 */
--clio-art-db-check: url("art/drawingboard/parts/check.png"); /* 14x11 */
--clio-art-db-check-on: url("art/drawingboard/parts/check-on.png"); /* 14x11 */
--clio-art-db-check-mixed: url("art/drawingboard/parts/check-mixed.png"); /* 14x11 */
--clio-art-db-check-pressed: url("art/drawingboard/parts/check-pressed.png"); /* 14x11 */
--clio-art-db-check-on-pressed: url("art/drawingboard/parts/check-on-pressed.png"); /* 14x11 */
--clio-art-db-check-disabled: url("art/drawingboard/parts/check-disabled.png"); /* 14x11 */
--clio-art-db-check-on-disabled: url("art/drawingboard/parts/check-on-disabled.png"); /* 14x11 */
--clio-art-db-radio: url("art/drawingboard/parts/radio.png"); /* 16x12 */
--clio-art-db-radio-on: url("art/drawingboard/parts/radio-on.png"); /* 16x12 */
--clio-art-db-radio-on-pressed: url("art/drawingboard/parts/radio-on-pressed.png"); /* 16x12 */
--clio-art-db-radio-disabled: url("art/drawingboard/parts/radio-disabled.png"); /* 16x12 */
--clio-art-db-radio-on-disabled: url("art/drawingboard/parts/radio-on-disabled.png"); /* 16x12 */
--clio-art-db-up: url("art/drawingboard/parts/up.png"); /* 16x16 */
--clio-art-db-up-on: url("art/drawingboard/parts/up-on.png"); /* 16x16 */
--clio-art-db-up-off: url("art/drawingboard/parts/up-off.png"); /* 16x16 */
--clio-art-db-down: url("art/drawingboard/parts/down.png"); /* 16x16 */
--clio-art-db-down-on: url("art/drawingboard/parts/down-on.png"); /* 16x16 */
--clio-art-db-down-off: url("art/drawingboard/parts/down-off.png"); /* 16x16 */
--clio-art-db-left: url("art/drawingboard/parts/left.png"); /* 16x16 */
--clio-art-db-left-on: url("art/drawingboard/parts/left-on.png"); /* 16x16 */
--clio-art-db-left-off: url("art/drawingboard/parts/left-off.png"); /* 16x16 */
--clio-art-db-right: url("art/drawingboard/parts/right.png"); /* 16x16 */
--clio-art-db-right-on: url("art/drawingboard/parts/right-on.png"); /* 16x16 */
--clio-art-db-right-off: url("art/drawingboard/parts/right-off.png"); /* 16x16 */
--clio-art-db-popup-arrow: url("art/drawingboard/parts/popup-arrow.png"); /* 7x9 */
--clio-art-db-popup-arrow-off: url("art/drawingboard/parts/popup-arrow-off.png"); /* 7x9 */
--clio-art-db-submenu: url("art/drawingboard/parts/submenu.png"); /* 6x11 */
--clio-art-db-menucheck: url("art/drawingboard/parts/menucheck.png"); /* 10x8 */
/* The menu check mark in the menu ink, as 8.5 draws the menu font's glyph (popup-open). */
--clio-art-p-check: var(--clio-art-db-menucheck);
--clio-art-db-grow: url("art/drawingboard/parts/grow.png"); /* 16x16 */
--clio-art-db-popup-corner: url("art/drawingboard/parts/popup-corner.png"); /* 24x24 */
--clio-art-db-popup-corner-off: url("art/drawingboard/parts/popup-corner-off.png"); /* 24x24 */
--clio-art-db-button-corner: url("art/drawingboard/parts/button-corner.png"); /* 24x24 */
--clio-art-db-btn-tl: url("art/drawingboard/parts/btn-tl.png"); /* 7x3 */
--clio-art-db-btn-tr: url("art/drawingboard/parts/btn-tr.png"); /* 4x3 */
--clio-art-db-btn-br: url("art/drawingboard/parts/btn-br.png"); /* 5x6 */
--clio-art-db-btn-br-held: url("art/drawingboard/parts/btn-br-held.png"); /* 5x6 */
--clio-art-db-btn-bl: url("art/drawingboard/parts/btn-bl.png"); /* 7x4 */
--clio-art-db-progress-arrows: url("art/drawingboard/parts/progress-arrows.png"); /* 128x5 */
--clio-art-db-def-tl: url("art/drawingboard/parts/def-tl.png"); /* 9x5 */
--clio-art-db-def-tr: url("art/drawingboard/parts/def-tr.png"); /* 4x4 */
--clio-art-db-def-br: url("art/drawingboard/parts/def-br.png"); /* 5x6 */
--clio-art-db-def-bl: url("art/drawingboard/parts/def-bl.png"); /* 9x5 */
--clio-art-db-thumb-left: url("art/drawingboard/parts/thumb-left.png"); /* 7x14 */
--clio-art-db-thumb-right: url("art/drawingboard/parts/thumb-right.png"); /* 8x14 */
--clio-art-db-thumb-hgrip: url("art/drawingboard/parts/thumb-hgrip.png"); /* 2x14 */
--clio-art-db-thumb-hstretch: url("art/drawingboard/parts/thumb-hstretch.png"); /* 1x14 */
--clio-art-db-thumb-top: url("art/drawingboard/parts/thumb-top.png"); /* 14x7 */
--clio-art-db-thumb-bottom: url("art/drawingboard/parts/thumb-bottom.png"); /* 14x8 */
--clio-art-db-thumb-vgrip: url("art/drawingboard/parts/thumb-vgrip.png"); /* 14x2 */
--clio-art-db-thumb-vstretch: url("art/drawingboard/parts/thumb-vstretch.png"); /* 14x1 */
--clio-art-db-tab: url("art/drawingboard/parts/tab.png"); /* 24x27 */
--clio-art-db-tab-selected: url("art/drawingboard/parts/tab-selected.png"); /* 24x27 */
--clio-art-db-tab-pressed: url("art/drawingboard/parts/tab-pressed.png"); /* 24x27 */
--clio-art-db-menu-underline-left: url("art/drawingboard/parts/menu-underline-left.png"); /* 29x3 */
--clio-art-db-menu-underline: url("art/drawingboard/parts/menu-underline.png"); /* 48x3 */
--clio-art-db-menu-underline-right: url("art/drawingboard/parts/menu-underline-right.png"); /* 36x3 */
--clio-art-db-title-underline-left: url("art/drawingboard/parts/title-underline-left.png"); /* 15x3 */
--clio-art-db-title-underline: url("art/drawingboard/parts/title-underline.png"); /* 32x4 */
--clio-art-db-title-underline-right: url("art/drawingboard/parts/title-underline-right.png"); /* 16x3 */
--clio-art-db-menu-underline-tiled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='48' height='3' patternUnits='userSpaceOnUse'%3E%3Cimage image-rendering='pixelated' style='image-rendering:pixelated' width='48' height='3' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAADBAMAAAAnwpG3AAAAElBMVEUAAADMZmbMmWbMmZnMZjPMMzOFAtjtAAAAAXRSTlMAQObYZgAAACJJREFUeJxjFGSAAMb/DMYMDAxnwWwBBgbGUKgENmCATRAAmjoCqut/JFgAAAAASUVORK5CYII='/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%' height='100%' fill='url(%23p)'/%3E%3C/svg%3E"); /* 48 px tile */
--clio-art-db-title-underline-tiled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='32' height='4' patternUnits='userSpaceOnUse'%3E%3Cimage image-rendering='pixelated' style='image-rendering:pixelated' width='32' height='4' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAEBAMAAAAdaSDnAAAAD1BMVEUAAADMZmbMmWbMmZnMZjOW1IuaAAAAAXRSTlMAQObYZgAAACBJREFUeJxjdGGAgP+MDAwM5/4rs0D5DCA+gxGMhw8AALzeA23Id2x2AAAAAElFTkSuQmCC'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%' height='100%' fill='url(%23p)'/%3E%3C/svg%3E"); /* 32 px tile */
}
/* ---- Window ----------------------------------------------------------------
Drawn as the theme draws it: the nine 'pxm#' frame pieces (6176-6184, active
and inactive sets), placed where Mac OS 8.5 puts them round a 476x338
outline (Appearance window, found 1:1 in the capture), with the edge pieces
tiled from their ends. Under them the window paper (ppat 7120): 128x128,
origin at the content's top-left, 6px in and 22px down (Date & Time, Finder
Preferences windows agree). Corners overrun the outline, so they sit on a
pseudo-element larger than the window; the tiled edges sit on one clipped
to where each edge runs. Files: art/drawingboard/ (tooling/db-art.py --files). */
[data-era="drawingboard"] .window {
--db-tl: url("art/drawingboard/window-tl.png");
--db-top: url("art/drawingboard/window-top.png");
--db-top-tiled: url("art/drawingboard/window-top-tiled.svg");
--db-bottom-tiled: url("art/drawingboard/window-bottom-tiled.svg");
--db-tr: url("art/drawingboard/window-tr.png");
--db-ur: url("art/drawingboard/window-ur.png");
--db-right: url("art/drawingboard/window-right.png");
--db-br: url("art/drawingboard/window-br.png");
--db-bottom: url("art/drawingboard/window-bottom.png");
--db-bl: url("art/drawingboard/window-bl.png");
--db-left: url("art/drawingboard/window-left.png");
isolation: isolate;
min-width: 128px;
min-height: 60px;
}
[data-era="drawingboard"] .window.inactive {
--db-tl: url("art/drawingboard/window-tl-inactive.png");
--db-top: url("art/drawingboard/window-top-inactive.png");
--db-top-tiled: url("art/drawingboard/window-top-inactive-tiled.svg");
--db-bottom-tiled: url("art/drawingboard/window-bottom-inactive-tiled.svg");
--db-tr: url("art/drawingboard/window-tr-inactive.png");
--db-ur: url("art/drawingboard/window-ur-inactive.png");
--db-right: url("art/drawingboard/window-right-inactive.png");
--db-br: url("art/drawingboard/window-br-inactive.png");
--db-bottom: url("art/drawingboard/window-bottom-inactive.png");
--db-bl: url("art/drawingboard/window-bl-inactive.png");
--db-left: url("art/drawingboard/window-left-inactive.png");
}
[data-era="drawingboard"] .window,
[data-era="drawingboard"] .window:not(.inactive) {
background: url("art/drawingboard/paper.png") calc(6px - var(--clio-db-phase, 0px)) 22px / 128px 128px;
}
[data-era="drawingboard"] .window::before,
[data-era="drawingboard"] .window::after {
content: "";
position: absolute;
z-index: -1;
pointer-events: none;
}
/* Edges: the box from 1px left of the outline to the shadow's far side. */
[data-era="drawingboard"] .window::before {
inset: 0 -7px -8px -1px;
background:
var(--db-top) 25px 0 / 256px 22px repeat-x,
var(--db-left) 0 22px / 7px 214px repeat-y,
var(--db-right) right 0 top 54px / 13px 150px repeat-y,
var(--db-bottom) left 57px bottom 0 / 183px 14px repeat-x;
clip-path: polygon(25px 0, calc(100% - 13px) 0, calc(100% - 13px) 54px, 100% 54px,
100% calc(100% - 54px), calc(100% - 59px) calc(100% - 54px), calc(100% - 59px) 100%,
57px 100%, 57px calc(100% - 22px), 0 calc(100% - 22px), 0 22px, 25px 22px);
}
/* Corners, overrunning the outline by up to 10px. */
[data-era="drawingboard"] .window::after {
inset: -10px -11px -18px -8px;
background:
var(--db-tl) 4px 5px / 28px 27px no-repeat,
var(--db-tr) right 1px top 0 / 16px 32px no-repeat,
var(--db-ur) right 4px top 32px / 13px 32px no-repeat,
var(--db-br) right 0 bottom 2px / 63px 62px no-repeat,
var(--db-bl) left 0 bottom 0 / 64px 32px no-repeat;
}
/* Collapsed (Infinite HD's collapse box, Mac OS 8.5 with the theme; frame
collapsed): the theme draws the frame as for an empty window, the bottom
corners and the foot's shadow under the title bar, which is drawn last. The
box is the title bar and the foot's black line. Two layers do it: ::after is
the title bar's area alone (its paper, the top edge and the top corners);
::before is everything outside that area (the corners' overrun, the bottom
corners and the shadow). The edges tile from SVG patterns, which stop where
their box does. The bottom right corner lies over the upper right edge here. */
[data-era="drawingboard"] .window.collapsed {
padding-bottom: 1px;
}
[data-era="drawingboard"] .window.collapsed::after {
clip-path: inset(10px 11px calc(100% - 32px) 8px);
background:
var(--db-tl) 4px 5px / 28px 27px no-repeat,
var(--db-tr) right 1px top 0 / 16px 32px no-repeat,
var(--db-top-tiled) 32px 10px / calc(100% - 49px) 22px no-repeat,
url("art/drawingboard/paper.png") calc(14px - var(--clio-db-phase, 0px)) 32px / 128px 128px;
}
[data-era="drawingboard"] .window.collapsed::before {
inset: -10px -11px -18px -8px;
clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
8px 10px, calc(100% - 11px) 10px, calc(100% - 11px) 32px, 8px 32px, 8px 10px);
background:
var(--db-tl) 4px 5px / 28px 27px no-repeat,
var(--db-tr) right 1px top 0 / 16px 32px no-repeat,
var(--db-br) right 0 bottom 2px / 63px 62px no-repeat,
var(--db-ur) right 4px top 32px / 13px 32px no-repeat,
var(--db-bl) left 0 bottom 0 / 64px 32px no-repeat,
var(--db-bottom-tiled) left 64px bottom 10px / calc(100% - 126px) 14px no-repeat;
}
/* ---- Utility window (palette) ----------------------------------------------
The theme's 'layo' 136 (ActiveFloatingWindow), decoded by tooling/theme-layout.py,
matches the 8.5 Application Switcher's frame 100% (hig/drawingboard/switcher):
the content 8px in, 19px down, 5px from the right (then a 2px shade) and 8px up.
Three pictures (tooling/db-art.py): the corner groups; the title bar, the rule
(6192's bottom row) and the foot between them; the side edges' middles. The boxes
are 201, 221 and 211, the title centred 3.5px left of the window's middle on the
capture's baseline. The
content keeps the utility window's #ccc (the application draws it). */
[data-era="drawingboard"] .window.utility {
min-width: 128px;
min-height: 60px;
padding: 19px 5px 8px 8px;
border: 0;
background: #cccccc content-box;
}
[data-era="drawingboard"] .window.utility::before {
inset: 0 -2px 0 0;
clip-path: none;
background:
url("art/drawingboard/utility-frame.svg"),
url("art/drawingboard/utility-edges.svg") 0 38px / 100% calc(100% - 79px) no-repeat,
url("art/drawingboard/utility-runs.svg") 19px 0 / calc(100% - 55px) 100% no-repeat;
}
[data-era="drawingboard"] .window.utility > .title-bar {
position: absolute;
inset: 7px 0 auto;
height: 11px;
margin: 0;
padding: 0 11px 0 4px;
border: 0;
background: none;
justify-content: center;
}
[data-era="drawingboard"] .window.utility > .title-bar > :is(.title, h1, h2, h3) {
background: none;
}
[data-era="drawingboard"] .window.utility > .title-bar > :is(.close, .resize, .zoom, .shade, .collapse) {
inset: 0 auto auto 7px;
width: 9px;
height: 9px;
background: url("art/drawingboard/utility-boxes.png");
box-shadow: none;
}
[data-era="drawingboard"] .window.utility > .title-bar > :is(.resize, .zoom) {
inset: 0 17px auto auto;
background-position-x: -9px;
}
[data-era="drawingboard"] .window.utility > .title-bar > :is(.shade, .collapse) {
inset: 0 4px auto auto;
background-position-x: -18px;
}
[data-era="drawingboard"] .window.utility > .title-bar > :is(:active:where(:not([data-clio-off])), .active) {
background-position-y: -9px;
}
[data-era="drawingboard"] .window.utility.inactive > .title-bar > * {
visibility: hidden;
}
[data-era="drawingboard"] .window.utility::after {
content: none;
}
/* ---- Side-title utility window --------------------------------------------------
The theme's 'layo' 138 (ActiveSideFloatingWindow), decoded by
tooling/theme-layout.py, matches the 8.5 capture's frame 100% (rc8/side3, the
Appearance SDK's sample): the column is the small system font's height plus 5
(14px of the 18px pieces), the content 18px in and 9px down. Three pictures
(tooling/db-art.py): the four corner groups; the runs along the top and the foot
between them; the column's and the right edge's middles. In the background
('layo' 139) the same pictures and no boxes. The content keeps the utility
window's #ccc (the application draws it). */
[data-era="drawingboard"] .window.utility.side {
padding: 9px 5px 8px 18px;
}
[data-era="drawingboard"] .window.utility.side::before {
background:
url("art/drawingboard/side-frame.svg"),
url("art/drawingboard/side-edges.svg") 0 29px / 100% calc(100% - 70px) no-repeat,
url("art/drawingboard/side-runs.svg") 30px 0 / calc(100% - 66px) 100% no-repeat;
}
[data-era="drawingboard"] .window.utility.side > .title-bar {
inset: 0 auto 0 0;
width: 18px;
height: auto;
}
/* The boxes (201, and 211 upright), 6px in, 8px down and 7px up; pressed below. */
[data-era="drawingboard"] .window.utility.side > .title-bar > * {
inset: 8px auto auto 6px;
background: url("art/drawingboard/side-boxes.png");
}
[data-era="drawingboard"] .window.utility.side > .title-bar > :is(.shade, .collapse) {
inset: auto auto 7px 6px;
background-position-x: -9px;
}
[data-era="drawingboard"] .window.utility.side > .title-bar > :is(:active:where(:not([data-clio-off])), .active) {
background-position-y: -9px;
}
/* ---- Menus -----------------------------------------------------------------
The shade: 2px of pencil (ppat 130, 131) down the right from 3px below the
menu's top and along the foot from 4px in. A menu that is not a drop-down
becomes the shade's containing block. --clio-db-phase shifts the pens
along the menu (Mac OS drew the Finder's File menu 64px further along). */
[data-era="drawingboard"] :is(.menu, ul[role="menu"]):not(li > *) {
position: relative;
}
/* Paper (ppat 7125) from the inside top-left, and a frame drawn with pattern
pens (ppat 129-132), each tiled from the menu's own corner: the left pen
and the top from the top-left, the right pen from 4px lower, the foot from
4px in. Rules, not tokens: the pens read this menu's own top line and phase. */
[data-era="drawingboard"] :is(.menu, ul[role="menu"]) {
background:
url("art/drawingboard/menu-top.png") 0 calc(var(--clio-menu-border-top-width) - 1px) / 128px 1px repeat-x border-box,
url("art/drawingboard/menu-left.png") 0 calc(var(--clio-menu-border-top-width) - 1px) / 1px 128px repeat-y border-box,
url("art/drawingboard/menu-right.png") right 0 top calc(var(--clio-menu-border-top-width) + 3px) / 1px 128px repeat-y border-box,
url("art/drawingboard/menu-foot.png") calc(4px - var(--clio-db-phase, 0px)) 100% / 128px 1px repeat-x border-box,
url("art/drawingboard/menu-paper.png") 0 0 / 64px 64px padding-box,
#dddddd;
}
[data-era="drawingboard"] :is(.menu, [role="menu"]) > :is(li.separator, li[role="separator"], hr) {
background: url("art/drawingboard/menu-separator.png") calc(0px - var(--clio-db-phase, 0px)) 4px / 128px 1px repeat-x;
}
/* A menu bar's menu hangs from the bar's last row, which is its top line. */
[data-era="drawingboard"] :is(.menu-bar, [role="menubar"], [role="menu-bar"]) > li > :is(.menu, ul[role="menu"]) {
--clio-menu-border-top-width: 0px;
}
[data-era="drawingboard"] :is(.menu, ul[role="menu"])::before {
content: "";
position: absolute;
top: 3px; /* from the padding box: 4px below the top line */
right: -3px;
bottom: -3px;
left: 3px;
background:
url("art/drawingboard/menu-shade-right.png") right 0 top 0 / 2px 128px repeat-y,
url("art/drawingboard/menu-shade-foot.png") calc(0px - var(--clio-db-phase, 0px)) 100% / 128px 2px repeat-x;
pointer-events: none;
}
/* The fixed pencil pixels where the pens meet (File and Edit menus agree). */
[data-era="drawingboard"] :is(.menu, ul[role="menu"])::after {
content: "";
position: absolute;
top: 1px; /* from the padding box: 2px below the top line */
right: -3px;
bottom: -3px;
left: -1px;
background:
url("art/drawingboard/menu-corner-tr.png") right 0 top 0 / 3px 2px no-repeat,
url("art/drawingboard/menu-corner-br.png") right 0 bottom 0 / 3px 3px no-repeat,
url("art/drawingboard/menu-corner-bl.png") left 0 bottom 0 / 4px 3px no-repeat;
pointer-events: none;
}
[data-era="drawingboard"] .window-pane {
border: 0;
background: transparent;
}
[data-era="drawingboard"] .window > .details-bar {
border-left: 0;
border-right: 0;
}
[data-era="drawingboard"] .title-bar,
[data-era="drawingboard"] .window.inactive > .title-bar,
[data-era="drawingboard"] .inactive-title-bar {
background: transparent;
}
[data-era="drawingboard"] .title-bar > :is(.title, h1, h2, h3) {
padding: var(--clio-title-padding);
background: transparent;
transform: none;
}
[data-era="drawingboard"] .title-bar > :is(.title, h1, h2, h3)::after {
content: none;
}
/* Close, zoom and collapse boxes are the theme's 11px pictures. */
[data-era="drawingboard"] .title-bar > :is(button, .close, .close-box, .resize, .resize-box, .zoom, .shade, .shade-box, .collapse) {
border: 0;
background: var(--clio-art-db-close) 0 0 / 11px 11px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] .title-bar > :is(.resize, .resize-box, .zoom) {
background-image: var(--clio-art-db-zoom);
}
[data-era="drawingboard"] .title-bar > :is(.shade, .shade-box, .collapse) {
background-image: var(--clio-art-db-collapse);
}
[data-era="drawingboard"] .title-bar > :is(button, .close, .close-box):is(:active:where(:not([data-clio-off])), .active) {
background: var(--clio-art-db-close-on) 0 0 / 11px 11px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] .title-bar > :is(.resize, .resize-box, .zoom):is(:active:where(:not([data-clio-off])), .active) {
background: var(--clio-art-db-zoom-on) 0 0 / 11px 11px no-repeat;
}
[data-era="drawingboard"] .title-bar > :is(.shade, .shade-box, .collapse):is(:active:where(:not([data-clio-off])), .active) {
background: var(--clio-art-db-collapse-on) 0 0 / 11px 11px no-repeat;
}
[data-era="drawingboard"] .title-bar > :is(.resize, .resize-box, .zoom, .shade, .shade-box, .collapse)::before {
content: none;
}
/* Background window: its own frame set, grey title, boxes erased (base rule). */
[data-era="drawingboard"] .window.inactive {
color: #555555;
}
[data-era="drawingboard"] .window.inactive > .title-bar > :is(.title, h1, h2, h3),
[data-era="drawingboard"] .inactive-title-bar > :is(.title, h1, h2, h3) {
background: transparent;
}
/* List boxes: the 1px between the olive line and the white is see-through. */
[data-era="drawingboard"] :is(.listbox, ul[role="listbox"], ol[role="listbox"], div[role="listbox"], select[multiple], select[size]:not([size="1"])) {
padding: 1px;
background-clip: content-box;
}
/* ---- Text fields ---------------------------------------------------------------
Pens (ppat 7003-7006): the rows tiled from the white's left edge, the left
column from its top, the right column from 1px higher (both of Date & Time's
fields agree), and the corner pixels they leave (tooling/db-pens.py). A rule,
not a token: the rows read the field's own --clio-db-phase. */
[data-era="drawingboard"] :is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="tel"], textarea) {
border-image: url("art/drawingboard/pens/field-corners.png") 5 / 5px stretch;
background:
url("art/drawingboard/pens/field-left.png") left 0 top 2px / 1px 32px repeat-y border-box,
url("art/drawingboard/pens/field-right.png") right 0 top 1px / 1px 32px repeat-y border-box,
url("art/drawingboard/pens/field-top.png") calc(2px - var(--clio-db-phase, 0px)) 0 / 128px 1px repeat-x border-box,
url("art/drawingboard/pens/field-bottom.png") calc(2px - var(--clio-db-phase, 0px)) 100% / 128px 1px repeat-x border-box,
#ffffff padding-box;
}
/* ---- Dialogs -----------------------------------------------------------------
Alerts and modal dialogs are framed like windows: eight pictures round the
1px outline (Alert 6127-6134, found 1:1 round Energy Saver's start-up
notice; Modal 6135-6142, the same sizes, placed the same way, inferred),
edges tiled from their ends, on the window paper from 4px inside the
outline. Insets are from the padding box, inside the 1px border. */
[data-era="drawingboard"] :is(.alert-box, .modal-dialog, dialog.modal) {
--db-tl: url("art/drawingboard/modal-tl.png");
--db-top: url("art/drawingboard/modal-top.png");
--db-tr: url("art/drawingboard/modal-tr.png");
--db-right: url("art/drawingboard/modal-right.png");
--db-right-h: 150px;
--db-br: url("art/drawingboard/modal-br.png");
--db-bottom: url("art/drawingboard/modal-bottom.png");
--db-bl: url("art/drawingboard/modal-bl.png");
--db-left: url("art/drawingboard/modal-left.png");
--db-left-h: 214px;
position: relative;
isolation: isolate;
background: url("art/drawingboard/paper.png") calc(4px - var(--clio-db-phase, 0px)) 4px / 128px 128px border-box;
}
[data-era="drawingboard"] :is(.alert-box, dialog.alert-box) {
--db-tl: url("art/drawingboard/alert-tl.png");
--db-top: url("art/drawingboard/alert-top.png");
--db-tr: url("art/drawingboard/alert-tr.png");
--db-right: url("art/drawingboard/alert-right.png");
--db-right-h: 43px;
--db-br: url("art/drawingboard/alert-br.png");
--db-bottom: url("art/drawingboard/alert-bottom.png");
--db-bl: url("art/drawingboard/alert-bl.png");
--db-left: url("art/drawingboard/alert-left.png");
--db-left-h: 106px;
}
[data-era="drawingboard"] :is(.alert-box, .modal-dialog, dialog.modal)::before,
[data-era="drawingboard"] :is(.alert-box, .modal-dialog, dialog.modal)::after {
content: "";
position: absolute;
z-index: -1;
pointer-events: none;
}
/* Edges: from 1px left of the outline to the shade's far side. */
[data-era="drawingboard"] :is(.alert-box, .modal-dialog, dialog.modal)::before {
inset: -1px -8px -9px -2px;
background:
var(--db-top) 20px 0 / 256px 1px repeat-x,
var(--db-left) 0 22px / 2px var(--db-left-h) repeat-y,
var(--db-right) right 0 top 54px / 8px var(--db-right-h) repeat-y,
var(--db-bottom) left 57px bottom 0 / 183px 9px repeat-x;
clip-path: polygon(20px 0, calc(100% - 8px) 0, calc(100% - 8px) 54px, 100% 54px,
100% calc(100% - 54px), calc(100% - 59px) calc(100% - 54px), calc(100% - 59px) 100%,
57px 100%, 57px calc(100% - 22px), 0 calc(100% - 22px), 0 22px, 20px 22px);
}
/* Corners, overrunning the outline by up to 18px. */
[data-era="drawingboard"] :is(.alert-box, .modal-dialog, dialog.modal)::after {
inset: -11px -12px -19px -9px;
background:
var(--db-tl) 5px 5px / 22px 27px no-repeat,
var(--db-tr) right 1px top 0 / 11px 64px no-repeat,
var(--db-br) right 0 bottom 2px / 63px 62px no-repeat,
var(--db-bl) left 0 bottom 0 / 64px 32px no-repeat;
}
/* ---- Default button: a second pencil line round the button and its shade,
with a light #9f9a94 pencil line between (Energy Saver notice,
"Close Message": ring 2px out on the left and top, 3px right, 2px below). -- */
[data-era="drawingboard"] :is(.default, .btn-default)::before {
inset: -3px -4px -3px -3px;
border: 1px solid;
border-color: #555555 #111111 #333333 #555555;
border-radius: 0;
box-shadow: inset 0 0 0 1px #9f9a94;
}
/* Disabled push button: not captured; the plain button's frame and face with
the theme's grey label (inferred). */
[data-era="drawingboard"] :is(button, .btn, .btn-default, input[type="button"], input[type="submit"], input[type="reset"]):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):is(:disabled, .disabled) {
background: var(--clio-button-bg);
color: #9f9a94;
-webkit-text-fill-color: #9f9a94;
}
/* ---- Check boxes and radio buttons: one picture per state. ---------------- */
[data-era="drawingboard"] input[type="checkbox"] {
width: 14px;
height: 11px;
border: 0;
background: var(--clio-art-db-check) 0 0 / 14px 11px no-repeat;
box-shadow: none;
vertical-align: -1px;
}
[data-era="drawingboard"] input[type="checkbox"]:checked {
background-image: var(--clio-art-db-check-on);
}
[data-era="drawingboard"] input[type="checkbox"]:checked::after {
content: none;
}
[data-era="drawingboard"] input[type="checkbox"]:indeterminate {
background-image: var(--clio-art-db-check-mixed);
}
[data-era="drawingboard"] input[type="checkbox"]:not(:disabled):active:where(:not([data-clio-off])) {
background: var(--clio-art-db-check-pressed) 0 0 / 14px 11px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] input[type="checkbox"]:checked:not(:disabled):active:where(:not([data-clio-off])) {
background-image: var(--clio-art-db-check-on-pressed);
}
[data-era="drawingboard"] input[type="checkbox"]:disabled {
background-image: var(--clio-art-db-check-disabled);
}
[data-era="drawingboard"] input[type="checkbox"]:checked:disabled {
background-image: var(--clio-art-db-check-on-disabled);
}
[data-era="drawingboard"] input[type="radio"],
[data-era="drawingboard"] input[type="radio"]:not(:disabled):active:where(:not([data-clio-off])) {
width: 16px;
height: 12px;
border: 0;
border-radius: 0;
background: var(--clio-art-db-radio) 0 0 / 16px 12px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] input[type="radio"]:checked {
background: var(--clio-art-db-radio-on) 0 0 / 16px 12px no-repeat;
}
[data-era="drawingboard"] input[type="radio"]:checked:not(:disabled):active:where(:not([data-clio-off])) {
background: var(--clio-art-db-radio-on-pressed) 0 0 / 16px 12px no-repeat;
}
[data-era="drawingboard"] input[type="radio"]:disabled {
background-image: var(--clio-art-db-radio-disabled);
}
[data-era="drawingboard"] input[type="radio"]:checked:disabled {
background-image: var(--clio-art-db-radio-on-disabled);
}
[data-era="drawingboard"] :is(input[type="checkbox"], input[type="radio"]):disabled {
opacity: 1;
}
/* ---- Menus ------------------------------------------------------------------ */
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li:has(> :is(.menu, ul[role="menu"]))::after,
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li > [aria-haspopup="true"]::after,
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li:has(> :is(.menu, ul[role="menu"])):is(:hover, :focus-within, .active):where(:not([data-clio-blink]))::after {
background-image: var(--clio-art-db-submenu);
}
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li:is(.checked, [aria-checked="true"]):is(:hover, :focus-within, .active):where(:not([data-clio-blink]))::before,
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li > :is([aria-checked="true"], .checked):is(:hover, :focus-visible, .active):where(:not([data-clio-blink]))::before {
filter: none;
}
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li.divider {
box-shadow: inset 0 -4px 0 #dddddd, inset 0 -5px 0 #888888;
}
/* ---- Tabs: left end, one stretched column, right end. ---------------------- */
[data-era="drawingboard"] :is([role="tablist"], .tabs) {
padding: 0 8px;
}
[data-era="drawingboard"] :is([role="tablist"], .tabs) > :is([role="tab"], li, button) {
height: 27px;
margin: 0 -6px -1px 0;
padding: 6px 0 0;
border-width: 0 17px 0 6px;
border-image: var(--clio-art-db-tab) 0 17 0 6 fill / 0 17px 0 6px stretch;
color: #313131;
line-height: 20px;
}
[data-era="drawingboard"] :is([role="tablist"], .tabs) > :is([role="tab"], li, button):not(:disabled):active:where(:not([data-clio-off])) {
border-image-source: var(--clio-art-db-tab-pressed);
color: #313131;
}
[data-era="drawingboard"] :is([role="tablist"], .tabs) > :is([role="tab"], li, button):is([aria-selected="true"], .active) {
padding-top: 6px;
border-image-source: var(--clio-art-db-tab-selected);
color: #313131;
}
/* The panel's top line runs under the back tabs and breaks under the front
one (capture: row 121, #555 to #777 under Themes, none under Appearance). */
[data-era="drawingboard"] :is([role="tablist"], .tabs) > :is([role="tab"], li, button) {
position: relative;
margin-bottom: 0;
}
[data-era="drawingboard"] :is([role="tablist"], .tabs) > :is([role="tab"], li, button):is([aria-selected="true"], .active)::after {
content: "";
position: absolute;
left: -5px;
right: -12px;
bottom: -1px;
height: 1px;
background: #e7ded6;
}
[data-era="drawingboard"] :is([role="tabpanel"], .tab-panel) {
border-top: 1px solid #666666;
box-shadow: none;
}
/* ---- Scroll bars ----------------------------------------------------------- */
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-track,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-track {
border: 0;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb > .clio-sb-track {
border: 0;
}
/* The scroll box is the theme's 15px picture at its shortest (7px end + 8px end). */
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-thumb,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-thumb {
min-width: 15px;
min-height: 15px;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb > .clio-sb-thumb {
min-width: 15px;
min-height: 15px;
}
/* Tracks: #ece6e4 ruled by pattern pens (ppat 7045-7049) tiled from the
track's start: the edges and a double centre line. Rules, not tokens: the
pens read the scroller's own --clio-db-phase. */
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-track,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-track {
background:
url("art/drawingboard/track-v-left.png") 0 0 / 1px 128px repeat-y,
url("art/drawingboard/track-v-mid1.png") 7px 0 / 1px 256px repeat-y,
url("art/drawingboard/track-v-mid2.png") 8px 0 / 1px 256px repeat-y,
url("art/drawingboard/track-v-right.png") 15px 0 / 1px 128px repeat-y,
#ece6e4;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb > .clio-sb-track {
background:
url("art/drawingboard/track-v-left.png") 0 0 / 1px 128px repeat-y,
url("art/drawingboard/track-v-mid1.png") 7px 0 / 1px 256px repeat-y,
url("art/drawingboard/track-v-mid2.png") 8px 0 / 1px 256px repeat-y,
url("art/drawingboard/track-v-right.png") 15px 0 / 1px 128px repeat-y,
#ece6e4;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-track:horizontal,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-track:horizontal {
background:
url("art/drawingboard/track-h-top.png") calc(0px - var(--clio-db-phase, 0px)) 0 / 128px 1px repeat-x,
url("art/drawingboard/track-h-mid1.png") calc(0px - var(--clio-db-phase, 0px)) 7px / 256px 1px repeat-x,
url("art/drawingboard/track-h-mid2.png") calc(0px - var(--clio-db-phase, 0px)) 8px / 256px 1px repeat-x,
url("art/drawingboard/track-h-bottom.png") calc(0px - var(--clio-db-phase, 0px)) 15px / 128px 1px repeat-x,
#ece6e4;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb.clio-sb-h > .clio-sb-track {
background:
url("art/drawingboard/track-h-top.png") calc(0px - var(--clio-db-phase, 0px)) 0 / 128px 1px repeat-x,
url("art/drawingboard/track-h-mid1.png") calc(0px - var(--clio-db-phase, 0px)) 7px / 256px 1px repeat-x,
url("art/drawingboard/track-h-mid2.png") calc(0px - var(--clio-db-phase, 0px)) 8px / 256px 1px repeat-x,
url("art/drawingboard/track-h-bottom.png") calc(0px - var(--clio-db-phase, 0px)) 15px / 128px 1px repeat-x,
#ece6e4;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-button,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-button,
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-button:active,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-button:active,
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *)::-webkit-scrollbar-button:horizontal,
[data-era="drawingboard"]:is(html.clio-scrollbars)::-webkit-scrollbar-button:horizontal {
/* :horizontal outweighs the Platinum rule that moves that art a pixel down. */
border: 0;
background-color: transparent;
background-position: 0 0;
background-size: 16px 16px;
box-shadow: none;
}
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb > .clio-sb-button,
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb > .clio-sb-button.clio-held,
[data-era="drawingboard"] :is(.window-pane, .listbox, [role="listbox"], textarea, select[multiple], .clio-scroll, .clio-scrollbars *) > .clio-sb-anchor > .clio-sb.clio-sb-h > .clio-sb-button {
/* :horizontal outweighs the Platinum rule that moves that art a pixel down. */
border: 0;
background-color: transparent;
background-position: 0 0;
background-size: 16px 16px;
box-shadow: none;
}
/* Disabled pop-up menu: the pens' lighter rows, the theme's dimmed hatch and
arrow (Appearance, "Variation"). */
/* The arrow and hatch stay inside the frame; the pens draw on it. */
[data-era="drawingboard"] select,
[data-era="drawingboard"] select:disabled {
background-clip: padding-box, padding-box, border-box, border-box, border-box, border-box, padding-box;
}
[data-era="drawingboard"] select:disabled {
border-image: url("art/drawingboard/pens/popup-disabled-corners.png") 5 / 5px stretch;
border-color: transparent;
background:
var(--clio-art-db-popup-arrow-off) right 5px top 4px / 7px 9px no-repeat padding-box,
var(--clio-art-db-popup-corner-off) right 19px bottom / 24px 24px no-repeat padding-box,
url("art/drawingboard/pens/popup-disabled-left.png") left 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/popup-disabled-right.png") right 0 bottom 1px / 1px 16px repeat-y border-box,
url("art/drawingboard/pens/popup-disabled-top.png") right 1px top 0 / 64px 1px repeat-x border-box,
url("art/drawingboard/pens/popup-disabled-bottom.png") right 1px bottom 0 / 64px 1px repeat-x border-box,
#cec6b5;
color: #8c8c8c;
}
/* The 1px pencil shade right of and below a push button (ppat 7079, 7070 next
rows; held: 7127, 7126, tiled from the second column and row). A default
button instead wears a 3px pencil band (ppat 7085 rows, 7086 columns) whose
inner line is the box's edge, 2px outside it. Insets are from the padding box. */
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button)::before {
content: "";
position: absolute;
top: 0;
right: -2px;
bottom: -2px;
left: 4px;
border: 0;
border-image: none;
box-shadow: none;
background:
url("art/drawingboard/pens/button-shade-right.png") right 0 bottom 2px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-shade-bottom.png") right 2px bottom 0 / 64px 1px repeat-x;
pointer-events: none;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button, :disabled, .disabled):is(:active:where(:not([data-clio-off])), .active)::before {
left: 0;
background:
url("art/drawingboard/pens/button-held-shade-right.png") right 0 top 0 / 1px 16px repeat-y,
url("art/drawingboard/pens/button-held-shade-bottom.png") left 0 bottom 0 / 32px 1px repeat-x;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):is(.default, .btn-default)::before {
inset: -3px;
background:
url("art/drawingboard/pens/button-default-left-3.png") left 0 bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-left-2.png") left 1px bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-left.png") left 2px bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-right.png") right 2px bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-right-2.png") right 1px bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-right-3.png") right 0 bottom 3px / 1px 16px repeat-y,
url("art/drawingboard/pens/button-default-top-3.png") right 3px top 0 / 64px 1px repeat-x,
url("art/drawingboard/pens/button-default-top-2.png") right 3px top 1px / 64px 1px repeat-x,
url("art/drawingboard/pens/button-default-top.png") right 3px top 2px / 64px 1px repeat-x,
url("art/drawingboard/pens/button-default-bottom.png") right 3px bottom 2px / 64px 1px repeat-x,
url("art/drawingboard/pens/button-default-bottom-2.png") right 3px bottom 1px / 64px 1px repeat-x,
url("art/drawingboard/pens/button-default-bottom-3.png") right 3px bottom 0 / 64px 1px repeat-x;
}
/* The pencil overruns at a push button's corners, outside its box: Button*
pieces round a plain button, *Default pieces round the default one. */
[data-era="drawingboard"] :is(button, .btn, .btn-default, input[type="button"], input[type="submit"], input[type="reset"]):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button) {
position: relative;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button)::after {
content: "";
position: absolute;
inset: -6px; /* from the padding box: 5px outside the frame */
background:
var(--clio-art-db-btn-tl) left 3px top 3px / 7px 3px no-repeat,
var(--clio-art-db-btn-tr) right 2px top 3px / 4px 3px no-repeat,
var(--clio-art-db-btn-br) right 1px bottom 0 / 5px 6px no-repeat,
var(--clio-art-db-btn-bl) left 3px bottom 2px / 7px 4px no-repeat;
pointer-events: none;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button, :disabled, .disabled):is(:active:where(:not([data-clio-off])), .active)::after {
background:
var(--clio-art-db-btn-tl) left 3px top 3px / 7px 3px no-repeat,
var(--clio-art-db-btn-tr) right 2px top 3px / 4px 3px no-repeat,
var(--clio-art-db-btn-br-held) right 1px bottom 0 / 5px 6px no-repeat,
var(--clio-art-db-btn-bl) left 3px bottom 2px / 7px 4px no-repeat;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):is(.default, .btn-default) {
border-image-source: none;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):is(.default, .btn-default)::after {
background:
url("art/drawingboard/pens/button-default-corner-tl.png") left 5px top 5px / 5px 5px no-repeat,
url("art/drawingboard/pens/button-default-corner-tr.png") right 5px top 5px / 5px 5px no-repeat,
url("art/drawingboard/pens/button-default-corner-bl.png") left 5px bottom 5px / 5px 5px no-repeat,
url("art/drawingboard/pens/button-default-corner-br.png") right 5px bottom 5px / 5px 5px no-repeat,
var(--clio-art-db-def-tl) left 1px top 1px / 9px 5px no-repeat,
var(--clio-art-db-def-tr) right 1px top 2px / 4px 4px no-repeat,
var(--clio-art-db-def-br) right 0 bottom 0 / 5px 6px no-repeat,
var(--clio-art-db-def-bl) left 1px bottom 1px / 9px 5px no-repeat;
}
[data-era="drawingboard"] progress {
border-left-color: #333333;
}
[data-era="drawingboard"] progress:indeterminate,
[data-era="drawingboard"] progress:indeterminate::-webkit-progress-bar {
background: var(--clio-art-db-progress-arrows) 0 center / 128px 5px repeat-x, #ddd6c5;
}
[data-era="drawingboard"] fieldset {
background: transparent;
}
[data-era="drawingboard"] fieldset > legend {
margin-left: 0;
}
/* ---- Antialiasing as Mac OS blends it: #333 labels on #cec6b5 (their solid
pixels #313131, from a 16-bit buffer); grey when disabled. */
[data-era="drawingboard"] :is(button, .btn, .btn-default, input[type="button"], input[type="submit"], input[type="reset"]):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button),
[data-era="drawingboard"] :is(button, .btn, .btn-default, input[type="button"], input[type="submit"], input[type="reset"]):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):not(:disabled, .disabled):is(:active:where(:not([data-clio-off])), .active) {
font-palette: --clio-aa-db-button;
}
[data-era="drawingboard"] :is(button, .btn, .btn-default, input[type="button"], input[type="submit"], input[type="reset"]):not(.icon, [role="tab"], [role="menuitem"], .title-bar > *, .rounded-title > *, .control-strip *, .disclosure, .little-arrows > *, .help-button):is(:disabled, .disabled) {
font-palette: --clio-aa-db-button-disabled;
}
/* ---- List view headers (Finder list view, Mac OS 8.5): a #9f9a94 pencil line
above and below; plain headers #cdc6bd with a #555 line at the foot, the
sorted one #9f9a94 with the #555 line at the top and #333 on its left; #888
between columns. Colours are each line's dominant one: the theme draws
these lines with pattern pens, not reproduced here. */
[data-era="drawingboard"] .list-view th {
background:
linear-gradient(#9f9a94, #9f9a94) 0 0 / 100% 1px no-repeat,
linear-gradient(#9f9a94, #9f9a94) 0 100% / 100% 1px no-repeat,
linear-gradient(#555555, #555555) 0 calc(100% - 1px) / 100% 1px no-repeat,
linear-gradient(#888888, #888888) 0 1px / 1px calc(100% - 2px) no-repeat,
#cdc6bd;
}
[data-era="drawingboard"] .list-view th[aria-sort]:not([aria-sort="none"]) {
background:
linear-gradient(#9f9a94, #9f9a94) 0 0 / 100% 1px no-repeat,
linear-gradient(#555555, #555555) 0 1px / 100% 1px no-repeat,
linear-gradient(#333333, #333333) 0 1px / 1px calc(100% - 2px) no-repeat,
#9f9a94;
}
[data-era="drawingboard"] .list-view th.sort-direction {
background:
linear-gradient(#555555, #555555) 100% 1px / 1px calc(100% - 2px) no-repeat,
linear-gradient(#9f9a94, #9f9a94) 0 0 / 100% 1px no-repeat,
linear-gradient(#9f9a94, #9f9a94) 0 100% / 100% 1px no-repeat,
linear-gradient(#555555, #555555) 0 calc(100% - 1px) / 100% 1px no-repeat,
linear-gradient(#888888, #888888) 0 1px / 1px calc(100% - 2px) no-repeat,
#cdc6bd;
}
[data-era="drawingboard"] .list-view {
--clio-list-view-bg: #e7ded6;
--clio-list-view-sorted-bg: #d6c6b5;
}
[data-era="drawingboard"] input[type="range"]::-webkit-slider-runnable-track {
border: 0;
border-image: none;
background: url("art/drawingboard/slider-track.png") calc(0px - var(--clio-db-phase, 0px)) 0 / 64px 1px repeat-x;
}
[data-era="drawingboard"] input[type="range"]::-moz-range-track {
border: 0;
border-image: none;
background: url("art/drawingboard/slider-track.png") calc(0px - var(--clio-db-phase, 0px)) 0 / 64px 1px repeat-x;
}
/* Bevel buttons: drawn as the theme's push button (its pens, corner pixels,
hatch and shade); the Navigation Services bevel buttons were not matched
pen for pen (inferred). */
/* The Help button's held state: the theme's pressed bevel with the same art
shifted one pixel down-right (inferred — the 8.5 capture is of the normal
state; the theme's press drops the button's content by one pixel). */
[data-era="drawingboard"] .help-button:is(:active:where(:not([data-clio-off])), .active) {
background: var(--clio-art-help-button) 1px 1px / 21px 20px no-repeat, var(--clio-button-active-bg);
}
[data-era="drawingboard"] .bevel {
border-width: 1px;
border-image: url("art/drawingboard/pens/button-corners.png") 5 / 5px stretch;
background: var(--clio-button-bg);
}
[data-era="drawingboard"] .bevel:is(:active:where(:not([data-clio-off])), .active, [aria-pressed="true"]):not(:disabled) {
border-image-source: url("art/drawingboard/pens/button-held-corners.png");
background: var(--clio-button-active-bg);
}
/* Drawing Board's chosen items stay #313131 (underlined, not inverted) and its
dimmed text is #8c8c8c. Browsers with COLRv1 draw the edge levels in the text
colour; Safari's COLRv0 file draws them from these palettes. */
[data-era="drawingboard"] :is(.menu-bar, [role="menubar"], [role="menu-bar"]) > li > :is(button, a, span),
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li,
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li > :is(a, button) {
font-palette: --clio-aa-313131 !important; /* outranks the shared chosen-item rule */
}
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li:is(.disabled, [aria-disabled="true"]),
[data-era="drawingboard"] :is(.menu, [role="menu"]) > li > :is(a, button):is(:disabled, [aria-disabled="true"]) {
font-palette: --clio-aa-8c8c8c !important;
}
/* ---- Smart Scrolling (clio.js bars, data-clio-scrolling="smart") ----------
Both arrows at the far end are one picture of the theme's (ScrollArrowsDbl,
pxm# 334 and 324), each button showing its half (Mac OS 8.5 with the theme,
Appearance > Options > Smart Scrolling, frame smart-scroll). Held, the
picture's held state for that arrow; nothing to scroll, the dimmed one. */
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-h.clio-sb-smart > .clio-sb-button {
border: 0;
background: url("art/drawingboard/parts/hpair.png") 0 0 / 32px 16px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-h.clio-sb-smart > .clio-sb-button.clio-sb-inc { background-position: -16px 0; }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-h.clio-sb-smart > .clio-sb-dec.clio-held { background-image: url("art/drawingboard/parts/hpair-dec-on.png"); }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-h.clio-sb-smart > .clio-sb-inc.clio-held { background-image: url("art/drawingboard/parts/hpair-inc-on.png"); }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-h.clio-sb-smart.clio-sb-off > .clio-sb-button { background-image: url("art/drawingboard/parts/hpair-off.png"); }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-v.clio-sb-smart > .clio-sb-button {
border: 0;
background: url("art/drawingboard/parts/vpair.png") 0 0 / 16px 32px no-repeat;
box-shadow: none;
}
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-v.clio-sb-smart > .clio-sb-button.clio-sb-inc { background-position: 0 -16px; }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-v.clio-sb-smart > .clio-sb-dec.clio-held { background-image: url("art/drawingboard/parts/vpair-dec-on.png"); }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-v.clio-sb-smart > .clio-sb-inc.clio-held { background-image: url("art/drawingboard/parts/vpair-inc-on.png"); }
[data-era="drawingboard"] .clio-sb-host > .clio-sb-anchor > .clio-sb.clio-sb-v.clio-sb-smart.clio-sb-off > .clio-sb-button { background-image: url("art/drawingboard/parts/vpair-off.png"); }
/* The open pop-up menu (Appearance > Appearance held; frame popup-open): its top
on the button's with the current item there, as wide as the button less its
20px of arrows. */
[data-era="drawingboard"] select {
--clio-popup-menu-trim: 20px;
--clio-popup-menu-align: top;
}
/* In the open pop-up the top line is the pen shifted with the button's phase (a
full line: the menu hangs from no bar), the text a pixel higher and 18px in,
the check mark 1px in, and the chosen item's underline on its last rows. */
[data-era="drawingboard"] ul.clio-popup-menu.menu { /* outweighs the menus' :is(.menu, ul[role="menu"]) */
--clio-menu-item-active-bg:
var(--clio-art-db-menu-underline-left) left 16px bottom 0 / 29px 3px no-repeat,
var(--clio-art-db-menu-underline-right) right 16px bottom 0 / 36px 3px no-repeat, /* 16px: popup-open, the right piece ends 16px in */
var(--clio-art-db-menu-underline-tiled) left 45px bottom 0 / calc(100% - 97px) 3px no-repeat;
background:
url("art/drawingboard/menu-top.png") calc(0px - var(--clio-db-phase, 0px)) 0 / 128px 1px repeat-x border-box,
url("art/drawingboard/menu-left.png") 0 0 / 1px 128px repeat-y border-box,
url("art/drawingboard/menu-right.png") right 0 top 4px / 1px 128px repeat-y border-box,
url("art/drawingboard/menu-foot.png") calc(4px - var(--clio-db-phase, 0px)) 100% / 128px 1px repeat-x border-box,
url("art/drawingboard/menu-paper.png") 0 0 / 64px 64px padding-box,
#dddddd;
}
[data-era="drawingboard"] .clio-popup-menu > li {
min-height: 16px;
padding-left: 18px;
padding-bottom: 2px;
line-height: 16px;
}
[data-era="drawingboard"] .clio-popup-menu > li:is(.checked, [aria-checked="true"])::before {
left: 1px;
margin-top: -5px;
}
/* With clio.js there (data-clio-popups), Drawing Board's pop-ups are not the
browser's picker: clio.js draws the menu with the theme's paper, pens and
shade, which a picker cannot carry. Without clio.js, base-select still does. */
@supports (appearance: base-select) {
@media (pointer: fine) {
:root[data-clio-popups] [data-era="drawingboard"] select:not([multiple], [size]:not([size="1"])),
:root[data-clio-popups][data-era="drawingboard"] select:not([multiple], [size]:not([size="1"])) {
appearance: none;
}
}
}
/* The dragged outline: the plain band round the frame and shadow (inside the
margin), with each corner's patch XORed in. */
[data-era="drawingboard"] .clio-outline {
mask:
var(--clio-db-outline-tl) left 0 top 0 / 80px 80px no-repeat border-box exclude,
var(--clio-db-outline-tr) right 0 top 0 / 80px 80px no-repeat border-box exclude,
var(--clio-db-outline-bl) left 0 bottom 0 / 80px 80px no-repeat border-box exclude,
var(--clio-db-outline-br) right 0 bottom 0 / 80px 80px no-repeat border-box exclude,
linear-gradient(#000 0 0) content-box exclude,
linear-gradient(#000 0 0) 12px 12px / calc(100% - 24px) calc(100% - 24px) no-repeat border-box;
}
/* ---- Placard (Mac OS 8.5, the Appearance SDK's CDEF Tester, frames placard and
placard-disabled): a #cebdb5 face in a pencil line whose shade drifts from #333 to
#888 (drawn flat in its commonest shade, #555); disabled, a #cdc6bd face with a
faint line along the top only. */
[data-era="drawingboard"] .placard {
border-color: #555555;
background: #cebdb5;
}
[data-era="drawingboard"] .placard:is(:disabled, [aria-disabled="true"], .window.inactive *) {
border-color: #b6ada5 #cdc6bd #cdc6bd;
background: #cdc6bd;
color: #9f9a94;
}
/* Adaptations the historical machines never needed. Historical sizes are
calibration, not a cage: on a touch screen the controls grow to the
"coarse pointer" sizes from AI System 6's fidelity contract, without any
transform: scale() of the interface. */
@media (pointer: coarse) {
:root,
[data-era] {
--clio-control-height: 36px;
--clio-popup-height: 36px;
--clio-field-height: 40px;
--clio-menubar-height: 32px;
--clio-menu-item-height: 32px;
--clio-list-row: 32px;
--clio-tab-height: 32px;
}
/* The title-bar boxes keep their 11px art; their hit area grows to 44px. */
.title-bar > :is(button, .close, .close-box, .resize, .resize-box, .zoom, .shade, .shade-box, .collapse)::after {
content: "";
position: absolute;
inset: -17px;
}
}
/* Windows High Contrast and other forced-colour modes: give the choice
controls back to the system so their state stays visible. */
@media (forced-colors: active) {
:where(input[type="checkbox"], input[type="radio"]) {
appearance: auto;
-webkit-appearance: auto;
}
.title-bar,
.inactive-title-bar {
forced-color-adjust: none;
}
}
@media print {
:where(.window, .modal-dialog, .alert-box, .standard-dialog) {
box-shadow: none;
}
}
/* Retina and other whole-number pixel ratios: every Mac pixel becomes a solid
2x2 or 3x3 block (nearest neighbour), as a 1x screen magnified would show it.
At fractional ratios (1.25, 1.5, browser zoom) the browser's smoothing stays:
nearest neighbour there gives uneven pixel widths. image-rendering inherits,
so the page's own pictures, video and canvas are handed back to smoothing. */
@media (resolution: 2dppx), (resolution: 3dppx), (resolution: 4dppx) {
:root {
image-rendering: pixelated;
}
:where(img, picture, video, canvas, iframe, object, embed) {
image-rendering: auto;
}
}
/* Optional chrome faces for Platinum and Drawing Board:
data-clio-font="virtue" Virtue 3.2.1, Marty P. Pfeiffer's 1997-99 TrueType
reworking of Charcoal, (c) Scooter Graphics
(https://www.scootergraphics.com/). Ships as
fonts/Virtue.woff2, unchanged, with the author's
permission (THIRD-PARTY.md).
data-clio-font="truth" Truth FB, David Berlow's own 2005 expansion of
Charcoal, sold by Font Bureau. Not shipped: install
it or add your own @font-face.
Set the attribute on or any ancestor. It changes Platinum and
Drawing Board only; System 6 and 7 keep Chicago. Clio Sans '97 stays as the
fallback. These are outline fonts drawn by the browser, not the measured
pixels. */
@font-face {
font-family: Virtue;
src: local("Virtue"), url("fonts/Virtue.woff2") format("woff2");
font-display: swap;
}
[data-clio-font="virtue"]:is([data-era="platinum"], [data-era="drawingboard"]),
[data-clio-font="virtue"] :is([data-era="platinum"], [data-era="drawingboard"]),
:is([data-era="platinum"], [data-era="drawingboard"]) [data-clio-font="virtue"] {
--clio-font-chrome: Virtue, "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-window-title: Virtue, "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-button: Virtue, "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
}
[data-clio-font="truth"]:is([data-era="platinum"], [data-era="drawingboard"]),
[data-clio-font="truth"] :is([data-era="platinum"], [data-era="drawingboard"]),
:is([data-era="platinum"], [data-era="drawingboard"]) [data-clio-font="truth"] {
--clio-font-chrome: "Truth FB", Truth, "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-window-title: "Truth FB", Truth, "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-button: "Truth FB", Truth, "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
}
/* Chinese, Japanese and Korean (design decisions 9 and 10, 2026-11-14).
Measured: KanjiTalk 7.5.3 and Mac OS 9.0 with the Chinese Language Kits draw CJK text
at the Roman geometry: 16px menu and text rows, the same baseline, 12px ideographs whose
ink runs from 10px above the baseline to 1px below (tooling/emulator/measure-cjk.sh).
So nothing moves; only the fonts change. A localized system's system font is the
script's font, Latin included (KanjiTalk draws "Infinite HD" and OK in Osaka), so the
CJK font leads every stack.
Each stack names the period bitmap interface font (Taipei, Beijing, Osaka, Seoul), then
Clio's stand-in, Fusion Pixel 12px proportional (OFL-1.1, THIRD-PARTY.md) cut to the
character set that bitmap font drew (Big5, GB 2312, JIS X 0208, KS X 1001), then an
outline family of the period. The outline families come after the stand-in because
current macOS still installs some of them (AppleGothic) as antialiased outlines.
A browser fetches a stand-in only for an element in that language that has text in
its unicode-range: pages without CJK text never load them. */
@font-face {
font-family: "Clio Pixel TC";
src: url("fonts/FusionPixel12-TC.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
unicode-range: U+20-F7, U+391-451, U+2013-203E, U+2103-2199, U+2460-247D, U+2500-2642, U+3000-3129, U+32A3, U+4E00-7E9C, U+7F36-8B9E, U+8C37-9483, U+9577-9FA4, U+FA0C-FA0D, U+FE30-FE4F, U+FF01-FFE3;
}
@font-face {
font-family: "Clio Pixel SC";
src: url("fonts/FusionPixel12-SC.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
unicode-range: U+20-1DC, U+391-451, U+2015-203B, U+2103-2193, U+2312, U+2460-2642, U+3000-3129, U+3220-3229, U+4E00-7DAE, U+7E3B-8C98, U+8D1D-8ECE, U+8F66-91DC, U+9274-99A8, U+9A6C-9B54, U+9C7C-9CE2, U+9E1F-9FA0, U+FF01-FF5E, U+FFE0-FFE5;
}
@font-face {
font-family: "Clio Pixel JA";
src: url("fonts/FusionPixel12-JA.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
unicode-range: U+20-F7, U+391-451, U+2010-203B, U+2103-21D4, U+2312, U+2500-266F, U+3000-30FE, U+4E00-7E9C, U+7F36-8B9A, U+8C37-9481, U+9577-9FA0, U+FF01-FFE5;
}
@font-face {
font-family: "Clio Pixel KO";
src: url("fonts/FusionPixel12-KO.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
unicode-range: U+20-167, U+391-451, U+2015-21D4, U+2312, U+2460-266D, U+3000-318E, U+327F, U+4E00-7E9C, U+7F36-8B9A, U+8C37-947F, U+9577-9C57, U+9CE5-9F9C, U+AC00-D79D, U+F900-FA0B, U+FF01-FF5E, U+FFE0-FFE6;
}
:lang(zh) { --clio-font-cjk: Beijing, "Clio Pixel SC", Hei; }
:is(:lang(zh-Hant), :lang(zh-TW), :lang(zh-HK), :lang(zh-MO)) { --clio-font-cjk: Taipei, "Clio Pixel TC", "Apple LiGothic"; }
:lang(ja) { --clio-font-cjk: Osaka, "Clio Pixel JA"; }
:lang(ko) { --clio-font-cjk: Seoul, "Clio Pixel KO", AppleGothic; }
/* Declared beside --clio-font-cjk, on every element in the language, so var() resolves there. */
:is(:lang(zh), :lang(ja), :lang(ko)) {
--clio-font-chrome: var(--clio-font-cjk), "Clio Sans '84", Chicago, "ChicagoFLF", Charcoal, Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-text: var(--clio-font-cjk), "Clio Text '84", Geneva, "Helvetica Neue", Arial, sans-serif;
/* Small text keeps the 9px Latin face: the stand-in is a 12px font (KanjiTalk's Finder
drew 8px kanji here, from a 9-point Osaka clio.css does not have). */
--clio-font-small: "Clio Text '84 9", var(--clio-font-cjk), Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-display: var(--clio-font-cjk), Chicago, "ChicagoFLF", Charcoal, "Helvetica Neue", Arial, sans-serif;
}
/* Pop-up items name "Clio Sans '97 Exact" ahead of the chrome stack for its palette
(91-platinum-only.css; Mac OS 9 only, as that file): in a CJK language the CJK fonts go first there too. */
[data-era="platinum"] .clio-popup-menu > li:not(.disabled, .active, :hover):is(:lang(zh), :lang(ja), :lang(ko)) {
font-family: var(--clio-font-cjk), "Clio Sans '97 Exact", var(--clio-font-chrome);
}
@supports (appearance: base-select) {
[data-era="platinum"] select option:not(:disabled, :hover, :focus-visible):is(:lang(zh), :lang(ja), :lang(ko)) {
font-family: var(--clio-font-cjk), "Clio Sans '97 Exact", var(--clio-font-chrome);
}
}
/* CJK on the Appearance Manager eras: the same order as 96-cjk.css over the
Charcoal stacks. Measured on Mac OS 9.0 with the Chinese Language Kits: the Text
control panel's Script pop-up draws 繁體中文 and 简体中文 in 16px rows, ink 2px below
the row's top to 12px, 1-bit (frame p9-script-popup-open). */
:is(:is([data-era="platinum"], [data-era="drawingboard"]) :is(:lang(zh), :lang(ja), :lang(ko)), :is([data-era="platinum"], [data-era="drawingboard"]):is(:lang(zh), :lang(ja), :lang(ko))) {
--clio-font-chrome: var(--clio-font-cjk), Charcoal, "Charcoal CY", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-display: var(--clio-font-cjk), Charcoal, "Charcoal CY", "Clio Sans '97 Display", "Clio Asap", "Helvetica Neue", Arial, sans-serif;
--clio-font-window-title: var(--clio-font-cjk), Charcoal, "Charcoal CY", "Clio Sans '97 Title Exact", "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-button: var(--clio-font-cjk), Charcoal, "Charcoal CY", "Clio Sans '97 Exact", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
--clio-font-text: var(--clio-font-cjk), Geneva, "Clio Asap", "Helvetica Neue", Arial, sans-serif;
--clio-font-small: Geneva, var(--clio-font-cjk), "Clio Asap", "Helvetica Neue", Arial, sans-serif;
}
/* Drawing Board's own title stack (92-drawingboard.css), CJK first. */
:is([data-era="drawingboard"] :is(:lang(zh), :lang(ja), :lang(ko)), [data-era="drawingboard"]:is(:lang(zh), :lang(ja), :lang(ko))) {
--clio-font-window-title: var(--clio-font-cjk), Charcoal, "Charcoal CY", "Clio Sans '97 Title", "Clio Sans '97", "Clio Asap", Geneva, "Helvetica Neue", Arial, sans-serif;
}
```