@vectoriox/iox-ui 5.141.0 → 5.143.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/composite-core/index.d.ts +40 -1
- package/design-core/index.d.ts +262 -28
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +155 -90
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +539 -268
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +61 -4
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1547 -742
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +510 -20
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +170 -22
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +17 -3
- package/generation-core/index.d.ts +638 -148
- package/harness-core/index.d.ts +359 -20
- package/index.d.ts +94 -10
- package/package.json +1 -1
- package/src/composite-core/accordion.ts +16 -1
- package/src/composite-core/card.ts +22 -2
- package/src/composite-core/consent.ts +2 -2
- package/src/composite-core/recipe-parts.ts +7 -0
- package/src/composite-core/segmented.ts +17 -2
- package/src/composite-core/slider.ts +19 -3
- package/src/composite-core/tabs.ts +16 -1
- package/src/design-core/contrast-audit.ts +18 -0
- package/src/design-core/flavor-spec.generated.ts +212 -25
- package/src/design-core/ink-on-ground.ts +36 -0
- package/src/design-core/list-classes.ts +37 -0
- package/src/design-core/locale-direction.ts +24 -0
- package/src/design-core/menu-look.ts +2 -1
- package/src/design-core/node-classes.ts +3 -2
- package/src/design-core/public-api.ts +3 -0
- package/src/forms-core/form-presets.ts +72 -3
- package/src/generation-core/check-layout.ts +4 -1
- package/src/generation-core/check-list.ts +144 -5
- package/src/generation-core/compose-layout.ts +165 -20
- package/src/generation-core/compose-site.ts +58 -21
- package/src/generation-core/footer-mix.ts +8 -0
- package/src/generation-core/layout-fingerprint.ts +5 -1
- package/src/generation-core/layout-language.ts +5 -0
- package/src/generation-core/layout-wire.ts +64 -24
- package/src/generation-core/list-panel.ts +122 -0
- package/src/generation-core/list-space.ts +54 -1
- package/src/generation-core/list-table.ts +101 -0
- package/src/generation-core/nav-shape.ts +3 -2
- package/src/generation-core/node-baselines.generated.ts +3 -1
- package/src/generation-core/patterns.ts +4 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/serialized-node.ts +2 -0
- package/src/generation-core/site-plan.model.ts +16 -2
- package/src/generation-core/site-spec.generated.ts +469 -201
- package/src/generation-core/validate-site-plan.ts +8 -4
- package/src/harness-core/business-types.ts +11 -0
- package/src/harness-core/film-idea.ts +178 -0
- package/src/harness-core/harness-spec.generated.ts +380 -18
- package/src/harness-core/intake.ts +8 -1
- package/src/harness-core/public-api.ts +1 -0
- package/styles/iox-design.css +420 -45
|
@@ -23,6 +23,13 @@ function keywordRe(keyword: string): RegExp {
|
|
|
23
23
|
return re;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/** The keywords that appear in the words, in the list's order — each at the START of a word, Hebrew prefixes allowed (the
|
|
27
|
+
* ONE word rule of the no-model reading: the type match and the film's raise / lower words, award §0b.7). */
|
|
28
|
+
export function keywordsIn(text: string, keywords: ReadonlyArray<string>): string[] {
|
|
29
|
+
const words = (text ?? '').toLocaleLowerCase();
|
|
30
|
+
return words.trim() ? keywords.filter(k => keywordRe(k).test(words)) : [];
|
|
31
|
+
}
|
|
32
|
+
|
|
26
33
|
export interface BusinessTypeMatch {
|
|
27
34
|
id: string;
|
|
28
35
|
/** The keywords found, in the type's order. */
|
|
@@ -37,7 +44,7 @@ export function matchBusinessTypes(text: string, types: ReadonlyArray<BusinessTy
|
|
|
37
44
|
if (!words.trim()) return [];
|
|
38
45
|
return types
|
|
39
46
|
.map((type, order) => {
|
|
40
|
-
const keywords = type.match
|
|
47
|
+
const keywords = keywordsIn(words, type.match);
|
|
41
48
|
return { id: type.id, keywords, score: keywords.reduce((n, k) => n + k.length, 0), order };
|
|
42
49
|
})
|
|
43
50
|
.filter(m => m.score > 0)
|
package/styles/iox-design.css
CHANGED
|
@@ -475,16 +475,18 @@ dialog[data-iox-dialog]:has(> .iox-dialog-close),
|
|
|
475
475
|
padding-inline-end: max(var(--iox-dialog-pad, 0px), 48px);
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
/* A navigation's link lists (board 1
|
|
479
|
-
|
|
480
|
-
|
|
478
|
+
/* A navigation's and a footer's link lists (board 1; vectoriox/iox-ui#87/#97 — a composed footer's page list carries role
|
|
479
|
+
footer.links): their place says they are links, so they rest at the BODY weight — a link in running text is told from
|
|
480
|
+
its words by `link-weight` (no line: reversed 2026-11-22, Doron). Hover is the link style's colour shift; the current
|
|
481
|
+
page reads by its ink and weight (the link's `current` state). Keyed on the list's ROLE, so a composed or adopted
|
|
482
|
+
header, its drawer and the footer read it and no Link holds a literal over its element style.
|
|
481
483
|
HI1: the pages a menu header keeps in the bar (pinned) and its actions (a quiet link) are the bar's links too. */
|
|
482
484
|
.iox-role-nav-links,
|
|
483
485
|
.iox-role-nav-pinned,
|
|
484
486
|
.iox-role-nav-actions,
|
|
485
|
-
.iox-role-nav-drawer-links
|
|
486
|
-
|
|
487
|
-
--iox-link-
|
|
487
|
+
.iox-role-nav-drawer-links,
|
|
488
|
+
.iox-role-footer-links {
|
|
489
|
+
--iox-link-weight: var(--iox-weight-body);
|
|
488
490
|
}
|
|
489
491
|
|
|
490
492
|
/* vectoriox/iox-ui#98 — a header on a PHONE is one row, and its name is held whole on one or two lines. The controls (the
|
|
@@ -866,11 +868,9 @@ dialog[data-iox-closing] [data-iox-menu-button='word'] > *,
|
|
|
866
868
|
[data-iox-menu-button='word'] > * { transition-property: opacity; }
|
|
867
869
|
}
|
|
868
870
|
|
|
869
|
-
/* HOVER in the menu (mouse only — G1):
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
background-size: 0% var(--iox-link-underline-thickness, 1px);
|
|
873
|
-
}
|
|
871
|
+
/* HOVER in the menu (mouse only — G1): the page name changes colour (`line` — the link style's own hover; no line is
|
|
872
|
+
drawn since 2026-11-22), the others dim, or the row lights up; `none`: nothing moves under the mouse — the name keeps
|
|
873
|
+
its resting colour. */
|
|
874
874
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='dim'] .iox-role-nav-drawer-link {
|
|
875
875
|
transition: opacity var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease), color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
|
|
876
876
|
}
|
|
@@ -882,14 +882,14 @@ dialog[data-iox-closing] [data-iox-menu-button='word'] > *,
|
|
|
882
882
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='dim'] .iox-role-nav-drawer-links:has(.iox-role-nav-drawer-link:hover) .iox-role-nav-drawer-link:not(:hover) {
|
|
883
883
|
opacity: 0.18;
|
|
884
884
|
}
|
|
885
|
+
:is(dialog, .dialog-surface)[data-iox-menu-hover='none'] .iox-role-nav-drawer-link.iox-es-link:not([aria-current='page']):hover {
|
|
886
|
+
color: var(--iox-link-color);
|
|
887
|
+
}
|
|
885
888
|
/* The row's light reaches past the words by its own shadow — nothing about the link's box moves. */
|
|
886
889
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='row'] .iox-role-nav-drawer-link:hover {
|
|
887
890
|
background-color: color-mix(in srgb, currentColor 8%, transparent);
|
|
888
891
|
box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 8%, transparent);
|
|
889
892
|
}
|
|
890
|
-
:is(dialog, .dialog-surface):is([data-iox-menu-hover='dim'], [data-iox-menu-hover='row'], [data-iox-menu-hover='none']) .iox-role-nav-drawer-link.iox-es-link:not([aria-current='page']):hover {
|
|
891
|
-
background-size: 0% var(--iox-link-underline-thickness, 1px);
|
|
892
|
-
}
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
/* The BOTTOM BAR (board 2, "The CSS, exactly"): fixed to the bottom of the viewport (on the canvas, of the
|
|
@@ -1205,48 +1205,47 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
1208
|
-
/* ──
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
position); its growth is a background-size the shared compiler adds to the link's transition (withStateTransitions).
|
|
1216
|
-
The colour and the line move on the hover timing — ≤150ms on `ease` (Emil 92). */
|
|
1208
|
+
/* ── A link: no line (premium M4's drawn underline REVERSED 2026-11-22 — Doron: "learn from the research you did on the
|
|
1209
|
+
award websites, there shouldn't be any underlines") ─────────────────────────────────────────────────────────────────
|
|
1210
|
+
An element-styled link draws no line — not at rest, not on hover or focus, not for the current page. The two decoration
|
|
1211
|
+
tokens are re-declared none here, so a studio still holding an underline row draws none either; a legacy link (no
|
|
1212
|
+
element style) keeps its text-decoration. It is told from running text by its WEIGHT (`link-weight`, WCAG 1.4.1 G182 —
|
|
1213
|
+
the element style writes it; this is the fallback for a link saved before it did) and its colour; hover is a colour
|
|
1214
|
+
shift on the hover timing (≤150ms on `ease`, hover devices only — G1, Emil 92); keyboard focus draws the look's ring. */
|
|
1217
1215
|
.iox-es-link {
|
|
1218
1216
|
--iox-link-decoration: none;
|
|
1219
1217
|
--iox-link-current-decoration: none;
|
|
1220
1218
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|
|
1221
1219
|
--iox-ease-standard: var(--iox-ease-hover, ease);
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
.iox-es-link:dir(rtl) {
|
|
1230
|
-
background-position-x: 100%;
|
|
1231
|
-
}
|
|
1232
|
-
@media (hover: hover) and (pointer: fine) {
|
|
1233
|
-
.iox-es-link:hover {
|
|
1234
|
-
background-size: 100% var(--iox-link-underline-thickness, 1px);
|
|
1235
|
-
}
|
|
1220
|
+
text-decoration: none;
|
|
1221
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1222
|
+
/* vectoriox/iox-ui#87/#97: the box hugs its words — a Link is a block, and in a column (a footer's page list, a
|
|
1223
|
+
stretched flex item) it filled the column, so its hover and its focus ring ran under nothing. A width the author
|
|
1224
|
+
gives the link is the node's own rule and still wins; a long link still wraps (max 100%). */
|
|
1225
|
+
inline-size: fit-content;
|
|
1226
|
+
max-inline-size: 100%;
|
|
1236
1227
|
}
|
|
1237
1228
|
.iox-es-link:focus-visible {
|
|
1238
|
-
|
|
1229
|
+
outline: none;
|
|
1230
|
+
box-shadow: var(--iox-focus-ring);
|
|
1239
1231
|
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1232
|
+
/* A link the words of a Text hold (rich text — a bare <a> inside an element-styled block) is a link in running text too:
|
|
1233
|
+
no line, the look's link colour and weight, the same colour shift on hover and the same ring on focus. */
|
|
1234
|
+
.iox-es:not(.iox-es-link) a:not([class]) {
|
|
1235
|
+
color: var(--iox-link-color);
|
|
1236
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1237
|
+
text-decoration: none;
|
|
1238
|
+
transition: color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
|
|
1243
1239
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
transition-property: color;
|
|
1240
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1241
|
+
.iox-es:not(.iox-es-link) a:not([class]):hover {
|
|
1242
|
+
color: var(--iox-link-hover-color);
|
|
1248
1243
|
}
|
|
1249
1244
|
}
|
|
1245
|
+
.iox-es:not(.iox-es-link) a:not([class]):focus-visible {
|
|
1246
|
+
outline: none;
|
|
1247
|
+
box-shadow: var(--iox-focus-ring);
|
|
1248
|
+
}
|
|
1250
1249
|
/* A chip's colour moves on the hover timing too (Emil 92 — M3's review). */
|
|
1251
1250
|
.iox-es-chip {
|
|
1252
1251
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|
|
@@ -1409,6 +1408,382 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1409
1408
|
}
|
|
1410
1409
|
}
|
|
1411
1410
|
|
|
1411
|
+
/* ── AW11 (award-ingredients-plan §7.1f, board award-lists): lists, round two ──────────────────────────────────────
|
|
1412
|
+
Six more ARRANGEMENTS of a Repeater's rows (its role `list.hang`, `list.bento`, `list.rows`, `list.stage`,
|
|
1413
|
+
`list.fan`, `list.tilted`, each with its phone variant) and the item and hover WORDS a list frame carries as classes
|
|
1414
|
+
(`iox-list-<ingredient>-<word>`, design-core `listMixClasses` from the frame's `listMix`). Drawn by THIS CSS alone
|
|
1415
|
+
from each row's index (`:nth-child`, `:has(… :last-child)`), like the strips (AW11-D1): no runtime, so the canvas,
|
|
1416
|
+
both engine paths and the raw SSR agree, and every item's words are in the page. Every number is the contract's
|
|
1417
|
+
(layout.mjs LIST `rhythms`, the tokens list-fan-step / list-tilt / list-tile) — held equal by list-rhythms.spec.
|
|
1418
|
+
The four rules (board "The four rules"): smooth (transform / opacity / clip-path only, transitions so a change
|
|
1419
|
+
interrupts from where it is, hover for a mouse only, reduced motion fades and never travels), never cut (what leans or
|
|
1420
|
+
hangs keeps its room — the composer's `listOverhang` pads the frame — and nothing here clips an item), radius-true (a
|
|
1421
|
+
second layer wears `border-radius: inherit`), never empty (a bento shows only counts it fills, a stage always shows a
|
|
1422
|
+
picture, a phone never an empty frame). */
|
|
1423
|
+
:where(.iox-role-list, .iox-role-list-dim) {
|
|
1424
|
+
/* The contract's rhythms (LIST.rhythms) — the shares and limits the rules below are drawn with. */
|
|
1425
|
+
--list-tilt-max: 4;
|
|
1426
|
+
--list-fan-radius: 1.7;
|
|
1427
|
+
--list-hover-tilt: 2.5;
|
|
1428
|
+
--list-hover-settle: 0.97;
|
|
1429
|
+
--list-number-ink: 0.1;
|
|
1430
|
+
--list-dir: 1;
|
|
1431
|
+
}
|
|
1432
|
+
:where(.iox-role-list, .iox-role-list-dim):dir(rtl) { --list-dir: -1; }
|
|
1433
|
+
/* The room a round-two list is laid out in is its frame's (a container query: the canvas's phone frame agrees). */
|
|
1434
|
+
:where(.iox-role-list, .iox-role-list-dim):has(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-bento, .iox-role-list-rows, .iox-role-list-stage, .iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-tilted, .iox-role-list-tilted-two) {
|
|
1435
|
+
container: iox-list / inline-size;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/* HANG — a gallery wall: a 12-column row of two or three sizes, each item hung by its own drop below the line (a margin,
|
|
1439
|
+
so real room: nothing overlaps, nothing leaves the frame), its picture in the rhythm's shape; six steps, then again.
|
|
1440
|
+
The picture grows 2% under a mouse. `hang-two` keeps two across on a phone, `hang` one under another, every other one
|
|
1441
|
+
set in from alternate sides. */
|
|
1442
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root {
|
|
1443
|
+
display: grid;
|
|
1444
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
1445
|
+
gap: calc(var(--iox-space-gap) * 1.5) var(--iox-space-gap);
|
|
1446
|
+
align-items: start;
|
|
1447
|
+
}
|
|
1448
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * { grid-column: span var(--hang-span, 4); margin: var(--hang-drop, 0px) 0 0; min-width: 0; }
|
|
1449
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+1) { --hang-span: 5; --hang-drop: 0px; --hang-ratio: 4 / 5; }
|
|
1450
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+2) { --hang-span: 4; --hang-drop: 48px; --hang-ratio: 1 / 1; }
|
|
1451
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+3) { --hang-span: 3; --hang-drop: 16px; --hang-ratio: 3 / 4; }
|
|
1452
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+4) { --hang-span: 3; --hang-drop: 8px; --hang-ratio: 1 / 1; grid-column: 2 / span 3; }
|
|
1453
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+5) { --hang-span: 4; --hang-drop: 0px; --hang-ratio: 3 / 4; }
|
|
1454
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+6) { --hang-span: 4; --hang-drop: 30px; --hang-ratio: 4 / 5; }
|
|
1455
|
+
:is(:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) { aspect-ratio: var(--hang-ratio); overflow: hidden; border-radius: var(--iox-image-radius); }
|
|
1456
|
+
:is(:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img {
|
|
1457
|
+
width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: inherit;
|
|
1458
|
+
transition: scale var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1459
|
+
}
|
|
1460
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1461
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card-media, .iox-role-list-item) img, :is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > .iox-role-list-item:hover img { scale: 1.02; }
|
|
1462
|
+
}
|
|
1463
|
+
@container iox-list (max-width: 640px) {
|
|
1464
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root { grid-template-columns: minmax(0, 1fr); }
|
|
1465
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * { grid-column: 1 / -1; margin: 0; }
|
|
1466
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(3n+2) { margin-inline-start: 16%; }
|
|
1467
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(3n) { margin-inline-end: 16%; }
|
|
1468
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1469
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(n) { grid-column: auto; margin: 0; }
|
|
1470
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+1) { grid-column: 1 / -1; }
|
|
1471
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :is(:nth-child(6n+3), :nth-child(6n+5)) { margin-block-start: calc(var(--iox-space-gap) * 1.5); }
|
|
1472
|
+
/* never a lone half: an even count ends the full width */
|
|
1473
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(even):last-child { grid-column: 1 / -1; }
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/* BENTO — one tall tile and an even number of small ones, filling a block with no hole (AW11-D4): 3 items on 3 columns,
|
|
1477
|
+
5 on 4, 7 on 5, two rows high; a list that is not one of those shows the largest it fills (the composer trims it and
|
|
1478
|
+
says so; this keeps a hand-edited list whole too). Each tile is its picture, cut to the tile. A phone: two across,
|
|
1479
|
+
the first the full width. */
|
|
1480
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root {
|
|
1481
|
+
--bento-cols: 5;
|
|
1482
|
+
display: grid;
|
|
1483
|
+
grid-template-columns: repeat(var(--bento-cols), minmax(0, 1fr));
|
|
1484
|
+
grid-auto-rows: clamp(140px, 15cqi, 240px);
|
|
1485
|
+
gap: var(--iox-space-gap);
|
|
1486
|
+
}
|
|
1487
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(-n+2):last-child) { --bento-cols: 2; }
|
|
1488
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child, > :nth-child(4):last-child) { --bento-cols: 3; }
|
|
1489
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child, > :nth-child(6):last-child) { --bento-cols: 4; }
|
|
1490
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :nth-child(n+8), :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(2n):last-child) > :last-child { display: none; }
|
|
1491
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-column: span 2; grid-row: span 2; }
|
|
1492
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * { min-width: 0; min-height: 0; height: 100%; }
|
|
1493
|
+
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { height: 100%; min-height: 0; display: flex; flex-direction: column; }
|
|
1494
|
+
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
|
|
1495
|
+
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
|
|
1496
|
+
@container iox-list (max-width: 640px) {
|
|
1497
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root { --bento-cols: 2; grid-auto-rows: clamp(120px, 34cqi, 180px); }
|
|
1498
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-row: span 1; grid-column: 1 / -1; }
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
/* ROWS — an index: one line per item between hairlines, the title in the display face, an arrow at the end that comes
|
|
1502
|
+
in for a mouse and is always there on a phone (AW11-D5); no shadows, no cards. With `fill` a small frame beside the
|
|
1503
|
+
title fills with the item's picture under the mouse (always filled on a phone, D13); without it the picture waits.
|
|
1504
|
+
The one pointed at stays bright (the composer's pointed · brighter). */
|
|
1505
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root { display: grid; border-block-start: var(--iox-border-width, 1px) solid var(--iox-line); }
|
|
1506
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * { border-block-end: var(--iox-border-width, 1px) solid var(--iox-line); }
|
|
1507
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) {
|
|
1508
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--iox-space-gap);
|
|
1509
|
+
padding: 14px 4px; background: none; box-shadow: none; border: 0; border-radius: 0; translate: none;
|
|
1510
|
+
}
|
|
1511
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) > .iox-role-card-media { display: none; }
|
|
1512
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item))::after {
|
|
1513
|
+
content: "\2192"; content: "\2192" / ""; grid-column: -2; grid-row: 1;
|
|
1514
|
+
color: var(--iox-accent-text, var(--iox-accent)); font-family: var(--iox-font-body);
|
|
1515
|
+
transition: opacity var(--iox-dur-ui) var(--iox-ease-hover), translate var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1516
|
+
}
|
|
1517
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)):dir(rtl)::after { content: "\2190"; content: "\2190" / ""; }
|
|
1518
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-family: var(--iox-font-display); }
|
|
1519
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1520
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item))::after { opacity: 0; translate: calc(var(--list-dir, 1) * -6px) 0; }
|
|
1521
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(:hover, :focus-within) :is(.iox-role-card, .iox-role-list-item)::after, :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):is(:hover, :focus-within)::after { opacity: 1; translate: 0 0; }
|
|
1522
|
+
}
|
|
1523
|
+
.iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { grid-template-columns: 76px minmax(0, 1fr) auto; }
|
|
1524
|
+
.iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) > .iox-role-card-media {
|
|
1525
|
+
display: block; grid-column: 1; grid-row: 1; width: 76px; aspect-ratio: 4 / 3; overflow: hidden;
|
|
1526
|
+
border: var(--iox-border-width, 1px) solid var(--iox-line); border-radius: var(--iox-radius-sm, 8px);
|
|
1527
|
+
}
|
|
1528
|
+
@container iox-list (max-width: 640px) {
|
|
1529
|
+
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)), .iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 2px; }
|
|
1530
|
+
.iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) > .iox-role-card-media { grid-column: 1 / -1; grid-row: 2; width: 100%; aspect-ratio: 16 / 9; }
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/* STAGE — the list's titles on one side, ONE picture beside them: the first item's at rest, the one pointed at or holding
|
|
1534
|
+
the focus over it (AW11-D6). Every picture is in the page (the raw SSR too): the rows and their cards step aside
|
|
1535
|
+
(`display: contents`), so each item's words take a line of the stage's first column and each picture the whole second
|
|
1536
|
+
column, all in the same place. The FIRST picture stays drawn under the others, so a picture still loading shows the
|
|
1537
|
+
first, never a blank stage. A phone gets a row of cards to swipe. (Drawn by CSS from the rows themselves — the board's
|
|
1538
|
+
context channel needs a page variable the composer cannot declare; the same result, no runtime.) Ten at most. */
|
|
1539
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root {
|
|
1540
|
+
--stage-n: 10;
|
|
1541
|
+
display: grid;
|
|
1542
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
|
|
1543
|
+
grid-template-rows: repeat(var(--stage-n), auto);
|
|
1544
|
+
align-content: center;
|
|
1545
|
+
min-height: clamp(320px, 44cqi, 600px);
|
|
1546
|
+
column-gap: calc(var(--iox-space-gap) * 2);
|
|
1547
|
+
}
|
|
1548
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child) { --stage-n: 3; }
|
|
1549
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):last-child) { --stage-n: 4; }
|
|
1550
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child) { --stage-n: 5; }
|
|
1551
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(6):last-child) { --stage-n: 6; }
|
|
1552
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(7):last-child) { --stage-n: 7; }
|
|
1553
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(8):last-child) { --stage-n: 8; }
|
|
1554
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(9):last-child) { --stage-n: 9; }
|
|
1555
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :nth-child(n+11) { display: none; }
|
|
1556
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > *, :is(:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { display: contents; }
|
|
1557
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-content {
|
|
1558
|
+
grid-column: 1; align-self: center; padding: 10px 2px; border-block-end: var(--iox-border-width, 1px) solid var(--iox-line);
|
|
1559
|
+
opacity: 0.45; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1560
|
+
}
|
|
1561
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-family: var(--iox-font-display); }
|
|
1562
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-media {
|
|
1563
|
+
grid-column: 2; grid-row: 1 / -1; align-self: stretch; position: relative; inset: auto; margin: 0; aspect-ratio: auto;
|
|
1564
|
+
overflow: hidden; border-radius: var(--iox-card-radius); box-shadow: var(--iox-card-shadow, none);
|
|
1565
|
+
opacity: 0; transition: opacity var(--iox-dur-base) var(--iox-ease-standard);
|
|
1566
|
+
}
|
|
1567
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: inherit; }
|
|
1568
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :first-child :is(.iox-role-card-media, .iox-role-card-content) { opacity: 1; }
|
|
1569
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :focus-within :is(.iox-role-card-media, .iox-role-card-content) { opacity: 1; z-index: 1; }
|
|
1570
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :not(:first-child):focus-within) > :first-child .iox-role-card-content { opacity: 0.45; }
|
|
1571
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1572
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card-media, .iox-role-card-content) { opacity: 1; z-index: 2; }
|
|
1573
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :not(:first-child):hover) > :first-child:not(:hover) .iox-role-card-content { opacity: 0.45; }
|
|
1574
|
+
}
|
|
1575
|
+
@container iox-list (max-width: 640px) {
|
|
1576
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root { display: flex; min-height: 0; gap: var(--iox-space-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
|
|
1577
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > * { display: block; flex: 0 0 74%; scroll-snap-align: start; }
|
|
1578
|
+
:is(:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { display: grid; gap: 8px; }
|
|
1579
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-media { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 5; opacity: 1; }
|
|
1580
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-content { grid-column: auto; opacity: 1; border: 0; }
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/* FAN — the cards held like a hand: each turned `list-fan-step` degrees from the next around ONE point below them
|
|
1584
|
+
(`fanRadius` card heights under a card's middle), the middle one raised and the only one whose words show (a covered
|
|
1585
|
+
caption is never half-read). Under a mouse a card's FACE lifts and turns straight — the place it holds never moves,
|
|
1586
|
+
so it never flickers out from under the pointer. Mirrored in Hebrew. Nine at most. `fan-stack` keeps a smaller fan on
|
|
1587
|
+
a phone; `fan` becomes a row to swipe. (A fan you drag is Swiper's creative effect — planSwiperOptions.) */
|
|
1588
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root {
|
|
1589
|
+
--fan-n: 9;
|
|
1590
|
+
--fan-mid: 4;
|
|
1591
|
+
--fan-w: min(280px, 22cqi);
|
|
1592
|
+
--fan-step: var(--iox-list-fan-step, 9);
|
|
1593
|
+
position: relative;
|
|
1594
|
+
display: block;
|
|
1595
|
+
height: calc(var(--fan-w) * 4 / 3 * 1.6 + 24px);
|
|
1596
|
+
}
|
|
1597
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(1) { --fan-i: 0; }
|
|
1598
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(2) { --fan-i: 1; }
|
|
1599
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(3) { --fan-i: 2; }
|
|
1600
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(4) { --fan-i: 3; }
|
|
1601
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(5) { --fan-i: 4; }
|
|
1602
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(6) { --fan-i: 5; }
|
|
1603
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(7) { --fan-i: 6; }
|
|
1604
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(8) { --fan-i: 7; }
|
|
1605
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(9) { --fan-i: 8; }
|
|
1606
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(1):last-child) { --fan-n: 1; --fan-mid: 0; }
|
|
1607
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(2):last-child) { --fan-n: 2; --fan-mid: 0; }
|
|
1608
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child) { --fan-n: 3; --fan-mid: 1; }
|
|
1609
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):last-child) { --fan-n: 4; --fan-mid: 1; }
|
|
1610
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child) { --fan-n: 5; --fan-mid: 2; }
|
|
1611
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(6):last-child) { --fan-n: 6; --fan-mid: 2; }
|
|
1612
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(7):last-child) { --fan-n: 7; --fan-mid: 3; }
|
|
1613
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :nth-child(8):last-child) { --fan-n: 8; --fan-mid: 3; }
|
|
1614
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :nth-child(n+10) { display: none; }
|
|
1615
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * {
|
|
1616
|
+
--fan-d: calc(var(--fan-i) - (var(--fan-n) - 1) / 2);
|
|
1617
|
+
--fan-a: calc(var(--fan-d) * var(--fan-step) * var(--list-dir, 1) * 1deg);
|
|
1618
|
+
position: absolute; left: 50%; bottom: 24px; width: var(--fan-w); margin: 0;
|
|
1619
|
+
translate: -50% calc(clamp(0, 1 - max(var(--fan-d), -1 * var(--fan-d)), 1) * -14px);
|
|
1620
|
+
rotate: var(--fan-a);
|
|
1621
|
+
transform-origin: 50% calc(50% + var(--list-fan-radius) * 100%);
|
|
1622
|
+
z-index: calc(20 - max(var(--fan-d), -1 * var(--fan-d)) * 2);
|
|
1623
|
+
}
|
|
1624
|
+
:is(:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { aspect-ratio: 3 / 4; transition: transform var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1625
|
+
:is(:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
|
|
1626
|
+
:is(:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
|
|
1627
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * .iox-role-card-content { opacity: 0; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover); }
|
|
1628
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(:focus-within, :nth-child(1):last-child) .iox-role-card-content { opacity: 1; }
|
|
1629
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:not(:has(> :focus-within)) > * { --fan-front: clamp(0, 1 - max(var(--fan-i) - var(--fan-mid), var(--fan-mid) - var(--fan-i)), 1); }
|
|
1630
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:not(:has(> :focus-within)) > * .iox-role-card-content { opacity: var(--fan-front); }
|
|
1631
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :focus-within { z-index: 30; }
|
|
1632
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :focus-within :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):focus-within { transform: translateY(-18px) rotate(calc(-1 * var(--fan-a))); }
|
|
1633
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1634
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :hover { z-index: 30; }
|
|
1635
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):hover { transform: translateY(-18px) rotate(calc(-1 * var(--fan-a))); }
|
|
1636
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :hover .iox-role-card-content { opacity: 1; }
|
|
1637
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root:has(> :hover) > :not(:hover) .iox-role-card-content { opacity: 0; }
|
|
1638
|
+
}
|
|
1639
|
+
@container iox-list (max-width: 640px) {
|
|
1640
|
+
:is(.iox-role-list-fan-stack, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root { --fan-w: min(180px, 34cqi); --fan-step: calc(var(--iox-list-fan-step, 9) * 2 / 3); }
|
|
1641
|
+
:is(.iox-role-list-fan, .iox-role-list-fan > .repeater-wrapper) > .repeater-root { display: flex; height: auto; gap: var(--iox-space-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
|
|
1642
|
+
:is(.iox-role-list-fan, .iox-role-list-fan > .repeater-wrapper) > .repeater-root > * { position: relative; left: auto; bottom: auto; flex: 0 0 72%; translate: none; rotate: none; scroll-snap-align: start; z-index: auto; }
|
|
1643
|
+
:is(.iox-role-list-fan, .iox-role-list-fan > .repeater-wrapper) > .repeater-root > * .iox-role-card-content { opacity: 1; }
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
/* TILTED — cards set down by hand: each turned by its share of the look's `list-tilt` (the contract's four-step
|
|
1647
|
+
sequence, never past `tiltMaxDeg`), mirrored in Hebrew; the composer pads the frame for the turned corners. Under a
|
|
1648
|
+
mouse or the focus the card's FACE straightens and lifts 6px — the place it holds never moves. A long text is held to
|
|
1649
|
+
three lines. Half the turn on a phone (`tilted-two`: two across; `tilted`: one under another). */
|
|
1650
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root {
|
|
1651
|
+
--tilt-k: 1;
|
|
1652
|
+
display: grid;
|
|
1653
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1654
|
+
gap: calc(var(--iox-space-gap) * 1.4) var(--iox-space-gap);
|
|
1655
|
+
align-items: start;
|
|
1656
|
+
}
|
|
1657
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :nth-child(4n+1) { --tilt-share: -1; }
|
|
1658
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :nth-child(4n+2) { --tilt-share: 0.6; }
|
|
1659
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :nth-child(4n+3) { --tilt-share: -0.4; }
|
|
1660
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :nth-child(4n+4) { --tilt-share: 1; }
|
|
1661
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > * {
|
|
1662
|
+
--tilt-a: calc(clamp(-1 * var(--list-tilt-max), var(--tilt-share) * var(--iox-list-tilt, 3) * var(--tilt-k), var(--list-tilt-max)) * var(--list-dir, 1) * 1deg);
|
|
1663
|
+
rotate: var(--tilt-a);
|
|
1664
|
+
min-width: 0;
|
|
1665
|
+
}
|
|
1666
|
+
:is(:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { transition: transform var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1667
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root .iox-role-card-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
|
|
1668
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :focus-within :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):focus-within { transform: translateY(-6px) rotate(calc(-1 * var(--tilt-a))); }
|
|
1669
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1670
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):hover { transform: translateY(-6px) rotate(calc(-1 * var(--tilt-a))); }
|
|
1671
|
+
}
|
|
1672
|
+
@container iox-list (max-width: 640px) {
|
|
1673
|
+
:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root { --tilt-k: 0.5; grid-template-columns: minmax(0, 1fr); }
|
|
1674
|
+
:is(.iox-role-list-tilted-two, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
/* ITEM WORDS — what each item is, carried by the frame (`iox-list-item-<word>`). */
|
|
1678
|
+
/* Packshot: the thing on the look's plain tile (`list-tile`), whole (never cropped), grown 6% under a mouse. */
|
|
1679
|
+
.iox-list-item-packshot :is(.iox-role-card-media, .iox-role-list-item) { background: var(--iox-list-tile); aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--iox-card-radius); }
|
|
1680
|
+
.iox-list-item-packshot :is(.iox-role-card-media, .iox-role-list-item) img {
|
|
1681
|
+
width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; padding: 12%; box-sizing: border-box;
|
|
1682
|
+
transition: scale var(--iox-dur-base) var(--iox-ease-hover);
|
|
1683
|
+
}
|
|
1684
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1685
|
+
.iox-list-item-packshot :is(.iox-role-card, .iox-role-list-item):hover img { scale: 1.06; }
|
|
1686
|
+
}
|
|
1687
|
+
/* Colour block: the item IS its colour — the row's own (its `colour` field, through the aaGround / inkOnGround pipes:
|
|
1688
|
+
moved until AA, its ink chosen by contrast) or, with none, the look's ramp in turn (pairs the contrast gate holds:
|
|
1689
|
+
accent · accent-ink, surface-2 · text, inverse-bg · inverse-text). The tokens are re-declared on the item so every part
|
|
1690
|
+
inside (its title, its text) takes the ink; the ramp is chosen on the ROW from the page's values captured on the list
|
|
1691
|
+
(a custom property resolves where it is declared — the same name on the item would be a cycle). */
|
|
1692
|
+
.iox-list-item-colour-block .repeater-root { --list-page-text: var(--iox-text); }
|
|
1693
|
+
.iox-list-item-colour-block .repeater-root > :nth-child(3n+1) { --list-ramp-ground: var(--iox-accent); --list-ramp-ink: var(--iox-accent-ink); }
|
|
1694
|
+
.iox-list-item-colour-block .repeater-root > :nth-child(3n+2) { --list-ramp-ground: var(--iox-surface-2); --list-ramp-ink: var(--list-page-text); }
|
|
1695
|
+
.iox-list-item-colour-block .repeater-root > :nth-child(3n) { --list-ramp-ground: var(--iox-inverse-bg); --list-ramp-ink: var(--iox-inverse-text); }
|
|
1696
|
+
.iox-list-item-colour-block .iox-role-card {
|
|
1697
|
+
--iox-card-bg: var(--list-item-ground, var(--list-ramp-ground));
|
|
1698
|
+
--iox-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1699
|
+
--iox-text-muted: var(--list-item-ink, var(--list-ramp-ink));
|
|
1700
|
+
--iox-accent-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1701
|
+
--iox-card-border: transparent;
|
|
1702
|
+
background: var(--iox-card-bg); color: var(--iox-text);
|
|
1703
|
+
}
|
|
1704
|
+
/* Numbered: a CSS counter — decorative (never read aloud; the order is the list's own), Western digits in Hebrew too.
|
|
1705
|
+
Above the item in the display face when the item opens with its picture; behind its words, at the contract's share of
|
|
1706
|
+
the ink, when it does not (D11). */
|
|
1707
|
+
.iox-list-item-numbered .repeater-root { counter-reset: iox-list-number; }
|
|
1708
|
+
.iox-list-item-numbered .repeater-root > * { counter-increment: iox-list-number; }
|
|
1709
|
+
.iox-list-item-numbered .iox-role-card { position: relative; isolation: isolate; }
|
|
1710
|
+
.iox-list-item-numbered .iox-role-card::before {
|
|
1711
|
+
content: counter(iox-list-number, decimal-leading-zero); content: counter(iox-list-number, decimal-leading-zero) / "";
|
|
1712
|
+
direction: ltr; unicode-bidi: isolate; font-family: var(--iox-font-display); font-variant-numeric: tabular-nums lining-nums;
|
|
1713
|
+
font-size: 3.4em; line-height: 1; color: var(--iox-accent-text, var(--iox-accent));
|
|
1714
|
+
}
|
|
1715
|
+
.iox-list-item-numbered .iox-role-card:not(:has(> .iox-role-card-media))::before {
|
|
1716
|
+
position: absolute; inset-block-start: -0.1em; inset-inline-start: -0.02em; z-index: -1; font-size: 6.4em;
|
|
1717
|
+
color: color-mix(in srgb, var(--iox-text) calc(var(--list-number-ink) * 100%), transparent);
|
|
1718
|
+
}
|
|
1719
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root .iox-role-card::before { position: static; font-size: 1em; color: var(--iox-text-muted); grid-column: auto; }
|
|
1720
|
+
.iox-list-item-numbered :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { grid-template-columns: 3.2em minmax(0, 1fr) auto; }
|
|
1721
|
+
.iox-list-item-numbered.iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { grid-template-columns: 3.2em 76px minmax(0, 1fr) auto; }
|
|
1722
|
+
.iox-list-item-numbered.iox-list-hover-fill :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) > .iox-role-card-media { grid-column: 2; }
|
|
1723
|
+
|
|
1724
|
+
/* HOVER WORDS — for a mouse only (Emil G1); a phone shows the item at rest (its first picture, a filled frame). */
|
|
1725
|
+
/* Swap · unveil (AW11-D12): the item's second picture (`list.second`) waits over its first inside the same frame, with
|
|
1726
|
+
the frame's corner; the first stays drawn under it, so a second still loading never leaves a hole. Swap crossfades;
|
|
1727
|
+
unveil opens it from the bottom edge (clip-path); under reduced motion both only fade. */
|
|
1728
|
+
.iox-role-list-second { border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover); }
|
|
1729
|
+
.iox-list-hover-unveil .iox-role-list-second { opacity: 1; clip-path: inset(100% 0 0 0); transition: clip-path var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1730
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1731
|
+
.iox-list-hover-swap :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1732
|
+
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { clip-path: inset(0 0 0 0); }
|
|
1733
|
+
}
|
|
1734
|
+
/* Fill (D13): the item's frame waits empty (a hairline) and fills with its picture under the mouse; on a phone, or with
|
|
1735
|
+
no mouse, it is filled from the start. */
|
|
1736
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1737
|
+
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { opacity: 0; scale: 0.92; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover), scale var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1738
|
+
.iox-list-hover-fill :is(.iox-role-card, .iox-role-list-item):is(:hover, :focus-within) img { opacity: 1; scale: 1; }
|
|
1739
|
+
}
|
|
1740
|
+
@container iox-list (max-width: 640px) {
|
|
1741
|
+
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { opacity: 1; scale: 1; }
|
|
1742
|
+
}
|
|
1743
|
+
/* Tilt (D14): the card's GROUND turns `hoverTiltDeg` (mirrored in Hebrew) and its content settles to `hoverSettle`; the
|
|
1744
|
+
ground wears the card's radius and shadow, so the shading turns with it. Still arrangements only (the composer). */
|
|
1745
|
+
.iox-list-hover-tilt .iox-role-card { position: relative; isolation: isolate; overflow: visible; background: none; box-shadow: none; }
|
|
1746
|
+
.iox-list-hover-tilt .iox-role-card > .iox-role-card-media { border-radius: inherit; overflow: hidden; }
|
|
1747
|
+
.iox-list-hover-tilt .iox-role-card::after {
|
|
1748
|
+
content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
|
|
1749
|
+
background: var(--iox-card-bg); box-shadow: var(--iox-card-shadow, none); transition: rotate var(--iox-dur-base) var(--iox-ease-standard);
|
|
1750
|
+
}
|
|
1751
|
+
.iox-list-hover-tilt .iox-role-card > * { transition: scale var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1752
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1753
|
+
.iox-list-hover-tilt .iox-role-card:hover::after { rotate: calc(var(--list-hover-tilt) * var(--list-dir, 1) * -1deg); }
|
|
1754
|
+
.iox-list-hover-tilt .iox-role-card:hover > * { scale: var(--list-hover-settle); }
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/* Bindings ▸ List (board P5): while the group is open the canvas shows a hover word on the list's SECOND item — the frame
|
|
1758
|
+
carries `data-iox-list-preview` (design state, never saved) — so an owner sees a hover without a mouse over it. */
|
|
1759
|
+
[data-iox-list-preview].iox-list-hover-swap .repeater-root > :nth-child(2) .iox-role-list-second { opacity: 1; }
|
|
1760
|
+
[data-iox-list-preview].iox-list-hover-unveil .repeater-root > :nth-child(2) .iox-role-list-second { clip-path: inset(0 0 0 0); }
|
|
1761
|
+
[data-iox-list-preview].iox-list-hover-fill .repeater-root > :nth-child(2) img { opacity: 1; scale: 1; }
|
|
1762
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > .iox-role-card:nth-child(2)::after,
|
|
1763
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > :nth-child(2) .iox-role-card::after { rotate: calc(var(--list-hover-tilt) * var(--list-dir, 1) * -1deg); }
|
|
1764
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > .iox-role-card:nth-child(2) > *,
|
|
1765
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > :nth-child(2) .iox-role-card > * { scale: var(--list-hover-settle); }
|
|
1766
|
+
|
|
1767
|
+
/* PICTURE ROWS (AW11-D16): each Marquee band's track holds a Repeater of the list's pictures — laid in one line. */
|
|
1768
|
+
:is(.iox-role-list-drift-row, .iox-role-list-drift-row > .repeater-wrapper, .iox-role-list-drift-row .repeater-root) { display: flex; flex: none; gap: var(--iox-space-gap); }
|
|
1769
|
+
.iox-role-list-drift-row .repeater-root > * { flex: none; width: clamp(160px, 18cqi, 260px); }
|
|
1770
|
+
.iox-role-list-drift-row :is(.iox-role-card-media, .iox-role-list-item) img { aspect-ratio: 4 / 3; object-fit: cover; }
|
|
1771
|
+
/* A fan you drag (Swiper's creative effect): drawn whole, like the deck — the cards waiting either side are never cut. */
|
|
1772
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative,
|
|
1773
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { overflow: visible; }
|
|
1774
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { padding-block-end: 12%; }
|
|
1775
|
+
/* Reduced motion (the board's floor): nothing travels or turns on a hover or a focus — fades stay. The rest pose (a
|
|
1776
|
+
fan's arc, a tilted card's lean, a wall's drops) is a place, not a motion, and stays. */
|
|
1777
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1778
|
+
:is(:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)), :is(:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)), :is(:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img, .iox-list-item-packshot img, .iox-list-hover-tilt .iox-role-card::after, .iox-list-hover-tilt .iox-role-card > * { transition-property: opacity; }
|
|
1779
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(:hover, :focus-within) :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):is(:hover, :focus-within), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(:hover, :focus-within) :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):is(:hover, :focus-within) { transform: none !important; }
|
|
1780
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * img, .iox-list-item-packshot img, .iox-list-hover-tilt .iox-role-card > * { scale: none !important; }
|
|
1781
|
+
.iox-list-hover-tilt .iox-role-card::after { rotate: none !important; }
|
|
1782
|
+
.iox-list-hover-unveil .iox-role-list-second { clip-path: none; opacity: 0; transition: opacity 200ms linear; }
|
|
1783
|
+
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1784
|
+
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { scale: none !important; }
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1412
1787
|
/* ── The floating family (premium components M5 — N3 toast · N4 tooltip and popover) ──────────────────────────────
|
|
1413
1788
|
ONE motion grammar for all three: they come FROM where they belong — a tooltip and a popover grow from their trigger
|
|
1414
1789
|
(the transform-origin placeFloating writes, Emil 47), a toast slides from its edge and back to it (Emil 129–130) —
|