clio.cssWindowsControlsListsMenu

Standard File dialog
Chinese text garbled? Show it as pictures

Standard File's Open and Save dialogs (System 6 and 7): a folder pop-up over a file list, the disk's name, Eject, Desktop (Drive in System 6), Cancel and Open or Save; Save adds a prompt and a name field.

Example: standard-file

<div class="modal-dialog standard-file" role="dialog" aria-label="Open">
  <div class="sf-browse">
    <select aria-label="Folder"><option>Macintosh HD</option></select>
    <ul class="listbox clio-scroll" role="listbox" aria-label="Files">
      <li role="option" class="sf-folder" aria-selected="true">Documents</li>
      <li role="option" class="sf-folder">System Folder</li>
      <li role="option" class="sf-document">Read Me</li>
      <li role="option" class="sf-document">Shopping List</li>
    </ul>
  </div>
  <div class="sf-side">
    <span class="sf-disk">Macintosh HD</span>
    <button disabled>Eject</button>
    <button>Desktop</button>
    <hr class="separator">
    <button>Cancel</button>
    <button class="default">Open</button>
  </div>
</div>

Save

A prompt and a name field under a shorter list. New (a new folder, System 7.5) and the option under the field are optional.

Example: standard-file-0

<div class="modal-dialog standard-file" role="dialog" aria-label="Save">
  <div class="sf-browse">
    <select aria-label="Folder"><option>Documents</option></select>
    <ul class="listbox clio-scroll" role="listbox" aria-label="Files">
      <li role="option" class="sf-folder">Letters</li>
      <li role="option" class="sf-document" aria-disabled="true">Read Me</li>
      <li role="option" class="sf-document" aria-disabled="true">Shopping
          List</li>
    </ul>
    <label for="clio-sf-name">Save this document as:</label>
    <input type="text" id="clio-sf-name" value="untitled">
    <label class="sf-option"><input type="checkbox"> Save As
        Stationery</label>
  </div>
  <div class="sf-side">
    <span class="sf-disk">Macintosh HD</span>
    <button disabled>Eject</button>
    <button>Desktop</button>
    <button class="sf-new-folder">New</button>
    <hr class="separator">
    <button>Cancel</button>
    <button class="default">Save</button>
  </div>
</div>

Standard File dialog Info

