首页

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 或数值。索引是英文的,请用英文查找。