@usableapp/cardds 0.7.124 → 0.7.126
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 +23 -0
- package/css/actions.css +5 -3
- package/css/base.css +3 -2
- package/css/finish.css +5 -9
- package/css/parts.css +3 -0
- package/css/stamp.css +4 -4
- package/dist/cardds.css +20 -18
- package/dist/catalog.json +1 -1
- package/docs/reference.md +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
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.126 — 2026-10-25
|
|
6
|
+
|
|
7
|
+
A long `Text expand` keeps its ink when pressed, a banded card's head holds an `under` stamp beside it, and under `lit` a button has no shadow behind it.
|
|
8
|
+
|
|
9
|
+
Components: Text, Card, Btn, IconBtn
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **A `Text expand` that does not fit no longer dims under the finger.** It is words: it opens or folds on a tap, and its ink never changes. Pointer stays.
|
|
13
|
+
- **A `paper="bands"` card with `StampOn under` beside its head (a card's child, not in the head) gets a head band at least as tall as the stamp plus `--card-pad` above and below.** A short title no longer leaves the stamp hanging past the band. A long title still runs over the stamp and grows the band. Story `Card/StampOnUnderBandsTitle` (new).
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **Under `data-finish="lit"`, a button has no shadow behind it.** `Btn` and `IconBtn` keep the lit top edge, the ring and the sheen; the primary one keeps its lit edge only. Pressed still goes down. Cards and sheets keep their shadow.
|
|
17
|
+
|
|
18
|
+
## 0.7.125 — 2026-10-25
|
|
19
|
+
|
|
20
|
+
A caption over an h1 that wraps starts where a one-line one does, and every stamp in a card head is glued down.
|
|
21
|
+
|
|
22
|
+
Components: Text, Words, Stamp
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- **A caption over an h1 that wraps to 2 lines starts where a 1-line caption does** (it started about 9px higher since 0.7.119); its next line goes down, and the h1 with it. Gallery `Text · HeadingWraps`.
|
|
26
|
+
- **Every stamp in a card head is glued down** (a hair of shadow under paper, `--shadow-glued`): plain, `under` and `sm`, not only `under`. `bare` and `xs` stay flat. Knob `--stamp-under-drop`.
|
|
27
|
+
|
|
5
28
|
## 0.7.124 — 2026-10-25
|
|
6
29
|
|
|
7
30
|
A stamp in a card's head band keeps the head's padding under it.
|
package/css/actions.css
CHANGED
|
@@ -429,7 +429,8 @@
|
|
|
429
429
|
.card--go (Lh 2026-10-09) = a card pressed whole: `Card` renders it while its ONE control is its foot's button or a row card's end
|
|
430
430
|
button (src/cards/cardGo.ts). It is in the DIM pointer and :active lists only — the focus ring and the disabled look stay the
|
|
431
431
|
button's, the card itself is never focused or disabled.
|
|
432
|
-
.t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds, so it
|
|
432
|
+
.t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds. It is WORDS, so it neither
|
|
433
|
+
dims nor gives: its ink never changes under the finger (Lh 2026-10-25), the opening is the answer. Pointer only (below). */
|
|
433
434
|
:where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
|
|
434
435
|
.float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
|
|
435
436
|
a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick, .count-in__cancel) {
|
|
@@ -437,11 +438,12 @@
|
|
|
437
438
|
touch-action: manipulation;
|
|
438
439
|
transition: scale var(--motion-press) var(--ease-out);
|
|
439
440
|
}
|
|
440
|
-
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge
|
|
441
|
+
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge) {
|
|
441
442
|
cursor: pointer;
|
|
442
443
|
touch-action: manipulation;
|
|
443
444
|
transition: opacity var(--motion-press) var(--ease-out);
|
|
444
445
|
}
|
|
446
|
+
:where(.t-expand--more) { cursor: pointer; touch-action: manipulation; }
|
|
445
447
|
/* a CHOICE's fill fades in as it is picked (a plain button's colour never changes on a tap, so it does not fade) */
|
|
446
448
|
:where(.chip--pick, button.chip, .tile--pick, button.tile, .day, .segment__item, .calendar__day, .float-bar__item, .picker__item, .check,
|
|
447
449
|
.icon-btn[role="tab"], .avatar-pick__item > .avatar, .map-pick > .map-pick__mark, .map-pick > .map-pick__name) {
|
|
@@ -452,7 +454,7 @@
|
|
|
452
454
|
:where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
|
|
453
455
|
.float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
|
|
454
456
|
a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick):active:not(:disabled, [aria-disabled="true"], :has(:disabled)) { scale: var(--press-scale); }
|
|
455
|
-
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge
|
|
457
|
+
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
|
|
456
458
|
/* SHADE — what has something BEHIND it (a peeked sheet over the pile, a postcard's face over its back, a post letter's sheet over the other) must not turn see-through:
|
|
457
459
|
it darkens a touch instead (--press-shade) */
|
|
458
460
|
:where(.sheet-stack--tap > .card:not(.is-open), .postcard__turn, .post-letter__sheet:not(:has(.icon-btn:active))) { cursor: pointer; touch-action: manipulation; transition: filter var(--motion-press) var(--ease-out); }
|
package/css/base.css
CHANGED
|
@@ -145,8 +145,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
145
145
|
.t-label { font: var(--type-label); }
|
|
146
146
|
.t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
|
|
147
147
|
.t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
|
|
148
|
-
.t-caption:has(+ .t-h1) { display: inline-
|
|
149
|
-
|
|
148
|
+
.t-caption:has(+ .t-h1) { display: inline-flex; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px).
|
|
149
|
+
As a box it keeps its own leading inside; an inline-flex stands on that line by its FIRST line (an inline-block's would be its last), so a caption
|
|
150
|
+
that wraps starts where a one-line one does and its next line goes down, the h1 with it (Lh 2026-10-25) */
|
|
150
151
|
.t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
|
|
151
152
|
.t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
|
|
152
153
|
.t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
|
package/css/finish.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
FINISHES — four values of the one attribute (Lh 2026-10-12, from the timebank home with each injected:
|
|
8
8
|
four finishes, variations of one concept, never new pieces; teeth · tape · ticket · slab were rejected):
|
|
9
|
-
lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons
|
|
9
|
+
lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons have a lit edge and no shadow behind them, and go down under the finger; fields and pin cells are sunk.
|
|
10
10
|
print = printed paper: an ink line in the card's own ink, a hard misregistered offset instead of a blurred shadow, paper grain over the card, a dotted rule under the head as on a printed form; information inside stays flat.
|
|
11
11
|
sticker = a die-cut sticker: a white cut line round the card, a short hard drop, a slight tilt on a lone card, buttons with a bottom edge that press down.
|
|
12
12
|
ink = a poster / comic print: a thick line in the surface's ink round every boundary and control, a hard offset in the same ink.
|
|
@@ -48,10 +48,8 @@
|
|
|
48
48
|
0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
|
|
49
49
|
0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
|
|
50
50
|
|
|
51
|
-
/* a control: its
|
|
52
|
-
--finish-control: var(--finish-edge), var(--finish-ring)
|
|
53
|
-
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
|
|
54
|
-
0 0.25rem 0.5rem -0.125rem color-mix(in srgb, var(--_shade) 12%, transparent);
|
|
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
|
+
--finish-control: var(--finish-edge), var(--finish-ring);
|
|
55
53
|
--finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
|
|
56
54
|
--finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
|
|
57
55
|
--finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
|
|
@@ -74,12 +72,10 @@
|
|
|
74
72
|
background-image: var(--finish-sheen);
|
|
75
73
|
box-shadow: var(--finish-control);
|
|
76
74
|
}
|
|
77
|
-
/* the main button
|
|
75
|
+
/* the main button: its lit edge only, no ring and no shadow behind it */
|
|
78
76
|
[data-finish="lit"] .btn--primary,
|
|
79
77
|
[data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
|
|
80
|
-
box-shadow: var(--finish-edge)
|
|
81
|
-
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 20%, transparent),
|
|
82
|
-
0 0.5rem 1rem -0.25rem color-mix(in srgb, var(--accent) 45%, transparent);
|
|
78
|
+
box-shadow: var(--finish-edge);
|
|
83
79
|
}
|
|
84
80
|
/* a peeked stack tab is the icon alone: no sheen and no shadow until its sheet is open (the fill fades with the sheet) */
|
|
85
81
|
[data-finish="lit"] .sheet-stack--tap > .card:not(.is-open) > .head .stack-sheet__tab {
|
package/css/parts.css
CHANGED
|
@@ -174,6 +174,9 @@
|
|
|
174
174
|
onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
|
|
175
175
|
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }
|
|
176
176
|
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head::before { content: ""; position: absolute; inset: 0; z-index: var(--z-under-2); background: var(--card-bg); }
|
|
177
|
+
/* the under stamp is absolute at --card-pad from the card's top, so it takes no room in the head: the band is held at least as tall as the stamp
|
|
178
|
+
(--stamp-size wide, 4 : 5) plus --card-pad above and below it, so a short title never leaves the stamp hanging past the band. Words taller grow it as before */
|
|
179
|
+
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { min-block-size: calc(var(--card-pad) * 2 + var(--stamp-size, calc(var(--tap) * 2)) * 5 / 4); }
|
|
177
180
|
|
|
178
181
|
/* in a sheet stack */
|
|
179
182
|
/* stack headers: uniform — [back?] title left, icons right, one height,
|
package/css/stamp.css
CHANGED
|
@@ -291,13 +291,13 @@
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
/* ---- where it sits in what card.css draws (docs/reference.md rule 15) ---- */
|
|
294
|
-
/* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) —
|
|
294
|
+
/* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — a feed card's lead, a foot row's, xs.
|
|
295
295
|
A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
|
|
296
296
|
does a stamp in an album's cell wherever the album lies */
|
|
297
297
|
.card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
|
|
298
|
-
/* ONE exception (Lh 2026-10-25): the head
|
|
299
|
-
A bare or xs stamp stays flat. Knob: --stamp-under-drop */
|
|
300
|
-
.card:not(.sheet) .head > .stamp
|
|
298
|
+
/* ONE exception (Lh 2026-10-25): a stamp in the head is glued down — plain, `under` or `sm`, a hair of shadow at its teeth, flat paper, never a lifted sticker.
|
|
299
|
+
A bare or xs stamp stays flat. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
|
|
300
|
+
.card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
|
|
301
301
|
.head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
|
|
302
302
|
.head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
|
|
303
303
|
/* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
|
package/dist/cardds.css
CHANGED
|
@@ -716,8 +716,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
716
716
|
.t-label { font: var(--type-label); }
|
|
717
717
|
.t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
|
|
718
718
|
.t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
|
|
719
|
-
.t-caption:has(+ .t-h1) { display: inline-
|
|
720
|
-
|
|
719
|
+
.t-caption:has(+ .t-h1) { display: inline-flex; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px).
|
|
720
|
+
As a box it keeps its own leading inside; an inline-flex stands on that line by its FIRST line (an inline-block's would be its last), so a caption
|
|
721
|
+
that wraps starts where a one-line one does and its next line goes down, the h1 with it (Lh 2026-10-25) */
|
|
721
722
|
.t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
|
|
722
723
|
.t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
|
|
723
724
|
.t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
|
|
@@ -3108,7 +3109,8 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
3108
3109
|
.card--go (Lh 2026-10-09) = a card pressed whole: `Card` renders it while its ONE control is its foot's button or a row card's end
|
|
3109
3110
|
button (src/cards/cardGo.ts). It is in the DIM pointer and :active lists only — the focus ring and the disabled look stay the
|
|
3110
3111
|
button's, the card itself is never focused or disabled.
|
|
3111
|
-
.t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds, so it
|
|
3112
|
+
.t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds. It is WORDS, so it neither
|
|
3113
|
+
dims nor gives: its ink never changes under the finger (Lh 2026-10-25), the opening is the answer. Pointer only (below). */
|
|
3112
3114
|
:where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
|
|
3113
3115
|
.float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
|
|
3114
3116
|
a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick, .count-in__cancel) {
|
|
@@ -3116,11 +3118,12 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
3116
3118
|
touch-action: manipulation;
|
|
3117
3119
|
transition: scale var(--motion-press) var(--ease-out);
|
|
3118
3120
|
}
|
|
3119
|
-
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge
|
|
3121
|
+
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge) {
|
|
3120
3122
|
cursor: pointer;
|
|
3121
3123
|
touch-action: manipulation;
|
|
3122
3124
|
transition: opacity var(--motion-press) var(--ease-out);
|
|
3123
3125
|
}
|
|
3126
|
+
:where(.t-expand--more) { cursor: pointer; touch-action: manipulation; }
|
|
3124
3127
|
/* a CHOICE's fill fades in as it is picked (a plain button's colour never changes on a tap, so it does not fade) */
|
|
3125
3128
|
:where(.chip--pick, button.chip, .tile--pick, button.tile, .day, .segment__item, .calendar__day, .float-bar__item, .picker__item, .check,
|
|
3126
3129
|
.icon-btn[role="tab"], .avatar-pick__item > .avatar, .map-pick > .map-pick__mark, .map-pick > .map-pick__name) {
|
|
@@ -3131,7 +3134,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
3131
3134
|
:where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
|
|
3132
3135
|
.float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
|
|
3133
3136
|
a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick):active:not(:disabled, [aria-disabled="true"], :has(:disabled)) { scale: var(--press-scale); }
|
|
3134
|
-
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge
|
|
3137
|
+
:where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
|
|
3135
3138
|
/* SHADE — what has something BEHIND it (a peeked sheet over the pile, a postcard's face over its back, a post letter's sheet over the other) must not turn see-through:
|
|
3136
3139
|
it darkens a touch instead (--press-shade) */
|
|
3137
3140
|
:where(.sheet-stack--tap > .card:not(.is-open), .postcard__turn, .post-letter__sheet:not(:has(.icon-btn:active))) { cursor: pointer; touch-action: manipulation; transition: filter var(--motion-press) var(--ease-out); }
|
|
@@ -4365,6 +4368,9 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4365
4368
|
onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
|
|
4366
4369
|
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }
|
|
4367
4370
|
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head::before { content: ""; position: absolute; inset: 0; z-index: var(--z-under-2); background: var(--card-bg); }
|
|
4371
|
+
/* the under stamp is absolute at --card-pad from the card's top, so it takes no room in the head: the band is held at least as tall as the stamp
|
|
4372
|
+
(--stamp-size wide, 4 : 5) plus --card-pad above and below it, so a short title never leaves the stamp hanging past the band. Words taller grow it as before */
|
|
4373
|
+
:is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { min-block-size: calc(var(--card-pad) * 2 + var(--stamp-size, calc(var(--tap) * 2)) * 5 / 4); }
|
|
4368
4374
|
|
|
4369
4375
|
/* in a sheet stack */
|
|
4370
4376
|
/* stack headers: uniform — [back?] title left, icons right, one height,
|
|
@@ -5342,13 +5348,13 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
5342
5348
|
}
|
|
5343
5349
|
|
|
5344
5350
|
/* ---- where it sits in what card.css draws (docs/reference.md rule 15) ---- */
|
|
5345
|
-
/* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) —
|
|
5351
|
+
/* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — a feed card's lead, a foot row's, xs.
|
|
5346
5352
|
A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
|
|
5347
5353
|
does a stamp in an album's cell wherever the album lies */
|
|
5348
5354
|
.card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
|
|
5349
|
-
/* ONE exception (Lh 2026-10-25): the head
|
|
5350
|
-
A bare or xs stamp stays flat. Knob: --stamp-under-drop */
|
|
5351
|
-
.card:not(.sheet) .head > .stamp
|
|
5355
|
+
/* ONE exception (Lh 2026-10-25): a stamp in the head is glued down — plain, `under` or `sm`, a hair of shadow at its teeth, flat paper, never a lifted sticker.
|
|
5356
|
+
A bare or xs stamp stays flat. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
|
|
5357
|
+
.card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
|
|
5352
5358
|
.head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
|
|
5353
5359
|
.head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
|
|
5354
5360
|
/* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
|
|
@@ -6318,7 +6324,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6318
6324
|
|
|
6319
6325
|
FINISHES — four values of the one attribute (Lh 2026-10-12, from the timebank home with each injected:
|
|
6320
6326
|
four finishes, variations of one concept, never new pieces; teeth · tape · ticket · slab were rejected):
|
|
6321
|
-
lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons
|
|
6327
|
+
lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons have a lit edge and no shadow behind them, and go down under the finger; fields and pin cells are sunk.
|
|
6322
6328
|
print = printed paper: an ink line in the card's own ink, a hard misregistered offset instead of a blurred shadow, paper grain over the card, a dotted rule under the head as on a printed form; information inside stays flat.
|
|
6323
6329
|
sticker = a die-cut sticker: a white cut line round the card, a short hard drop, a slight tilt on a lone card, buttons with a bottom edge that press down.
|
|
6324
6330
|
ink = a poster / comic print: a thick line in the surface's ink round every boundary and control, a hard offset in the same ink.
|
|
@@ -6360,10 +6366,8 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6360
6366
|
0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
|
|
6361
6367
|
0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
|
|
6362
6368
|
|
|
6363
|
-
/* a control: its
|
|
6364
|
-
--finish-control: var(--finish-edge), var(--finish-ring)
|
|
6365
|
-
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
|
|
6366
|
-
0 0.25rem 0.5rem -0.125rem color-mix(in srgb, var(--_shade) 12%, transparent);
|
|
6369
|
+
/* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
|
|
6370
|
+
--finish-control: var(--finish-edge), var(--finish-ring);
|
|
6367
6371
|
--finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
|
|
6368
6372
|
--finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
|
|
6369
6373
|
--finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
|
|
@@ -6386,12 +6390,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
6386
6390
|
background-image: var(--finish-sheen);
|
|
6387
6391
|
box-shadow: var(--finish-control);
|
|
6388
6392
|
}
|
|
6389
|
-
/* the main button
|
|
6393
|
+
/* the main button: its lit edge only, no ring and no shadow behind it */
|
|
6390
6394
|
[data-finish="lit"] .btn--primary,
|
|
6391
6395
|
[data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
|
|
6392
|
-
box-shadow: var(--finish-edge)
|
|
6393
|
-
0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 20%, transparent),
|
|
6394
|
-
0 0.5rem 1rem -0.25rem color-mix(in srgb, var(--accent) 45%, transparent);
|
|
6396
|
+
box-shadow: var(--finish-edge);
|
|
6395
6397
|
}
|
|
6396
6398
|
/* a peeked stack tab is the icon alone: no sheen and no shadow until its sheet is open (the fill fades with the sheet) */
|
|
6397
6399
|
[data-finish="lit"] .sheet-stack--tap > .card:not(.is-open) > .head .stack-sheet__tab {
|