@usableapp/cardds 0.7.127 → 0.7.129
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/CHANGELOG.md +27 -0
- package/css/base.css +14 -0
- package/css/finish.css +15 -15
- package/css/parts.css +18 -0
- package/dist/cardds.css +47 -15
- package/dist/catalog.json +1 -1
- package/dist/parts/Foot.d.ts +8 -2
- package/dist/parts/Foot.js +4 -3
- package/docs/reference.md +13 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
> For: a project that consumes `@usableapp/cardds` and its AI — what changed between versions, written as before → after, so a screen can be brought up to date without reading the source. Newest first. A consumer never edits cardds; if something here leaves you without a way to do what you did before, report the gap. Each release section after 0.7.97 carries one `Components:` line, written by `node scripts/components-changed.mjs <previous tag>`: the components the release changed, or `all` when a file changed that any component can read (a token, the build), or `none`; check only the screens that import those.
|
|
4
4
|
|
|
5
|
+
## 0.7.129 — 2026-10-25
|
|
6
|
+
|
|
7
|
+
A fill `Screen` draws a solid strip over `--safe-top`, so iOS 26's glass blur never hides a sheet's grab handle.
|
|
8
|
+
|
|
9
|
+
Components: Screen
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **The safe-top strip.** On iOS 26, a home-screen web app gets a Liquid Glass blur over the top of the screen, and that blur hid a sheet's grab handle. WebKit turns the blur off where an opaque fixed box stands at the top. A fill `Screen` now draws one, `.screen--fill::before`.
|
|
13
|
+
- Fixed, full width, as tall as `--safe-top`. That height already includes the keyboard pan.
|
|
14
|
+
- Painted in the screen's own ground, the same as the AppBar. Knob `--safe-top-bg`, default `--surface`.
|
|
15
|
+
- It sits under the AppBar and the layovers. Where `--safe-top` is 0 (Android, Safari in a tab) it is 0 tall.
|
|
16
|
+
- Nothing to add in the app. The fill `Screen` must not have an ancestor with a `transform` or `filter`, or the strip does not stay at the top of the screen.
|
|
17
|
+
- Story `Screen · SafeTop`.
|
|
18
|
+
|
|
19
|
+
## 0.7.128 — 2026-10-25
|
|
20
|
+
|
|
21
|
+
`Foot split`: a card foot split in half, now the own-item standard. Under `lit`, sheet shadows are very subtle.
|
|
22
|
+
|
|
23
|
+
Components: Foot, Btn, Sheet, SheetStack
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- **`Foot split`**: two `Btn`s that ARE the card's foot, each half its width, edge to edge and flush with the card's bottom edge. The card's corners round them, and a `--rule-w` rule runs between them and over them. On a `paper="bands"` foot band there is no rule over them; the band's fill is the edge. No pill: no fill, no edge, no radius, and every finish leaves them flat. Knob `--foot-split-rule-ink`. Story `Foot · Split` (new).
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- **The member's own item: the foot is split in half** (replaces 0.7.127's two pills in a row): `<Foot split><Btn><Icon name="pencil" size="xs" /> Edit</Btn><Btn warn><Icon name="x" size="xs" /> Cancel request</Btn></Foot>`. Story `Btn · OwnItemFoot`; `docs/reference.md`.
|
|
30
|
+
- **Under `data-finish="lit"`, a sheet's shadow is very subtle** (`--shadow-sheet`): the sheets of a stack, the top one, and a lone `Sheet`. The layers are now 4% and 6%; they were 6% and 18%. The shadow still falls up the screen.
|
|
31
|
+
|
|
5
32
|
## 0.7.127 — 2026-10-25
|
|
6
33
|
|
|
7
34
|
`Btn warn`: a pill in the warning ink. The member's own item gets a standard foot: Edit left, cancel right.
|
package/css/base.css
CHANGED
|
@@ -130,6 +130,20 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
130
130
|
position: relative; /* the box a .card--centre or a .screen__centre floats in (card.css) */
|
|
131
131
|
container-type: size; /* a share of the SCREEN's height (a no-bar step's lead, step.css) reads it as cqh — a real phone's height, or the gallery's frame */
|
|
132
132
|
}
|
|
133
|
+
/* the safe-top strip: a solid band over the room the fill screen keeps free at its top (--safe-top, the keyboard's pan included).
|
|
134
|
+
iOS 26 lays a Liquid Glass blur over the top of a home-screen web app, and that blur hid a sheet's grab handle; WebKit leaves it
|
|
135
|
+
off where an opaque fixed box at least 90% of the viewport wide and over 10px tall stands at the top centre. The screen's own
|
|
136
|
+
ground (the AppBar's too), so it never reads as a second layer; 0 tall where --safe-top is 0 (Android, Safari in a tab). Fixed,
|
|
137
|
+
so it must have no transformed or filtered ancestor; z: with the AppBar (which comes later and paints over it), under the layovers */
|
|
138
|
+
.screen--fill::before {
|
|
139
|
+
content: "";
|
|
140
|
+
position: fixed;
|
|
141
|
+
inset: 0 0 auto;
|
|
142
|
+
block-size: var(--safe-top);
|
|
143
|
+
background: var(--safe-top-bg, var(--surface));
|
|
144
|
+
z-index: var(--z-top);
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
}
|
|
133
147
|
|
|
134
148
|
/* ---- typography levels ---- */
|
|
135
149
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|
package/css/finish.css
CHANGED
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
|
|
46
46
|
0 0.5rem 1.25rem -0.25rem color-mix(in srgb, var(--_shade) 22%, transparent);
|
|
47
47
|
--shadow-sheet: var(--finish-edge), var(--finish-ring),
|
|
48
|
-
0 -0.0625rem 0.
|
|
49
|
-
0 -0.
|
|
48
|
+
0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
|
|
49
|
+
0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
|
|
50
50
|
|
|
51
51
|
/* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
|
|
52
52
|
--finish-control: var(--finish-edge), var(--finish-ring);
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
[data-finish="lit"] .sheet-stack > .card,
|
|
67
67
|
[data-finish="lit"] .sheet-stack > :not(.card, .sheet-stack__base) > .card { box-shadow: var(--shadow-sheet); }
|
|
68
68
|
|
|
69
|
-
/* ---- controls: a filled button stands up, and goes down under the finger ---- */
|
|
70
|
-
[data-finish="lit"] .btn:not(.btn--quiet),
|
|
69
|
+
/* ---- controls: a filled button stands up, and goes down under the finger. The halves of a split foot (.foot--split > *) stay flat in every finish: the card carries it ---- */
|
|
70
|
+
[data-finish="lit"] .btn:not(.btn--quiet, .foot--split > *),
|
|
71
71
|
[data-finish="lit"] .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert)) {
|
|
72
72
|
background-image: var(--finish-sheen);
|
|
73
73
|
box-shadow: var(--finish-control);
|
|
74
74
|
}
|
|
75
75
|
/* the main button: its lit edge only, no ring and no shadow behind it */
|
|
76
|
-
[data-finish="lit"] .btn--primary,
|
|
76
|
+
[data-finish="lit"] .btn--primary:not(.foot--split > *),
|
|
77
77
|
[data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
|
|
78
78
|
box-shadow: var(--finish-edge);
|
|
79
79
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
background-image: none;
|
|
83
83
|
box-shadow: none;
|
|
84
84
|
}
|
|
85
|
-
[data-finish="lit"] :is(.btn:not(.btn--quiet), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
|
|
85
|
+
[data-finish="lit"] :is(.btn:not(.btn--quiet, .foot--split > *), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
|
|
86
86
|
background-image: none;
|
|
87
87
|
box-shadow: var(--finish-control-down);
|
|
88
88
|
}
|
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
padding-bottom: var(--sp-2);
|
|
122
122
|
border-bottom: var(--rule-w) dotted color-mix(in srgb, currentColor 45%, transparent);
|
|
123
123
|
}
|
|
124
|
-
[data-finish="print"] :is(.btn, .chip) {
|
|
124
|
+
[data-finish="print"] :is(.btn:not(.foot--split > *), .chip) {
|
|
125
125
|
border-color: var(--_ink);
|
|
126
126
|
box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, currentColor 35%, transparent);
|
|
127
127
|
}
|
|
128
128
|
[data-finish="print"] .chip { border-color: var(--chip-border, var(--_ink)); } /* a holder that clears a chip's edge (a note's chips) clears it in print too */
|
|
129
|
-
[data-finish="print"] .btn--primary { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
|
|
130
|
-
[data-finish="print"] :is(.btn, .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
|
|
129
|
+
[data-finish="print"] .btn--primary:not(.foot--split > *) { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
|
|
130
|
+
[data-finish="print"] :is(.btn:not(.foot--split > *), .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
|
|
131
131
|
[data-finish="print"] .card--row > .lead { border-style: dashed; }
|
|
132
132
|
|
|
133
133
|
/* ============================================================
|
|
@@ -146,12 +146,12 @@
|
|
|
146
146
|
[data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *) { rotate: var(--sticker-tilt, 0.8deg); }
|
|
147
147
|
[data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *):nth-of-type(even) { rotate: calc(-1 * var(--sticker-tilt, 0.8deg)); }
|
|
148
148
|
[data-finish="sticker"] .card-list { gap: var(--sp-5); }
|
|
149
|
-
[data-finish="sticker"] .btn {
|
|
149
|
+
[data-finish="sticker"] .btn:not(.foot--split > *) {
|
|
150
150
|
box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, currentColor 30%, transparent);
|
|
151
151
|
border-color: color-mix(in srgb, currentColor 25%, transparent);
|
|
152
152
|
}
|
|
153
|
-
[data-finish="sticker"] .btn--primary { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
|
|
154
|
-
[data-finish="sticker"] .btn:active { box-shadow: none; translate: 0 0.1875rem; }
|
|
153
|
+
[data-finish="sticker"] .btn--primary:not(.foot--split > *) { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
|
|
154
|
+
[data-finish="sticker"] .btn:not(.foot--split > *):active { box-shadow: none; translate: 0 0.1875rem; }
|
|
155
155
|
[data-finish="sticker"] .chip { box-shadow: 0 0 0 0.1875rem #fff; }
|
|
156
156
|
|
|
157
157
|
/* ============================================================
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
============================================================ */
|
|
161
161
|
[data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
|
|
162
162
|
[data-finish="ink"] .card { border: var(--ink-w, 0.15625rem) solid var(--on-surface); box-shadow: var(--ink-off, 0.3125rem) var(--ink-off, 0.3125rem) 0 0 var(--on-surface); }
|
|
163
|
-
[data-finish="ink"] :is(.btn, .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
|
|
164
|
-
[data-finish="ink"] .btn--warn { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
|
|
165
|
-
[data-finish="ink"] .btn--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
|
|
163
|
+
[data-finish="ink"] :is(.btn:not(.foot--split > *), .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
|
|
164
|
+
[data-finish="ink"] .btn--warn:not(.foot--split > *) { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
|
|
165
|
+
[data-finish="ink"] .btn--primary:not(.foot--split > *) { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
|
|
166
166
|
[data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
|
|
167
167
|
[data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }
|
package/css/parts.css
CHANGED
|
@@ -403,6 +403,24 @@
|
|
|
403
403
|
.foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
|
|
404
404
|
/* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
|
|
405
405
|
.foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
406
|
+
/* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
|
|
407
|
+
the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
|
|
408
|
+
keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
|
|
409
|
+
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish */
|
|
410
|
+
.foot.foot--split {
|
|
411
|
+
gap: 0;
|
|
412
|
+
align-items: stretch;
|
|
413
|
+
margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
|
|
414
|
+
padding: 0;
|
|
415
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
416
|
+
overflow: hidden;
|
|
417
|
+
border-end-start-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
418
|
+
border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
419
|
+
}
|
|
420
|
+
:is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
|
|
421
|
+
.foot--split > .btn { --btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
|
|
422
|
+
.foot--split > .btn--warn { --dark: inherit; }
|
|
423
|
+
.foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
406
424
|
/* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
|
|
407
425
|
rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
|
|
408
426
|
stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
|
package/dist/cardds.css
CHANGED
|
@@ -701,6 +701,20 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
701
701
|
position: relative; /* the box a .card--centre or a .screen__centre floats in (card.css) */
|
|
702
702
|
container-type: size; /* a share of the SCREEN's height (a no-bar step's lead, step.css) reads it as cqh — a real phone's height, or the gallery's frame */
|
|
703
703
|
}
|
|
704
|
+
/* the safe-top strip: a solid band over the room the fill screen keeps free at its top (--safe-top, the keyboard's pan included).
|
|
705
|
+
iOS 26 lays a Liquid Glass blur over the top of a home-screen web app, and that blur hid a sheet's grab handle; WebKit leaves it
|
|
706
|
+
off where an opaque fixed box at least 90% of the viewport wide and over 10px tall stands at the top centre. The screen's own
|
|
707
|
+
ground (the AppBar's too), so it never reads as a second layer; 0 tall where --safe-top is 0 (Android, Safari in a tab). Fixed,
|
|
708
|
+
so it must have no transformed or filtered ancestor; z: with the AppBar (which comes later and paints over it), under the layovers */
|
|
709
|
+
.screen--fill::before {
|
|
710
|
+
content: "";
|
|
711
|
+
position: fixed;
|
|
712
|
+
inset: 0 0 auto;
|
|
713
|
+
block-size: var(--safe-top);
|
|
714
|
+
background: var(--safe-top-bg, var(--surface));
|
|
715
|
+
z-index: var(--z-top);
|
|
716
|
+
pointer-events: none;
|
|
717
|
+
}
|
|
704
718
|
|
|
705
719
|
/* ---- typography levels ---- */
|
|
706
720
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|
|
@@ -4598,6 +4612,24 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4598
4612
|
.foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
|
|
4599
4613
|
/* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
|
|
4600
4614
|
.foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
4615
|
+
/* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
|
|
4616
|
+
the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
|
|
4617
|
+
keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
|
|
4618
|
+
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish */
|
|
4619
|
+
.foot.foot--split {
|
|
4620
|
+
gap: 0;
|
|
4621
|
+
align-items: stretch;
|
|
4622
|
+
margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
|
|
4623
|
+
padding: 0;
|
|
4624
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
4625
|
+
overflow: hidden;
|
|
4626
|
+
border-end-start-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
4627
|
+
border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
4628
|
+
}
|
|
4629
|
+
:is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
|
|
4630
|
+
.foot--split > .btn { --btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
|
|
4631
|
+
.foot--split > .btn--warn { --dark: inherit; }
|
|
4632
|
+
.foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
4601
4633
|
/* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
|
|
4602
4634
|
rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
|
|
4603
4635
|
stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
|
|
@@ -6364,8 +6396,8 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6364
6396
|
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
|
|
6365
6397
|
0 0.5rem 1.25rem -0.25rem color-mix(in srgb, var(--_shade) 22%, transparent);
|
|
6366
6398
|
--shadow-sheet: var(--finish-edge), var(--finish-ring),
|
|
6367
|
-
0 -0.0625rem 0.
|
|
6368
|
-
0 -0.
|
|
6399
|
+
0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
|
|
6400
|
+
0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
|
|
6369
6401
|
|
|
6370
6402
|
/* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
|
|
6371
6403
|
--finish-control: var(--finish-edge), var(--finish-ring);
|
|
@@ -6385,14 +6417,14 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6385
6417
|
[data-finish="lit"] .sheet-stack > .card,
|
|
6386
6418
|
[data-finish="lit"] .sheet-stack > :not(.card, .sheet-stack__base) > .card { box-shadow: var(--shadow-sheet); }
|
|
6387
6419
|
|
|
6388
|
-
/* ---- controls: a filled button stands up, and goes down under the finger ---- */
|
|
6389
|
-
[data-finish="lit"] .btn:not(.btn--quiet),
|
|
6420
|
+
/* ---- controls: a filled button stands up, and goes down under the finger. The halves of a split foot (.foot--split > *) stay flat in every finish: the card carries it ---- */
|
|
6421
|
+
[data-finish="lit"] .btn:not(.btn--quiet, .foot--split > *),
|
|
6390
6422
|
[data-finish="lit"] .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert)) {
|
|
6391
6423
|
background-image: var(--finish-sheen);
|
|
6392
6424
|
box-shadow: var(--finish-control);
|
|
6393
6425
|
}
|
|
6394
6426
|
/* the main button: its lit edge only, no ring and no shadow behind it */
|
|
6395
|
-
[data-finish="lit"] .btn--primary,
|
|
6427
|
+
[data-finish="lit"] .btn--primary:not(.foot--split > *),
|
|
6396
6428
|
[data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
|
|
6397
6429
|
box-shadow: var(--finish-edge);
|
|
6398
6430
|
}
|
|
@@ -6401,7 +6433,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6401
6433
|
background-image: none;
|
|
6402
6434
|
box-shadow: none;
|
|
6403
6435
|
}
|
|
6404
|
-
[data-finish="lit"] :is(.btn:not(.btn--quiet), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
|
|
6436
|
+
[data-finish="lit"] :is(.btn:not(.btn--quiet, .foot--split > *), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
|
|
6405
6437
|
background-image: none;
|
|
6406
6438
|
box-shadow: var(--finish-control-down);
|
|
6407
6439
|
}
|
|
@@ -6440,13 +6472,13 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6440
6472
|
padding-bottom: var(--sp-2);
|
|
6441
6473
|
border-bottom: var(--rule-w) dotted color-mix(in srgb, currentColor 45%, transparent);
|
|
6442
6474
|
}
|
|
6443
|
-
[data-finish="print"] :is(.btn, .chip) {
|
|
6475
|
+
[data-finish="print"] :is(.btn:not(.foot--split > *), .chip) {
|
|
6444
6476
|
border-color: var(--_ink);
|
|
6445
6477
|
box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, currentColor 35%, transparent);
|
|
6446
6478
|
}
|
|
6447
6479
|
[data-finish="print"] .chip { border-color: var(--chip-border, var(--_ink)); } /* a holder that clears a chip's edge (a note's chips) clears it in print too */
|
|
6448
|
-
[data-finish="print"] .btn--primary { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
|
|
6449
|
-
[data-finish="print"] :is(.btn, .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
|
|
6480
|
+
[data-finish="print"] .btn--primary:not(.foot--split > *) { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
|
|
6481
|
+
[data-finish="print"] :is(.btn:not(.foot--split > *), .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
|
|
6450
6482
|
[data-finish="print"] .card--row > .lead { border-style: dashed; }
|
|
6451
6483
|
|
|
6452
6484
|
/* ============================================================
|
|
@@ -6465,12 +6497,12 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6465
6497
|
[data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *) { rotate: var(--sticker-tilt, 0.8deg); }
|
|
6466
6498
|
[data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *):nth-of-type(even) { rotate: calc(-1 * var(--sticker-tilt, 0.8deg)); }
|
|
6467
6499
|
[data-finish="sticker"] .card-list { gap: var(--sp-5); }
|
|
6468
|
-
[data-finish="sticker"] .btn {
|
|
6500
|
+
[data-finish="sticker"] .btn:not(.foot--split > *) {
|
|
6469
6501
|
box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, currentColor 30%, transparent);
|
|
6470
6502
|
border-color: color-mix(in srgb, currentColor 25%, transparent);
|
|
6471
6503
|
}
|
|
6472
|
-
[data-finish="sticker"] .btn--primary { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
|
|
6473
|
-
[data-finish="sticker"] .btn:active { box-shadow: none; translate: 0 0.1875rem; }
|
|
6504
|
+
[data-finish="sticker"] .btn--primary:not(.foot--split > *) { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
|
|
6505
|
+
[data-finish="sticker"] .btn:not(.foot--split > *):active { box-shadow: none; translate: 0 0.1875rem; }
|
|
6474
6506
|
[data-finish="sticker"] .chip { box-shadow: 0 0 0 0.1875rem #fff; }
|
|
6475
6507
|
|
|
6476
6508
|
/* ============================================================
|
|
@@ -6479,9 +6511,9 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6479
6511
|
============================================================ */
|
|
6480
6512
|
[data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
|
|
6481
6513
|
[data-finish="ink"] .card { border: var(--ink-w, 0.15625rem) solid var(--on-surface); box-shadow: var(--ink-off, 0.3125rem) var(--ink-off, 0.3125rem) 0 0 var(--on-surface); }
|
|
6482
|
-
[data-finish="ink"] :is(.btn, .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
|
|
6483
|
-
[data-finish="ink"] .btn--warn { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
|
|
6484
|
-
[data-finish="ink"] .btn--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
|
|
6514
|
+
[data-finish="ink"] :is(.btn:not(.foot--split > *), .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
|
|
6515
|
+
[data-finish="ink"] .btn--warn:not(.foot--split > *) { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
|
|
6516
|
+
[data-finish="ink"] .btn--primary:not(.foot--split > *) { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
|
|
6485
6517
|
[data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
|
|
6486
6518
|
[data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }
|
|
6487
6519
|
|