Standard File 的開啟和儲存對話框(System 6 和 7):檔案列表上方的資料夾彈出選單、磁碟名稱、退出、桌面(System 6 叫磁碟機)、取消,以及開啟或儲存;儲存對話框多了提示文字和名稱欄位。
- Documents
- System Folder
- Read Me
- Shopping List
Macintosh HD
<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>Mac OS 四個年代並排對照
儲存
較短的列表下方有提示文字和名稱欄位。「新增」(新增資料夾,System 7.5)和欄位下方的選項可以省略。
- Letters
- Read Me
- Shopping List
Macintosh HD
<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.sf-browse.sf-side.sf-disk.sf-folder.sf-document.sf-new-folder.sf-option- Token
--clio-art-frame-s6-button-18- 無障礙
- 用原生 <dialog class="modal-dialog standard-file"> 並以 showModal() 開啟,加上 aria-label(Standard File 的對話框沒有標題)。為資料夾彈出選單和檔案列表加上標籤;對話框打不開的檔案標上 aria-disabled="true",選中的標上 aria-selected="true"。標記裡把取消放在預設按鈕前面:System 6 先顯示預設按鈕,System 7 先顯示取消。
證據(16)
| 年代 | 數值 | 狀態 | 來源 |
|---|---|---|---|
| System 6 | Open 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 124 | 實測 | clio.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 6 | The default button has no ring and stands above Cancel | 實測 | clio.css capture, System 6.0.8 in Infinite Mac (tooling/capture-system6.ts), frames open-dialog and save-dialogOpen at y 138 over Cancel at 163; no ring pixels round Open |
| System 6 | Save 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 rule | 實測 | clio.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 6 | The 18px button frame: a rounded rectangle whose corners follow its height, tighter than the 20px button's | 實測 | clio.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 7 | Open 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 91 | 實測 | clio.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 7 | Save 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 119 | 實測 | clio.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 eras | The folder, document and disk icons | 調整 | clio.cssdrawn here at the measured sizes and places (12x9, 9x12, 16x6); not Apple's icons |
| Classic eras | The pop-up's width follows its label and is centred by the browser, where the Mac rounded down: it can sit 1px apart | 調整 | clio.cssthe frames' pop-ups against the rendered ones |
| Classic eras | The dialog grows when its markup holds more than the Mac's (New and the option in System 6) | 調整 | clio.cssmin-height in place of the fixed size |
| Classic eras | The disk's name keeps 1px on its right, so negative tracking does not clip the last letter | 調整 | clio.cssCharcoal's D reaches its advance's edge; overflow: hidden would cut it |
| Platinum | Open 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 outline | 實測 | clio.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 |
| Platinum | The 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 corners | 實測 | clio.css capture, Mac OS 9.0 in Infinite Mac (tooling/capture-platinum.ts), frames sf-open and sf-savethe bevel's two far corner pixels (#bbbbbb past each #999999 line) are not drawn |
| Platinum | The 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 button | 實測 | clio.css capture, Mac OS 9.0 in Infinite Mac (tooling/capture-platinum.ts), frames sf-open and sf-savecolours and positions read from the frames' pixels |
| Drawing Board | Open 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) | 實測 | clio.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 Board | The 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 button | 實測 | clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (tooling/capture-drawingboard.ts), frame sf-savecolours and positions read from the frame's pixels |
| Drawing Board | New has no folder icon beside its label | 調整 | clio.cssDrawing Board's button frames take both pseudo-elements; Mac OS 8.5 draws a folder after the label |