@usableapp/cardds 0.7.112 → 0.7.115
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 +43 -0
- package/bin/cardds.mjs +19 -1
- package/css/actions.css +33 -1
- package/css/base.css +3 -1
- package/css/layover.css +1 -9
- package/css/parts.css +2 -0
- package/css/sheet.css +36 -0
- package/css/stamp.css +21 -2
- package/css/tokens.css +2 -1
- package/dist/actions/BtnGroup.d.ts +47 -6
- package/dist/actions/BtnGroup.js +55 -5
- package/dist/actions/BtnRow.d.ts +6 -2
- package/dist/actions/BtnRow.js +5 -3
- package/dist/actions/Chip.d.ts +4 -2
- package/dist/actions/Chip.js +3 -3
- package/dist/actions/joined.d.ts +2 -0
- package/dist/actions/joined.js +4 -0
- package/dist/cardds.css +98 -14
- package/dist/catalog.json +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/media/MapPick.d.ts +14 -2
- package/dist/media/MapPick.js +41 -2
- package/dist/parts/Foot.d.ts +4 -1
- package/dist/parts/Foot.js +3 -2
- package/dist/parts/Words.d.ts +2 -2
- package/dist/post/PostDesk.js +38 -4
- package/dist/sheets/Modal.d.ts +1 -5
- package/dist/sheets/Modal.js +2 -7
- package/dist/stamp/Stamp.d.ts +4 -2
- package/dist/stamp/Stamp.js +3 -3
- package/dist/type/Text.d.ts +4 -2
- package/docs/reference.md +53 -3
- package/lib/guide.mjs +9 -8
- package/lint/rules.mjs +1 -1
- package/package.json +1 -1
- package/dist/actions/IconBtnGroup.d.ts +0 -35
- package/dist/actions/IconBtnGroup.js +0 -49
package/dist/cardds.css
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
--r-base: 1.3rem; /* 20.8 radius, 130% of 1rem (Lh 2026-10-05): --r-* (--r-chip stays fully round) */
|
|
69
69
|
--tap-base: 3rem; /* 48 the size of THINGS: touch targets and control heights (--tap*, --btn-h, --chip-h, --bar-h,
|
|
70
70
|
--header-h, --fab), icons, avatars, dots, the ring and the tiles. --sp-base is the room BETWEEN things.
|
|
71
|
-
Text-holders follow the type instead: --badge and --
|
|
71
|
+
Text-holders follow the type instead: --badge, --icon-xs and --stamp-xs (inline with captions) are on --fs-base.
|
|
72
72
|
Not on a base: --screen-w (the column), borders / rules / focus (fixed rem), shadows, motion. */
|
|
73
73
|
|
|
74
74
|
/* ---- spacing (4pt grid): the number in the name is the multiplier ---- */
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
--icon-sm: calc(var(--tap-base) * 7 / 12); /* one size everywhere; retune if small contexts appear */
|
|
109
109
|
--icon-lg: calc(var(--tap-base) * 2 / 3); /* 32 empty states */
|
|
110
110
|
--icon-xs: calc(var(--fs-base) * 0.775); /* 17 inline with captions/chips only (row meta, link arrows) — the caption's size */
|
|
111
|
+
--stamp-xs: calc(var(--fs-base) * 0.85); /* 18.7 × 23.4 the stamp inline with a status line: one Chip xs tall (Lh picked it 2026-10-24) */
|
|
111
112
|
|
|
112
113
|
/* ---- people & big elements ---- */
|
|
113
114
|
--avatar-sm: calc(var(--tap-base) * 5 / 6); /* 40 row lead */
|
|
@@ -707,7 +708,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
707
708
|
.t-h2 { font: var(--type-h2); letter-spacing: var(--track-h2); margin: 0; --fs-self: var(--fs-h2); }
|
|
708
709
|
.t-title { font: var(--type-title); margin: 0; --fs-self: var(--fs-title); }
|
|
709
710
|
.t-body { font: var(--type-body); margin: 0; }
|
|
710
|
-
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
711
|
+
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.5) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
711
712
|
.t-label { font: var(--type-label); }
|
|
712
713
|
.t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
|
|
713
714
|
.t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
|
|
@@ -881,6 +882,8 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
881
882
|
It ends with the bottom layer's room, as a walk's page does: it scrolls only when the layer would cover its words
|
|
882
883
|
(timebank onboard-04, 2026-09-27 — its last Link lay under the bar; Lh: same rule as the walk) */
|
|
883
884
|
.step > .page { margin: var(--_lead, 0) var(--screen-pad) 0; padding-bottom: var(--bottom-h, 0rem); }
|
|
885
|
+
/* a field brought into sight (focus, Tab) stops above the bottom layer, not under it */
|
|
886
|
+
.step > .page, .step > .pages > .page { scroll-padding-bottom: var(--bottom-h, 0rem); }
|
|
884
887
|
/* --bleed: the page's box runs to the screen's edges, the inset is its own padding — what leans, slides or casts a shadow past
|
|
885
888
|
the inset (a postcard) is cut at the glass, not at the inset; a little room on top for a turned corner. Nothing pans sideways. */
|
|
886
889
|
.step > .page--bleed { margin-inline: 0; padding-inline: var(--screen-pad); padding-block-start: var(--sp-2); overflow-x: hidden; }
|
|
@@ -2243,6 +2246,42 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
2243
2246
|
.map-pick:has(:checked) > :is(.map-pick__mark, .map-pick__name) { background: var(--map-pick-on-bg, var(--accent)); color: var(--map-pick-on-ink, var(--on-accent)); }
|
|
2244
2247
|
.map-pick:has(:focus-visible) > .map-pick__mark { outline: var(--focus); outline-offset: var(--sp-0); }
|
|
2245
2248
|
.map-pick:has(:disabled) { opacity: var(--off); cursor: default; }
|
|
2249
|
+
/* TIP (.map-pick--tip): places close together — only the mark stands on the map; its name is heard (as .t-sr) until the mark is
|
|
2250
|
+
pressed, then shows in a bubble OVER the mark (a finger under it never hides it), with a tail to its point. `.is-open` is
|
|
2251
|
+
rendered by MapPick; a press elsewhere or Escape takes it off. The open place lies over its neighbours. No popover: the
|
|
2252
|
+
bubble stays in the map's box, under the sheet's head, and needs no anchor positioning (iOS 16.4). */
|
|
2253
|
+
.map-pick--tip > .map-pick__name { width: var(--px); height: var(--px); margin: calc(-1 * var(--px)); padding: 0; overflow: hidden; clip-path: inset(50%); }
|
|
2254
|
+
.map-pick--tip.is-open { z-index: var(--z-over-3); }
|
|
2255
|
+
.map-pick--tip.is-open > .map-pick__name {
|
|
2256
|
+
--_tip-bg: var(--map-pick-tip-bg, var(--surface));
|
|
2257
|
+
top: auto;
|
|
2258
|
+
bottom: calc(50% + var(--map-pick-size, var(--sp-6)) / 2 + var(--sp-2));
|
|
2259
|
+
translate: calc(-50% + var(--_tip-dx, 0rem)) 0;
|
|
2260
|
+
width: auto;
|
|
2261
|
+
height: auto;
|
|
2262
|
+
margin: 0;
|
|
2263
|
+
padding: var(--sp-1) var(--sp-3);
|
|
2264
|
+
overflow: visible;
|
|
2265
|
+
clip-path: none;
|
|
2266
|
+
border-radius: var(--map-pick-name-radius, var(--r-chip));
|
|
2267
|
+
background: var(--_tip-bg);
|
|
2268
|
+
color: var(--map-pick-tip-ink, var(--on-surface));
|
|
2269
|
+
box-shadow: var(--map-pick-shadow, var(--shadow-float));
|
|
2270
|
+
}
|
|
2271
|
+
.map-pick--tip.is-open > .map-pick__name::after {
|
|
2272
|
+
content: "";
|
|
2273
|
+
position: absolute;
|
|
2274
|
+
top: 100%;
|
|
2275
|
+
left: calc(50% - var(--_tip-dx, 0rem));
|
|
2276
|
+
translate: -50% 0;
|
|
2277
|
+
border: var(--sp-1) solid transparent;
|
|
2278
|
+
border-top-color: var(--_tip-bg);
|
|
2279
|
+
}
|
|
2280
|
+
/* no room over the mark (a place at the map's top edge): the bubble hangs under it, the tail on its top;
|
|
2281
|
+
a place at a side edge: MapPick slides the bubble in by --_tip-dx and the tail stays on the point */
|
|
2282
|
+
.map-pick--tip.is-below > .map-pick__name { bottom: auto; top: calc(50% + var(--map-pick-size, var(--sp-6)) / 2 + var(--sp-2)); }
|
|
2283
|
+
.map-pick--tip.is-below > .map-pick__name::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--_tip-bg); }
|
|
2284
|
+
.map-pick--tip.is-open:has(:checked) > .map-pick__name { --_tip-bg: var(--map-pick-on-bg, var(--accent)); color: var(--map-pick-on-ink, var(--on-accent)); }
|
|
2246
2285
|
|
|
2247
2286
|
/* EVERY sheet has one shape (Lh, 2026-09-21): the handle and the head stay at the top and never scroll · the
|
|
2248
2287
|
foot's button stands at the bottom, and ABOVE the keyboard when there is one · everything between them
|
|
@@ -2790,6 +2829,14 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
2790
2829
|
so a card's foot stays its status line */
|
|
2791
2830
|
.btn-row--round { justify-content: center; align-items: center; gap: var(--btn-row-gap, var(--sp-6)); }
|
|
2792
2831
|
.btn-row > .btn { flex: 1; min-width: 0; }
|
|
2832
|
+
/* joined (BtnRow round joined, Foot round joined — Lh 2026-10-24, was BtnTrio): a dotted link between each two round buttons, a closer gap */
|
|
2833
|
+
.btn-row--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
2834
|
+
.btn-trio__dots {
|
|
2835
|
+
width: var(--btn-trio-dots-w, var(--sp-5));
|
|
2836
|
+
height: var(--btn-trio-dots-h, var(--sp-1));
|
|
2837
|
+
background: radial-gradient(circle, currentColor var(--sp-0), transparent calc(var(--sp-0) + var(--px) / 2)) 0 0 / calc(var(--sp-5) / 2) 100% repeat-x;
|
|
2838
|
+
opacity: var(--fade-soft);
|
|
2839
|
+
}
|
|
2793
2840
|
|
|
2794
2841
|
/* ---- chip: status/attribute tag, optional signal dot ---- */
|
|
2795
2842
|
.chip {
|
|
@@ -2825,6 +2872,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
2825
2872
|
/* --sm: a small LABEL (a name on a note, a tag in a tight head) — low and tight; never a tap target */
|
|
2826
2873
|
/* one height wherever it stands (Lh 2026-10-21): the body's line, so a head that cuts its words with an ellipsis keeps the Thai marks over them, and a foot's or a middle's chip reads the same */
|
|
2827
2874
|
.chip--sm { min-height: 0; gap: var(--chip-sm-gap, var(--sp-1)); padding: var(--chip-sm-pad-y, var(--sp-0)) var(--chip-sm-pad-x, var(--sp-2)); line-height: var(--chip-sm-line, var(--lh-body)); }
|
|
2875
|
+
/* --xs: the smallest label — a count in a card's status row (👥 12), smaller than --sm; the icon follows its words (Lh 2026-10-24); never a tap target */
|
|
2876
|
+
.chip--xs { min-height: 0; gap: var(--chip-xs-gap, var(--sp-0)); padding: var(--chip-xs-pad-y, var(--sp-0)) var(--chip-xs-pad-x, var(--sp-1)); font-size: var(--chip-xs-font-size, var(--fs-2xs)); line-height: var(--chip-xs-line, var(--lh-tight)); }
|
|
2877
|
+
.chip--xs > .icon { width: var(--chip-xs-icon-size, 1em); height: var(--chip-xs-icon-size, 1em); }
|
|
2828
2878
|
/* soft: the accent washed into the chip's ground, no edge — a status to see, quieter than on (was the inbox Ribbon, Lh 2026-10-21) */
|
|
2829
2879
|
.chip--soft { background: var(--chip-soft-bg, var(--accent-wash)); color: var(--chip-soft-ink, var(--card-ink)); border-color: transparent; } /* the wash on the chip's own paper, opaque (--accent-wash): see-through, a dark tone came through under the light side's ink (ink.spec) */
|
|
2830
2880
|
.chip--on { background: var(--chip-on-bg, var(--accent)); --dark: var(--accent-dark); color: var(--chip-on-ink, var(--card-ink)); border-color: transparent; }
|
|
@@ -2885,6 +2935,26 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
2885
2935
|
background: var(--accent);
|
|
2886
2936
|
color: var(--on-accent);
|
|
2887
2937
|
}
|
|
2938
|
+
/* choice (BtnGroup look="choice", Lh 2026-10-24): words that read AS BUTTONS — a strip's items were muted words on no paper, so a
|
|
2939
|
+
pick of เช้า · บ่าย · ทั้งวัน did not look pressable and its picked one was hard to see. ONE frame, as the icon frame
|
|
2940
|
+
(.icon-btn-group): the button's paper and edge, a full tap tall, the words sharing its width with a rule between them; the picked
|
|
2941
|
+
one the solid brand fill with the ink its ground declares (--on-accent, as a primary button). */
|
|
2942
|
+
.segment--choice {
|
|
2943
|
+
gap: 0;
|
|
2944
|
+
min-height: var(--tap);
|
|
2945
|
+
border: var(--border-w) solid var(--btngroup-choice-border, var(--outline));
|
|
2946
|
+
border-radius: var(--btngroup-choice-radius, var(--r-chip));
|
|
2947
|
+
overflow: hidden;
|
|
2948
|
+
background: var(--btngroup-choice-bg, var(--action-bg));
|
|
2949
|
+
color: var(--btngroup-choice-ink, var(--action-ink));
|
|
2950
|
+
}
|
|
2951
|
+
.segment--choice > .segment__item { min-height: var(--tap); padding: var(--sp-2) var(--sp-3); border-radius: 0; color: inherit; font-size: var(--fs-md); }
|
|
2952
|
+
.segment--choice > .segment__item + .segment__item { border-inline-start: var(--border-w) solid var(--btngroup-choice-rule, var(--btngroup-choice-border, var(--outline))); }
|
|
2953
|
+
.segment--choice > .segment__item[aria-selected="true"] {
|
|
2954
|
+
background: var(--btngroup-choice-on-bg, var(--accent));
|
|
2955
|
+
color: var(--btngroup-choice-on-ink, var(--on-accent));
|
|
2956
|
+
}
|
|
2957
|
+
.segment--choice > .segment__item:active:not(:disabled) { scale: 1; opacity: var(--press-dim); } /* a part of one frame DIMS, it never shrinks inside it */
|
|
2888
2958
|
|
|
2889
2959
|
/* ---- bottom CTA pack: the screen's bottom (Screen `bottom`) ----
|
|
2890
2960
|
A bar is always INSIDE its .screen, its last child (0.7.1: the bar fixed to the viewport from outside, and the
|
|
@@ -3151,7 +3221,8 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
3151
3221
|
/* ---- where it sits in what sticky.css draws (docs/reference.md rule 15) ---- */
|
|
3152
3222
|
.sticky__foot > .chip { display: block; flex: none; min-width: 0; max-width: var(--sticky-foot-chip-max-w, 62%); overflow: hidden; text-overflow: ellipsis; text-align: start; }
|
|
3153
3223
|
/* ---- where it sits in what layover.css draws (docs/reference.md rule 15) ---- */
|
|
3154
|
-
.modal__drawer > .btn-row { justify-self: stretch; margin-top: var(--modal-drawer-answers-gap, var(--sp-5)); white-space: nowrap; }
|
|
3224
|
+
.modal__drawer > .btn-row:not(.btn-row--joined) { justify-self: stretch; margin-top: var(--modal-drawer-answers-gap, var(--sp-5)); white-space: nowrap; }
|
|
3225
|
+
.modal__drawer > .btn-row--joined { margin-top: var(--sp-3); } /* the round answers stand as wide as they are, in the middle, close under the words */
|
|
3155
3226
|
|
|
3156
3227
|
/* ---- css/numbers.css — ring, track, band, dot grid, picker, badge, bars ---- */
|
|
3157
3228
|
/* ============================================================
|
|
@@ -4446,6 +4517,8 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4446
4517
|
/* round (Foot round): the foot holds a few round IconBtns, each its own size (they never share the line), as ONE group in the middle with
|
|
4447
4518
|
a gap that does not follow the card's width. The gap is wider than the Btns' (a miss between two round targets): --foot-gap sets it */
|
|
4448
4519
|
.foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
|
|
4520
|
+
/* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
|
|
4521
|
+
.foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
4449
4522
|
|
|
4450
4523
|
/* in a card with paper bands: the foot band (the head's look, above) is slim */
|
|
4451
4524
|
:is(.card--bands, .card--bands > .card__face) > .foot { margin-bottom: calc(-1 * var(--card-pad)); padding-block: var(--sp-3); }
|
|
@@ -4921,6 +4994,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4921
4994
|
at the head of a feed card (`.feed-card__lead`, card.css): one knob for the three.
|
|
4922
4995
|
ONE exception, by the owner's decision (Lh 2026-10-11): the stamp at a postcard's corner (post.css) is the postcard's own size, 72 × 90,
|
|
4923
4996
|
--post-corner-stamp-w, in neither. The desk's tray (post.css) holds stamps of the standard size.
|
|
4997
|
+
THE INLINE SIZE (2026-10-24): `.stamp--xs` (below), --stamp-xs-size, one caption line tall, a stamp beside a status line's words.
|
|
4924
4998
|
THE THIRD SIZE (Lh 2026-10-17): `.stamp-book--fill` (below) makes each stamp as wide as its third, the gaps one --screen-pad. */
|
|
4925
4999
|
.stamp, .stamp-place {
|
|
4926
5000
|
box-sizing: border-box;
|
|
@@ -4974,14 +5048,23 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4974
5048
|
/* at the stamp's own size and under (and stuck on a note): the small line goes, the name grows */
|
|
4975
5049
|
/* --bare: the pictures alone, no words — a stamp stuck on something (a note, a postcard). The words belong to the album.
|
|
4976
5050
|
The pictures take the foot's room: each sits a little lower, so the group stands in the middle of the frame. */
|
|
4977
|
-
.stamp--bare .stamp__cap, .stamp-on .stamp__cap, .post-corner .stamp__cap { display: none; }
|
|
4978
|
-
.stamp--bare .stamp__art, .stamp-on .stamp__art, .post-corner .stamp__art { top: calc(var(--_y) + 9%); }
|
|
5051
|
+
.stamp--bare .stamp__cap, .stamp-on .stamp__cap, .post-corner .stamp__cap, .stamp--xs .stamp__cap { display: none; }
|
|
5052
|
+
.stamp--bare .stamp__art, .stamp-on .stamp__art, .post-corner .stamp__art, .stamp--xs .stamp__art { top: calc(var(--_y) + 9%); }
|
|
4979
5053
|
|
|
4980
5054
|
@container (max-width: 6rem) {
|
|
4981
5055
|
.stamp__words { display: none; }
|
|
4982
5056
|
.stamp__name { --_name: 12cqw; }
|
|
4983
5057
|
}
|
|
4984
5058
|
|
|
5059
|
+
/* --xs: the stamp INLINE with a status line (a card's foot: the stamp, "X took it", a round button) — one caption line tall,
|
|
5060
|
+
--stamp-xs-size (18.7 × 23.4 at the default bases, one Chip xs tall, on --fs-base: it follows the words it stands with; Lh 2026-10-24).
|
|
5061
|
+
Too small for words: it is bare whatever it is handed. No shadow (Lh): it lies flat in the line. The teeth are fewer and larger (8 across,
|
|
5062
|
+
10 down) so they still read, and the frame round the picture wider to clear them. Several, lapped, with a "+8": AvatarStack (below).
|
|
5063
|
+
<span class="stamp stamp--1 stamp--xs">…</span> */
|
|
5064
|
+
.stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); flex: none; margin-inline: 0; filter: none; }
|
|
5065
|
+
.stamp--xs .stamp__paper { --_pitch: calc(100cqw / 8); --_hole: 3.9cqw; }
|
|
5066
|
+
.stamp--xs .stamp__pic { inset: var(--stamp-frame, 12cqw); }
|
|
5067
|
+
|
|
4985
5068
|
/* --tilt: turned a little on its middle — the one stamp a start screen hands over */
|
|
4986
5069
|
.stamp--tilt-left, .stamp--tilt-right { margin-block: var(--sp-4); } /* the turned corners and the shadow need room: a centre scrolls and would cut them */
|
|
4987
5070
|
.stamp--tilt-left { rotate: calc(-1 * var(--stamp-tilt, calc(var(--tilt-base) * 5))); }
|
|
@@ -5179,6 +5262,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
5179
5262
|
}
|
|
5180
5263
|
|
|
5181
5264
|
/* ---- where it sits in what card.css draws (docs/reference.md rule 15) ---- */
|
|
5265
|
+
/* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — the head's (`end`), a feed card's lead, a foot row's, xs.
|
|
5266
|
+
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
|
|
5267
|
+
does a stamp in an album's cell wherever the album lies */
|
|
5268
|
+
.card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
|
|
5182
5269
|
.head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
|
|
5183
5270
|
/* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
|
|
5184
5271
|
/* a stamp in the stack is the stamp's small size (--stamp-sm-size: one rule in stamp.css, 48 × 60), lapped like the heads. Measured 2026-10-11 in a Row's
|
|
@@ -5186,6 +5273,11 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
5186
5273
|
<span class="avatar-stack"><span class="stamp stamp--bare">…</span><span class="stamp stamp--bare">…</span><span class="avatar-stack__more">+9</span></span> */
|
|
5187
5274
|
.avatar-stack > .stamp { flex: none; margin-inline: 0; }
|
|
5188
5275
|
.avatar-stack > .stamp + .stamp { margin-left: calc(-1 * var(--sp-2)); }
|
|
5276
|
+
/* xs stamps in the stack (Lh 2026-10-24: "[][][] +8" in a card's status row): each its inline size, a smaller lap, and the count at the
|
|
5277
|
+
Chip xs's scale on the status words' line, not the title size */
|
|
5278
|
+
.avatar-stack > .stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); }
|
|
5279
|
+
.avatar-stack > .stamp--xs + .stamp--xs { margin-left: calc(-1 * var(--sp-1)); }
|
|
5280
|
+
.avatar-stack:has(> .stamp--xs) > .avatar-stack__more { margin-left: var(--avatar-stack-more-gap, var(--sp-1)); font: var(--avatar-stack-more-font, var(--type-label)); font-size: var(--avatar-stack-xs-more-font-size, var(--fs-2xs)); }
|
|
5189
5281
|
/* ---- where it sits in what post.css draws (docs/reference.md rule 15) ---- */
|
|
5190
5282
|
.post-corner__stamp > :is(.stamp, .stamp-place) { grid-area: 1 / 1; width: 100%; max-width: none; } /* the corner is the postcard's own size (72 × 90), outside the stamp's two sizes, by the owner's decision (2026-10-11); its box sizes the stamp, which fills it */
|
|
5191
5283
|
|
|
@@ -5821,7 +5913,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
5821
5913
|
.modal__drawer > h2:focus { outline: none; } /* the question takes the cursor when the modal arrives (for a screen reader, the keyboard's way in) — it is not a control: no ring */
|
|
5822
5914
|
/* the answers as WORD buttons (a BtnRow of Btns; Lh 2026-10-11): the row fills the ask with room over it and each button keeps its words on one
|
|
5823
5915
|
line — left to its words' width the row squeezed two buttons into round blobs, their words on two lines. A quiet button is an outline only,
|
|
5824
|
-
so on the ask its edge is the ask's ink at full strength (light on the dark end, dark on --light). The
|
|
5916
|
+
so on the ask its edge is the ask's ink at full strength (light on the dark end, dark on --light). The round answers (BtnRow round joined) are not touched. */
|
|
5825
5917
|
.modal__drawer .btn--quiet { --btn-quiet-border: var(--modal-drawer-quiet-border, currentColor); }
|
|
5826
5918
|
.modal__drawer .icon-btn { --icon-btn-bg: transparent; --icon-btn-ink: currentColor; --icon-btn-border: var(--ink-rail); }
|
|
5827
5919
|
.modal__drawer .icon-btn--invert { --icon-btn-size: var(--tap-lg); }
|
|
@@ -5838,14 +5930,6 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
5838
5930
|
}
|
|
5839
5931
|
}
|
|
5840
5932
|
|
|
5841
|
-
.btn-trio { display: flex; align-items: center; gap: var(--btn-trio-gap, var(--sp-3)); margin-top: var(--sp-3); }
|
|
5842
|
-
.btn-trio__dots {
|
|
5843
|
-
width: var(--btn-trio-dots-w, var(--sp-5));
|
|
5844
|
-
height: var(--btn-trio-dots-h, var(--sp-1));
|
|
5845
|
-
background: radial-gradient(circle, currentColor var(--sp-0), transparent calc(var(--sp-0) + var(--px) / 2)) 0 0 / calc(var(--sp-5) / 2) 100% repeat-x;
|
|
5846
|
-
opacity: var(--fade-soft);
|
|
5847
|
-
}
|
|
5848
|
-
|
|
5849
5933
|
/* ---- popover menu: a card anchored to its button, rows of icon + label ----
|
|
5850
5934
|
<button class="chip" popovertarget="when">Now ▾</button>
|
|
5851
5935
|
<div class="menu" id="when" popover><button class="menu__item"><svg class="icon"/>Now</button>…</div>
|