Home

Scroll bar

The era's scroll bar on every scroll area clio.css owns, on any element with .clio-scroll, or on the whole page with <html class="clio-scrollbars">.

The lane, the scroll box and both arrow boxes come from the era. Firefox has no scroll-bar parts, so it gets the era's colours only.

Scroll me.

<div class="clio clio-scroll" style="width: 220px; height: 96px; overflow: scroll; border: 1px solid; background: var(--clio-pane-bg); font-family: var(--clio-font-text)">
  <p style="width: 360px; margin: 8px">The lane, the scroll box and both arrow boxes come from the era. Firefox has no scroll-bar parts, so it gets the era's colours only.</p>
  <p style="margin: 8px">Scroll me.</p>
</div>
The four Mac OS eras side by side
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Scroll bar Info

Selectors
.window-pane .clio-scroll html.clio-scrollbars ::-webkit-scrollbar
Tokens
--clio-scrollbar-size --clio-scrollbar-track --clio-scrollbar-thumb-bg --clio-scrollbar-button-bg
Accessibility
Native scrolling is untouched: wheel, keyboard and touch scroll as usual.
Evidence (32)
Where each value comes from
EraValueStatusSource
System 7Arrow boxes and grow box redrawn from the captured pixels (#ddd face, white light, #777 shade, #99c arrows outlined #336)Measuredclio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame folder-window → tooling/s7-art.py
100% identical
System 7Lane: ltGray pattern in #ddd and #777; scroll box #aaa with #ccf/#336 bevel, a #555 leading edge and a 6×10 grip 3px from itMeasuredclio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame folder-window
the real box is a fixed 16 rows; the browser sizes it to the content, so only its first 16 rows match
System 6Lane: a 1px line and 14px inside; the window frame closes it, so the bar is 15px in CSSMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame system-folder
AI System 6 uses a 16px lane
System 6Active lane pattern is QuickDraw's ltGray (one dot in four, rows offset by two), not 50% grey; an empty lane is whiteMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frames system-folder and hd-window
AI System 6 draws a 50% checker
System 6Scroll box: a white square with a 1px frame filling the lane, 16 rows tallMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame system-folder
System 6.0.8 Finder list view
System 6Up and down arrows: hollow, 13 wide and 11 tall in the 14px box, a 45° head and a 7px stemMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frames hd-window and system-folder
redrawn as pixels in tooling/s6-art.py
System 6Left and right arrows: the up arrow turned, apex in the box's first column, tip in its lastMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame hd-window (horizontal scroll bar)
redrawn as pixels in tooling/s6-art.py
System 6Grow box: a 7×7 square over a 9×9 square in the 14px cornerMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame system-folder
redrawn as pixels in tooling/s6-art.py
Classic erasWithout clio.js the scroll box grows with the visible fraction instead of keeping its fixed lengthAdaptedclio.css
browsers size ::-webkit-scrollbar-thumb themselves; load dist/clio.js for the fixed box
System 7clio.js: the scroll box is the #555 line and 15 rows, 16 in all, right after the arrow's black line; dragged, it leaves a 14x16 outline in which the lane's #ddd turns black and its #777 dots stay, and the content scrolls on releaseMeasuredclio.css capture, System 7.5.3 in Infinite Mac (frames hig/system7/finder-scroll and finder-thumb-drag)
specimen s7-js-scroll-top 100% identical
System 6clio.js: the scroll box is 14x16 inside the bar's line; dragged, it leaves its frame XORed with dkGray, which over the ltGray lane comes out solid black, and the content scrolls on releaseMeasuredclio.css capture, System 6.0.8 in Infinite Mac, System Folder list, the box pressed and held 56px lower (frame scroll-box-drag)
specimen s6-js-scroll-drag 100% identical in Chromium, WebKit and Firefox (the pointer masked)
Classic erasclio.js: the lane's pattern is kept to the page, as QuickDraw kept it to the screen; the browser's own bar starts it at the laneMeasuredclio.css capture, System 6.0.8 (System Folder) and System 7.5.3 (Infinite HD narrowed): the lane's dots fall on the same screen columns wherever the bar is
specimen s7-js-hscroll-lane 100% identical; without clio.js the dots may sit one step along (adapted)
System 7Horizontal bar: the vertical bar turned, its box the #555 line and 15 columns after the left arrow's black lineMeasuredclio.css capture, System 7.5.3 in Infinite Mac, Infinite HD narrowed until it scrolls sideways (frame hbar)
specimens s7-scroll-left, s7-scroll-right, s7-hscroll-thumb 100% identical
Platinumclio.js: a 15-row box between black lines that it shares with the arrows; the bar is a black line and 14px, the window's frame closing it; lane shaded #777/#888 along the top and left and #bbb/#ccc down the right, and again just past the box; arrow and box bevels stop a pixel short of the far corners; dragged liveMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac with Smart Scrolling off (frames hig/platinum9/finder-scroll-fixed, finder-thumb-drag)
specimen p9-js-scroll-fixed 100% identical; the 16px bar before 0.11 was a pixel too wide and tall
Platinumclio.js, data-clio-scrolling="smart": both arrows at the far end, the up arrow first with its black line on the lane's side; the box sized to the visible shareMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac, Appearance > Options > Smart Scrolling on (frame hig/platinum9/finder-scroll-smart)
specimen p9-js-scroll-smart 100% identical; off by default, as in Apple's own Mac OS 9.0 screenshots
Platinumclio.js: with nothing to scroll the lane is flat #eee, the arrows dimmed, the lines beside them #555Measuredclio.css capture, Mac OS 9.0 in Infinite Mac (frame hig/platinum9/finder-scroll-fixed, horizontal bar)
specimen p9-js-scroll-off-h 100% identical
Classic erasclio.js: a held arrow or lane steps at once and keeps stepping while held, with no pause in System 6 and 7 and a pause of about 0.2 s after the first step in Mac OS 8 and 9 (--clio-scrollbar-repeat-delay)MeasuredTrackControl in the Mac IIx and Quadra 650 ROMs calls the action procedure on every pass while the button is down; clio.css capture, Mac OS 9.0 Finder in Infinite Mac (held down arrow)
Drawing Board assumed as Mac OS 9 (inferred)
Classic erasclio.js: an arrow step is 16px and a lane step the visible height less 16px; repeats every 50 msAdaptedclio.css capture, System 6.0.8 Finder list in Infinite Mac: one click scrolled one 16px row; the Mac stepped as fast as the application could scroll (no fixed rate in the Toolbox), so the rate is chosen
applications chose their own step and page
PlatinumA held scroll arrow: #777 face, #555 along the top and left, #999 along the bottom and right, the other two corners #777Measuredclio.css capture, Mac OS 9.0 in Infinite Mac, Finder, the down arrow held at its corner (frame arrow-held)
specimen p9-js-scroll-arrow-held 100% identical in all three engines (the pointer masked)
PlatinumLane #aaa with a double bevel; lavender #9999ff scroll box with #ccf/#66c bevel and grip ridges; #ddd arrow boxes with stepped 2/4/6/8 arrowsMeasuredapps/desktop/styles/65-appearance-themes.css:336 (P16), :351 (P17), :364 (P27)
Mac OS 9 native capture 16; GUIdebook Open dialog
Drawing BoardScroll arrows: the theme's 16x16 boxes, normal, held and disabled, flush with the bar; the grow box is NoGrowBoxRightMeasuredclio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame themes-tab; the theme file's pxm# pixmaps, decoded by tooling/theme-resources.py and redrawn by tooling/db-art.py
left and right arrows found 1:1 at (192,297) and (570,297)
Drawing BoardTrack: #ece6e4 ruled by pattern pens (ppat 7045-7049: the edges and a double centre line) tiled from the track's start; scroll box from the theme's ends, stretch and grip, whose colours Mac OS passes through 16 bits (5 per channel); the grip lies over the ends at (length − 2) / 2 rounded down, so the 15px box shows 6px of its start, the grip and 7px of its endMeasuredclio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frames themes-tab and desktop-tab; the theme file's ppat and pxm# resources, decoded by tooling/theme-resources.py, written by tooling/db-art.py and tooling/db-pens.py
the Themes list's horizontal bar and the pattern list's vertical bar
Drawing Boardclio.js: the scroll box keeps the theme's 15px whatever share of the content shows (Smart Scrolling off, the 8.5 default)Measuredclio.css capture, Mac OS 8.5 with the theme in Infinite Mac, Infinite HD at three sizes: the horizontal box 15px in each
the browser's own bar sizes it by the share (adapted)
Drawing Boardclio.js, data-clio-scrolling="smart": both arrows at the far end are one theme picture (ScrollArrowsDbl, pxm# 334 and 324), each button showing its half; held, only that arrow lights (state 4 for the first, 1 for the second); dimmed from the same resourceMeasuredclio.css capture, Mac OS 8.5 with the theme, Smart Scrolling on (frames smart-scroll, smart-held-left, smart-held-right); the theme file's pxm#
specimens db-js-smart-arrows, db-js-smart-held-left and -right 100% identical in all three engines (the pointer on the held arrow masked); the vertical pair held matches the same way (frames only, no specimen); the dimmed state is still read from the resource order
NeXTSTEPScroller (clio.js): an 18px lane behind a black line on the content's side: a 1px #aaaaaa margin, then 16px of #555555 and #aaaaaa dotsMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame browser-small (the File Viewer in browser view, shrunk until its lists scroll), x 163-181, y 227-325)
fidelity nx-js-scroller, identical in Chromium, WebKit and Firefox
NeXTSTEPKnob: a 16px raised square as long as the visible share (at least 18px), 1px below the lane's top, with a 6x6 dimple 1px above and left of its middleMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame browser-small (the File Viewer in browser view, shrunk until its lists scroll))
the dimple equals AI System 6's ns-knob-dimple-6.svg
NeXTSTEPArrow buttons: 16x16 raised buttons with a black triangle, both at the bottom of a vertical scroller, up above down, each in a 17px cell with 1px of lane before it and 1px after the lastMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame browser-small (the File Viewer in browser view, shrunk until its lists scroll)); tooling/nx-art.py check
the art equals AI System 6's ns-scroll-*-16.svg
NeXTSTEPHorizontal scroller: the same lane, margin and knob turned on their side, the black line on topMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefsapp-moved (Preferences, Mouse), the icon row's scroller, which has no arrows)
read from the frame; no specimen
NeXTSTEPHorizontal scroller (clio.js): both arrows at its left in 17px cells, then a 1px gap, the lane with its 1px margin at the far endMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame ns30b/hb4 (the File Viewer's browser five columns deep); tooling/nx-art.py check
fidelity nx-js-hscroller
NeXTSTEPA held arrow: every pixel one grey lighter (black to #555555, #555555 to #aaaaaa, #aaaaaa to white)Measuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame ns30b/arrow-held (the right arrow held)
fidelity nx-js-arrow-held, three engines
NeXTSTEPWith nothing to scroll the knob and the arrows go and the lane runs the whole barMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame browser (the browser's columns)
AI System 6 reference notes (Controls, F14) agree
NeXTSTEPThe browser's own scroll bar (without clio.js) is drawn with the same art but stays on the right, with Chromium's minimum knobAdaptedclio.css
a page cannot move the browser's own scroll bar

About clio.css

Version 2.0.4

MIT licence. Source on GitHub.

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

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

Find

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