首頁

Text field

單行輸入欄位和 <textarea>。

<div class="field-row-stacked" style="width: 240px">
  <label for="clio-name">Name:</label>
  <input id="clio-name" type="text" value="Untitled" style="width: 100%">
  <label for="clio-notes">Notes:</label>
  <textarea id="clio-notes" rows="3" style="width: 100%">Text areas scroll with the era's scroll bar.</textarea>
</div>
Mac OS 四個年代並排對照
System 6
System 7
Drawing Board
Mac OS 9 Platinum

Text field 簡介

選擇器
input[type=text] input[type=search] input[type=email] input[type=password] input[type=number] textarea
Token
--clio-field-bg --clio-field-border --clio-field-shadow --clio-field-padding --clio-field-height --clio-caret-height
無障礙
鍵盤焦點除了顯示插入點,還會在欄位外畫一圈環。
證據(11)
每個數值的來源(英文)
年代數值狀態來源
System 7As System 6: a 1px black frame with the text 3px in實測clio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frame numbers (Currency Symbol)
System 7.5.3
System 61px ink frame, white, text inset 3px實測clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame control-panel (RAM Cache field), get-info (comments)
System 6.0.8
System 7clio.js: the insertion point in a field inside a window is TextEdit's: a 1px XOR line 16px tall (--clio-caret-height), in the pixel left of the character, shown at once after each move; the browser's caret while text is selected or an input method composes; lit and still under reduced motion; none in forced colours; data-clio-caret="off" opts out實測clio.css capture, System 7.5.3 in Infinite Mac, Find File's field (frame caret: 1px at the field's third column, rows 2-17 of a 20px field)
specimen s7-js-caret 100% identical in all three engines; npm run behaviour checks the blink, the hand-over and the opt-out
Classic erasclio.js: the same insertion point shape in every era (System 6, Mac OS 8 and 9 use TextEdit's)推斷the System 7 measurement
the shape not measured outside System 7.5.3; the blink is (row below)
PlatinumWhite field, 1px black frame, #888 shadow above-left and white etch below-right實測apps/desktop/styles/65-appearance-themes.css:935 (P30)
Infinite Mac Mac OS 9.0 capture
PlatinumFocus: a 2px #6666cc ring實測apps/desktop/styles/65-platinum-utility.css:38
Mac OS 9 capture platinum-native/10b-fonts-tab
Drawing BoardEdit text: a 1px line of pattern pens (ppat 7003-7006), the rows tiled from the white's left edge, the left column from its top and the right column from 1px higher; 1px of whatever is behind inside it, then white實測clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame date-time; 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
both Date & Time fields agree
PlatinumKeyboard focus: a 2px ring of #6666cc (Purple highlight) round the field, its outer corners left out; list boxes take it too實測clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity/hig/platinum9), frame date-time-edit
100% identical
Classic erasThe insertion point blinks every 32 ticks (CaretTime) in System 6 and 7; Mac OS 9's General Controls default blinks about every 48 ticks實測clio.css capture in Infinite Mac: System 6.0.8 Find File (mean 533 ms over 15 changes), System 7.5.3 Find File (516-634 ms), Mac OS 9.0 General Controls' preview at its middle setting (731-867 ms, mean 795 ms); CaretTime = (PRAM misc & 15) x 4 with factory misc $88, Mac IIx and Quadra 650 ROMs
clio.js blinks its insertion point at --clio-caret-ticks: 32 in System 6 and 7, 48 in Mac OS 8 and 9 (Drawing Board inferred from Mac OS 9)
NeXTSTEPText field: a white well 21px tall, no border: two #555555 lines top and left, #aaaaaa then white bottom and right; the top lines run to the right edge, the bottom ones from the left實測clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame open-panel (Edit's Open panel, the Name field, 241x21)
fidelity nx-field-left, nx-field-right
NeXTSTEPKeyboard focus: the dotted frame調整clio.css
NeXT marked the key field with its blinking caret only

關於 clio.css

版本 2.0.4

MIT 授權。原始碼在 GitHub。

字體:Clio Sans '84、Clio Text '84 和 Clio Sans '97 是依實測點陣新做的字體。ChicagoFLF 的作者是 Robin Casady(公有領域)。Asap 的作者是 Omnibus-Type,Clio Sans NX 取自 Liberation Sans 2,Clio Pixel 取自 TakWolf 的 Fusion Pixel Font,這三種都採用 SIL Open Font License 1.1。詳情見 THIRD-PARTY.md(英文)。

本專案與 Apple Inc. 沒有關聯,也未獲其認可。Macintosh、Mac OS 和 Chicago 是 Apple Inc. 的商標,這裡提到它們只為說明所還原的年代。

尋找

輸入元件、選擇器、token 或數值。索引是英文的,請用英文尋找。