@editio-ui/react 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/button.d.ts +17 -0
- package/dist/components/button/button.js +11 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/checkbox/checkbox.d.ts +23 -0
- package/dist/components/checkbox/checkbox.js +19 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/input.d.ts +15 -0
- package/dist/components/input/input.js +14 -0
- package/dist/components/objects/index.d.ts +18 -0
- package/dist/components/objects/index.js +220 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/radio-group.d.ts +31 -0
- package/dist/components/radio-group/radio-group.js +47 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/separator.d.ts +18 -0
- package/dist/components/separator/separator.js +13 -0
- package/dist/components/studies/index.d.ts +25 -0
- package/dist/components/studies/index.js +140 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/switch.d.ts +7 -0
- package/dist/components/switch/switch.js +12 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/textarea.d.ts +15 -0
- package/dist/components/textarea/textarea.js +14 -0
- package/dist/editorial/backgrounds.css +203 -0
- package/dist/editorial/buttons.css +223 -0
- package/dist/editorial/choices.css +374 -0
- package/dist/editorial/disclosure.css +365 -0
- package/dist/editorial/feedback.css +278 -0
- package/dist/editorial/fields.css +221 -0
- package/dist/editorial/motion.css +188 -0
- package/dist/editorial/objects.css +1 -0
- package/dist/editorial/redesign.css +132 -0
- package/dist/editorial/showcase.css +401 -0
- package/dist/editorial/studies.css +10 -0
- package/dist/editorial/tokens.css +129 -0
- package/dist/editorial/type.css +387 -0
- package/dist/editorial-fonts.css +4 -0
- package/dist/editorial.css +2926 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +10 -0
- package/package.json +71 -3
- package/README.md +0 -3
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Text fields, textareas, rules
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* @variant fields/base */
|
|
6
|
+
.ed-label {
|
|
7
|
+
display: block;
|
|
8
|
+
margin-bottom: 0.45rem;
|
|
9
|
+
font: 800 0.6875rem/1 var(--ed-font-display);
|
|
10
|
+
font-stretch: 105%;
|
|
11
|
+
letter-spacing: 0.15em;
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
color: var(--ed-ink-2);
|
|
14
|
+
}
|
|
15
|
+
.ed-input,
|
|
16
|
+
.ed-textarea {
|
|
17
|
+
appearance: none;
|
|
18
|
+
-webkit-appearance: none;
|
|
19
|
+
display: block;
|
|
20
|
+
width: 100%;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0.7em 0.1em;
|
|
23
|
+
font: 500 1.125rem/1.35 var(--ed-font-text);
|
|
24
|
+
color: var(--ed-ink);
|
|
25
|
+
background: transparent;
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: var(--ed-radius);
|
|
28
|
+
transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
|
|
29
|
+
}
|
|
30
|
+
.ed-input::placeholder,
|
|
31
|
+
.ed-textarea::placeholder { color: var(--ed-ink-2); font-style: italic; opacity: 0.75; }
|
|
32
|
+
.ed-input:focus-visible,
|
|
33
|
+
.ed-textarea:focus-visible { outline: 2px solid var(--ed-accent); outline-offset: 3px; }
|
|
34
|
+
.ed-input:disabled,
|
|
35
|
+
.ed-textarea:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
36
|
+
.ed-input:user-invalid,
|
|
37
|
+
.ed-textarea:user-invalid { border-color: var(--ed-hot); }
|
|
38
|
+
|
|
39
|
+
.ed-label { font: 500 .8125rem/1.4 var(--ed-font-display); text-transform: none; letter-spacing: .015em; color: var(--ed-ink); }
|
|
40
|
+
.ed-input, .ed-textarea { box-sizing: border-box; min-height: 44px; font: 400 1rem/1.5 var(--ed-font-display); }
|
|
41
|
+
.ed-input::placeholder, .ed-textarea::placeholder { font-style: normal; opacity: 1; }
|
|
42
|
+
.ed-input:focus-visible, .ed-textarea:focus-visible { outline-color: var(--ed-ink); }
|
|
43
|
+
.ed-input[aria-invalid="true"], .ed-textarea[aria-invalid="true"] { border-color: var(--ed-hot); box-shadow: inset 0 -2px var(--ed-hot); }
|
|
44
|
+
/* @end */
|
|
45
|
+
|
|
46
|
+
/* @variant fields/underline */
|
|
47
|
+
/* Print-form field. A heavy rule thickens under the caret. */
|
|
48
|
+
.ed-input[data-variant="underline"] { border-bottom: 1.5px solid var(--ed-ink); border-radius: 0; }
|
|
49
|
+
.ed-input[data-variant="underline"]:focus-visible { outline: 0; box-shadow: 0 2px 0 0 var(--ed-ink); }
|
|
50
|
+
/* @end */
|
|
51
|
+
|
|
52
|
+
/* @variant fields/notch */
|
|
53
|
+
/* Label cut into the top border, like a fieldset legend. */
|
|
54
|
+
.ed-notch { position: relative; display: block; }
|
|
55
|
+
.ed-notch > span {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: -0.5em;
|
|
58
|
+
left: 0.9rem;
|
|
59
|
+
padding: 0 0.45em;
|
|
60
|
+
font: 800 0.625rem/1 var(--ed-font-display);
|
|
61
|
+
letter-spacing: 0.15em;
|
|
62
|
+
text-transform: uppercase;
|
|
63
|
+
color: var(--ed-ink);
|
|
64
|
+
background: var(--ed-paper);
|
|
65
|
+
}
|
|
66
|
+
.ed-input[data-variant="notch"] { padding: 0.95em 1rem; border: 1.5px solid var(--ed-ink); }
|
|
67
|
+
.ed-input[data-variant="notch"]:focus-visible { outline: 0; box-shadow: 4px 4px 0 var(--ed-accent); }
|
|
68
|
+
|
|
69
|
+
.ed-input[data-variant="notch"]:focus-visible { outline: 2px solid var(--ed-ink); outline-offset: 3px; box-shadow: none; }
|
|
70
|
+
/* @end */
|
|
71
|
+
|
|
72
|
+
/* @variant fields/subscribe */
|
|
73
|
+
/* Oversized newsletter line with the button locked to it. */
|
|
74
|
+
.ed-subscribe { display: flex; align-items: stretch; width: 100%; border-bottom: var(--ed-thick) solid var(--ed-ink); }
|
|
75
|
+
.ed-input[data-variant="subscribe"] { flex: 1; min-width: 0; padding: 0.45em 0.1em; font: italic 500 clamp(1.3rem, 2.6vw, 1.9rem)/1.1 var(--ed-font-swash); }
|
|
76
|
+
.ed-input[data-variant="subscribe"]:focus-visible { outline: 0; background: var(--ed-accent-tint); }
|
|
77
|
+
.ed-subscribe .ed-btn { border: 0; border-radius: 0; background: var(--ed-ink); color: var(--ed-paper); padding-inline: 1.6em; }
|
|
78
|
+
.ed-subscribe .ed-btn:hover { background: var(--ed-accent); color: var(--ed-on-accent); }
|
|
79
|
+
/* @end */
|
|
80
|
+
|
|
81
|
+
/* @variant fields/giant */
|
|
82
|
+
/* Masthead-scale search. Big enough to be the page. */
|
|
83
|
+
.ed-input[data-variant="giant"] {
|
|
84
|
+
padding: 0.15em 0;
|
|
85
|
+
font: 800 clamp(2rem, 6vw, 3.6rem)/1.05 var(--ed-font-display);
|
|
86
|
+
font-stretch: 112%;
|
|
87
|
+
letter-spacing: -0.02em;
|
|
88
|
+
text-transform: uppercase;
|
|
89
|
+
border-bottom: var(--ed-thick) solid var(--ed-ink);
|
|
90
|
+
border-radius: 0;
|
|
91
|
+
}
|
|
92
|
+
.ed-input[data-variant="giant"]::placeholder { color: var(--ed-ink); opacity: 0.18; font-style: normal; }
|
|
93
|
+
.ed-input[data-variant="giant"]:focus-visible { outline: 0; border-bottom-color: var(--ed-accent); }
|
|
94
|
+
|
|
95
|
+
.ed-input[data-variant="giant"]::placeholder { color: var(--ed-ink-2); opacity: 1; }
|
|
96
|
+
/* @end */
|
|
97
|
+
|
|
98
|
+
/* @variant fields/typewriter */
|
|
99
|
+
/* Monospace, dotted rule, block caret where the browser allows. */
|
|
100
|
+
.ed-input[data-variant="typewriter"] {
|
|
101
|
+
font: 500 1rem/1.4 var(--ed-font-mono);
|
|
102
|
+
border-bottom: 2px dotted var(--ed-ink);
|
|
103
|
+
border-radius: 0;
|
|
104
|
+
caret-color: var(--ed-accent);
|
|
105
|
+
caret-shape: block;
|
|
106
|
+
}
|
|
107
|
+
.ed-input[data-variant="typewriter"]:focus-visible { outline: 0; border-bottom-style: solid; background: var(--ed-accent-tint); }
|
|
108
|
+
/* @end */
|
|
109
|
+
|
|
110
|
+
/* @variant textareas/ruled */
|
|
111
|
+
/* Letters to the editor. Ruled lines scroll with the text; margin line in hot. */
|
|
112
|
+
.ed-textarea[data-variant="ruled"] {
|
|
113
|
+
min-height: 11rem;
|
|
114
|
+
padding: 0 1rem 0 3.9rem;
|
|
115
|
+
line-height: 2rem;
|
|
116
|
+
border: 1px solid var(--ed-ink);
|
|
117
|
+
background:
|
|
118
|
+
linear-gradient(90deg, transparent 3.1rem, var(--ed-hot) 3.1rem calc(3.1rem + 1.5px), transparent calc(3.1rem + 1.5px)),
|
|
119
|
+
repeating-linear-gradient(transparent 0 calc(2rem - 1px), var(--ed-tint) calc(2rem - 1px) 2rem);
|
|
120
|
+
background-attachment: local;
|
|
121
|
+
resize: vertical;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ed-textarea[data-variant="ruled"] { font-family: var(--ed-font-text); padding-left: 2rem; background: linear-gradient(90deg, transparent 1.45rem, var(--ed-hot) 1.45rem calc(1.45rem + 1px), transparent calc(1.45rem + 1px)), repeating-linear-gradient(transparent 0 calc(2rem - 1px), var(--ed-tint) calc(2rem - 1px) 2rem); background-attachment: local; }
|
|
125
|
+
/* @end */
|
|
126
|
+
|
|
127
|
+
/* @variant textareas/double */
|
|
128
|
+
/* Classic double-rule box. */
|
|
129
|
+
.ed-textarea[data-variant="double"] {
|
|
130
|
+
min-height: 9rem;
|
|
131
|
+
padding: 0.9rem 1rem;
|
|
132
|
+
border: 6px double var(--ed-ink);
|
|
133
|
+
background: var(--ed-paper-2);
|
|
134
|
+
resize: vertical;
|
|
135
|
+
}
|
|
136
|
+
.ed-textarea[data-variant="double"]:focus-visible { outline-offset: 4px; }
|
|
137
|
+
|
|
138
|
+
.ed-textarea[data-variant="double"] { border-width: 3px; background: var(--ed-paper); }
|
|
139
|
+
/* @end */
|
|
140
|
+
|
|
141
|
+
/* ---------- rules ---------- */
|
|
142
|
+
|
|
143
|
+
/* @variant rules/base */
|
|
144
|
+
.ed-rule { display: block; margin: 0; border: 0; color: var(--ed-ink); }
|
|
145
|
+
/* @end */
|
|
146
|
+
|
|
147
|
+
/* @variant rules/double */
|
|
148
|
+
/* Thick over thin. The newspaper column head. */
|
|
149
|
+
.ed-rule[data-variant="double"] {
|
|
150
|
+
height: 7px;
|
|
151
|
+
background:
|
|
152
|
+
linear-gradient(currentColor 0 0) 0 0 / 100% var(--ed-thick) no-repeat,
|
|
153
|
+
linear-gradient(currentColor 0 0) 0 100% / 100% var(--ed-hair) no-repeat;
|
|
154
|
+
}
|
|
155
|
+
/* @end */
|
|
156
|
+
|
|
157
|
+
/* @variant rules/masthead */
|
|
158
|
+
/* Heavy bar, gap, hairline. Goes under a masthead. */
|
|
159
|
+
.ed-rule[data-variant="masthead"] {
|
|
160
|
+
height: 13px;
|
|
161
|
+
background:
|
|
162
|
+
linear-gradient(currentColor 0 0) 0 0 / 100% 8px no-repeat,
|
|
163
|
+
linear-gradient(currentColor 0 0) 0 100% / 100% var(--ed-hair) no-repeat;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ed-rule[data-variant="masthead"] { height: 9px; background-size: 100% 4px, 100% var(--ed-hair); }
|
|
167
|
+
/* @end */
|
|
168
|
+
|
|
169
|
+
/* @variant rules/dotted */
|
|
170
|
+
/* Dot leader. */
|
|
171
|
+
.ed-rule[data-variant="dotted"] {
|
|
172
|
+
height: 4px;
|
|
173
|
+
background: radial-gradient(circle at center, currentColor 1.4px, transparent 1.8px) 0 50% / 8px 4px repeat-x;
|
|
174
|
+
}
|
|
175
|
+
/* @end */
|
|
176
|
+
|
|
177
|
+
/* @variant rules/ornament */
|
|
178
|
+
/* Hairline broken by a diamond. */
|
|
179
|
+
.ed-rule[data-variant="ornament"] { position: relative; height: var(--ed-hair); background: currentColor; overflow: visible; }
|
|
180
|
+
.ed-rule[data-variant="ornament"]::after {
|
|
181
|
+
content: "";
|
|
182
|
+
position: absolute;
|
|
183
|
+
left: 50%;
|
|
184
|
+
top: 50%;
|
|
185
|
+
width: 0.7rem;
|
|
186
|
+
height: 0.7rem;
|
|
187
|
+
background: var(--ed-paper);
|
|
188
|
+
border: var(--ed-hair) solid currentColor;
|
|
189
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
190
|
+
box-shadow: 0 0 0 0.6rem var(--ed-paper);
|
|
191
|
+
}
|
|
192
|
+
/* @end */
|
|
193
|
+
|
|
194
|
+
/* @variant rules/label */
|
|
195
|
+
/* Section rule with its name sitting on it. Set data-label. */
|
|
196
|
+
.ed-rule[data-variant="label"] {
|
|
197
|
+
height: auto;
|
|
198
|
+
background: linear-gradient(currentColor 0 0) 0 50% / 100% var(--ed-hair) no-repeat;
|
|
199
|
+
}
|
|
200
|
+
.ed-rule[data-variant="label"]::before {
|
|
201
|
+
content: attr(data-label);
|
|
202
|
+
display: inline-block;
|
|
203
|
+
padding-right: 0.9rem;
|
|
204
|
+
font: 800 0.75rem/1 var(--ed-font-display);
|
|
205
|
+
font-stretch: 105%;
|
|
206
|
+
letter-spacing: 0.15em;
|
|
207
|
+
text-transform: uppercase;
|
|
208
|
+
background: var(--ed-paper);
|
|
209
|
+
}
|
|
210
|
+
/* @end */
|
|
211
|
+
|
|
212
|
+
/* @variant rules/column */
|
|
213
|
+
/* Vertical column rule. Editio's vertical Separator sets aria-orientation. */
|
|
214
|
+
.ed-rule[data-variant="column"] {
|
|
215
|
+
width: var(--ed-hair);
|
|
216
|
+
align-self: stretch;
|
|
217
|
+
min-height: 3rem;
|
|
218
|
+
background: currentColor;
|
|
219
|
+
}
|
|
220
|
+
.ed-rule[data-variant="column"][data-weight="heavy"] { width: var(--ed-thick); }
|
|
221
|
+
/* @end */
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Motion: type in movement. Reveals, tickers, counters, highlighters.
|
|
3
|
+
CSS keyframes only. Each piece falls back to its finished state under
|
|
4
|
+
prefers-reduced-motion, so nothing is ever hidden.
|
|
5
|
+
========================================================================== */
|
|
6
|
+
|
|
7
|
+
/* @variant motion/rise */
|
|
8
|
+
/* Headline whose words rise out of a clipped line, one after another.
|
|
9
|
+
Wrap each word in .ed-rise__w > span and number them with --i. */
|
|
10
|
+
.ed-rise {
|
|
11
|
+
margin: 0;
|
|
12
|
+
font: 900 clamp(2.2rem, 6vw, 4.2rem)/0.95 var(--ed-font-display);
|
|
13
|
+
font-stretch: 116%;
|
|
14
|
+
letter-spacing: -0.02em;
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
color: var(--ed-ink);
|
|
17
|
+
}
|
|
18
|
+
.ed-rise__w { display: inline-block; padding-bottom: 0.14em; margin-bottom: -0.14em; overflow: clip; vertical-align: top; }
|
|
19
|
+
.ed-rise__w > span {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
transform: translateY(112%);
|
|
22
|
+
animation: ed-rise-up 1s var(--ed-ease) forwards;
|
|
23
|
+
animation-delay: calc(var(--i, 0) * 0.1s + 0.1s);
|
|
24
|
+
}
|
|
25
|
+
@keyframes ed-rise-up { to { transform: none; } }
|
|
26
|
+
@media (prefers-reduced-motion: reduce) { .ed-rise__w > span { transform: none; animation: none; } }
|
|
27
|
+
/* @end */
|
|
28
|
+
|
|
29
|
+
/* @variant motion/marquee */
|
|
30
|
+
/* Giant type on a belt. Two copies of the set (the second aria-hidden) make
|
|
31
|
+
the loop seamless. Rows can run opposite ways and pause on hover. */
|
|
32
|
+
.ed-marq { overflow: hidden; color: var(--ed-ink); border-block: var(--ed-thick) solid currentColor; }
|
|
33
|
+
.ed-marq__row { display: flex; width: max-content; animation: ed-marq 30s linear infinite; }
|
|
34
|
+
.ed-marq__row + .ed-marq__row { border-top: var(--ed-hair) solid currentColor; }
|
|
35
|
+
.ed-marq__row[data-dir="reverse"] { animation-direction: reverse; animation-duration: 38s; }
|
|
36
|
+
.ed-marq:hover .ed-marq__row { animation-play-state: paused; }
|
|
37
|
+
.ed-marq__set { display: flex; flex: none; align-items: center; gap: 1.6rem; margin: 0; padding: 0.3rem 1.6rem 0.3rem 0; }
|
|
38
|
+
.ed-marq__set span {
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 1.6rem;
|
|
42
|
+
font: 900 clamp(2.6rem, 8vw, 5.5rem)/1 var(--ed-font-display);
|
|
43
|
+
font-stretch: 118%;
|
|
44
|
+
letter-spacing: -0.03em;
|
|
45
|
+
text-transform: uppercase;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
}
|
|
48
|
+
.ed-marq__set span::after { content: ""; width: 0.28em; height: 0.28em; background: var(--ed-accent); rotate: 45deg; }
|
|
49
|
+
.ed-marq__row[data-style="outline"] .ed-marq__set span { color: transparent; -webkit-text-stroke: 1.5px var(--ed-ink); }
|
|
50
|
+
@keyframes ed-marq { to { transform: translateX(-50%); } }
|
|
51
|
+
@media (prefers-reduced-motion: reduce) { .ed-marq__row { animation: none; } }
|
|
52
|
+
/* @end */
|
|
53
|
+
|
|
54
|
+
/* @variant motion/cycle */
|
|
55
|
+
/* A word that swaps inside a sentence. Four words, then the first again so the
|
|
56
|
+
loop has no jump. Edit the keyframes if you want a different count. */
|
|
57
|
+
.ed-cycle-line { margin: 0; font: 400 clamp(1.7rem, 4vw, 2.8rem)/1.15 var(--ed-font-text); color: var(--ed-ink); }
|
|
58
|
+
.ed-cycle { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
|
|
59
|
+
.ed-cycle__list { display: block; animation: ed-cycle 11s var(--ed-ease) infinite; }
|
|
60
|
+
.ed-cycle__list > * { display: block; height: 1.15em; width: fit-content; font: italic 500 1em/1.15 var(--ed-font-swash); background: linear-gradient(var(--ed-accent), var(--ed-accent)) 0 88% / 100% 0.08em no-repeat; }
|
|
61
|
+
@keyframes ed-cycle {
|
|
62
|
+
0%, 20% { transform: translateY(0); }
|
|
63
|
+
25%, 45% { transform: translateY(-20%); }
|
|
64
|
+
50%, 70% { transform: translateY(-40%); }
|
|
65
|
+
75%, 95% { transform: translateY(-60%); }
|
|
66
|
+
100% { transform: translateY(-80%); }
|
|
67
|
+
}
|
|
68
|
+
@media (prefers-reduced-motion: reduce) { .ed-cycle__list { animation: none; } }
|
|
69
|
+
|
|
70
|
+
.ed-cycle-line { letter-spacing: -.015em; }
|
|
71
|
+
/* @end */
|
|
72
|
+
|
|
73
|
+
/* @variant motion/count */
|
|
74
|
+
/* Figures that count up. A registered custom property is animated and shown
|
|
75
|
+
through a CSS counter. Set --ed-to and data-sfx; describe it with aria-label. */
|
|
76
|
+
@property --ed-n { syntax: "<integer>"; inherits: false; initial-value: 0; }
|
|
77
|
+
.ed-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.6rem 2rem; max-width: 46rem; padding-top: 1rem; color: var(--ed-ink); border-top: var(--ed-thick) solid currentColor; }
|
|
78
|
+
.ed-counts > div { display: grid; gap: 0.55rem; align-content: start; }
|
|
79
|
+
.ed-count {
|
|
80
|
+
--ed-to: 48;
|
|
81
|
+
--ed-n: var(--ed-to);
|
|
82
|
+
margin: 0;
|
|
83
|
+
font: 900 clamp(2.8rem, 7vw, 4.4rem)/0.9 var(--ed-font-display);
|
|
84
|
+
font-stretch: 116%;
|
|
85
|
+
font-variant-numeric: tabular-nums;
|
|
86
|
+
letter-spacing: -0.03em;
|
|
87
|
+
counter-reset: ed-n var(--ed-n);
|
|
88
|
+
animation: ed-count 2s var(--ed-ease) both;
|
|
89
|
+
}
|
|
90
|
+
.ed-count::before { content: counter(ed-n); }
|
|
91
|
+
.ed-count::after { content: attr(data-sfx); font-size: 0.5em; font-weight: 600; letter-spacing: 0; margin-left: 0.08em; }
|
|
92
|
+
.ed-counts__label { margin: 0; font: 700 0.6875rem/1.3 var(--ed-font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ed-ink-2); }
|
|
93
|
+
@keyframes ed-count { from { --ed-n: 0; } to { --ed-n: var(--ed-to); } }
|
|
94
|
+
@media (prefers-reduced-motion: reduce) { .ed-count { animation: none; } }
|
|
95
|
+
|
|
96
|
+
.ed-counts { border-top-width: 1px; gap: 2rem; }
|
|
97
|
+
/* @end */
|
|
98
|
+
|
|
99
|
+
/* @variant motion/sweep */
|
|
100
|
+
/* Highlighter that sweeps across <mark> text. Number them with --i for a
|
|
101
|
+
stagger. Plays once on load. Add data-scroll to the paragraph and each
|
|
102
|
+
sweep follows the page as you scroll instead. */
|
|
103
|
+
.ed-sweep { max-width: 38rem; margin: 0; font: 400 1.375rem/1.7 var(--ed-font-text); color: var(--ed-ink); }
|
|
104
|
+
.ed-sweep mark {
|
|
105
|
+
--ed-hl: color-mix(in srgb, var(--ed-accent) 62%, transparent);
|
|
106
|
+
padding: 0 0.1em;
|
|
107
|
+
margin: 0 -0.1em;
|
|
108
|
+
color: inherit;
|
|
109
|
+
background: linear-gradient(var(--ed-hl), var(--ed-hl)) 0 60% / 0% 0.9em no-repeat;
|
|
110
|
+
animation: ed-sweep 0.9s var(--ed-ease) forwards;
|
|
111
|
+
animation-delay: calc(var(--i, 0) * 0.75s + 0.3s);
|
|
112
|
+
}
|
|
113
|
+
.ed-sweep mark[data-style="under"] {
|
|
114
|
+
background-image: linear-gradient(var(--ed-ink), var(--ed-ink));
|
|
115
|
+
background-position: 0 96%;
|
|
116
|
+
background-size: 0% 0.12em;
|
|
117
|
+
animation-name: ed-sweep-under;
|
|
118
|
+
}
|
|
119
|
+
@keyframes ed-sweep { to { background-size: 100% 0.9em; } }
|
|
120
|
+
@keyframes ed-sweep-under { to { background-size: 100% 0.12em; } }
|
|
121
|
+
@supports (animation-timeline: view()) {
|
|
122
|
+
.ed-sweep[data-scroll] mark { animation-timeline: view(); animation-range: entry 10% cover 40%; animation-delay: 0s; animation-duration: auto; }
|
|
123
|
+
}
|
|
124
|
+
@media (prefers-reduced-motion: reduce) {
|
|
125
|
+
.ed-sweep mark { animation: none; background-size: 100% 0.9em; }
|
|
126
|
+
.ed-sweep mark[data-style="under"] { background-size: 100% 0.12em; }
|
|
127
|
+
}
|
|
128
|
+
/* @end */
|
|
129
|
+
|
|
130
|
+
/* @variant motion/type */
|
|
131
|
+
/* Typewriter line. Set --ed-ch to the number of characters. It needs a
|
|
132
|
+
monospaced face, which the mono token is, and it stays on one line. */
|
|
133
|
+
.ed-typed {
|
|
134
|
+
--ed-ch: 24;
|
|
135
|
+
box-sizing: content-box;
|
|
136
|
+
display: block;
|
|
137
|
+
width: calc(var(--ed-ch) * 1ch);
|
|
138
|
+
max-width: 100%;
|
|
139
|
+
margin: 0;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
font: 500 clamp(1.15rem, 3.2vw, 2rem)/1.35 var(--ed-font-mono);
|
|
142
|
+
letter-spacing: 0;
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
color: var(--ed-ink);
|
|
145
|
+
border-right: 0.12em solid var(--ed-accent);
|
|
146
|
+
animation: ed-typing calc(var(--ed-ch) * 0.075s) steps(var(--ed-ch)) 0.4s both, ed-caret 0.85s steps(1) infinite;
|
|
147
|
+
}
|
|
148
|
+
@keyframes ed-typing { from { width: 0; } }
|
|
149
|
+
@keyframes ed-caret { 50% { border-right-color: transparent; } }
|
|
150
|
+
@media (prefers-reduced-motion: reduce) { .ed-typed { animation: none; } }
|
|
151
|
+
/* @end */
|
|
152
|
+
|
|
153
|
+
/* @variant motion/correct */
|
|
154
|
+
/* Corrections: the wrong figure is struck out, then the right one drops in.
|
|
155
|
+
Plain <s> and <ins>, so the change is also marked up for readers. The
|
|
156
|
+
strike sits on the middle of the figures: line-height 1 makes the box the
|
|
157
|
+
type's own height, and the nudge lifts it from the middle of that box to the
|
|
158
|
+
middle of the digits. Tune --ed-strike-nudge if you swap the text face. */
|
|
159
|
+
.ed-correct { max-width: 34rem; margin: 0; font: 400 clamp(1.35rem, 3vw, 1.9rem)/1.5 var(--ed-font-text); color: var(--ed-ink); }
|
|
160
|
+
.ed-correct s { position: relative; display: inline-block; line-height: 1; text-decoration: none; color: var(--ed-ink-2); }
|
|
161
|
+
.ed-correct s::after {
|
|
162
|
+
content: "";
|
|
163
|
+
position: absolute;
|
|
164
|
+
inset: calc(50% - 0.045em + var(--ed-strike-nudge, -0.12em)) -0.06em auto;
|
|
165
|
+
height: 0.09em;
|
|
166
|
+
background: var(--ed-hot);
|
|
167
|
+
transform: scaleX(0);
|
|
168
|
+
transform-origin: left;
|
|
169
|
+
animation: ed-strike 0.5s var(--ed-ease) 0.7s forwards;
|
|
170
|
+
}
|
|
171
|
+
.ed-correct ins {
|
|
172
|
+
display: inline-block;
|
|
173
|
+
padding: 0.04em 0.15em;
|
|
174
|
+
line-height: 1.1;
|
|
175
|
+
font-weight: 700;
|
|
176
|
+
text-decoration: none;
|
|
177
|
+
background: color-mix(in srgb, var(--ed-accent) 34%, transparent);
|
|
178
|
+
animation: ed-correct-in 0.55s var(--ed-ease) 1.15s both;
|
|
179
|
+
}
|
|
180
|
+
.ed-correct s:nth-of-type(2)::after { animation-delay: 1.9s; }
|
|
181
|
+
.ed-correct ins:nth-of-type(2) { animation-delay: 2.35s; }
|
|
182
|
+
@keyframes ed-strike { to { transform: scaleX(1); } }
|
|
183
|
+
@keyframes ed-correct-in { from { opacity: 0; transform: translateY(0.45em); } }
|
|
184
|
+
@media (prefers-reduced-motion: reduce) {
|
|
185
|
+
.ed-correct s::after { animation: none; transform: scaleX(1); }
|
|
186
|
+
.ed-correct ins { animation: none; }
|
|
187
|
+
}
|
|
188
|
+
/* @end */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.eo-book,.eo-deck,.eo-record,.eo-print{box-sizing:border-box;container-type:inline-size;padding:20px;color:#292722;background:#e9e4d9;font-family:Arial,sans-serif;overflow:hidden}.eo-action{display:flex;justify-content:space-between;width:100%;border:0;border-top:1px solid currentColor;padding:13px 0 2px;background:none;color:inherit;font:600 12px/1.4 Arial,sans-serif;cursor:pointer;text-align:left}.eo-book button:focus-visible,.eo-deck button:focus-visible,.eo-record button:focus-visible,.eo-print button:focus-visible,.eo-print input:focus-visible{outline:2px solid #176dbe;outline-offset:3px}.eo-book-stage{height:clamp(230px,70cqi,350px);display:grid;place-items:center;perspective:1100px}.eo-book-volume{position:relative;width:45%;aspect-ratio: .72;transform:rotateY(-15deg) rotateZ(-5deg);transform-style:preserve-3d;transition:transform .65s}.eo-book-volume[data-open=true]{transform:translateX(36%) rotateY(0)}.eo-book-page,.eo-book-cover{position:absolute;inset:0;padding:12%;box-sizing:border-box}.eo-book-page{background:#faf4df;box-shadow:5px 5px 0 #b7ac91,9px 9px 0 #51483c,15px 20px 24px #0003;font:clamp(12px,4cqi,20px)/1.4 Georgia,serif}.eo-book-cover{display:flex;flex-direction:column;background:#253d32;color:#f5e8c5;transform-origin:left;transition:transform .7s cubic-bezier(.2,.7,.2,1);backface-visibility:hidden;box-shadow:inset 5px 0 #ffffff20,inset 8px 0 #0003;transform:translateZ(2px)}.eo-book-volume[data-open=true] .eo-book-cover{transform:rotateY(-145deg)}.eo-book-cover small,.eo-book-page small{font:8px monospace}.eo-book-cover strong{font:clamp(18px,7cqi,38px)/.9 Georgia,serif;margin:auto 0}.eo-book-cover i{font:italic 11px Georgia,serif}.eo-book-cover>span{font-size:32px;margin-top:10px}.eo-deck{background:#d9d5cc}.eo-deck-stage{height:clamp(210px,64cqi,300px);position:relative;display:grid;place-items:center}.eo-swatch{position:absolute;width:25%;height:78%;border:0;border-radius:3px;transform-origin:50% 92%;box-shadow:2px 4px 9px #0003;transition:transform .45s;cursor:pointer;color:#fff}.eo-swatch span{position:absolute;bottom:10px;left:0;right:0;text-align:center;font:10px monospace;background:#222;padding:4px}.eo-deck-label{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.eo-deck-label strong{font:28px Georgia,serif}.eo-palette{display:flex;gap:8px;margin:12px 0}.eo-palette button{width:30px;height:30px;border:2px solid transparent;cursor:pointer}.eo-palette button[aria-pressed=true]{border-color:#222;outline:1px solid white;outline-offset:-4px}.eo-record{background:#d7dfdf}.eo-record-stage{position:relative;height:clamp(220px,65cqi,320px);display:grid;place-items:center}.eo-sleeve{width:56%;aspect-ratio:1;position:relative;z-index:1;background:#d95a38;color:#201d1a;padding:5%;box-sizing:border-box;display:flex;flex-direction:column;box-shadow:4px 8px 18px #0003;transform:translateX(-15%) rotate(-4deg)}.eo-sleeve small{font:9px monospace}.eo-sleeve strong{font:clamp(20px,8cqi,42px)/.9 Georgia,serif;margin:8px 0}.eo-sleeve i{font:italic 12px Georgia,serif}.eo-sleeve-art{flex:1;background:repeating-linear-gradient(135deg,transparent 0 8px,#24211e 8px 10px);margin:8px 0;clip-path:circle(42%)}.eo-disc{position:absolute;width:52%;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,#262626 0 2px,#393939 3px 4px);display:grid;place-items:center;transition:transform .65s;transform:translateX(0);box-shadow:3px 5px 10px #0003}.eo-record-stage[data-out=true] .eo-disc{transform:translateX(40%) rotate(35deg)}.eo-disc div{width:34%;aspect-ratio:1;border-radius:50%;background:#e4bc65;display:grid;place-items:center;font:20px Georgia,serif}.eo-tracks button{display:grid;grid-template-columns:30px 1fr 20px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #29272240;padding:10px 0;color:inherit;cursor:pointer}.eo-print{background:#f1e8d4}.eo-print-sheet{padding:12px;background:#f9f3e5;border:1px solid #b8ad98;box-shadow:3px 5px 0 #d6cbb6;margin-bottom:18px}.eo-print-sheet small,.eo-print-marks{font:9px monospace}.eo-print-type{position:relative;display:grid;place-items:center;isolation:isolate;height:clamp(140px,48cqi,230px);overflow:hidden;font:900 clamp(35px,22cqi,120px)/1 Arial,sans-serif;letter-spacing:-.09em}.eo-print-type span{grid-area:1/1;color:#168ca0}.eo-print-type span+span{color:#e04c32;mix-blend-mode:multiply}.eo-print-marks{display:flex;justify-content:space-between}.eo-print label{display:grid;grid-template-columns:1fr auto;font-size:12px;gap:6px;margin:12px 0}.eo-print input{grid-column:1/-1;width:100%;accent-color:#292722}@media(prefers-reduced-motion:reduce){.eo-book-volume,.eo-book-cover,.eo-swatch,.eo-disc{transition:none}}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* @variant redesign/buttons-offset */
|
|
2
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
3
|
+
.ed-new-buttons-offset{display:grid;grid-template-columns:1fr auto;text-align:left;background:var(--ed-ink);color:var(--ed-paper);padding:18px 22px;border:0;min-width:220px;gap:12px;cursor:pointer;min-height:44px}.ed-new-buttons-offset small{grid-column:1/-1}.ed-new-buttons-offset:hover{opacity:.82}
|
|
4
|
+
/* @end */
|
|
5
|
+
/* @variant redesign/buttons-rule */
|
|
6
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
7
|
+
.ed-new-buttons-rule{display:flex;align-items:center;gap:20px;border:0;border-bottom:1px solid;background:none;padding:12px 0;cursor:pointer;min-height:44px}.ed-new-buttons-rule:hover strong{text-decoration:underline;text-underline-offset:5px}
|
|
8
|
+
/* @end */
|
|
9
|
+
/* @variant redesign/buttons-highlight */
|
|
10
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
11
|
+
.ed-new-buttons-highlight{display:flex;align-items:baseline;gap:20px;background:none;border:0;border-top:3px solid;padding:10px 0;cursor:pointer;min-height:44px}.ed-new-buttons-highlight:hover strong{text-decoration:underline;text-underline-offset:5px}
|
|
12
|
+
/* @end */
|
|
13
|
+
/* @variant redesign/buttons-swash */
|
|
14
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
15
|
+
.ed-new-buttons-swash{display:flex;align-items:center;gap:20px;background:none;border:1px solid;padding:18px;font-family:Georgia;font-size:24px;cursor:pointer;min-height:44px}.ed-new-buttons-swash:hover strong{text-decoration:underline;text-underline-offset:5px}
|
|
16
|
+
/* @end */
|
|
17
|
+
/* @variant redesign/buttons-stamp */
|
|
18
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
19
|
+
.ed-new-buttons-stamp{display:grid;place-items:center;width:164px;height:164px;padding:0;border:1px solid;border-radius:50%;background:none;cursor:pointer;min-height:44px}.ed-new-buttons-stamp small{font-size:9px;letter-spacing:.02em}.ed-new-buttons-stamp:hover{background:var(--ed-ink);color:var(--ed-paper)}
|
|
20
|
+
/* @end */
|
|
21
|
+
/* @variant redesign/buttons-roll */
|
|
22
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
23
|
+
.ed-new-buttons-roll{display:block;overflow:hidden;background:none;border:0;border-bottom:1px solid;padding:10px;cursor:pointer;min-height:44px}.ed-new-buttons-roll .track{display:block;height:1.4em;overflow:hidden}.ed-new-buttons-roll strong{display:block;transition:transform .25s}.ed-new-buttons-roll:hover strong,.ed-new-buttons-roll:focus-visible strong{transform:translateY(-100%)}
|
|
24
|
+
/* @end */
|
|
25
|
+
/* @variant redesign/buttons-crop */
|
|
26
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
27
|
+
.ed-new-buttons-crop{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;text-align:left;border:0;background:none;padding:16px;outline:1px dashed;cursor:pointer;min-height:44px}.ed-new-buttons-crop small{grid-column:2}.ed-new-buttons-crop:hover{outline-style:solid}
|
|
28
|
+
/* @end */
|
|
29
|
+
/* @variant redesign/buttons-halftone */
|
|
30
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
31
|
+
.ed-new-buttons-halftone{display:grid;grid-template-columns:1fr auto;gap:8px;background:var(--ed-paper);border:1px solid;padding:18px;text-align:left;cursor:pointer;min-height:44px}.ed-new-buttons-halftone small{grid-row:2}.ed-new-buttons-halftone:hover{background:var(--ed-ink);color:var(--ed-paper)}
|
|
32
|
+
/* @end */
|
|
33
|
+
/* @variant redesign/buttons-read */
|
|
34
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
35
|
+
.ed-new-buttons-read{display:flex;align-items:center;gap:24px;border:0;background:none;padding:8px 0;cursor:pointer;min-height:44px}.ed-new-buttons-read span{display:grid;place-items:center;border:1px solid;width:44px;height:44px;border-radius:50%;transition:transform .2s}.ed-new-buttons-read:hover span{transform:translateX(5px)}
|
|
36
|
+
/* @end */
|
|
37
|
+
/* @variant redesign/buttons-menu */
|
|
38
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
39
|
+
.ed-new-buttons-menu{display:flex;justify-content:space-between;gap:40px;border:0;border-block:1px solid;background:none;padding:12px 0;cursor:pointer;min-height:44px}.ed-new-buttons-menu:hover strong{text-decoration:underline;text-underline-offset:5px}
|
|
40
|
+
/* @end */
|
|
41
|
+
/* @variant redesign/checkboxes-tick */
|
|
42
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
43
|
+
.ed-new-checkboxes-tick{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-tick label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-tick input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-tick input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-tick .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-tick input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-tick input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}
|
|
44
|
+
/* @end */
|
|
45
|
+
/* @variant redesign/checkboxes-proof */
|
|
46
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
47
|
+
.ed-new-checkboxes-proof{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-proof label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-proof input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-proof input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-proof .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-proof input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-proof input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-proof .mark{border:0;font-size:25px}.ed-new-checkboxes-proof input:checked+.mark{background:none;color:var(--ed-accent)}
|
|
48
|
+
/* @end */
|
|
49
|
+
/* @variant redesign/checkboxes-strike */
|
|
50
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
51
|
+
.ed-new-checkboxes-strike{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-strike label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-strike input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-strike input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-strike .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-strike input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-strike input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-strike input:checked~.word{text-decoration:line-through}
|
|
52
|
+
/* @end */
|
|
53
|
+
/* @variant redesign/checkboxes-circled */
|
|
54
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
55
|
+
.ed-new-checkboxes-circled{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-circled label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-circled input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-circled input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-circled .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-circled input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-circled input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-circled .mark{border-radius:50%}
|
|
56
|
+
/* @end */
|
|
57
|
+
/* @variant redesign/checkboxes-dots */
|
|
58
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
59
|
+
.ed-new-checkboxes-dots{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-dots label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-dots input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-dots input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-dots .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-dots input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-dots input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-dots .mark{border-radius:50%;background-image:radial-gradient(currentColor 1px,transparent 1px);background-size:4px 4px}
|
|
60
|
+
/* @end */
|
|
61
|
+
/* @variant redesign/checkboxes-bracket */
|
|
62
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
63
|
+
.ed-new-checkboxes-bracket{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-bracket label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-bracket input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-bracket input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-bracket .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-bracket input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-bracket input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-bracket .mark{border-block:0}
|
|
64
|
+
/* @end */
|
|
65
|
+
/* @variant redesign/checkboxes-chip */
|
|
66
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
67
|
+
.ed-new-checkboxes-chip{display:grid;gap:0;width:min(100%,340px)}.ed-new-checkboxes-chip label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-checkboxes-chip input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-checkboxes-chip input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-checkboxes-chip .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-checkboxes-chip input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-checkboxes-chip input:not(:checked)+.mark{color:transparent;border-color:var(--ed-ink)}.ed-new-checkboxes-chip{display:flex;flex-wrap:wrap;gap:8px}.ed-new-checkboxes-chip label{border:1px solid;padding:8px 12px}.ed-new-checkboxes-chip .mark{width:18px;height:18px}
|
|
68
|
+
/* @end */
|
|
69
|
+
/* @variant redesign/switches-slug */
|
|
70
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
71
|
+
.ed-new-switches-slug{display:grid;gap:0;width:min(100%,340px)}.ed-new-switches-slug label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-switches-slug input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-switches-slug input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-switches-slug .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-switches-slug input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-switches-slug .mark{order:2;margin-left:auto;width:54px;justify-content:start;padding:4px;color:transparent;border-color:var(--ed-ink);background:linear-gradient(var(--ed-ink),var(--ed-ink)) 4px center/18px 20px no-repeat;transition:background-position .2s}.ed-new-switches-slug input:checked+.mark{color:transparent;background:linear-gradient(var(--ed-paper),var(--ed-paper)) calc(100% - 4px) center/18px 20px no-repeat var(--ed-ink)}
|
|
72
|
+
/* @end */
|
|
73
|
+
/* @variant redesign/switches-rule */
|
|
74
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
75
|
+
.ed-new-switches-rule{display:grid;gap:0;width:min(100%,340px)}.ed-new-switches-rule label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-switches-rule input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-switches-rule input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-switches-rule .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-switches-rule input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-switches-rule .mark{order:2;margin-left:auto;width:54px;justify-content:start;padding:4px;color:transparent;border-color:var(--ed-ink);background:linear-gradient(var(--ed-ink),var(--ed-ink)) 4px center/18px 20px no-repeat;transition:background-position .2s}.ed-new-switches-rule input:checked+.mark{color:transparent;background:linear-gradient(var(--ed-paper),var(--ed-paper)) calc(100% - 4px) center/18px 20px no-repeat var(--ed-ink)}
|
|
76
|
+
/* @end */
|
|
77
|
+
/* @variant redesign/switches-plate */
|
|
78
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
79
|
+
.ed-new-switches-plate{display:grid;gap:0;width:min(100%,340px)}.ed-new-switches-plate label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-switches-plate input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-switches-plate input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-switches-plate .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-switches-plate input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-switches-plate .mark{order:2;margin-left:auto;width:54px;justify-content:start;padding:4px;color:transparent;border-color:var(--ed-ink);background:linear-gradient(var(--ed-ink),var(--ed-ink)) 4px center/18px 20px no-repeat;transition:background-position .2s}.ed-new-switches-plate input:checked+.mark{color:transparent;background:linear-gradient(var(--ed-paper),var(--ed-paper)) calc(100% - 4px) center/18px 20px no-repeat var(--ed-ink)}
|
|
80
|
+
/* @end */
|
|
81
|
+
/* @variant redesign/switches-dots */
|
|
82
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
83
|
+
.ed-new-switches-dots{display:grid;gap:0;width:min(100%,340px)}.ed-new-switches-dots label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-switches-dots input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-switches-dots input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-switches-dots .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-switches-dots input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-switches-dots .mark{order:2;margin-left:auto;width:54px;justify-content:start;padding:4px;color:transparent;border-color:var(--ed-ink);background:linear-gradient(var(--ed-ink),var(--ed-ink)) 4px center/18px 20px no-repeat;transition:background-position .2s}.ed-new-switches-dots input:checked+.mark{color:transparent;background:linear-gradient(var(--ed-paper),var(--ed-paper)) calc(100% - 4px) center/18px 20px no-repeat var(--ed-ink)}
|
|
84
|
+
/* @end */
|
|
85
|
+
/* @variant redesign/radios-ring */
|
|
86
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
87
|
+
.ed-new-radios-ring{display:grid;gap:0;width:min(100%,340px)}.ed-new-radios-ring label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-radios-ring input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-radios-ring input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-radios-ring .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-radios-ring input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-radios-ring .mark{border-radius:50%}
|
|
88
|
+
/* @end */
|
|
89
|
+
/* @variant redesign/radios-tab */
|
|
90
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
91
|
+
.ed-new-radios-tab{display:grid;gap:0;width:min(100%,340px)}.ed-new-radios-tab label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-radios-tab input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-radios-tab input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-radios-tab .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-radios-tab input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-radios-tab{display:flex;flex-wrap:wrap;width:auto;gap:18px}.ed-new-radios-tab label{border:0;border-bottom:2px solid transparent}.ed-new-radios-tab label:has(input:checked){border-color:var(--ed-ink)}
|
|
92
|
+
/* @end */
|
|
93
|
+
/* @variant redesign/radios-numeral */
|
|
94
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
95
|
+
.ed-new-radios-numeral{display:grid;gap:0;width:min(100%,340px)}.ed-new-radios-numeral label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-radios-numeral input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-radios-numeral input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-radios-numeral .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-radios-numeral input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-radios-numeral{display:flex;width:auto;gap:8px}.ed-new-radios-numeral label{display:grid;border:0;text-align:center}.ed-new-radios-numeral .mark{width:55px;height:65px;font-size:24px}.ed-new-radios-numeral .word{display:none}
|
|
96
|
+
/* @end */
|
|
97
|
+
/* @variant redesign/radios-plan */
|
|
98
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
99
|
+
.ed-new-radios-plan{display:grid;gap:0;width:min(100%,340px)}.ed-new-radios-plan label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-radios-plan input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-radios-plan input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-radios-plan .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-radios-plan input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-radios-plan{display:flex;flex-wrap:wrap;gap:8px;width:auto}.ed-new-radios-plan label{display:grid;border:1px solid;padding:16px;min-width:85px}.ed-new-radios-plan label:has(input:checked){background:var(--ed-ink);color:var(--ed-paper)}
|
|
100
|
+
/* @end */
|
|
101
|
+
/* @variant redesign/radios-target */
|
|
102
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
103
|
+
.ed-new-radios-target{display:grid;gap:0;width:min(100%,340px)}.ed-new-radios-target label{position:relative;display:flex;align-items:center;gap:14px;min-height:48px;border-bottom:1px solid var(--ed-ink);cursor:pointer;padding:8px 4px}.ed-new-radios-target input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.ed-new-radios-target input:focus-visible+span{outline:2px solid var(--ed-accent);outline-offset:3px}.ed-new-radios-target .mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid;flex:none;font:12px monospace}.ed-new-radios-target input:checked+.mark{background:var(--ed-ink);color:var(--ed-paper)}.ed-new-radios-target .mark{border-radius:50%;outline:1px solid;outline-offset:3px}
|
|
104
|
+
/* @end */
|
|
105
|
+
/* @variant redesign/fields-underline */
|
|
106
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
107
|
+
.ed-new-fields-underline{width:min(100%,480px);display:grid;gap:10px}.ed-new-fields-underline label{font:12px monospace}.ed-new-fields-underline .line{display:flex;align-items:center;border-bottom:1px solid;gap:10px}.ed-new-fields-underline input{min-width:0;width:100%;background:none;border:0;padding:12px 0;outline-offset:0}.ed-new-fields-underline button{background:var(--ed-ink);color:var(--ed-paper);border:0;padding:12px;white-space:nowrap}.ed-new-fields-underline{border-top:3px solid;padding-top:14px}
|
|
108
|
+
/* @end */
|
|
109
|
+
/* @variant redesign/fields-subscribe */
|
|
110
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
111
|
+
.ed-new-fields-subscribe{width:min(100%,480px);display:grid;gap:10px}.ed-new-fields-subscribe label{font:12px monospace}.ed-new-fields-subscribe .line{display:flex;align-items:center;border-bottom:1px solid;gap:10px}.ed-new-fields-subscribe input{min-width:0;width:100%;background:none;border:0;padding:12px 0;outline-offset:0}.ed-new-fields-subscribe button{background:var(--ed-ink);color:var(--ed-paper);border:0;padding:12px;white-space:nowrap}.ed-new-fields-subscribe{padding:24px;border:1px solid}.ed-new-fields-subscribe input{font-size:20px}
|
|
112
|
+
/* @end */
|
|
113
|
+
/* @variant redesign/fields-notch */
|
|
114
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
115
|
+
.ed-new-fields-notch{width:min(100%,480px);display:grid;gap:10px}.ed-new-fields-notch label{font:12px monospace}.ed-new-fields-notch .line{display:flex;align-items:center;border-bottom:1px solid;gap:10px}.ed-new-fields-notch input{min-width:0;width:100%;background:none;border:0;padding:12px 0;outline-offset:0}.ed-new-fields-notch button{background:var(--ed-ink);color:var(--ed-paper);border:0;padding:12px;white-space:nowrap}.ed-new-fields-notch{border:1px solid;padding:14px}.ed-new-fields-notch .line{border:0}
|
|
116
|
+
/* @end */
|
|
117
|
+
/* @variant redesign/fields-giant */
|
|
118
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
119
|
+
.ed-new-fields-giant{width:min(100%,480px);display:grid;gap:10px}.ed-new-fields-giant label{font:12px monospace}.ed-new-fields-giant .line{display:flex;align-items:center;border-bottom:1px solid;gap:10px}.ed-new-fields-giant input{min-width:0;width:100%;background:none;border:0;padding:12px 0;outline-offset:0}.ed-new-fields-giant button{background:var(--ed-ink);color:var(--ed-paper);border:0;padding:12px;white-space:nowrap}.ed-new-fields-giant input{font-size:clamp(22px,5vw,44px)}.ed-new-fields-giant .line{border-bottom-width:3px}
|
|
120
|
+
/* @end */
|
|
121
|
+
/* @variant redesign/fields-typewriter */
|
|
122
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
123
|
+
.ed-new-fields-typewriter{width:min(100%,480px);display:grid;gap:10px}.ed-new-fields-typewriter label{font:12px monospace}.ed-new-fields-typewriter .line{display:flex;align-items:center;border-bottom:1px solid;gap:10px}.ed-new-fields-typewriter input{min-width:0;width:100%;background:none;border:0;padding:12px 0;outline-offset:0}.ed-new-fields-typewriter button{background:var(--ed-ink);color:var(--ed-paper);border:0;padding:12px;white-space:nowrap}.ed-new-fields-typewriter input{font-family:monospace;letter-spacing:.1em}.ed-new-fields-typewriter .line{border-bottom-style:dashed}
|
|
124
|
+
/* @end */
|
|
125
|
+
/* @variant redesign/textareas-ruled */
|
|
126
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
127
|
+
.ed-new-textareas-ruled{width:min(100%,420px);display:grid;gap:10px;border-top:3px solid;padding-top:12px}.ed-new-textareas-ruled label{font:12px monospace}.ed-new-textareas-ruled textarea{width:100%;resize:vertical;min-height:120px;background:none;border:1px solid;padding:16px;line-height:1.8;font-family:Georgia;font-size:18px;}
|
|
128
|
+
/* @end */
|
|
129
|
+
/* @variant redesign/textareas-double */
|
|
130
|
+
:where(.ed-new){box-sizing:border-box;color:var(--ed-ink);font:500 15px/1.4 var(--ed-font-display);max-width:100%} :where(.ed-new *,.ed-new *::before,.ed-new *::after){box-sizing:border-box} :where(.ed-new button,.ed-new input,.ed-new textarea){font:inherit;color:inherit} :where(.ed-new :focus-visible,.ed-new:focus-visible){outline:2px solid var(--ed-accent);outline-offset:4px} :where(.ed-new button){cursor:pointer} :where(.ed-new small){font:500 11px/1.4 var(--ed-font-mono,monospace);letter-spacing:.04em} :where(.ed-new strong){font-weight:650} @media(prefers-reduced-motion:reduce){:where(.ed-new,.ed-new *){animation:none!important;transition:none!important}}
|
|
131
|
+
.ed-new-textareas-double{width:min(100%,420px);display:grid;gap:10px;border-top:3px solid;padding-top:12px}.ed-new-textareas-double label{font:12px monospace}.ed-new-textareas-double textarea{width:100%;resize:vertical;min-height:120px;background:none;border:1px solid;padding:16px;line-height:1.8;border-left:5px solid var(--ed-accent);}
|
|
132
|
+
/* @end */
|