@brignano/design 0.13.0 → 0.15.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/DESIGN.md +164 -34
- package/README.md +51 -4
- package/components.css +249 -249
- package/controls.css +238 -238
- package/decisions/0001-cobalt.md +1 -1
- package/decisions/0008-cobalt-hue-256.md +1 -1
- package/decisions/0014-identity.md +1 -1
- package/decisions/0015-white-label-on-cobalt.md +1 -1
- package/decisions/0017-product-identity.md +1 -1
- package/decisions/0019-house-theme-shell.md +51 -0
- package/decisions/0020-kits-opt-in.md +56 -0
- package/decisions/0021-ab-logo.md +29 -0
- package/decisions/README.md +3 -0
- package/kits/larch.css +125 -0
- package/kits/ledger.css +121 -0
- package/kits/split.css +123 -0
- package/logo/mark.svg +4 -4
- package/logo/paths.mjs +14 -11
- package/logo/tile-180.png +0 -0
- package/logo/tile-512.png +0 -0
- package/logo/tile.svg +3 -3
- package/package.json +9 -1
- package/product-page.css +82 -82
- package/scripts/colour.mjs +42 -0
- package/scripts/theme.mjs +190 -0
- package/tailwind.css +13 -20
- package/templates/app-shell.css +15 -15
- package/templates/article.css +26 -26
- package/templates/changelog.css +9 -9
- package/templates/email.html +3 -3
- package/templates/error.css +7 -7
- package/templates/legal.css +11 -11
- package/templates/settings.css +9 -9
- package/themes/driftwood.css +109 -0
- package/themes/driftwood.theme +5 -0
- package/themes/guidebook.css +104 -0
- package/themes/guidebook.theme +5 -0
- package/themes/homelab.css +101 -0
- package/themes/homelab.theme +2 -0
- package/themes/receipts.css +101 -0
- package/themes/receipts.theme +2 -0
- package/themes/sites.css +106 -0
- package/themes/sites.theme +7 -0
- package/tokens/base.css +37 -0
- package/tokens/chart.json +145 -0
- package/tokens/color.json +840 -0
- package/tokens/component.json +75 -0
- package/tokens/head.css +84 -0
- package/tokens/kits/larch.json +255 -0
- package/tokens/kits/ledger.json +247 -0
- package/tokens/kits/split.json +247 -0
- package/tokens/motion.json +38 -0
- package/tokens/names.d.ts +246 -0
- package/tokens/shape.json +56 -0
- package/tokens/space.json +99 -0
- package/tokens/tailwind.json +343 -0
- package/tokens/type.json +206 -0
- package/tokens.chart.css +23 -23
- package/tokens.css +278 -136
package/components.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
.btn-block fills its row. Works the same on <button> and <a>.
|
|
30
30
|
State comes from attributes:
|
|
31
31
|
- disabled, or aria-disabled="true" on a link or a button that must stay
|
|
32
|
-
focusable: neutral --
|
|
32
|
+
focusable: neutral --disabled and --disabled-ink, never opacity, no hover;
|
|
33
33
|
- aria-busy="true": the label hides behind a spinner and the button keeps
|
|
34
34
|
its width. Your script sets it and ignores clicks while it is set.
|
|
35
35
|
.link is the inline link for running text. */
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
justify-content: center;
|
|
42
|
-
gap: var(--
|
|
42
|
+
gap: var(--space-2);
|
|
43
43
|
min-height: 40px;
|
|
44
|
-
padding: 0 var(--
|
|
44
|
+
padding: 0 var(--space-4);
|
|
45
45
|
font: inherit;
|
|
46
46
|
font-size: var(--text-sm);
|
|
47
47
|
font-weight: var(--weight-medium);
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
border-radius: var(--radius-control);
|
|
56
56
|
background: transparent;
|
|
57
57
|
color: var(--ink);
|
|
58
|
-
transition: background-color var(--
|
|
58
|
+
transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), scale var(--duration-fast) var(--ease);
|
|
59
59
|
}
|
|
60
60
|
/* Pressing a button answers the press (ADR-0015): it settles by 2%. Not on a
|
|
61
61
|
disabled or busy one, and tokens.css makes it instant under reduced motion. */
|
|
@@ -64,18 +64,18 @@
|
|
|
64
64
|
.btn:active:not(:disabled, [aria-disabled='true'], [aria-busy='true']) { scale: none; }
|
|
65
65
|
}
|
|
66
66
|
.btn > svg { flex: none; width: 1.25em; height: 1.25em; }
|
|
67
|
-
.btn:focus-visible { outline: 2px solid var(--
|
|
67
|
+
.btn:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
68
68
|
|
|
69
69
|
.btn:hover, .btn-secondary:hover { background: var(--surface-hover); }
|
|
70
70
|
.btn:active, .btn-secondary:active { background: var(--surface-active); }
|
|
71
71
|
.btn-secondary { border-color: var(--line-control); background: transparent; color: var(--ink); }
|
|
72
72
|
|
|
73
|
-
.btn-primary { border-color: transparent; background: var(--
|
|
74
|
-
.btn-primary:hover { background: var(--
|
|
75
|
-
.btn-primary:active { background: var(--
|
|
73
|
+
.btn-primary { border-color: transparent; background: var(--action); color: var(--on-action); }
|
|
74
|
+
.btn-primary:hover { background: var(--action-hover); }
|
|
75
|
+
.btn-primary:active { background: var(--action-pressed); }
|
|
76
76
|
|
|
77
|
-
.btn-ghost { border-color: transparent; background: transparent; color: var(--
|
|
78
|
-
.btn-ghost:is(:hover, :active) { background: var(--
|
|
77
|
+
.btn-ghost { border-color: transparent; background: transparent; color: var(--action-ink); }
|
|
78
|
+
.btn-ghost:is(:hover, :active) { background: var(--action-surface); }
|
|
79
79
|
|
|
80
80
|
/* Danger has its own fills (--danger-fill…), not the state hue: in dark
|
|
81
81
|
--danger is a pale rust meant to be read, the button a deep one meant
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
.btn-danger:hover { background: var(--danger-fill-hover); }
|
|
85
85
|
.btn-danger:active { background: var(--danger-fill-pressed); }
|
|
86
86
|
|
|
87
|
-
.btn-sm { min-height: 32px; padding: 0 var(--
|
|
88
|
-
.btn-lg { min-height: 48px; padding: 0 var(--
|
|
87
|
+
.btn-sm { min-height: 32px; padding: 0 var(--space-3); font-size: var(--text-xs); line-height: 16px; }
|
|
88
|
+
.btn-lg { min-height: 48px; padding: 0 var(--space-5); font-size: var(--text-base); line-height: 24px; }
|
|
89
89
|
.btn-icon { aspect-ratio: 1; padding: 0; }
|
|
90
90
|
.btn-block { display: flex; width: 100%; }
|
|
91
91
|
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
check.mjs exempts exactly this pair on :disabled / aria-disabled rules. */
|
|
95
95
|
.btn:is(:disabled, [aria-disabled='true']) {
|
|
96
96
|
border-color: transparent;
|
|
97
|
-
background: var(--
|
|
98
|
-
color: var(--
|
|
97
|
+
background: var(--disabled);
|
|
98
|
+
color: var(--disabled-ink);
|
|
99
99
|
cursor: not-allowed;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
/* Shared with .spinner (#59). */
|
|
119
119
|
@keyframes spinner-spin { to { transform: rotate(1turn); } }
|
|
120
120
|
|
|
121
|
-
.link { color: var(--
|
|
122
|
-
.link:hover { color: var(--
|
|
123
|
-
.link:focus-visible { outline: 2px solid var(--
|
|
121
|
+
.link { color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; border-radius: 2px; }
|
|
122
|
+
.link:hover { color: var(--action-ink-hover); }
|
|
123
|
+
.link:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
124
124
|
|
|
125
125
|
@media (pointer: coarse) {
|
|
126
126
|
.btn:not(.btn-lg) { min-height: 44px; }
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
border-radius: var(--radius-control);
|
|
172
172
|
background-color: var(--card);
|
|
173
173
|
color: var(--ink);
|
|
174
|
-
transition: border-color var(--
|
|
174
|
+
transition: border-color var(--duration-fast) var(--ease);
|
|
175
175
|
}
|
|
176
176
|
/* At least 16px, so phones don't zoom in on focus (the tool tier's base is 15px). */
|
|
177
177
|
.field :is(input:where(:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden'], [type='submit'], [type='button'], [type='reset'], [type='image'])), textarea, select) { padding: 7px 12px; font: max(1rem, var(--text-base)) / 24px var(--sans); }
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
|
|
193
193
|
/* Hover darkens the edge: --line-strong would drop it under 3:1 (DESIGN.md §4). */
|
|
194
194
|
.field :is(input:where(:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden'], [type='submit'], [type='button'], [type='reset'], [type='image'])), textarea, select):hover, .field-affix:hover { border-color: var(--ink-soft); }
|
|
195
|
-
.field :is(input:where(:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden'], [type='submit'], [type='button'], [type='reset'], [type='image'])), textarea, select):focus-visible { outline: 2px solid var(--
|
|
195
|
+
.field :is(input:where(:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden'], [type='submit'], [type='button'], [type='reset'], [type='image'])), textarea, select):focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
196
196
|
|
|
197
197
|
.field [aria-invalid='true'], .field [aria-invalid='true']:hover,
|
|
198
198
|
.field-affix:has([aria-invalid='true']) { border-color: var(--danger); background-color: var(--card); }
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
|
|
206
206
|
/* Affix: the wrapper draws the edge and the focus ring; the control inside
|
|
207
207
|
goes bare. */
|
|
208
|
-
.field-affix { display: flex; align-items: center; gap: var(--
|
|
208
|
+
.field-affix { display: flex; align-items: center; gap: var(--space-2); padding: 0 12px; font-size: max(1rem, var(--text-base)); color: var(--ink-soft); }
|
|
209
209
|
.field-affix > svg { flex: none; width: 18px; height: 18px; }
|
|
210
210
|
.field .field-affix > :is(input, select) {
|
|
211
211
|
flex: 1;
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
}
|
|
221
221
|
.field .field-affix > :disabled { color: var(--ink-soft); }
|
|
222
222
|
.field .field-affix > select { padding-right: 24px; background-position: calc(100% - 7px) 50%, calc(100% - 2px) 50%; }
|
|
223
|
-
.field-affix:has(:focus-visible) { outline: 2px solid var(--
|
|
223
|
+
.field-affix:has(:focus-visible) { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
224
224
|
|
|
225
225
|
@media (pointer: coarse) {
|
|
226
226
|
.field :is(input:where(:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden'], [type='submit'], [type='button'], [type='reset'], [type='image'])), select), .field-affix { min-height: 44px; }
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
</div>
|
|
247
247
|
</fieldset>
|
|
248
248
|
Inside .choice, checkboxes and radios are drawn from tokens (issue 118): an
|
|
249
|
-
--line-control box on --card, filled --
|
|
249
|
+
--line-control box on --card, filled --action with an --on-action mark when
|
|
250
250
|
checked, a dash when indeterminate. The tick is the row's ::before laid
|
|
251
251
|
over the box, because an <input> can't reliably hold a pseudo-element.
|
|
252
252
|
Outside .choice they stay native and take accent-color (DESIGN.md §4). .switch goes on <input type="checkbox" role="switch">,
|
|
@@ -254,10 +254,10 @@
|
|
|
254
254
|
checkbox. .segmented is a row of radios drawn as one control: keep the
|
|
255
255
|
real radios inside it, so arrow keys and the group name come for free. */
|
|
256
256
|
@layer brignano.components {
|
|
257
|
-
.choice-group { display: grid; gap: var(--
|
|
257
|
+
.choice-group { display: grid; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
|
|
258
258
|
.choice-group > legend { margin: 0 0 6px; padding: 0; font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-ui); color: var(--ink); }
|
|
259
259
|
|
|
260
|
-
.choice { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--
|
|
260
|
+
.choice { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-2); align-items: start; line-height: 1.5; color: var(--ink); cursor: pointer; }
|
|
261
261
|
.choice > input { grid-column: 1; font: inherit; cursor: inherit; }
|
|
262
262
|
.choice > input:not(.switch) { width: 18px; height: 18px; margin: calc((1.5em - 18px) / 2) 0 0; }
|
|
263
263
|
.choice > input:is([type='checkbox'], [type='radio']):not(.switch) {
|
|
@@ -275,13 +275,13 @@
|
|
|
275
275
|
.choice > input:is([type='checkbox'], [type='radio']):not(.switch):not(:disabled):hover { border-color: var(--ink-soft); }
|
|
276
276
|
.choice > input:is([type='checkbox']:is(:checked, :indeterminate), [type='radio']:checked):not(.switch) {
|
|
277
277
|
border-color: transparent;
|
|
278
|
-
background-color: var(--
|
|
279
|
-
color: var(--on-
|
|
278
|
+
background-color: var(--action);
|
|
279
|
+
color: var(--on-action);
|
|
280
280
|
}
|
|
281
|
-
.choice > input:is([type='checkbox']:is(:checked, :indeterminate), [type='radio']:checked):not(.switch):not(:disabled):hover { background-color: var(--
|
|
281
|
+
.choice > input:is([type='checkbox']:is(:checked, :indeterminate), [type='radio']:checked):not(.switch):not(:disabled):hover { background-color: var(--action-hover); }
|
|
282
282
|
.choice > input[type='radio']:checked { background-image: radial-gradient(circle, currentColor 0 3.5px, transparent 4px); }
|
|
283
283
|
.choice > input[type='checkbox']:indeterminate { background-image: linear-gradient(currentColor, currentColor); background-size: 10px 2px; }
|
|
284
|
-
.choice > input:is([type='checkbox'], [type='radio']):not(.switch):disabled { border-color: transparent; background-color: var(--
|
|
284
|
+
.choice > input:is([type='checkbox'], [type='radio']):not(.switch):disabled { border-color: transparent; background-color: var(--disabled); color: var(--disabled-ink); cursor: not-allowed; }
|
|
285
285
|
/* The tick: the row's ::before sits in the box's grid cell, masked to a check. */
|
|
286
286
|
.choice:has(> input[type='checkbox']:checked:not(:indeterminate, .switch))::before {
|
|
287
287
|
content: '';
|
|
@@ -289,17 +289,17 @@
|
|
|
289
289
|
width: 18px;
|
|
290
290
|
height: 18px;
|
|
291
291
|
margin: calc((1.5em - 18px) / 2) 0 0;
|
|
292
|
-
background-color: var(--on-
|
|
292
|
+
background-color: var(--on-action);
|
|
293
293
|
pointer-events: none;
|
|
294
294
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
|
|
295
295
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
|
|
296
296
|
}
|
|
297
|
-
.choice:has(> input[type='checkbox']:checked:disabled)::before { background-color: var(--
|
|
297
|
+
.choice:has(> input[type='checkbox']:checked:disabled)::before { background-color: var(--disabled-ink); }
|
|
298
298
|
.choice > :not(input) { grid-column: 2; }
|
|
299
299
|
.choice > label { cursor: inherit; }
|
|
300
300
|
.choice-hint { margin: 0; font-size: var(--text-sm); line-height: var(--leading-ui); color: var(--ink-soft); }
|
|
301
|
-
.choice > input:focus-visible { outline: 2px solid var(--
|
|
302
|
-
.choice:has(> input:disabled) { color: var(--
|
|
301
|
+
.choice > input:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
302
|
+
.choice:has(> input:disabled) { color: var(--disabled-ink); cursor: not-allowed; }
|
|
303
303
|
|
|
304
304
|
/* Switch: track and knob drawn on the input itself. The knob is a radial
|
|
305
305
|
gradient in the text colour, so on and off read by its position, not
|
|
@@ -321,13 +321,13 @@
|
|
|
321
321
|
color: var(--ink-soft);
|
|
322
322
|
cursor: pointer;
|
|
323
323
|
vertical-align: middle;
|
|
324
|
-
transition: background-position var(--
|
|
324
|
+
transition: background-position var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
|
|
325
325
|
}
|
|
326
|
-
.switch:checked { border-color: transparent; background-color: var(--
|
|
326
|
+
.switch:checked { border-color: transparent; background-color: var(--action); background-position: 100% 50%; color: var(--on-action); }
|
|
327
327
|
.switch:not(:disabled):hover { border-color: var(--ink-soft); }
|
|
328
|
-
.switch:checked:not(:disabled):hover { border-color: transparent; background-color: var(--
|
|
329
|
-
.switch:focus-visible { outline: 2px solid var(--
|
|
330
|
-
.switch:disabled { border-color: transparent; background-color: var(--
|
|
328
|
+
.switch:checked:not(:disabled):hover { border-color: transparent; background-color: var(--action-hover); }
|
|
329
|
+
.switch:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
330
|
+
.switch:disabled { border-color: transparent; background-color: var(--disabled); color: var(--disabled-ink); cursor: not-allowed; }
|
|
331
331
|
/* In a .choice row the switch sits in the first column like a checkbox. */
|
|
332
332
|
.choice > .switch { margin: calc((1.5em - 24px) / 2) 0 0; }
|
|
333
333
|
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
align-items: center;
|
|
351
351
|
justify-content: center;
|
|
352
352
|
min-height: 34px;
|
|
353
|
-
padding: 0 var(--
|
|
353
|
+
padding: 0 var(--space-3);
|
|
354
354
|
border-radius: calc(var(--radius-control) - 3px);
|
|
355
355
|
font-size: var(--text-sm);
|
|
356
356
|
font-weight: var(--weight-medium);
|
|
@@ -358,14 +358,14 @@
|
|
|
358
358
|
color: var(--ink);
|
|
359
359
|
cursor: pointer;
|
|
360
360
|
user-select: none;
|
|
361
|
-
transition: background-color var(--
|
|
361
|
+
transition: background-color var(--duration-fast) var(--ease);
|
|
362
362
|
}
|
|
363
363
|
.segmented > label > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
|
|
364
364
|
.segmented > label:not(:has(:disabled)):hover { background-color: var(--surface-hover); }
|
|
365
|
-
.segmented > label:has(:checked), .segmented > label:has(:checked):hover { background-color: var(--
|
|
366
|
-
.segmented > label:has(:focus-visible) { outline: 2px solid var(--
|
|
367
|
-
.segmented > label:has(:disabled) { color: var(--
|
|
368
|
-
.segmented > label:has(:checked:disabled) { background-color: var(--
|
|
365
|
+
.segmented > label:has(:checked), .segmented > label:has(:checked):hover { background-color: var(--action); color: var(--on-action); }
|
|
366
|
+
.segmented > label:has(:focus-visible) { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
367
|
+
.segmented > label:has(:disabled) { color: var(--disabled-ink); cursor: not-allowed; }
|
|
368
|
+
.segmented > label:has(:checked:disabled) { background-color: var(--disabled); color: var(--disabled-ink); }
|
|
369
369
|
|
|
370
370
|
@media (pointer: coarse) {
|
|
371
371
|
.choice { min-height: 44px; align-content: center; }
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
</div>
|
|
404
404
|
A toggle for a filterable list: any number can be on at once. The state
|
|
405
405
|
is aria-pressed, never a class; your script flips it and filters the
|
|
406
|
-
list. Off is the card ground with a control edge; on is the --
|
|
406
|
+
list. Off is the card ground with a control edge; on is the --action fill, the
|
|
407
407
|
same as a chosen .segmented option. One of a few is .segmented; a filter
|
|
408
408
|
already applied, with a remove button, is .tag. */
|
|
409
409
|
@layer brignano.components {
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
justify-content: center;
|
|
414
414
|
min-height: 32px;
|
|
415
415
|
margin: 0;
|
|
416
|
-
padding: 0 var(--
|
|
416
|
+
padding: 0 var(--space-3);
|
|
417
417
|
border: 1px solid var(--line-control);
|
|
418
418
|
border-radius: var(--radius-control);
|
|
419
419
|
background-color: var(--card);
|
|
@@ -425,13 +425,13 @@
|
|
|
425
425
|
white-space: nowrap;
|
|
426
426
|
cursor: pointer;
|
|
427
427
|
user-select: none;
|
|
428
|
-
transition: background-color var(--
|
|
428
|
+
transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
|
|
429
429
|
}
|
|
430
430
|
.chip:hover:not(:disabled) { background-color: var(--surface-hover); }
|
|
431
|
-
.chip[aria-pressed='true'], .chip[aria-pressed='true']:hover:not(:disabled) { border-color: transparent; background-color: var(--
|
|
432
|
-
.chip:focus-visible { outline: 2px solid var(--
|
|
433
|
-
.chip:disabled { border-color: var(--line); color: var(--
|
|
434
|
-
.chip[aria-pressed='true']:disabled { border-color: transparent; background-color: var(--
|
|
431
|
+
.chip[aria-pressed='true'], .chip[aria-pressed='true']:hover:not(:disabled) { border-color: transparent; background-color: var(--action); color: var(--on-action); }
|
|
432
|
+
.chip:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
433
|
+
.chip:disabled { border-color: var(--line); color: var(--disabled-ink); cursor: not-allowed; }
|
|
434
|
+
.chip[aria-pressed='true']:disabled { border-color: transparent; background-color: var(--disabled); color: var(--disabled-ink); }
|
|
435
435
|
|
|
436
436
|
@media (pointer: coarse) {
|
|
437
437
|
.chip { min-height: 44px; }
|
|
@@ -471,17 +471,17 @@
|
|
|
471
471
|
align-items: flex-start;
|
|
472
472
|
padding: 12px 14px;
|
|
473
473
|
border: 1px solid var(--line-strong);
|
|
474
|
-
border-radius: var(--radius);
|
|
474
|
+
border-radius: var(--radius-card);
|
|
475
475
|
background-color: var(--card);
|
|
476
476
|
color: var(--ink);
|
|
477
477
|
font-size: var(--text-sm);
|
|
478
478
|
line-height: 1.45;
|
|
479
479
|
}
|
|
480
|
-
.msg > svg, .banner > svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--
|
|
480
|
+
.msg > svg, .banner > svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--action); }
|
|
481
481
|
.msg-content { display: grid; gap: 2px; flex: 1; min-width: 0; }
|
|
482
482
|
.msg-title { margin: 0; font-weight: var(--weight-semibold); }
|
|
483
483
|
.msg-body { margin: 0; color: var(--ink-soft); }
|
|
484
|
-
.msg-actions { display: flex; flex-wrap: wrap; gap: var(--
|
|
484
|
+
.msg-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
|
|
485
485
|
/* An outlined button's --line-control edge is under 3:1 on a status wash,
|
|
486
486
|
so in a message it sits on its own --card fill. Zero-specificity
|
|
487
487
|
:where() keeps hover, pressed and disabled winning. */
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
display: flex;
|
|
494
494
|
gap: 10px;
|
|
495
495
|
align-items: flex-start;
|
|
496
|
-
padding: 10px var(--
|
|
496
|
+
padding: 10px var(--space-4);
|
|
497
497
|
border: 0;
|
|
498
498
|
border-bottom: 1px solid var(--line-strong);
|
|
499
499
|
background-color: var(--surface-hover);
|
|
@@ -507,12 +507,12 @@
|
|
|
507
507
|
.msg-success, .banner-success { border-color: transparent; background-color: var(--success-surface); color: var(--ink); }
|
|
508
508
|
.msg-attention, .banner-attention { border-color: transparent; background-color: var(--attention-surface); color: var(--ink); }
|
|
509
509
|
.msg-danger, .banner-danger { border-color: transparent; background-color: var(--danger-surface); color: var(--ink); }
|
|
510
|
-
:is(.msg-info, .banner-info) > svg { color: var(--
|
|
510
|
+
:is(.msg-info, .banner-info) > svg { color: var(--action); }
|
|
511
511
|
:is(.msg-success, .banner-success) > svg { color: var(--success); }
|
|
512
512
|
:is(.msg-attention, .banner-attention) > svg { color: var(--attention); }
|
|
513
513
|
:is(.msg-danger, .banner-danger) > svg { color: var(--danger); }
|
|
514
514
|
|
|
515
|
-
.banner .msg-content { display: flex; flex-wrap: wrap; column-gap: var(--
|
|
515
|
+
.banner .msg-content { display: flex; flex-wrap: wrap; column-gap: var(--space-2); align-items: baseline; }
|
|
516
516
|
.banner .msg-actions { margin: 0; }
|
|
517
517
|
}
|
|
518
518
|
|
|
@@ -576,8 +576,8 @@
|
|
|
576
576
|
padding: 0 4px;
|
|
577
577
|
border: 1px solid transparent;
|
|
578
578
|
border-radius: 999px;
|
|
579
|
-
background-color: var(--
|
|
580
|
-
color: var(--on-
|
|
579
|
+
background-color: var(--action);
|
|
580
|
+
color: var(--on-action);
|
|
581
581
|
font-size: 11px;
|
|
582
582
|
font-weight: var(--weight-semibold);
|
|
583
583
|
line-height: 1;
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
}
|
|
620
620
|
.tag-remove > svg { width: 14px; height: 14px; }
|
|
621
621
|
.tag-remove:hover { background-color: var(--surface-hover); color: var(--ink); }
|
|
622
|
-
.tag-remove:focus-visible { outline: 2px solid var(--
|
|
622
|
+
.tag-remove:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
623
623
|
|
|
624
624
|
@media (pointer: coarse) {
|
|
625
625
|
.tag-remove::before { content: ''; position: absolute; inset: -10px; }
|
|
@@ -653,17 +653,17 @@
|
|
|
653
653
|
position: relative;
|
|
654
654
|
display: flex;
|
|
655
655
|
flex-direction: column;
|
|
656
|
-
gap: var(--
|
|
656
|
+
gap: var(--space-3);
|
|
657
657
|
min-width: 0;
|
|
658
|
-
padding: var(--
|
|
659
|
-
border: 1px solid var(--line);
|
|
660
|
-
border-radius: var(--radius);
|
|
658
|
+
padding: var(--space-5);
|
|
659
|
+
border: 1px solid var(--card-line);
|
|
660
|
+
border-radius: var(--card-radius);
|
|
661
661
|
background-color: var(--card);
|
|
662
662
|
color: var(--ink);
|
|
663
|
-
box-shadow: var(--shadow
|
|
663
|
+
box-shadow: var(--card-shadow);
|
|
664
664
|
overflow: hidden;
|
|
665
665
|
}
|
|
666
|
-
.card-media { margin: calc(-1 * var(--
|
|
666
|
+
.card-media { margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) 0; }
|
|
667
667
|
.card-media > :is(img, video, picture, svg) { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
|
|
668
668
|
/* Stage (ADR-0018): a product's drawing on a faint field of its mark, the
|
|
669
669
|
same 8% mix as --pp-stage on its product page, so the card and the page
|
|
@@ -671,25 +671,25 @@
|
|
|
671
671
|
is the family amber. The drawing is padded and contained, never cropped,
|
|
672
672
|
and the box stays 16:9. Only on a card that stands for a product. */
|
|
673
673
|
.card-stage { background-color: color-mix(in srgb, var(--mark-current) 8%, transparent); }
|
|
674
|
-
.card-stage > :is(img, video, picture, svg) { box-sizing: border-box; padding: var(--
|
|
675
|
-
.card-header { display: grid; gap: var(--
|
|
674
|
+
.card-stage > :is(img, video, picture, svg) { box-sizing: border-box; padding: var(--space-5); object-fit: contain; }
|
|
675
|
+
.card-header { display: grid; gap: var(--space-1); }
|
|
676
676
|
.card-title { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: var(--leading-title); letter-spacing: var(--tracking-title); }
|
|
677
677
|
.card-title a { color: inherit; text-decoration: none; }
|
|
678
678
|
.card-meta { margin: 0; font-size: var(--text-sm); color: var(--ink-soft); }
|
|
679
679
|
.card-body { color: var(--ink-soft); }
|
|
680
680
|
.card-body > :first-child { margin-top: 0; }
|
|
681
681
|
.card-body > :last-child { margin-bottom: 0; }
|
|
682
|
-
.card-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--
|
|
682
|
+
.card-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: auto; }
|
|
683
683
|
|
|
684
684
|
/* Link card: the title link stretches over the card. */
|
|
685
|
-
.card-link { transition: background-color var(--
|
|
685
|
+
.card-link { transition: background-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease); }
|
|
686
686
|
.card-link .card-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
|
|
687
687
|
/* Zero-specificity so components that position their own parts (for example .segmented) still win. */
|
|
688
688
|
:where(.card-link :is(a, button, input, select, textarea, label):not(.card-title a)) { position: relative; z-index: var(--z-raised); }
|
|
689
|
-
.card-link:hover { background-color: var(--surface-hover); box-shadow: var(--shadow-
|
|
689
|
+
.card-link:hover { background-color: var(--surface-hover); box-shadow: var(--shadow-3); }
|
|
690
690
|
.card-link:hover .card-title a { text-decoration: underline; text-underline-offset: 3px; }
|
|
691
691
|
/* The ring moves to the card only where :has() works; elsewhere the link keeps its own ring. */
|
|
692
|
-
.card-link:has(.card-title a:focus-visible) { outline: 2px solid var(--
|
|
692
|
+
.card-link:has(.card-title a:focus-visible) { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
693
693
|
.card-link:has(.card-title a:focus-visible) .card-title a { outline: none; }
|
|
694
694
|
|
|
695
695
|
@media (forced-colors: active) {
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
/* ── Layout primitives (#53) ──────────────────────────────────────────────
|
|
725
725
|
<main class="container"><section class="section stack gap-5">…</section></main>
|
|
726
726
|
Gap-based only: no margins between children, no 12-column grid.
|
|
727
|
-
- .container: the tier's measure (780px tool, 68ch marketing) plus an --
|
|
727
|
+
- .container: the tier's measure (780px tool, 68ch marketing) plus an --space-4
|
|
728
728
|
gutter each side. .container-wide: 1160px, the product page width.
|
|
729
729
|
- .stack: a column. .cluster: a wrapping row. .grid: auto-fit columns,
|
|
730
730
|
each at least --grid-min (default 16rem) and never wider than the row,
|
|
@@ -741,18 +741,18 @@
|
|
|
741
741
|
--container-max: var(--measure);
|
|
742
742
|
box-sizing: border-box;
|
|
743
743
|
width: 100%;
|
|
744
|
-
max-width: calc(var(--container-max) + 2 * var(--
|
|
744
|
+
max-width: calc(var(--container-max) + 2 * var(--space-4));
|
|
745
745
|
margin-inline: auto;
|
|
746
|
-
padding-inline: var(--
|
|
746
|
+
padding-inline: var(--space-4);
|
|
747
747
|
}
|
|
748
748
|
.container-wide { --container-max: 1160px; }
|
|
749
749
|
|
|
750
|
-
.stack { display: flex; flex-direction: column; gap: var(--
|
|
751
|
-
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--
|
|
750
|
+
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
|
|
751
|
+
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
|
|
752
752
|
.grid {
|
|
753
753
|
display: grid;
|
|
754
754
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 16rem)), 1fr));
|
|
755
|
-
gap: var(--
|
|
755
|
+
gap: var(--space-4);
|
|
756
756
|
}
|
|
757
757
|
/* Children of a stack or grid can't push it wider than its parent. */
|
|
758
758
|
:where(.stack, .grid) > * { min-width: 0; }
|
|
@@ -802,18 +802,18 @@
|
|
|
802
802
|
@layer brignano.components {
|
|
803
803
|
.skip-link {
|
|
804
804
|
position: absolute;
|
|
805
|
-
top: var(--
|
|
806
|
-
left: var(--
|
|
805
|
+
top: var(--space-3);
|
|
806
|
+
left: var(--space-4);
|
|
807
807
|
z-index: var(--z-skip);
|
|
808
|
-
padding: var(--
|
|
808
|
+
padding: var(--space-2) var(--space-3);
|
|
809
809
|
border-radius: var(--radius-sm);
|
|
810
810
|
background-color: var(--card);
|
|
811
811
|
color: var(--ink);
|
|
812
812
|
font-weight: var(--weight-medium);
|
|
813
813
|
box-shadow: var(--shadow-2);
|
|
814
|
-
transform: translateY(calc(-100% - var(--
|
|
814
|
+
transform: translateY(calc(-100% - var(--space-5)));
|
|
815
815
|
}
|
|
816
|
-
.skip-link:focus { transform: none; outline: 2px solid var(--
|
|
816
|
+
.skip-link:focus { transform: none; outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
817
817
|
|
|
818
818
|
.site-header {
|
|
819
819
|
container: site-header / inline-size;
|
|
@@ -829,15 +829,15 @@
|
|
|
829
829
|
.site-header-inner {
|
|
830
830
|
display: flex;
|
|
831
831
|
align-items: center;
|
|
832
|
-
gap: var(--
|
|
832
|
+
gap: var(--space-4);
|
|
833
833
|
min-height: 56px;
|
|
834
834
|
}
|
|
835
|
-
.tier-marketing .site-header-inner { min-height: 72px; gap: var(--
|
|
835
|
+
.tier-marketing .site-header-inner { min-height: 72px; gap: var(--space-5); }
|
|
836
836
|
|
|
837
837
|
.site-brand {
|
|
838
838
|
display: inline-flex;
|
|
839
839
|
align-items: center;
|
|
840
|
-
gap: var(--
|
|
840
|
+
gap: var(--space-2);
|
|
841
841
|
min-height: 40px;
|
|
842
842
|
margin-inline-end: auto; /* pushes the nav and actions to the end */
|
|
843
843
|
color: var(--ink);
|
|
@@ -864,12 +864,12 @@
|
|
|
864
864
|
background: none;
|
|
865
865
|
color: inherit;
|
|
866
866
|
}
|
|
867
|
-
.site-nav ul { display: flex; align-items: center; gap: var(--
|
|
867
|
+
.site-nav ul { display: flex; align-items: center; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
|
|
868
868
|
.site-nav a {
|
|
869
869
|
display: inline-flex;
|
|
870
870
|
align-items: center;
|
|
871
871
|
min-height: 40px;
|
|
872
|
-
padding: 0 var(--
|
|
872
|
+
padding: 0 var(--space-3);
|
|
873
873
|
border-radius: var(--radius-sm);
|
|
874
874
|
color: var(--ink-soft);
|
|
875
875
|
font-size: var(--text-sm);
|
|
@@ -879,17 +879,17 @@
|
|
|
879
879
|
.site-nav a:hover { color: var(--ink); }
|
|
880
880
|
.site-nav a[aria-current='page'] {
|
|
881
881
|
color: var(--ink);
|
|
882
|
-
text-decoration: underline 2px var(--
|
|
882
|
+
text-decoration: underline 2px var(--action);
|
|
883
883
|
text-underline-offset: 6px;
|
|
884
884
|
}
|
|
885
|
-
.site-nav a:focus-visible { outline: 2px solid var(--
|
|
885
|
+
.site-nav a:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
886
886
|
|
|
887
|
-
.site-actions { display: flex; align-items: center; gap: var(--
|
|
887
|
+
.site-actions { display: flex; align-items: center; gap: var(--space-2); }
|
|
888
888
|
.site-menu-button, .site-menu-close { display: none; }
|
|
889
889
|
|
|
890
890
|
/* Narrow: the links move into a sheet behind the menu button. */
|
|
891
891
|
@container site-header (max-width: 45rem) {
|
|
892
|
-
.site-header .site-header-inner { gap: var(--
|
|
892
|
+
.site-header .site-header-inner { gap: var(--space-2); } /* beats the marketing gap */
|
|
893
893
|
.site-brand { min-width: 0; }
|
|
894
894
|
.site-menu-button { display: inline-flex; }
|
|
895
895
|
.site-nav[popover]:not(:popover-open) { display: none; }
|
|
@@ -902,11 +902,11 @@
|
|
|
902
902
|
inset: 0 0 auto;
|
|
903
903
|
display: flex;
|
|
904
904
|
flex-direction: column;
|
|
905
|
-
gap: var(--
|
|
905
|
+
gap: var(--space-2);
|
|
906
906
|
width: 100%;
|
|
907
907
|
max-height: 100dvh;
|
|
908
908
|
box-sizing: border-box;
|
|
909
|
-
padding: var(--
|
|
909
|
+
padding: var(--space-3) var(--space-4) var(--space-5);
|
|
910
910
|
overflow-y: auto;
|
|
911
911
|
border-bottom: 1px solid var(--line);
|
|
912
912
|
background-color: var(--card);
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
.site-footer {
|
|
926
|
-
padding-block: var(--
|
|
926
|
+
padding-block: var(--space-6) var(--space-7);
|
|
927
927
|
border-top: 1px solid var(--line);
|
|
928
928
|
color: var(--ink-soft);
|
|
929
929
|
font-size: var(--text-sm);
|
|
@@ -931,10 +931,10 @@
|
|
|
931
931
|
.site-footer-columns {
|
|
932
932
|
display: grid;
|
|
933
933
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
|
|
934
|
-
gap: var(--
|
|
934
|
+
gap: var(--space-5);
|
|
935
935
|
}
|
|
936
|
-
.site-footer-heading { margin: 0 0 var(--
|
|
937
|
-
.site-footer ul { display: grid; gap: var(--
|
|
936
|
+
.site-footer-heading { margin: 0 0 var(--space-2); color: var(--ink); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
|
|
937
|
+
.site-footer ul { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
|
|
938
938
|
.site-footer a { color: var(--ink-soft); text-decoration: none; }
|
|
939
939
|
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
|
|
940
940
|
.site-footer ul a { display: inline-flex; align-items: center; min-height: 28px; }
|
|
@@ -942,12 +942,12 @@
|
|
|
942
942
|
display: flex;
|
|
943
943
|
flex-wrap: wrap;
|
|
944
944
|
align-items: center;
|
|
945
|
-
gap: var(--
|
|
946
|
-
margin: var(--
|
|
947
|
-
padding-top: var(--
|
|
945
|
+
gap: var(--space-2) var(--space-4);
|
|
946
|
+
margin: var(--space-6) 0 0;
|
|
947
|
+
padding-top: var(--space-4);
|
|
948
948
|
border-top: 1px solid var(--line-soft);
|
|
949
949
|
}
|
|
950
|
-
.site-footer-small { margin: var(--
|
|
950
|
+
.site-footer-small { margin: var(--space-2) 0 0; font-size: var(--text-xs); }
|
|
951
951
|
|
|
952
952
|
@media (pointer: coarse) {
|
|
953
953
|
.site-footer ul a { min-height: 44px; }
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
action ("Delete trip"), never "OK".
|
|
982
982
|
- .sheet (with .dialog): slides in from the right on a wide screen and up
|
|
983
983
|
from the bottom on a phone.
|
|
984
|
-
- Open and close: a fade and a short slide over --
|
|
984
|
+
- Open and close: a fade and a short slide over --duration-fast, from the
|
|
985
985
|
edge a sheet comes from (ADR-0013), for modal dialogs only: one that is
|
|
986
986
|
open in the markup renders still. Only opacity and transform move, and
|
|
987
987
|
the open state is always fully shown, so a browser without
|
|
@@ -990,9 +990,9 @@
|
|
|
990
990
|
@layer brignano.components {
|
|
991
991
|
.dialog {
|
|
992
992
|
box-sizing: border-box;
|
|
993
|
-
width: min(100% - 2 * var(--
|
|
993
|
+
width: min(100% - 2 * var(--space-4), 32rem);
|
|
994
994
|
max-width: none;
|
|
995
|
-
max-height: min(100dvh - 2 * var(--
|
|
995
|
+
max-height: min(100dvh - 2 * var(--space-4), 44rem);
|
|
996
996
|
padding: 0;
|
|
997
997
|
border: 1px solid var(--line);
|
|
998
998
|
border-radius: var(--radius-lg);
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
flex-direction: column; /* here, not on [open], so it holds while closing */
|
|
1003
1003
|
opacity: 0;
|
|
1004
1004
|
transform: translateY(8px);
|
|
1005
|
-
transition: opacity var(--
|
|
1005
|
+
transition: opacity var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
|
|
1006
1006
|
}
|
|
1007
1007
|
/* display only while open, so the UA's display: none still hides it closed. */
|
|
1008
1008
|
.dialog[open] { display: flex; opacity: 1; transform: none; }
|
|
@@ -1012,7 +1012,7 @@
|
|
|
1012
1012
|
.dialog::backdrop {
|
|
1013
1013
|
background-color: var(--scrim);
|
|
1014
1014
|
opacity: 0;
|
|
1015
|
-
transition: opacity var(--
|
|
1015
|
+
transition: opacity var(--duration-fast) var(--ease);
|
|
1016
1016
|
}
|
|
1017
1017
|
.dialog[open]::backdrop { opacity: 1; }
|
|
1018
1018
|
@starting-style {
|
|
@@ -1024,24 +1024,24 @@
|
|
|
1024
1024
|
@supports (overlay: auto) {
|
|
1025
1025
|
.dialog {
|
|
1026
1026
|
transition:
|
|
1027
|
-
opacity var(--
|
|
1028
|
-
transform var(--
|
|
1029
|
-
overlay var(--
|
|
1030
|
-
display var(--
|
|
1027
|
+
opacity var(--duration-fast) var(--ease),
|
|
1028
|
+
transform var(--duration-fast) var(--ease),
|
|
1029
|
+
overlay var(--duration-fast) allow-discrete,
|
|
1030
|
+
display var(--duration-fast) allow-discrete;
|
|
1031
1031
|
}
|
|
1032
1032
|
.dialog::backdrop {
|
|
1033
1033
|
transition:
|
|
1034
|
-
opacity var(--
|
|
1035
|
-
overlay var(--
|
|
1036
|
-
display var(--
|
|
1034
|
+
opacity var(--duration-fast) var(--ease),
|
|
1035
|
+
overlay var(--duration-fast) allow-discrete,
|
|
1036
|
+
display var(--duration-fast) allow-discrete;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
.dialog-header {
|
|
1041
1041
|
display: flex;
|
|
1042
1042
|
align-items: flex-start;
|
|
1043
|
-
gap: var(--
|
|
1044
|
-
padding: var(--
|
|
1043
|
+
gap: var(--space-3);
|
|
1044
|
+
padding: var(--space-5) var(--space-5) 0;
|
|
1045
1045
|
}
|
|
1046
1046
|
.dialog-title { margin: 0; padding-top: 2px; font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: var(--leading-ui); }
|
|
1047
1047
|
.dialog-header > form { display: contents; }
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
.dialog-body {
|
|
1050
1050
|
flex: 1 1 auto;
|
|
1051
1051
|
min-height: 0;
|
|
1052
|
-
padding: var(--
|
|
1052
|
+
padding: var(--space-3) var(--space-5);
|
|
1053
1053
|
overflow-y: auto;
|
|
1054
1054
|
color: var(--ink-soft);
|
|
1055
1055
|
}
|
|
@@ -1059,12 +1059,12 @@
|
|
|
1059
1059
|
display: flex;
|
|
1060
1060
|
flex-wrap: wrap;
|
|
1061
1061
|
justify-content: flex-end;
|
|
1062
|
-
gap: var(--
|
|
1063
|
-
padding: var(--
|
|
1062
|
+
gap: var(--space-2);
|
|
1063
|
+
padding: var(--space-4) var(--space-5) var(--space-5);
|
|
1064
1064
|
}
|
|
1065
1065
|
.dialog-footer > form { display: contents; }
|
|
1066
1066
|
|
|
1067
|
-
.dialog-confirm { width: min(100% - 2 * var(--
|
|
1067
|
+
.dialog-confirm { width: min(100% - 2 * var(--space-4), 26rem); }
|
|
1068
1068
|
|
|
1069
1069
|
/* Sheet: from the right on a wide screen. */
|
|
1070
1070
|
.sheet {
|
|
@@ -1136,22 +1136,22 @@
|
|
|
1136
1136
|
links that Tab moves through, which needs nothing more. role="menu" and
|
|
1137
1137
|
role="menuitem" promise arrow keys, Home/End and focus moving into the
|
|
1138
1138
|
menu on open, so add them only with a script that does all of that.
|
|
1139
|
-
- Open and close: a fade and a 4px slide over --
|
|
1139
|
+
- Open and close: a fade and a 4px slide over --duration-fast (ADR-0013).
|
|
1140
1140
|
Instant under prefers-reduced-motion. */
|
|
1141
1141
|
@layer brignano.components {
|
|
1142
1142
|
.popover {
|
|
1143
1143
|
box-sizing: border-box;
|
|
1144
1144
|
min-width: 12rem;
|
|
1145
|
-
max-width: min(100vw - 2 * var(--
|
|
1146
|
-
max-height: min(100dvh - 2 * var(--
|
|
1147
|
-
padding: var(--
|
|
1145
|
+
max-width: min(100vw - 2 * var(--space-4), 22rem);
|
|
1146
|
+
max-height: min(100dvh - 2 * var(--space-4), 28rem);
|
|
1147
|
+
padding: var(--space-3);
|
|
1148
1148
|
overflow-y: auto;
|
|
1149
1149
|
border: 1px solid var(--line);
|
|
1150
|
-
border-radius: var(--radius);
|
|
1150
|
+
border-radius: var(--radius-card);
|
|
1151
1151
|
background-color: var(--card);
|
|
1152
1152
|
color: var(--ink);
|
|
1153
1153
|
box-shadow: var(--shadow-2);
|
|
1154
|
-
transition: opacity var(--
|
|
1154
|
+
transition: opacity var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
|
|
1155
1155
|
}
|
|
1156
1156
|
/* Hidden state on :not(:popover-open), so a browser without popover
|
|
1157
1157
|
support shows the content rather than an invisible, focusable box. */
|
|
@@ -1162,18 +1162,18 @@
|
|
|
1162
1162
|
@supports (overlay: auto) {
|
|
1163
1163
|
.popover {
|
|
1164
1164
|
transition:
|
|
1165
|
-
opacity var(--
|
|
1166
|
-
transform var(--
|
|
1167
|
-
overlay var(--
|
|
1168
|
-
display var(--
|
|
1165
|
+
opacity var(--duration-fast) var(--ease),
|
|
1166
|
+
transform var(--duration-fast) var(--ease),
|
|
1167
|
+
overlay var(--duration-fast) allow-discrete,
|
|
1168
|
+
display var(--duration-fast) allow-discrete;
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
|
-
.popover:has(> .menu) { padding: var(--
|
|
1171
|
+
.popover:has(> .menu) { padding: var(--space-1); }
|
|
1172
1172
|
|
|
1173
1173
|
@supports (position-area: block-end) {
|
|
1174
1174
|
.popover {
|
|
1175
1175
|
inset: auto;
|
|
1176
|
-
margin: var(--
|
|
1176
|
+
margin: var(--space-1) 0;
|
|
1177
1177
|
position-area: block-end span-inline-end;
|
|
1178
1178
|
position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
|
|
1179
1179
|
}
|
|
@@ -1181,7 +1181,7 @@
|
|
|
1181
1181
|
@supports not (position-area: block-end) {
|
|
1182
1182
|
.popover[style*='--popover-top'] {
|
|
1183
1183
|
inset: var(--popover-top) auto auto var(--popover-left);
|
|
1184
|
-
margin: var(--
|
|
1184
|
+
margin: var(--space-1) 0 0;
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
@@ -1190,10 +1190,10 @@
|
|
|
1190
1190
|
box-sizing: border-box;
|
|
1191
1191
|
display: flex;
|
|
1192
1192
|
align-items: center;
|
|
1193
|
-
gap: var(--
|
|
1193
|
+
gap: var(--space-2);
|
|
1194
1194
|
width: 100%;
|
|
1195
1195
|
min-height: 36px;
|
|
1196
|
-
padding: var(--
|
|
1196
|
+
padding: var(--space-2) var(--space-3);
|
|
1197
1197
|
border: 0;
|
|
1198
1198
|
border-radius: var(--radius-control);
|
|
1199
1199
|
background-color: transparent;
|
|
@@ -1208,15 +1208,15 @@
|
|
|
1208
1208
|
.menu-item > svg { flex: none; width: 16px; height: 16px; color: var(--ink-soft); }
|
|
1209
1209
|
.menu-item:hover, .menu-item:focus-visible { background-color: var(--surface-hover); color: var(--ink); }
|
|
1210
1210
|
.menu-item:active { background-color: var(--surface-active); color: var(--ink); }
|
|
1211
|
-
.menu-item:focus-visible { outline: 2px solid var(--
|
|
1212
|
-
.menu-item-hint { margin-inline-start: auto; padding-inline-start: var(--
|
|
1211
|
+
.menu-item:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
1212
|
+
.menu-item-hint { margin-inline-start: auto; padding-inline-start: var(--space-3); color: var(--ink-soft); font-size: var(--text-xs); }
|
|
1213
1213
|
.menu-item-danger, .menu-item-danger > svg { color: var(--danger-ink); }
|
|
1214
1214
|
.menu-item-danger:is(:hover, :focus-visible, :active) { background-color: var(--danger-surface); color: var(--danger-ink); }
|
|
1215
|
-
.menu-item:is(:disabled, [aria-disabled='true']) { background-color: transparent; color: var(--
|
|
1215
|
+
.menu-item:is(:disabled, [aria-disabled='true']) { background-color: transparent; color: var(--disabled-ink); cursor: not-allowed; }
|
|
1216
1216
|
.menu-item:is(:disabled, [aria-disabled='true']) > svg { color: inherit; }
|
|
1217
1217
|
.menu-separator {
|
|
1218
1218
|
height: 0;
|
|
1219
|
-
margin: var(--
|
|
1219
|
+
margin: var(--space-1) calc(-1 * var(--space-1));
|
|
1220
1220
|
border: 0;
|
|
1221
1221
|
border-block-start: 1px solid var(--line);
|
|
1222
1222
|
}
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
width: max-content;
|
|
1270
1270
|
max-width: 16rem;
|
|
1271
1271
|
margin: 0;
|
|
1272
|
-
padding: 4px var(--
|
|
1272
|
+
padding: 4px var(--space-2);
|
|
1273
1273
|
overflow: visible;
|
|
1274
1274
|
border: 1px solid transparent;
|
|
1275
1275
|
border-radius: var(--radius-sm);
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
.tooltip::before {
|
|
1287
1287
|
content: '';
|
|
1288
1288
|
position: absolute;
|
|
1289
|
-
inset: calc(-1 * var(--
|
|
1289
|
+
inset: calc(-1 * var(--space-1) - 1px) 0;
|
|
1290
1290
|
z-index: -1;
|
|
1291
1291
|
}
|
|
1292
1292
|
.tooltip-wrap > [interestfor] { interest-delay: 300ms 0s; }
|
|
@@ -1294,11 +1294,11 @@
|
|
|
1294
1294
|
@supports selector(:interest-source) {
|
|
1295
1295
|
.tooltip {
|
|
1296
1296
|
inset: auto;
|
|
1297
|
-
margin: var(--
|
|
1297
|
+
margin: var(--space-1) 0;
|
|
1298
1298
|
position-area: block-start;
|
|
1299
1299
|
position-try-fallbacks: flip-block;
|
|
1300
1300
|
opacity: 0;
|
|
1301
|
-
transition: opacity var(--
|
|
1301
|
+
transition: opacity var(--duration-fast) var(--ease);
|
|
1302
1302
|
}
|
|
1303
1303
|
.tooltip:popover-open { opacity: 1; }
|
|
1304
1304
|
@starting-style {
|
|
@@ -1311,14 +1311,14 @@
|
|
|
1311
1311
|
position: absolute;
|
|
1312
1312
|
inset: auto auto 100% 50%;
|
|
1313
1313
|
translate: -50% 0;
|
|
1314
|
-
margin: 0 0 var(--
|
|
1314
|
+
margin: 0 0 var(--space-1);
|
|
1315
1315
|
visibility: hidden;
|
|
1316
1316
|
opacity: 0;
|
|
1317
1317
|
}
|
|
1318
1318
|
.tooltip-wrap:has(> :hover, > :focus-visible) > .tooltip {
|
|
1319
1319
|
visibility: visible;
|
|
1320
1320
|
opacity: 1;
|
|
1321
|
-
transition: opacity var(--
|
|
1321
|
+
transition: opacity var(--duration-fast) var(--ease) 300ms, visibility 0s linear 300ms;
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
@@ -1359,13 +1359,13 @@
|
|
|
1359
1359
|
next toast, or back to where it was before.
|
|
1360
1360
|
- While a modal dialog is open, everything outside it is inert, toasts
|
|
1361
1361
|
included: report inside the dialog with a .msg instead.
|
|
1362
|
-
- Enter and leave: a fade and an 8px slide over --
|
|
1362
|
+
- Enter and leave: a fade and an 8px slide over --duration-fast (ADR-0013).
|
|
1363
1363
|
Instant under prefers-reduced-motion. */
|
|
1364
1364
|
@layer brignano.components {
|
|
1365
1365
|
.toast-region {
|
|
1366
1366
|
position: fixed;
|
|
1367
1367
|
z-index: var(--z-toast);
|
|
1368
|
-
inset: auto var(--
|
|
1368
|
+
inset: auto var(--space-4) var(--space-4);
|
|
1369
1369
|
display: flex;
|
|
1370
1370
|
flex-direction: column;
|
|
1371
1371
|
align-items: center;
|
|
@@ -1379,12 +1379,12 @@
|
|
|
1379
1379
|
flex-direction: column;
|
|
1380
1380
|
align-items: inherit;
|
|
1381
1381
|
align-self: stretch;
|
|
1382
|
-
gap: var(--
|
|
1382
|
+
gap: var(--space-2);
|
|
1383
1383
|
}
|
|
1384
|
-
.toast-list:not(:empty) ~ .toast-list:not(:empty) { margin-top: var(--
|
|
1384
|
+
.toast-list:not(:empty) ~ .toast-list:not(:empty) { margin-top: var(--space-2); }
|
|
1385
1385
|
.toast-region .toast { pointer-events: auto; }
|
|
1386
1386
|
@media (min-width: 40rem) {
|
|
1387
|
-
.toast-region { inset: auto var(--
|
|
1387
|
+
.toast-region { inset: auto var(--space-5) var(--space-5) auto; align-items: flex-end; }
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
1390
|
.toast {
|
|
@@ -1396,13 +1396,13 @@
|
|
|
1396
1396
|
padding: 12px 10px 12px 14px;
|
|
1397
1397
|
border: 1px solid var(--line);
|
|
1398
1398
|
border-inline-start: 3px solid var(--line-control);
|
|
1399
|
-
border-radius: var(--radius);
|
|
1399
|
+
border-radius: var(--radius-card);
|
|
1400
1400
|
background-color: var(--card);
|
|
1401
1401
|
color: var(--ink);
|
|
1402
1402
|
box-shadow: var(--shadow-2);
|
|
1403
1403
|
font-size: var(--text-sm);
|
|
1404
1404
|
line-height: 1.45;
|
|
1405
|
-
transition: opacity var(--
|
|
1405
|
+
transition: opacity var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
|
|
1406
1406
|
}
|
|
1407
1407
|
@starting-style {
|
|
1408
1408
|
.toast { opacity: 0; transform: translateY(8px); }
|
|
@@ -1471,7 +1471,7 @@
|
|
|
1471
1471
|
border: 2.5px solid currentColor;
|
|
1472
1472
|
border-right-color: transparent;
|
|
1473
1473
|
border-radius: 50%;
|
|
1474
|
-
color: var(--
|
|
1474
|
+
color: var(--action);
|
|
1475
1475
|
vertical-align: middle;
|
|
1476
1476
|
animation: spinner-spin 0.7s linear infinite;
|
|
1477
1477
|
}
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
.skeleton-text { height: 0.75em; margin-block: 0.4em; }
|
|
1500
1500
|
.skeleton-text:last-child:not(:first-child) { width: 60%; }
|
|
1501
1501
|
.skeleton-circle { width: 40px; height: 40px; flex: none; border-radius: 50%; }
|
|
1502
|
-
.skeleton-rect { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); }
|
|
1502
|
+
.skeleton-rect { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-card); }
|
|
1503
1503
|
|
|
1504
1504
|
.progress, .meter {
|
|
1505
1505
|
appearance: none;
|
|
@@ -1513,13 +1513,13 @@
|
|
|
1513
1513
|
background-color: var(--surface-active);
|
|
1514
1514
|
}
|
|
1515
1515
|
.progress::-webkit-progress-bar { border-radius: inherit; background-color: var(--surface-active); }
|
|
1516
|
-
.progress::-webkit-progress-value { border-radius: inherit; background-color: var(--
|
|
1517
|
-
.progress::-moz-progress-bar { border-radius: inherit; background-color: var(--
|
|
1516
|
+
.progress::-webkit-progress-value { border-radius: inherit; background-color: var(--action); }
|
|
1517
|
+
.progress::-moz-progress-bar { border-radius: inherit; background-color: var(--action); }
|
|
1518
1518
|
/* Indeterminate: a centred segment that can't be read as an amount, which
|
|
1519
1519
|
pulses (opacity only, DESIGN.md §7). Under reduced motion it holds
|
|
1520
1520
|
still at full strength. */
|
|
1521
1521
|
.progress:indeterminate {
|
|
1522
|
-
background-image: linear-gradient(90deg, transparent 35%, var(--
|
|
1522
|
+
background-image: linear-gradient(90deg, transparent 35%, var(--action) 35% 65%, transparent 65%);
|
|
1523
1523
|
animation: progress-pulse 1.4s var(--ease) infinite alternate;
|
|
1524
1524
|
}
|
|
1525
1525
|
.progress:indeterminate::-webkit-progress-bar { background-color: transparent; }
|
|
@@ -1527,10 +1527,10 @@
|
|
|
1527
1527
|
@keyframes progress-pulse { to { opacity: 0.45; } }
|
|
1528
1528
|
|
|
1529
1529
|
.meter::-webkit-meter-bar { height: 8px; border: 0; border-radius: inherit; background: var(--surface-active); }
|
|
1530
|
-
.meter::-webkit-meter-optimum-value { border-radius: inherit; background: var(--
|
|
1530
|
+
.meter::-webkit-meter-optimum-value { border-radius: inherit; background: var(--action); }
|
|
1531
1531
|
.meter::-webkit-meter-suboptimum-value { border-radius: inherit; background: var(--attention); }
|
|
1532
1532
|
.meter::-webkit-meter-even-less-good-value { border-radius: inherit; background: var(--danger); }
|
|
1533
|
-
.meter::-moz-meter-bar { border-radius: inherit; background: var(--
|
|
1533
|
+
.meter::-moz-meter-bar { border-radius: inherit; background: var(--action); }
|
|
1534
1534
|
.meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--attention); }
|
|
1535
1535
|
.meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--danger); }
|
|
1536
1536
|
|
|
@@ -1539,14 +1539,14 @@
|
|
|
1539
1539
|
flex-direction: column;
|
|
1540
1540
|
align-items: center;
|
|
1541
1541
|
justify-content: center;
|
|
1542
|
-
gap: var(--
|
|
1543
|
-
padding: var(--
|
|
1542
|
+
gap: var(--space-2);
|
|
1543
|
+
padding: var(--space-7) var(--space-4);
|
|
1544
1544
|
text-align: center;
|
|
1545
1545
|
}
|
|
1546
|
-
.empty > svg { width: 32px; height: 32px; margin-bottom: var(--
|
|
1546
|
+
.empty > svg { width: 32px; height: 32px; margin-bottom: var(--space-2); color: var(--ink-soft); }
|
|
1547
1547
|
.empty-title { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--ink); }
|
|
1548
1548
|
.empty-body { max-width: 32ch; margin: 0; font-size: var(--text-sm); color: var(--ink-soft); }
|
|
1549
|
-
.empty > .btn { margin-top: var(--
|
|
1549
|
+
.empty > .btn { margin-top: var(--space-3); }
|
|
1550
1550
|
|
|
1551
1551
|
/* Vendor pseudo-elements each get their own rule: one unknown selector in
|
|
1552
1552
|
a list drops the whole rule in the other engine. */
|
|
@@ -1597,11 +1597,11 @@
|
|
|
1597
1597
|
caption-side: top;
|
|
1598
1598
|
text-align: left;
|
|
1599
1599
|
font-weight: var(--weight-semibold);
|
|
1600
|
-
padding: 0 0 var(--
|
|
1600
|
+
padding: 0 0 var(--space-2);
|
|
1601
1601
|
}
|
|
1602
1602
|
.table th,
|
|
1603
1603
|
.table td {
|
|
1604
|
-
padding: var(--
|
|
1604
|
+
padding: var(--space-2) var(--space-3);
|
|
1605
1605
|
text-align: left;
|
|
1606
1606
|
vertical-align: top;
|
|
1607
1607
|
border-bottom: 1px solid var(--line);
|
|
@@ -1625,15 +1625,15 @@
|
|
|
1625
1625
|
box-sizing: border-box;
|
|
1626
1626
|
display: flex;
|
|
1627
1627
|
align-items: center;
|
|
1628
|
-
gap: var(--
|
|
1628
|
+
gap: var(--space-1);
|
|
1629
1629
|
width: 100%;
|
|
1630
|
-
padding: var(--
|
|
1630
|
+
padding: var(--space-2) var(--space-3);
|
|
1631
1631
|
cursor: pointer;
|
|
1632
1632
|
border-radius: var(--radius-sm);
|
|
1633
1633
|
}
|
|
1634
1634
|
.table th.num[aria-sort] > button { justify-content: flex-end; }
|
|
1635
1635
|
.table th[aria-sort] > button:hover { color: var(--ink); }
|
|
1636
|
-
.table th[aria-sort] > button:focus-visible { outline: 2px solid var(--
|
|
1636
|
+
.table th[aria-sort] > button:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
1637
1637
|
/* \FE0E asks for the text glyph: ↕ is one of the arrows phones draw as an emoji. */
|
|
1638
1638
|
.table th[aria-sort] > button::after { content: '↕\FE0E' / ''; color: var(--slate); }
|
|
1639
1639
|
.table th[aria-sort='ascending'] > button::after { content: '↑' / ''; color: var(--ink); }
|
|
@@ -1652,9 +1652,9 @@
|
|
|
1652
1652
|
|
|
1653
1653
|
.tier-marketing .table { font-size: var(--text-base); }
|
|
1654
1654
|
.tier-marketing .table th,
|
|
1655
|
-
.tier-marketing .table td { padding: var(--
|
|
1655
|
+
.tier-marketing .table td { padding: var(--space-3) var(--space-4); }
|
|
1656
1656
|
.tier-marketing .table th[aria-sort] { padding: 0; }
|
|
1657
|
-
.tier-marketing .table th[aria-sort] > button { padding: var(--
|
|
1657
|
+
.tier-marketing .table th[aria-sort] > button { padding: var(--space-3) var(--space-4); }
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
1660
|
/* ── Key-value list (#62) ──────────────────────────────────────────────────
|
|
@@ -1665,7 +1665,7 @@
|
|
|
1665
1665
|
.kv {
|
|
1666
1666
|
display: grid;
|
|
1667
1667
|
grid-template-columns: minmax(8rem, max-content) 1fr;
|
|
1668
|
-
gap: var(--
|
|
1668
|
+
gap: var(--space-2) var(--space-5);
|
|
1669
1669
|
margin: 0;
|
|
1670
1670
|
font-size: var(--text-sm);
|
|
1671
1671
|
}
|
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
.kv dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
|
|
1675
1675
|
@media (max-width: 480px) {
|
|
1676
1676
|
.kv { grid-template-columns: 1fr; row-gap: 0; }
|
|
1677
|
-
.kv dd { margin-bottom: var(--
|
|
1677
|
+
.kv dd { margin-bottom: var(--space-3); }
|
|
1678
1678
|
}
|
|
1679
1679
|
.tier-marketing .kv { font-size: var(--text-base); }
|
|
1680
1680
|
}
|
|
@@ -1693,13 +1693,13 @@
|
|
|
1693
1693
|
.stat {
|
|
1694
1694
|
display: flex;
|
|
1695
1695
|
flex-direction: column;
|
|
1696
|
-
gap: var(--
|
|
1696
|
+
gap: var(--space-1);
|
|
1697
1697
|
min-width: 0;
|
|
1698
|
-
padding: var(--
|
|
1698
|
+
padding: var(--space-4) var(--space-5);
|
|
1699
1699
|
color: var(--ink);
|
|
1700
1700
|
background: var(--card);
|
|
1701
1701
|
border: 1px solid var(--line);
|
|
1702
|
-
border-radius: var(--radius);
|
|
1702
|
+
border-radius: var(--radius-card);
|
|
1703
1703
|
box-shadow: var(--shadow-1);
|
|
1704
1704
|
}
|
|
1705
1705
|
.stat-label { font-size: var(--text-sm); color: var(--ink-soft); }
|
|
@@ -1712,7 +1712,7 @@
|
|
|
1712
1712
|
letter-spacing: var(--tracking-title);
|
|
1713
1713
|
}
|
|
1714
1714
|
.stat-delta { font-size: var(--text-sm); color: var(--ink-soft); }
|
|
1715
|
-
.stat-delta[data-dir]::before { margin-right: var(--
|
|
1715
|
+
.stat-delta[data-dir]::before { margin-right: var(--space-1); }
|
|
1716
1716
|
.stat-delta[data-dir='up']::before { content: '↑' / ''; }
|
|
1717
1717
|
.stat-delta[data-dir='down']::before { content: '↓' / ''; }
|
|
1718
1718
|
.stat-delta[data-tone='good'] { color: var(--success-ink); }
|
|
@@ -1720,7 +1720,7 @@
|
|
|
1720
1720
|
.stat-grid {
|
|
1721
1721
|
display: grid;
|
|
1722
1722
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
|
|
1723
|
-
gap: var(--
|
|
1723
|
+
gap: var(--space-4);
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
1726
|
|
|
@@ -1739,7 +1739,7 @@
|
|
|
1739
1739
|
@layer brignano.components {
|
|
1740
1740
|
.tabs-list {
|
|
1741
1741
|
display: flex;
|
|
1742
|
-
gap: var(--
|
|
1742
|
+
gap: var(--space-1);
|
|
1743
1743
|
overflow-x: auto;
|
|
1744
1744
|
scrollbar-width: none;
|
|
1745
1745
|
/* Inset hairline, not a border: a border would push the tab's 2px
|
|
@@ -1751,7 +1751,7 @@
|
|
|
1751
1751
|
all: unset;
|
|
1752
1752
|
box-sizing: border-box;
|
|
1753
1753
|
flex: none;
|
|
1754
|
-
padding: var(--
|
|
1754
|
+
padding: var(--space-2) var(--space-3);
|
|
1755
1755
|
font-size: var(--text-sm);
|
|
1756
1756
|
font-weight: var(--weight-medium);
|
|
1757
1757
|
color: var(--ink-soft);
|
|
@@ -1759,15 +1759,15 @@
|
|
|
1759
1759
|
cursor: pointer;
|
|
1760
1760
|
border-bottom: 2px solid transparent;
|
|
1761
1761
|
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
1762
|
-
transition: color var(--
|
|
1762
|
+
transition: color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
|
|
1763
1763
|
}
|
|
1764
1764
|
.tabs-list > [role='tab']:hover { color: var(--ink); background: var(--surface-hover); }
|
|
1765
|
-
.tabs-list > [role='tab']:focus-visible { outline: 2px solid var(--
|
|
1766
|
-
.tabs-list > [role='tab'][aria-selected='true'] { color: var(--ink); border-bottom-color: var(--
|
|
1767
|
-
.tabs-list > [role='tab'][aria-disabled='true'] { color: var(--
|
|
1768
|
-
.tabs-panel { padding-top: var(--
|
|
1769
|
-
.tabs-panel:focus-visible { outline: 2px solid var(--
|
|
1770
|
-
.tier-marketing .tabs-list > [role='tab'] { font-size: var(--text-base); padding: var(--
|
|
1765
|
+
.tabs-list > [role='tab']:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
1766
|
+
.tabs-list > [role='tab'][aria-selected='true'] { color: var(--ink); border-bottom-color: var(--action); }
|
|
1767
|
+
.tabs-list > [role='tab'][aria-disabled='true'] { color: var(--disabled-ink); cursor: not-allowed; background: none; }
|
|
1768
|
+
.tabs-panel { padding-top: var(--space-4); }
|
|
1769
|
+
.tabs-panel:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; border-radius: var(--radius-sm); }
|
|
1770
|
+
.tier-marketing .tabs-list > [role='tab'] { font-size: var(--text-base); padding: var(--space-3) var(--space-4); }
|
|
1771
1771
|
@media (pointer: coarse) {
|
|
1772
1772
|
.tabs-list > [role='tab'] { display: inline-flex; align-items: center; min-height: 44px; }
|
|
1773
1773
|
}
|
|
@@ -1788,18 +1788,18 @@
|
|
|
1788
1788
|
display: flex;
|
|
1789
1789
|
flex-wrap: wrap;
|
|
1790
1790
|
align-items: center;
|
|
1791
|
-
gap: var(--
|
|
1791
|
+
gap: var(--space-1) var(--space-2);
|
|
1792
1792
|
margin: 0;
|
|
1793
1793
|
padding: 0;
|
|
1794
1794
|
list-style: none;
|
|
1795
1795
|
font-size: var(--text-sm);
|
|
1796
1796
|
color: var(--ink-soft);
|
|
1797
1797
|
}
|
|
1798
|
-
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--
|
|
1798
|
+
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
|
|
1799
1799
|
.breadcrumb li + li::before { content: '/' / ''; color: var(--slate); }
|
|
1800
|
-
.breadcrumb a { color: var(--
|
|
1800
|
+
.breadcrumb a { color: var(--action-ink); text-decoration: none; border-radius: var(--radius-sm); }
|
|
1801
1801
|
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
|
|
1802
|
-
.breadcrumb a:focus-visible { outline: 2px solid var(--
|
|
1802
|
+
.breadcrumb a:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
1803
1803
|
.breadcrumb [aria-current='page'] {
|
|
1804
1804
|
color: var(--ink);
|
|
1805
1805
|
pointer-events: none;
|
|
@@ -1837,10 +1837,10 @@
|
|
|
1837
1837
|
display: flex;
|
|
1838
1838
|
align-items: center;
|
|
1839
1839
|
justify-content: space-between;
|
|
1840
|
-
gap: var(--
|
|
1840
|
+
gap: var(--space-2);
|
|
1841
1841
|
font-size: var(--text-sm);
|
|
1842
1842
|
}
|
|
1843
|
-
.pagination-pages { display: flex; gap: var(--
|
|
1843
|
+
.pagination-pages { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
|
|
1844
1844
|
.pagination-prev,
|
|
1845
1845
|
.pagination-next,
|
|
1846
1846
|
.pagination-pages a,
|
|
@@ -1850,7 +1850,7 @@
|
|
|
1850
1850
|
justify-content: center;
|
|
1851
1851
|
min-width: 2.25rem;
|
|
1852
1852
|
min-height: 2.25rem;
|
|
1853
|
-
padding: 0 var(--
|
|
1853
|
+
padding: 0 var(--space-3);
|
|
1854
1854
|
color: var(--ink);
|
|
1855
1855
|
text-decoration: none;
|
|
1856
1856
|
border-radius: var(--radius-sm);
|
|
@@ -1862,13 +1862,13 @@
|
|
|
1862
1862
|
.pagination-pages a:hover { background: var(--surface-hover); }
|
|
1863
1863
|
.pagination-prev:focus-visible,
|
|
1864
1864
|
.pagination-next:focus-visible,
|
|
1865
|
-
.pagination-pages a:focus-visible { outline: 2px solid var(--
|
|
1866
|
-
.pagination-pages [aria-current='page'] { color: var(--on-
|
|
1865
|
+
.pagination-pages a:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
1866
|
+
.pagination-pages [aria-current='page'] { color: var(--on-action); background: var(--action); font-weight: var(--weight-semibold); }
|
|
1867
1867
|
.pagination-prev,
|
|
1868
1868
|
.pagination-next { flex-shrink: 0; white-space: nowrap; }
|
|
1869
|
-
.pagination-prev::before { content: '←' / ''; margin-right: var(--
|
|
1870
|
-
.pagination-next::after { content: '→' / ''; margin-left: var(--
|
|
1871
|
-
.pagination [aria-disabled='true'] { color: var(--
|
|
1869
|
+
.pagination-prev::before { content: '←' / ''; margin-right: var(--space-1); }
|
|
1870
|
+
.pagination-next::after { content: '→' / ''; margin-left: var(--space-1); }
|
|
1871
|
+
.pagination [aria-disabled='true'] { color: var(--disabled-ink); pointer-events: none; }
|
|
1872
1872
|
.pagination-status { display: none; color: var(--ink-soft); }
|
|
1873
1873
|
@container pagination (max-width: 34rem) {
|
|
1874
1874
|
.pagination-pages { display: none; }
|
|
@@ -1881,13 +1881,13 @@
|
|
|
1881
1881
|
}
|
|
1882
1882
|
|
|
1883
1883
|
/* Load more: the default for content lists (posts, photos, activity). */
|
|
1884
|
-
.load-more { display: flex; flex-direction: column; align-items: center; gap: var(--
|
|
1884
|
+
.load-more { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-5) 0; }
|
|
1885
1885
|
.load-more-count { font-size: var(--text-sm); color: var(--ink-soft); }
|
|
1886
1886
|
.load-more > button,
|
|
1887
1887
|
.load-more > a {
|
|
1888
1888
|
all: unset;
|
|
1889
1889
|
box-sizing: border-box;
|
|
1890
|
-
padding: var(--
|
|
1890
|
+
padding: var(--space-2) var(--space-4);
|
|
1891
1891
|
font-size: var(--text-sm);
|
|
1892
1892
|
font-weight: var(--weight-medium);
|
|
1893
1893
|
color: var(--ink);
|
|
@@ -1899,7 +1899,7 @@
|
|
|
1899
1899
|
.load-more > button:hover,
|
|
1900
1900
|
.load-more > a:hover { background: var(--surface-hover); }
|
|
1901
1901
|
.load-more > button:focus-visible,
|
|
1902
|
-
.load-more > a:focus-visible { outline: 2px solid var(--
|
|
1902
|
+
.load-more > a:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
|
|
1903
1903
|
@media (pointer: coarse) {
|
|
1904
1904
|
.load-more > button,
|
|
1905
1905
|
.load-more > a { display: inline-flex; align-items: center; min-height: 44px; }
|
|
@@ -1920,14 +1920,14 @@
|
|
|
1920
1920
|
display: flex;
|
|
1921
1921
|
align-items: center;
|
|
1922
1922
|
justify-content: space-between;
|
|
1923
|
-
gap: var(--
|
|
1924
|
-
padding: var(--
|
|
1923
|
+
gap: var(--space-3);
|
|
1924
|
+
padding: var(--space-3);
|
|
1925
1925
|
font-weight: var(--weight-medium);
|
|
1926
1926
|
color: var(--ink);
|
|
1927
1927
|
list-style: none;
|
|
1928
1928
|
cursor: pointer;
|
|
1929
1929
|
border-radius: var(--radius-sm);
|
|
1930
|
-
transition: background-color var(--
|
|
1930
|
+
transition: background-color var(--duration-fast) var(--ease);
|
|
1931
1931
|
}
|
|
1932
1932
|
.disclosure > summary::-webkit-details-marker { display: none; }
|
|
1933
1933
|
.disclosure > summary::after {
|
|
@@ -1939,18 +1939,18 @@
|
|
|
1939
1939
|
border-right: 2px solid var(--ink-soft);
|
|
1940
1940
|
border-bottom: 2px solid var(--ink-soft);
|
|
1941
1941
|
transform: translateY(-25%) rotate(45deg);
|
|
1942
|
-
transition: transform var(--
|
|
1942
|
+
transition: transform var(--duration-fast) var(--ease);
|
|
1943
1943
|
}
|
|
1944
1944
|
.disclosure[open] > summary::after { transform: translateY(25%) rotate(-135deg); }
|
|
1945
1945
|
.disclosure > summary:hover { background: var(--surface-hover); }
|
|
1946
|
-
.disclosure > summary:focus-visible { outline: 2px solid var(--
|
|
1947
|
-
.disclosure > :not(summary) { margin: 0; padding: 0 var(--
|
|
1946
|
+
.disclosure > summary:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
1947
|
+
.disclosure > :not(summary) { margin: 0; padding: 0 var(--space-3) var(--space-3); color: var(--ink-soft); }
|
|
1948
1948
|
|
|
1949
1949
|
.accordion { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
|
|
1950
1950
|
.accordion > .disclosure + .disclosure { border-top: 1px solid var(--line); }
|
|
1951
1951
|
.accordion > .disclosure > summary { border-radius: 0; }
|
|
1952
1952
|
|
|
1953
|
-
.tier-marketing .disclosure > summary { font-size: var(--text-lg); padding: var(--
|
|
1953
|
+
.tier-marketing .disclosure > summary { font-size: var(--text-lg); padding: var(--space-4) var(--space-3); }
|
|
1954
1954
|
@media (pointer: coarse) {
|
|
1955
1955
|
.disclosure > summary { min-height: 44px; }
|
|
1956
1956
|
}
|
|
@@ -2032,14 +2032,14 @@
|
|
|
2032
2032
|
color: var(--code-ink);
|
|
2033
2033
|
background: var(--code-surface);
|
|
2034
2034
|
border: 1px solid var(--line);
|
|
2035
|
-
border-radius: var(--radius);
|
|
2035
|
+
border-radius: var(--radius-card);
|
|
2036
2036
|
}
|
|
2037
2037
|
.code-block-header {
|
|
2038
2038
|
display: flex;
|
|
2039
2039
|
align-items: center;
|
|
2040
2040
|
justify-content: space-between;
|
|
2041
|
-
gap: var(--
|
|
2042
|
-
padding: var(--
|
|
2041
|
+
gap: var(--space-3);
|
|
2042
|
+
padding: var(--space-1) var(--space-1) var(--space-1) var(--space-4);
|
|
2043
2043
|
font-size: var(--text-xs);
|
|
2044
2044
|
font-family: var(--mono);
|
|
2045
2045
|
color: var(--ink-soft);
|
|
@@ -2050,7 +2050,7 @@
|
|
|
2050
2050
|
all: unset;
|
|
2051
2051
|
box-sizing: border-box;
|
|
2052
2052
|
flex: none;
|
|
2053
|
-
padding: var(--
|
|
2053
|
+
padding: var(--space-1) var(--space-3);
|
|
2054
2054
|
font-family: var(--sans);
|
|
2055
2055
|
font-size: var(--text-xs);
|
|
2056
2056
|
font-weight: var(--weight-medium);
|
|
@@ -2059,11 +2059,11 @@
|
|
|
2059
2059
|
border-radius: var(--radius-sm);
|
|
2060
2060
|
}
|
|
2061
2061
|
.code-block-copy:hover { color: var(--ink); background: var(--surface-hover); }
|
|
2062
|
-
.code-block-copy:focus-visible { outline: 2px solid var(--
|
|
2062
|
+
.code-block-copy:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
2063
2063
|
.code-block pre { margin: 0; }
|
|
2064
2064
|
.code-block pre,
|
|
2065
2065
|
.prose > pre {
|
|
2066
|
-
padding: var(--
|
|
2066
|
+
padding: var(--space-4);
|
|
2067
2067
|
overflow-x: auto;
|
|
2068
2068
|
font-family: var(--mono);
|
|
2069
2069
|
font-size: var(--text-sm);
|
|
@@ -2071,7 +2071,7 @@
|
|
|
2071
2071
|
tab-size: 2;
|
|
2072
2072
|
}
|
|
2073
2073
|
.code-block pre:focus-visible,
|
|
2074
|
-
.prose > pre:focus-visible { outline: 2px solid var(--
|
|
2074
|
+
.prose > pre:focus-visible { outline: 2px solid var(--action-ink); outline-offset: -2px; }
|
|
2075
2075
|
.code-block code { font: inherit; }
|
|
2076
2076
|
.tok-keyword { color: var(--code-keyword); }
|
|
2077
2077
|
.tok-string { color: var(--code-string); }
|
|
@@ -2082,7 +2082,7 @@
|
|
|
2082
2082
|
display: inline-block;
|
|
2083
2083
|
min-width: 100%;
|
|
2084
2084
|
background: var(--code-highlight);
|
|
2085
|
-
box-shadow: calc(var(--
|
|
2085
|
+
box-shadow: calc(var(--space-4) * -1) 0 0 var(--code-highlight), var(--space-4) 0 0 var(--code-highlight);
|
|
2086
2086
|
}
|
|
2087
2087
|
/* Slate falls under 4.5:1 on the cobalt wash; comments step up to the
|
|
2088
2088
|
string ink there and keep their italics. */
|
|
@@ -2099,18 +2099,18 @@
|
|
|
2099
2099
|
@layer brignano.components {
|
|
2100
2100
|
.blockquote {
|
|
2101
2101
|
margin: 0;
|
|
2102
|
-
padding: 0 0 0 var(--
|
|
2102
|
+
padding: 0 0 0 var(--space-4);
|
|
2103
2103
|
font-size: var(--text-lg);
|
|
2104
2104
|
color: var(--ink);
|
|
2105
2105
|
border-left: 3px solid var(--line-strong);
|
|
2106
2106
|
}
|
|
2107
|
-
.blockquote > p { margin: 0 0 var(--
|
|
2107
|
+
.blockquote > p { margin: 0 0 var(--space-2); }
|
|
2108
2108
|
.blockquote > cite { display: block; font-size: var(--text-sm); font-style: normal; color: var(--ink-soft); }
|
|
2109
2109
|
.blockquote > cite::before { content: '— ' / ''; }
|
|
2110
2110
|
.figure { margin: 0; }
|
|
2111
2111
|
.figure > img,
|
|
2112
|
-
.figure > video { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
|
|
2113
|
-
.figure > figcaption { margin-top: var(--
|
|
2112
|
+
.figure > video { display: block; max-width: 100%; height: auto; border-radius: var(--radius-card); }
|
|
2113
|
+
.figure > figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--slate); }
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
2116
2116
|
/* ── Prose (#67) ──────────────────────────────────────────────────────────
|
|
@@ -2128,24 +2128,24 @@
|
|
|
2128
2128
|
overflow-wrap: break-word;
|
|
2129
2129
|
}
|
|
2130
2130
|
.prose > * { margin: 0; }
|
|
2131
|
-
.prose > * + * { margin-top: var(--
|
|
2131
|
+
.prose > * + * { margin-top: var(--space-4); }
|
|
2132
2132
|
.prose :where(h2, h3, h4) {
|
|
2133
2133
|
font-weight: var(--weight-semibold);
|
|
2134
2134
|
line-height: var(--leading-title);
|
|
2135
2135
|
letter-spacing: var(--tracking-title);
|
|
2136
|
-
scroll-margin-top: var(--
|
|
2136
|
+
scroll-margin-top: var(--space-7);
|
|
2137
2137
|
}
|
|
2138
2138
|
.prose h2 { font-size: var(--text-xl); }
|
|
2139
2139
|
.prose h3 { font-size: var(--text-lg); }
|
|
2140
2140
|
.prose h4 { font-size: var(--text-base); }
|
|
2141
|
-
.prose > * + h2 { margin-top: var(--
|
|
2142
|
-
.prose > * + :where(h3, h4) { margin-top: var(--
|
|
2143
|
-
.prose > :where(h2, h3, h4) + * { margin-top: var(--
|
|
2141
|
+
.prose > * + h2 { margin-top: var(--space-7); }
|
|
2142
|
+
.prose > * + :where(h3, h4) { margin-top: var(--space-6); }
|
|
2143
|
+
.prose > :where(h2, h3, h4) + * { margin-top: var(--space-2); }
|
|
2144
2144
|
|
|
2145
2145
|
/* The # follows the heading text and shows on hover or focus; on
|
|
2146
2146
|
devices without hover it always shows. */
|
|
2147
2147
|
.prose .anchor {
|
|
2148
|
-
margin-left: var(--
|
|
2148
|
+
margin-left: var(--space-2);
|
|
2149
2149
|
font-weight: var(--weight-regular);
|
|
2150
2150
|
color: var(--slate);
|
|
2151
2151
|
text-decoration: none;
|
|
@@ -2154,26 +2154,26 @@
|
|
|
2154
2154
|
.prose .anchor::before { content: '#'; }
|
|
2155
2155
|
.prose :where(h2, h3, h4):hover > .anchor,
|
|
2156
2156
|
.prose .anchor:focus-visible { opacity: 1; }
|
|
2157
|
-
.prose .anchor:focus-visible { outline: 2px solid var(--
|
|
2157
|
+
.prose .anchor:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; border-radius: var(--radius-sm); }
|
|
2158
2158
|
@media (hover: none) {
|
|
2159
2159
|
.prose .anchor { opacity: 1; }
|
|
2160
2160
|
}
|
|
2161
2161
|
@media (pointer: coarse) {
|
|
2162
2162
|
/* A 44px hit area without moving the heading text. */
|
|
2163
|
-
.prose .anchor { display: inline-block; min-width: 44px; padding: 12px; margin: -12px -12px -12px calc(var(--
|
|
2163
|
+
.prose .anchor { display: inline-block; min-width: 44px; padding: 12px; margin: -12px -12px -12px calc(var(--space-2) - 12px); text-align: left; }
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
|
-
.prose a:not(.anchor) { color: var(--
|
|
2167
|
-
.prose a:not(.anchor):hover { color: var(--
|
|
2168
|
-
.prose a:not(.anchor):focus-visible { outline: 2px solid var(--
|
|
2166
|
+
.prose a:not(.anchor) { color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
|
2167
|
+
.prose a:not(.anchor):hover { color: var(--action-ink-hover); text-decoration-thickness: 2px; }
|
|
2168
|
+
.prose a:not(.anchor):focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; border-radius: 2px; }
|
|
2169
2169
|
.prose strong { font-weight: var(--weight-semibold); }
|
|
2170
2170
|
|
|
2171
|
-
.prose :where(ul, ol) { padding-left: var(--
|
|
2172
|
-
.prose li + li { margin-top: var(--
|
|
2173
|
-
.prose li > :where(ul, ol) { margin-top: var(--
|
|
2171
|
+
.prose :where(ul, ol) { padding-left: var(--space-5); }
|
|
2172
|
+
.prose li + li { margin-top: var(--space-1); }
|
|
2173
|
+
.prose li > :where(ul, ol) { margin-top: var(--space-1); }
|
|
2174
2174
|
.prose li::marker { color: var(--slate); }
|
|
2175
2175
|
|
|
2176
|
-
.prose hr { height: 0; margin-block: var(--
|
|
2176
|
+
.prose hr { height: 0; margin-block: var(--space-7); border: 0; border-top: 1px solid var(--line); }
|
|
2177
2177
|
|
|
2178
2178
|
/* Reused pieces, applied to bare elements. Inline code, kbd and the
|
|
2179
2179
|
pre's type come from the #66 rules above, which list these selectors
|
|
@@ -2182,28 +2182,28 @@
|
|
|
2182
2182
|
color: var(--code-ink);
|
|
2183
2183
|
background: var(--code-surface);
|
|
2184
2184
|
border: 1px solid var(--line);
|
|
2185
|
-
border-radius: var(--radius);
|
|
2185
|
+
border-radius: var(--radius-card);
|
|
2186
2186
|
}
|
|
2187
2187
|
.prose pre code { font: inherit; }
|
|
2188
2188
|
.prose > blockquote {
|
|
2189
|
-
padding-left: var(--
|
|
2189
|
+
padding-left: var(--space-4);
|
|
2190
2190
|
color: var(--ink-soft);
|
|
2191
2191
|
border-left: 3px solid var(--line-strong);
|
|
2192
2192
|
}
|
|
2193
2193
|
.prose > blockquote > * { margin: 0; }
|
|
2194
|
-
.prose > blockquote > * + * { margin-top: var(--
|
|
2195
|
-
.prose > figure > :where(img, video) { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
|
|
2196
|
-
.prose > figure > figcaption { margin-top: var(--
|
|
2194
|
+
.prose > blockquote > * + * { margin-top: var(--space-2); }
|
|
2195
|
+
.prose > figure > :where(img, video) { display: block; max-width: 100%; height: auto; border-radius: var(--radius-card); }
|
|
2196
|
+
.prose > figure > figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--slate); }
|
|
2197
2197
|
.prose img { max-width: 100%; height: auto; }
|
|
2198
|
-
.prose > p > img { border-radius: var(--radius); }
|
|
2199
|
-
.prose > :where(figure, pre, .table-wrap, .code-block) { margin-top: var(--
|
|
2200
|
-
.prose > :where(figure, pre, .table-wrap, .code-block) + * { margin-top: var(--
|
|
2198
|
+
.prose > p > img { border-radius: var(--radius-card); }
|
|
2199
|
+
.prose > :where(figure, pre, .table-wrap, .code-block) { margin-top: var(--space-5); }
|
|
2200
|
+
.prose > :where(figure, pre, .table-wrap, .code-block) + * { margin-top: var(--space-5); }
|
|
2201
2201
|
|
|
2202
2202
|
/* Footnotes, in the shape remark-gfm and markdown-it-footnote emit. */
|
|
2203
2203
|
.prose sup { line-height: 0; }
|
|
2204
2204
|
.prose :where(.footnotes, section[data-footnotes]) {
|
|
2205
|
-
margin-top: var(--
|
|
2206
|
-
padding-top: var(--
|
|
2205
|
+
margin-top: var(--space-7);
|
|
2206
|
+
padding-top: var(--space-4);
|
|
2207
2207
|
font-size: var(--text-sm);
|
|
2208
2208
|
color: var(--ink-soft);
|
|
2209
2209
|
border-top: 1px solid var(--line);
|
|
@@ -2219,11 +2219,11 @@
|
|
|
2219
2219
|
Keep this block LAST in the file: equal specificity, so it wins by order
|
|
2220
2220
|
over every component's own gap. */
|
|
2221
2221
|
@layer brignano.components {
|
|
2222
|
-
.gap-2 { gap: var(--
|
|
2223
|
-
.gap-3 { gap: var(--
|
|
2224
|
-
.gap-4 { gap: var(--
|
|
2225
|
-
.gap-5 { gap: var(--
|
|
2226
|
-
.gap-6 { gap: var(--
|
|
2222
|
+
.gap-2 { gap: var(--space-2); }
|
|
2223
|
+
.gap-3 { gap: var(--space-3); }
|
|
2224
|
+
.gap-4 { gap: var(--space-4); }
|
|
2225
|
+
.gap-5 { gap: var(--space-5); }
|
|
2226
|
+
.gap-6 { gap: var(--space-6); }
|
|
2227
2227
|
}
|
|
2228
2228
|
|
|
2229
2229
|
/* ── Voice (ADR-0014) ───────────────────────────────────────────────────────
|