Selectors
.standard-file .sf-browse .sf-side .sf-disk .sf-folder .sf-document .sf-new-folder .sf-option
Tokens
--clio-art-frame-s6-button-18
Accessibility
Use a native <dialog class="modal-dialog standard-file"> opened with showModal() and an aria-label (Standard File's dialogs have no title). Label the folder pop-up and the file list; mark files the dialog cannot open with aria-disabled="true" and the chosen one with aria-selected="true". Put Cancel before the default button in the markup: System 6 shows the default button first, System 7 shows Cancel first.

Evidence (16)

Where each value comes from
EraValueStatusSource
System 6Open dialog 364x216 (an 8px frame round the content): the folder pop-up centred over the list at y 17; the list 218x146 at 12,39 (its scroll bar inside), 16px rows, the folder icon at x 18 and the name at x 36; the disk icon at 236,44 and its name from x 256; 80x18 buttons from x 256 at y 68 (Eject), 93 (Drive), 138 (Open) and 163 (Cancel); a dotted rule from 252 to 338 at y 124Measuredclio.css capture, System 6.0.8 in Infinite Mac (tooling/capture-system6.ts), frame open-dialog (TeachText's Open)
positions read from the frame's pixels, content coordinates; masked compare 0 px (.notes, then the fidelity specimen)
System 6The default button has no ring and stands above CancelMeasuredclio.css capture, System 6.0.8 in Infinite Mac (tooling/capture-system6.ts), frames open-dialog and save-dialog
Open at y 138 over Cancel at 163; no ring pixels round Open
System 6Save dialog 320x200: the list 183x98 at 14,29; the prompt's cap top at 139; the name field 14..196 x 154..175; 70x18 buttons from x 218 at y 56 (Eject), 82 (Drive), 132 (Save) and 158 (Cancel); no ruleMeasuredclio.css capture, System 6.0.8 in Infinite Mac (tooling/capture-system6.ts), frame save-dialog (TeachText's Save As)
positions read from the frame's pixels, content coordinates
System 6The 18px button frame: a rounded rectangle whose corners follow its height, tighter than the 20px button'sMeasuredclio.css capture, System 6.0.8 in Infinite Mac (tooling/capture-system6.ts), frame open-dialog, the Drive button (346..425 x 193..210 on screen)
cut by tooling/frame-art.py (s6-button-18) into --clio-art-frame-s6-button-18
System 7Open dialog 360x182: the pop-up at y 6 with the folder's icon; the list 218x128 at 12,29, 18px rows; the disk icon at 235,13 and its name condensed (letter-spacing -1px); 80x20 buttons from x 252 at y 32 (Eject), 60 (Desktop), 104 (Cancel) and 135 (Open, ringed); a rule of alternating #777777 and #888888 from 251 to 332 at y 91Measuredclio.css capture, System 7.5.3 in Infinite Mac (tooling/capture-system7.ts), frame sf-open (Stickies' Import Text)
positions and colours read from the frame's pixels, content coordinates
System 7Save dialog 360x227: the list 92 tall; the prompt's cap top at 139; the name field 12..229 x 154..175; Save As Stationery's box at 17,191; New with a folder at y 88; Cancel at 130 and Save at 161; the rule from 250 to 333 at y 119Measuredclio.css capture, System 7.5.3 in Infinite Mac (tooling/capture-system7.ts), frame sf-save (Stickies' Export Text)
positions read from the frame's pixels, content coordinates
Classic erasThe folder, document and disk iconsAdaptedclio.css
drawn here at the measured sizes and places (12x9, 9x12, 16x6); not Apple's icons
Classic erasThe pop-up's width follows its label and is centred by the browser, where the Mac rounded down: it can sit 1px apartAdaptedclio.css
the frames' pop-ups against the rendered ones
Classic erasThe dialog grows when its markup holds more than the Mac's (New and the option in System 6)Adaptedclio.css
min-height in place of the fixed size
Classic erasThe disk's name keeps 1px on its right, so negative tracking does not clip the last letterAdaptedclio.css
Charcoal's D reaches its advance's edge; overflow: hidden would cut it
PlatinumOpen dialog 356x178, Save 356x223: System 7's layout to the pixel (content coordinates as above) in a frame 2px thinner, so the content starts 6px inside the outlineMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac (tooling/capture-platinum.ts), frames sf-open and sf-save (Stickies' Import Text and Export Text, which still call Standard File in Mac OS 9)
positions read from the frames' pixels; masked compare 0 px (p9-standard-file-open, -save); text on white compared by rows, as clio.css blends Charcoal one level lighter there
PlatinumThe frame: a 1px black outline, a #bbbbbb top and left line and a #555555 bottom and right line inside it, a #999999 bottom and right line inside that, white within, and a 1px black shadow that starts 2px from the far cornersMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac (tooling/capture-platinum.ts), frames sf-open and sf-save
the bevel's two far corner pixels (#bbbbbb past each #999999 line) are not drawn
PlatinumThe rule alternates #7d7d7d and #808080; the list, the name field and the 19px pop-up are framed by Standard File itself (1px of black, no bevel); the disk's name is condensed (letter-spacing -1px); New's label starts 15px inside its buttonMeasuredclio.css capture, Mac OS 9.0 in Infinite Mac (tooling/capture-platinum.ts), frames sf-open and sf-save
colours and positions read from the frames' pixels
Drawing BoardOpen dialog 352x174, Save 352x219: System 7's layout to the pixel inside the modal frame's outline, 4px from it, on white; the pop-up, the buttons and the check box are the theme's, the list, the field and their text Standard File's own (black, framed in 1px of black)Measuredclio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (tooling/capture-drawingboard.ts), frames sf-open and sf-save (Stickies' Import Text and Export Text)
positions and colours read from the frames' pixels; masked compare 0 px (db-standard-file-open, -save)
Drawing BoardThe rule alternates #7d7d7d and #808080 as in Platinum; the 14x11 check box sits 1px higher than Platinum's and its label 3px after it; New's label starts 15px inside its buttonMeasuredclio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (tooling/capture-drawingboard.ts), frame sf-save
colours and positions read from the frame's pixels
Drawing BoardNew has no folder icon beside its labelAdaptedclio.css
Drawing Board's button frames take both pseudo-elements; Mac OS 8.5 draws a folder after the label