clio.cssWindowsControlsListsMenu

Dialogs and alerts
Chinese text garbled? Show it as pictures

The modal dialog frame, the alert layout with an icon, and the plain shadowed box.

Example: dialog

<div class="alert-box" role="alertdialog" aria-labelledby="clio-alert-msg"
    style="width: 340px">
  <span class="alert-icon caution" aria-hidden="true"></span>
  <p id="clio-alert-msg">Save changes to the document ¡°Untitled¡± before
      closing?</p>
  <div class="dialog-buttons">
    <button>Don¡¯t Save</button>
    <button>Cancel</button>
    <button class="default">Save</button>
  </div>
</div>

Plain box

The shadowed box, for a message with no frame of its own.

Example: dialog-0

<div class="standard-dialog" style="width: 280px">
  <p style="margin: 0">Welcome to Macintosh.</p>
</div>

Dialogs and alerts Info

Selectors
.modal-dialog .alert-box .standard-dialog .modeless-dialog .alert-icon .dialog-buttons
Tokens
--clio-dialog-bg --clio-modal-border --clio-modal-frame --clio-plain-dialog-shadow
Accessibility
Put the classes on a native <dialog> opened with showModal() to get focus trapping and Escape; label it with aria-labelledby.

Also accepts: system.css markup (.modal-dialog, .alert-box, .standard-dialog, .outer-border, .inner-border, .modal-contents).

Evidence (15)

Where each value comes from
EraValueStatusSource
System 7Alert frame: 1px black, a raised #ccf/#669 ring, #bbb, a sunken #669/#ccf ring, 1px black (5px, as in System 6)Measuredclio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame page-setup
100% identical. An alert without a colour table keeps System 6's black frame (Monitors & Sound alert); clio.css draws the colour one
System 6Modal frame: 1px ink, 2px paper, 2px ink, and no drop shadowMeasuredclio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame alert
AI System 6 has two recipes, both off (84-clio-write.css:210 has a 1px gap)
System 6Plain box: 1px ink frame and a 2px drop shadowInferrednot measured
altDBoxProc; none of the 6.0.8 Finder and TeachText dialogs opened for capture (alerts, Standard File, About the Finder) uses it
Classic erasThe alert icon is drawn here, not Apple'sAdaptedclio.css
no Apple icons are shipped
Platinum1px black frame over #ddd, inner bevel of three white steps inside #555/#999/#aaa, 1px black dropMeasuredapps/desktop/styles/65-appearance-themes.css:840 (P06)
GUIdebook Mac OS 9.0 About application (about-alert specimen)
Drawing BoardAlerts: the theme's eight Alert pictures (6127-6134) round the outline, edges tiled from their ends, on the window paper from 4px insideMeasuredclio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame energy-saver-alert; 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
every piece found 1:1 round Energy Saver's start-up notice
Drawing BoardMovable modal dialogs (.modeless-dialog, which is a .window) draw the document window's frame: #222 outline, 4px #cdc6bd frame, #777 inner line, 20px title bar over a #555 rule, the #777 band right and belowMeasuredclio.css capture, Mac OS 8.5 with Drawing Board (npm run capture:drawingboard), frame copy-progress-5
Finder copy window; Movable_Modal pixmaps found 1:1
Drawing BoardModal dialogs: the Modal pictures (6135-6142), which have the alert's sizes, placed the same wayInferredthe theme file's ppat and pxm# resources, decoded by tooling/theme-resources.py, written by tooling/db-art.py and tooling/db-pens.py
no modal dialog was on screen in the captures
PlatinumSeparator line (.separator, <hr class=separator>): etched, #888 then white one row lower and one column further rightMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac, frame hig/platinum9/mouse
100% identical
System 7Separator line: a 3px band of QuickDraw's 50% grey, aligned to the screenMeasuredclio.css capture, System 7.5.3 in Infinite Mac, frame hig/system7/memory
¡ª
System 6Separator line: 1px of inkInferredclio.css
¡ª
NeXTSTEPA panel (Info): a window with the key title bar and a close button, no resize bar; its details in a box with no titleMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame ns30b/infopanel (Workspace's Info panel, 380x264)
fidelity nx-panel-top, nx-panel-foot, nx-box-plain
NeXTSTEPAttention panel: #aaaaaa, the 1px black frame, the key window's title bar with no title and no buttons, no shadow; a groove (#555555 over white) 86 rows in; the buttons 8px from the lower right and 8px apartMeasuredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame logout-alert (Workspace's Log Out panel, 364x185)
fidelity nx-alert-titlebar, nx-alert-groove, nx-alert-buttons
NeXTSTEPAbove the groove the application's 48px icon and the panel's title (its aria-label) in Helvetica 18; the message centred belowInferredclio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame logout-alert (positions read from the frame; text and icon are not compared)
NeXTSTEP User Interface Guidelines, Release 3 p.84-87
NeXTSTEPThe application's icon, not a symbol: without one the slot stays emptyInferredNeXTSTEP User Interface Guidelines, Release 3 p.84
AI System 6 shows none either