@vectoriox/iox-ui 5.140.0 → 5.142.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/assist-core/index.d.ts +19 -2
- package/design-core/index.d.ts +171 -2
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -3
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +358 -172
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1671 -861
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +49 -18
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +32 -9
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +85 -4
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +525 -144
- package/harness-core/index.d.ts +18 -18
- package/index.d.ts +92 -2
- package/package.json +1 -1
- package/scene-core/index.d.ts +17 -1
- package/src/assist-core/assist-turn.ts +34 -2
- package/src/design-core/flavor-spec.generated.ts +141 -0
- package/src/design-core/ink-on-ground.ts +36 -0
- package/src/design-core/list-classes.ts +37 -0
- package/src/design-core/node-classes.ts +3 -2
- package/src/design-core/public-api.ts +2 -0
- package/src/generation-core/check-layout.ts +23 -1
- package/src/generation-core/check-list.ts +144 -5
- package/src/generation-core/compose-layout.ts +188 -23
- package/src/generation-core/compose-site.ts +14 -2
- package/src/generation-core/header-edit.ts +15 -11
- package/src/generation-core/layout-fingerprint.ts +5 -1
- package/src/generation-core/layout-language.ts +10 -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 +205 -0
- package/src/generation-core/list-table.ts +101 -0
- package/src/generation-core/node-baselines.generated.ts +3 -1
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/serialized-node.ts +2 -0
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +188 -70
- package/src/generation-core/validate-site-plan.ts +8 -4
- package/src/harness-core/harness-spec.generated.ts +49 -18
- package/src/scene-core/split-text.ts +31 -7
- package/styles/iox-design.css +438 -4
package/styles/iox-design.css
CHANGED
|
@@ -140,6 +140,7 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
140
140
|
--strip-k: 0;
|
|
141
141
|
--strip-dir: 1;
|
|
142
142
|
--strip-gap: var(--iox-space-gap);
|
|
143
|
+
--strip-radius: var(--iox-card-radius);
|
|
143
144
|
/* A closed strip's width, and an open one's: the open strip takes what the closed ones leave. */
|
|
144
145
|
--strip-c: calc((100cqi - (var(--strip-n) - 1) * var(--strip-gap)) / (var(--strip-n) + 2.5));
|
|
145
146
|
--strip-o: calc(100cqi - (var(--strip-n) - 1) * (var(--strip-c) + var(--strip-gap)));
|
|
@@ -161,13 +162,15 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
161
162
|
min-width: 0;
|
|
162
163
|
margin: 0;
|
|
163
164
|
transform: translateX(calc(var(--strip-dir) * (var(--strip-i) * (var(--strip-c) + var(--strip-gap)) + var(--strip-after) * (var(--strip-o) - var(--strip-c)))));
|
|
164
|
-
/* 8px outside the box stays painted: the focus ring and the card's own shadow.
|
|
165
|
-
|
|
165
|
+
/* 8px outside the box stays painted: the focus ring and the card's own shadow. LI7: the cut keeps the item's corner
|
|
166
|
+
(a card's radius, a picture's) — a closed strip is a rounded strip, never a square cut through a card. */
|
|
167
|
+
clip-path: inset(-8px calc(var(--strip-cut) - 8px) -8px -8px round var(--strip-radius));
|
|
166
168
|
transition-property: transform, clip-path;
|
|
167
169
|
transition-duration: var(--iox-dur-base);
|
|
168
170
|
transition-timing-function: var(--iox-ease-standard);
|
|
169
171
|
}
|
|
170
|
-
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:dir(rtl) > * { clip-path: inset(-8px -8px -8px calc(var(--strip-cut) - 8px)); }
|
|
172
|
+
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:dir(rtl) > * { clip-path: inset(-8px -8px -8px calc(var(--strip-cut) - 8px) round var(--strip-radius)); }
|
|
173
|
+
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :has(> .iox-role-list-item) { --strip-radius: var(--iox-image-radius); }
|
|
171
174
|
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(n+7) { display: none; }
|
|
172
175
|
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(1) { --strip-i: 0; }
|
|
173
176
|
:is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(2) { --strip-i: 1; }
|
|
@@ -1320,10 +1323,65 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1320
1323
|
@media (max-width: 767px) {
|
|
1321
1324
|
/* :root out-ranks the component path's own scoped `.swiper { width: 100% }`. */
|
|
1322
1325
|
:root .swiper.swiper-cards {
|
|
1323
|
-
|
|
1326
|
+
/* LI7: narrow enough that the two cards peeking past it stay on the phone's page. */
|
|
1327
|
+
width: 78%;
|
|
1324
1328
|
margin-inline: auto;
|
|
1325
1329
|
}
|
|
1326
1330
|
}
|
|
1331
|
+
/* LI7 (list-ingredients-plan.md): a list's DECK, drawn whole and turned on the look's curve. Swiper's slides clip square
|
|
1332
|
+
(overflow hidden) and the bar's rule clips the track, which cut the turned cards behind straight at the card's bottom:
|
|
1333
|
+
a list's deck clips nothing, and its track keeps room under the stack for the turned corners and the look's shadow (a
|
|
1334
|
+
share of the card's width — the turn grows with it). Each card peeks with the item's own corner (the composer stamps
|
|
1335
|
+
it on the slide) and Swiper's shading over it is rounded to it and fades toward the section's ground, never Swiper's
|
|
1336
|
+
grey; at most two cards wait on each side. Transform and opacity only, on the look's slider curve; a new step starts
|
|
1337
|
+
from where the cards are (CSS transitions retarget). Under reduced motion the cards are stepped, never turned
|
|
1338
|
+
(planSwiperOptions' SLIDER_CARDS). */
|
|
1339
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-cards {
|
|
1340
|
+
overflow: visible;
|
|
1341
|
+
}
|
|
1342
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-cards > .swiper-wrapper {
|
|
1343
|
+
overflow: visible;
|
|
1344
|
+
padding-block-end: 7%;
|
|
1345
|
+
}
|
|
1346
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-cards > .swiper-wrapper > .swiper-slide {
|
|
1347
|
+
overflow: visible;
|
|
1348
|
+
transition-property: transform, opacity;
|
|
1349
|
+
transition-timing-function: var(--iox-slider-ease, ease);
|
|
1350
|
+
will-change: transform;
|
|
1351
|
+
}
|
|
1352
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-cards .swiper-slide-shadow {
|
|
1353
|
+
border-radius: inherit;
|
|
1354
|
+
background: color-mix(in srgb, var(--iox-bg) 55%, transparent);
|
|
1355
|
+
transition-property: opacity;
|
|
1356
|
+
transition-timing-function: var(--iox-slider-ease, ease);
|
|
1357
|
+
}
|
|
1358
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-cards > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active, .swiper-slide-prev, .swiper-slide-next, .swiper-slide-next + .swiper-slide, :has(+ .swiper-slide-prev)) {
|
|
1359
|
+
opacity: 0;
|
|
1360
|
+
}
|
|
1361
|
+
/* LI7: a list's ROW keeps room for what its cards paint past their box — a raised or bigger card, one risen under the
|
|
1362
|
+
mouse, the look's shadow — over and under its track, which still clips (a slide taller than its track never spills
|
|
1363
|
+
over the bar). The room is padding the track gives back as a negative margin: nothing moves, nothing is cut straight.
|
|
1364
|
+
Under the track the room is the bar's own top space (12px), so the arrows stay pressable; the track lets the pointer
|
|
1365
|
+
through its room to whatever is under it, its slides take it. A row's first card that stands bigger grows away from
|
|
1366
|
+
the row's edge. */
|
|
1367
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper-horizontal:not(.swiper-cards) {
|
|
1368
|
+
overflow: clip visible;
|
|
1369
|
+
}
|
|
1370
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper-horizontal:not(.swiper-cards) > .swiper-wrapper {
|
|
1371
|
+
overflow: visible clip;
|
|
1372
|
+
padding-block: 24px 12px;
|
|
1373
|
+
margin-block: -24px -12px;
|
|
1374
|
+
pointer-events: none;
|
|
1375
|
+
}
|
|
1376
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper-horizontal:not(.swiper-cards) > .swiper-wrapper > .swiper-slide {
|
|
1377
|
+
pointer-events: auto;
|
|
1378
|
+
}
|
|
1379
|
+
.swiper-slide:first-child .iox-role-list-first-bigger {
|
|
1380
|
+
transform-origin: 0% 50%;
|
|
1381
|
+
}
|
|
1382
|
+
.swiper-slide:first-child:dir(rtl) .iox-role-list-first-bigger {
|
|
1383
|
+
transform-origin: 100% 50%;
|
|
1384
|
+
}
|
|
1327
1385
|
/* A Slider the SCROLL plays: its runway holds the slider mid-screen while the page scrolls past half a screen per
|
|
1328
1386
|
picture; the ONE scene driver moves it, resting on each picture (scene-core `heldProgress`). `--slider-steps` is
|
|
1329
1387
|
written by the renderers (no layout shift), `--slider-h` by the slider's boot. On the canvas the driver pins it
|
|
@@ -1351,6 +1409,382 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1351
1409
|
}
|
|
1352
1410
|
}
|
|
1353
1411
|
|
|
1412
|
+
/* ── AW11 (award-ingredients-plan §7.1f, board award-lists): lists, round two ──────────────────────────────────────
|
|
1413
|
+
Six more ARRANGEMENTS of a Repeater's rows (its role `list.hang`, `list.bento`, `list.rows`, `list.stage`,
|
|
1414
|
+
`list.fan`, `list.tilted`, each with its phone variant) and the item and hover WORDS a list frame carries as classes
|
|
1415
|
+
(`iox-list-<ingredient>-<word>`, design-core `listMixClasses` from the frame's `listMix`). Drawn by THIS CSS alone
|
|
1416
|
+
from each row's index (`:nth-child`, `:has(… :last-child)`), like the strips (AW11-D1): no runtime, so the canvas,
|
|
1417
|
+
both engine paths and the raw SSR agree, and every item's words are in the page. Every number is the contract's
|
|
1418
|
+
(layout.mjs LIST `rhythms`, the tokens list-fan-step / list-tilt / list-tile) — held equal by list-rhythms.spec.
|
|
1419
|
+
The four rules (board "The four rules"): smooth (transform / opacity / clip-path only, transitions so a change
|
|
1420
|
+
interrupts from where it is, hover for a mouse only, reduced motion fades and never travels), never cut (what leans or
|
|
1421
|
+
hangs keeps its room — the composer's `listOverhang` pads the frame — and nothing here clips an item), radius-true (a
|
|
1422
|
+
second layer wears `border-radius: inherit`), never empty (a bento shows only counts it fills, a stage always shows a
|
|
1423
|
+
picture, a phone never an empty frame). */
|
|
1424
|
+
:where(.iox-role-list, .iox-role-list-dim) {
|
|
1425
|
+
/* The contract's rhythms (LIST.rhythms) — the shares and limits the rules below are drawn with. */
|
|
1426
|
+
--list-tilt-max: 4;
|
|
1427
|
+
--list-fan-radius: 1.7;
|
|
1428
|
+
--list-hover-tilt: 2.5;
|
|
1429
|
+
--list-hover-settle: 0.97;
|
|
1430
|
+
--list-number-ink: 0.1;
|
|
1431
|
+
--list-dir: 1;
|
|
1432
|
+
}
|
|
1433
|
+
:where(.iox-role-list, .iox-role-list-dim):dir(rtl) { --list-dir: -1; }
|
|
1434
|
+
/* The room a round-two list is laid out in is its frame's (a container query: the canvas's phone frame agrees). */
|
|
1435
|
+
: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) {
|
|
1436
|
+
container: iox-list / inline-size;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
/* 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,
|
|
1440
|
+
so real room: nothing overlaps, nothing leaves the frame), its picture in the rhythm's shape; six steps, then again.
|
|
1441
|
+
The picture grows 2% under a mouse. `hang-two` keeps two across on a phone, `hang` one under another, every other one
|
|
1442
|
+
set in from alternate sides. */
|
|
1443
|
+
: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 {
|
|
1444
|
+
display: grid;
|
|
1445
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
1446
|
+
gap: calc(var(--iox-space-gap) * 1.5) var(--iox-space-gap);
|
|
1447
|
+
align-items: start;
|
|
1448
|
+
}
|
|
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 > * { grid-column: span var(--hang-span, 4); margin: var(--hang-drop, 0px) 0 0; min-width: 0; }
|
|
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+1) { --hang-span: 5; --hang-drop: 0px; --hang-ratio: 4 / 5; }
|
|
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+2) { --hang-span: 4; --hang-drop: 48px; --hang-ratio: 1 / 1; }
|
|
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+3) { --hang-span: 3; --hang-drop: 16px; --hang-ratio: 3 / 4; }
|
|
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+4) { --hang-span: 3; --hang-drop: 8px; --hang-ratio: 1 / 1; grid-column: 2 / span 3; }
|
|
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+5) { --hang-span: 4; --hang-drop: 0px; --hang-ratio: 3 / 4; }
|
|
1455
|
+
: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; }
|
|
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)) { aspect-ratio: var(--hang-ratio); overflow: hidden; border-radius: var(--iox-image-radius); }
|
|
1457
|
+
: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 {
|
|
1458
|
+
width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: inherit;
|
|
1459
|
+
transition: scale var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1460
|
+
}
|
|
1461
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1462
|
+
: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; }
|
|
1463
|
+
}
|
|
1464
|
+
@container iox-list (max-width: 640px) {
|
|
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-template-columns: minmax(0, 1fr); }
|
|
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 > * { grid-column: 1 / -1; margin: 0; }
|
|
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+2) { margin-inline-start: 16%; }
|
|
1468
|
+
: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%; }
|
|
1469
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1470
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(n) { grid-column: auto; margin: 0; }
|
|
1471
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(6n+1) { grid-column: 1 / -1; }
|
|
1472
|
+
: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); }
|
|
1473
|
+
/* never a lone half: an even count ends the full width */
|
|
1474
|
+
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(even):last-child { grid-column: 1 / -1; }
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/* BENTO — one tall tile and an even number of small ones, filling a block with no hole (AW11-D4): 3 items on 3 columns,
|
|
1478
|
+
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
|
|
1479
|
+
says so; this keeps a hand-edited list whole too). Each tile is its picture, cut to the tile. A phone: two across,
|
|
1480
|
+
the first the full width. */
|
|
1481
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root {
|
|
1482
|
+
--bento-cols: 5;
|
|
1483
|
+
display: grid;
|
|
1484
|
+
grid-template-columns: repeat(var(--bento-cols), minmax(0, 1fr));
|
|
1485
|
+
grid-auto-rows: clamp(140px, 15cqi, 240px);
|
|
1486
|
+
gap: var(--iox-space-gap);
|
|
1487
|
+
}
|
|
1488
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(-n+2):last-child) { --bento-cols: 2; }
|
|
1489
|
+
: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; }
|
|
1490
|
+
: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; }
|
|
1491
|
+
: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; }
|
|
1492
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-column: span 2; grid-row: span 2; }
|
|
1493
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * { min-width: 0; min-height: 0; height: 100%; }
|
|
1494
|
+
: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; }
|
|
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)) { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
|
|
1496
|
+
: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; }
|
|
1497
|
+
@container iox-list (max-width: 640px) {
|
|
1498
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root { --bento-cols: 2; grid-auto-rows: clamp(120px, 34cqi, 180px); }
|
|
1499
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-row: span 1; grid-column: 1 / -1; }
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/* ROWS — an index: one line per item between hairlines, the title in the display face, an arrow at the end that comes
|
|
1503
|
+
in for a mouse and is always there on a phone (AW11-D5); no shadows, no cards. With `fill` a small frame beside the
|
|
1504
|
+
title fills with the item's picture under the mouse (always filled on a phone, D13); without it the picture waits.
|
|
1505
|
+
The one pointed at stays bright (the composer's pointed · brighter). */
|
|
1506
|
+
: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); }
|
|
1507
|
+
: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); }
|
|
1508
|
+
: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)) {
|
|
1509
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--iox-space-gap);
|
|
1510
|
+
padding: 14px 4px; background: none; box-shadow: none; border: 0; border-radius: 0; translate: none;
|
|
1511
|
+
}
|
|
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)) > .iox-role-card-media { display: none; }
|
|
1513
|
+
: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 {
|
|
1514
|
+
content: "\2192"; content: "\2192" / ""; grid-column: -2; grid-row: 1;
|
|
1515
|
+
color: var(--iox-accent-text, var(--iox-accent)); font-family: var(--iox-font-body);
|
|
1516
|
+
transition: opacity var(--iox-dur-ui) var(--iox-ease-hover), translate var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1517
|
+
}
|
|
1518
|
+
: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" / ""; }
|
|
1519
|
+
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-family: var(--iox-font-display); }
|
|
1520
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1521
|
+
: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; }
|
|
1522
|
+
: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; }
|
|
1523
|
+
}
|
|
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)) { grid-template-columns: 76px minmax(0, 1fr) auto; }
|
|
1525
|
+
.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 {
|
|
1526
|
+
display: block; grid-column: 1; grid-row: 1; width: 76px; aspect-ratio: 4 / 3; overflow: hidden;
|
|
1527
|
+
border: var(--iox-border-width, 1px) solid var(--iox-line); border-radius: var(--iox-radius-sm, 8px);
|
|
1528
|
+
}
|
|
1529
|
+
@container iox-list (max-width: 640px) {
|
|
1530
|
+
: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; }
|
|
1531
|
+
.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; }
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
/* STAGE — the list's titles on one side, ONE picture beside them: the first item's at rest, the one pointed at or holding
|
|
1535
|
+
the focus over it (AW11-D6). Every picture is in the page (the raw SSR too): the rows and their cards step aside
|
|
1536
|
+
(`display: contents`), so each item's words take a line of the stage's first column and each picture the whole second
|
|
1537
|
+
column, all in the same place. The FIRST picture stays drawn under the others, so a picture still loading shows the
|
|
1538
|
+
first, never a blank stage. A phone gets a row of cards to swipe. (Drawn by CSS from the rows themselves — the board's
|
|
1539
|
+
context channel needs a page variable the composer cannot declare; the same result, no runtime.) Ten at most. */
|
|
1540
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root {
|
|
1541
|
+
--stage-n: 10;
|
|
1542
|
+
display: grid;
|
|
1543
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
|
|
1544
|
+
grid-template-rows: repeat(var(--stage-n), auto);
|
|
1545
|
+
align-content: center;
|
|
1546
|
+
min-height: clamp(320px, 44cqi, 600px);
|
|
1547
|
+
column-gap: calc(var(--iox-space-gap) * 2);
|
|
1548
|
+
}
|
|
1549
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child) { --stage-n: 3; }
|
|
1550
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):last-child) { --stage-n: 4; }
|
|
1551
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child) { --stage-n: 5; }
|
|
1552
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(6):last-child) { --stage-n: 6; }
|
|
1553
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(7):last-child) { --stage-n: 7; }
|
|
1554
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(8):last-child) { --stage-n: 8; }
|
|
1555
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(9):last-child) { --stage-n: 9; }
|
|
1556
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :nth-child(n+11) { display: none; }
|
|
1557
|
+
: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; }
|
|
1558
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-content {
|
|
1559
|
+
grid-column: 1; align-self: center; padding: 10px 2px; border-block-end: var(--iox-border-width, 1px) solid var(--iox-line);
|
|
1560
|
+
opacity: 0.45; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1561
|
+
}
|
|
1562
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-family: var(--iox-font-display); }
|
|
1563
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-media {
|
|
1564
|
+
grid-column: 2; grid-row: 1 / -1; align-self: stretch; position: relative; inset: auto; margin: 0; aspect-ratio: auto;
|
|
1565
|
+
overflow: hidden; border-radius: var(--iox-card-radius); box-shadow: var(--iox-card-shadow, none);
|
|
1566
|
+
opacity: 0; transition: opacity var(--iox-dur-base) var(--iox-ease-standard);
|
|
1567
|
+
}
|
|
1568
|
+
: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; }
|
|
1569
|
+
: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; }
|
|
1570
|
+
: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; }
|
|
1571
|
+
: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; }
|
|
1572
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1573
|
+
: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; }
|
|
1574
|
+
: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; }
|
|
1575
|
+
}
|
|
1576
|
+
@container iox-list (max-width: 640px) {
|
|
1577
|
+
: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; }
|
|
1578
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > * { display: block; flex: 0 0 74%; scroll-snap-align: start; }
|
|
1579
|
+
: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; }
|
|
1580
|
+
: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; }
|
|
1581
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-content { grid-column: auto; opacity: 1; border: 0; }
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/* FAN — the cards held like a hand: each turned `list-fan-step` degrees from the next around ONE point below them
|
|
1585
|
+
(`fanRadius` card heights under a card's middle), the middle one raised and the only one whose words show (a covered
|
|
1586
|
+
caption is never half-read). Under a mouse a card's FACE lifts and turns straight — the place it holds never moves,
|
|
1587
|
+
so it never flickers out from under the pointer. Mirrored in Hebrew. Nine at most. `fan-stack` keeps a smaller fan on
|
|
1588
|
+
a phone; `fan` becomes a row to swipe. (A fan you drag is Swiper's creative effect — planSwiperOptions.) */
|
|
1589
|
+
: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 {
|
|
1590
|
+
--fan-n: 9;
|
|
1591
|
+
--fan-mid: 4;
|
|
1592
|
+
--fan-w: min(280px, 22cqi);
|
|
1593
|
+
--fan-step: var(--iox-list-fan-step, 9);
|
|
1594
|
+
position: relative;
|
|
1595
|
+
display: block;
|
|
1596
|
+
height: calc(var(--fan-w) * 4 / 3 * 1.6 + 24px);
|
|
1597
|
+
}
|
|
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(1) { --fan-i: 0; }
|
|
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(2) { --fan-i: 1; }
|
|
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(3) { --fan-i: 2; }
|
|
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(4) { --fan-i: 3; }
|
|
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(5) { --fan-i: 4; }
|
|
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(6) { --fan-i: 5; }
|
|
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(7) { --fan-i: 6; }
|
|
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(8) { --fan-i: 7; }
|
|
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 > :nth-child(9) { --fan-i: 8; }
|
|
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(1):last-child) { --fan-n: 1; --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(2):last-child) { --fan-n: 2; --fan-mid: 0; }
|
|
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(3):last-child) { --fan-n: 3; --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(4):last-child) { --fan-n: 4; --fan-mid: 1; }
|
|
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(5):last-child) { --fan-n: 5; --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(6):last-child) { --fan-n: 6; --fan-mid: 2; }
|
|
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(7):last-child) { --fan-n: 7; --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:has(> :nth-child(8):last-child) { --fan-n: 8; --fan-mid: 3; }
|
|
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 > :nth-child(n+10) { display: none; }
|
|
1616
|
+
: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 > * {
|
|
1617
|
+
--fan-d: calc(var(--fan-i) - (var(--fan-n) - 1) / 2);
|
|
1618
|
+
--fan-a: calc(var(--fan-d) * var(--fan-step) * var(--list-dir, 1) * 1deg);
|
|
1619
|
+
position: absolute; left: 50%; bottom: 24px; width: var(--fan-w); margin: 0;
|
|
1620
|
+
translate: -50% calc(clamp(0, 1 - max(var(--fan-d), -1 * var(--fan-d)), 1) * -14px);
|
|
1621
|
+
rotate: var(--fan-a);
|
|
1622
|
+
transform-origin: 50% calc(50% + var(--list-fan-radius) * 100%);
|
|
1623
|
+
z-index: calc(20 - max(var(--fan-d), -1 * var(--fan-d)) * 2);
|
|
1624
|
+
}
|
|
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 > :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); }
|
|
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)) { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
|
|
1627
|
+
: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; }
|
|
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 > * .iox-role-card-content { opacity: 0; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover); }
|
|
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 > :is(:focus-within, :nth-child(1):last-child) .iox-role-card-content { opacity: 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)) > * { --fan-front: clamp(0, 1 - max(var(--fan-i) - var(--fan-mid), var(--fan-mid) - var(--fan-i)), 1); }
|
|
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:not(:has(> :focus-within)) > * .iox-role-card-content { opacity: var(--fan-front); }
|
|
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 { z-index: 30; }
|
|
1633
|
+
: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))); }
|
|
1634
|
+
@media (hover: hover) and (pointer: fine) {
|
|
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 { z-index: 30; }
|
|
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 :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))); }
|
|
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 > :hover .iox-role-card-content { opacity: 1; }
|
|
1638
|
+
: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; }
|
|
1639
|
+
}
|
|
1640
|
+
@container iox-list (max-width: 640px) {
|
|
1641
|
+
: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); }
|
|
1642
|
+
: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; }
|
|
1643
|
+
: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; }
|
|
1644
|
+
:is(.iox-role-list-fan, .iox-role-list-fan > .repeater-wrapper) > .repeater-root > * .iox-role-card-content { opacity: 1; }
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/* TILTED — cards set down by hand: each turned by its share of the look's `list-tilt` (the contract's four-step
|
|
1648
|
+
sequence, never past `tiltMaxDeg`), mirrored in Hebrew; the composer pads the frame for the turned corners. Under a
|
|
1649
|
+
mouse or the focus the card's FACE straightens and lifts 6px — the place it holds never moves. A long text is held to
|
|
1650
|
+
three lines. Half the turn on a phone (`tilted-two`: two across; `tilted`: one under another). */
|
|
1651
|
+
: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 {
|
|
1652
|
+
--tilt-k: 1;
|
|
1653
|
+
display: grid;
|
|
1654
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1655
|
+
gap: calc(var(--iox-space-gap) * 1.4) var(--iox-space-gap);
|
|
1656
|
+
align-items: start;
|
|
1657
|
+
}
|
|
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+1) { --tilt-share: -1; }
|
|
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+2) { --tilt-share: 0.6; }
|
|
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+3) { --tilt-share: -0.4; }
|
|
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 > :nth-child(4n+4) { --tilt-share: 1; }
|
|
1662
|
+
: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 > * {
|
|
1663
|
+
--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);
|
|
1664
|
+
rotate: var(--tilt-a);
|
|
1665
|
+
min-width: 0;
|
|
1666
|
+
}
|
|
1667
|
+
: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); }
|
|
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 .iox-role-card-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
|
|
1669
|
+
: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))); }
|
|
1670
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1671
|
+
: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))); }
|
|
1672
|
+
}
|
|
1673
|
+
@container iox-list (max-width: 640px) {
|
|
1674
|
+
: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); }
|
|
1675
|
+
:is(.iox-role-list-tilted-two, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
/* ITEM WORDS — what each item is, carried by the frame (`iox-list-item-<word>`). */
|
|
1679
|
+
/* Packshot: the thing on the look's plain tile (`list-tile`), whole (never cropped), grown 6% under a mouse. */
|
|
1680
|
+
.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); }
|
|
1681
|
+
.iox-list-item-packshot :is(.iox-role-card-media, .iox-role-list-item) img {
|
|
1682
|
+
width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; padding: 12%; box-sizing: border-box;
|
|
1683
|
+
transition: scale var(--iox-dur-base) var(--iox-ease-hover);
|
|
1684
|
+
}
|
|
1685
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1686
|
+
.iox-list-item-packshot :is(.iox-role-card, .iox-role-list-item):hover img { scale: 1.06; }
|
|
1687
|
+
}
|
|
1688
|
+
/* Colour block: the item IS its colour — the row's own (its `colour` field, through the aaGround / inkOnGround pipes:
|
|
1689
|
+
moved until AA, its ink chosen by contrast) or, with none, the look's ramp in turn (pairs the contrast gate holds:
|
|
1690
|
+
accent · accent-ink, surface-2 · text, inverse-bg · inverse-text). The tokens are re-declared on the item so every part
|
|
1691
|
+
inside (its title, its text) takes the ink; the ramp is chosen on the ROW from the page's values captured on the list
|
|
1692
|
+
(a custom property resolves where it is declared — the same name on the item would be a cycle). */
|
|
1693
|
+
.iox-list-item-colour-block .repeater-root { --list-page-text: var(--iox-text); }
|
|
1694
|
+
.iox-list-item-colour-block .repeater-root > :nth-child(3n+1) { --list-ramp-ground: var(--iox-accent); --list-ramp-ink: var(--iox-accent-ink); }
|
|
1695
|
+
.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); }
|
|
1696
|
+
.iox-list-item-colour-block .repeater-root > :nth-child(3n) { --list-ramp-ground: var(--iox-inverse-bg); --list-ramp-ink: var(--iox-inverse-text); }
|
|
1697
|
+
.iox-list-item-colour-block .iox-role-card {
|
|
1698
|
+
--iox-card-bg: var(--list-item-ground, var(--list-ramp-ground));
|
|
1699
|
+
--iox-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1700
|
+
--iox-text-muted: var(--list-item-ink, var(--list-ramp-ink));
|
|
1701
|
+
--iox-accent-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1702
|
+
--iox-card-border: transparent;
|
|
1703
|
+
background: var(--iox-card-bg); color: var(--iox-text);
|
|
1704
|
+
}
|
|
1705
|
+
/* Numbered: a CSS counter — decorative (never read aloud; the order is the list's own), Western digits in Hebrew too.
|
|
1706
|
+
Above the item in the display face when the item opens with its picture; behind its words, at the contract's share of
|
|
1707
|
+
the ink, when it does not (D11). */
|
|
1708
|
+
.iox-list-item-numbered .repeater-root { counter-reset: iox-list-number; }
|
|
1709
|
+
.iox-list-item-numbered .repeater-root > * { counter-increment: iox-list-number; }
|
|
1710
|
+
.iox-list-item-numbered .iox-role-card { position: relative; isolation: isolate; }
|
|
1711
|
+
.iox-list-item-numbered .iox-role-card::before {
|
|
1712
|
+
content: counter(iox-list-number, decimal-leading-zero); content: counter(iox-list-number, decimal-leading-zero) / "";
|
|
1713
|
+
direction: ltr; unicode-bidi: isolate; font-family: var(--iox-font-display); font-variant-numeric: tabular-nums lining-nums;
|
|
1714
|
+
font-size: 3.4em; line-height: 1; color: var(--iox-accent-text, var(--iox-accent));
|
|
1715
|
+
}
|
|
1716
|
+
.iox-list-item-numbered .iox-role-card:not(:has(> .iox-role-card-media))::before {
|
|
1717
|
+
position: absolute; inset-block-start: -0.1em; inset-inline-start: -0.02em; z-index: -1; font-size: 6.4em;
|
|
1718
|
+
color: color-mix(in srgb, var(--iox-text) calc(var(--list-number-ink) * 100%), transparent);
|
|
1719
|
+
}
|
|
1720
|
+
: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; }
|
|
1721
|
+
.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; }
|
|
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)) { grid-template-columns: 3.2em 76px minmax(0, 1fr) auto; }
|
|
1723
|
+
.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; }
|
|
1724
|
+
|
|
1725
|
+
/* HOVER WORDS — for a mouse only (Emil G1); a phone shows the item at rest (its first picture, a filled frame). */
|
|
1726
|
+
/* Swap · unveil (AW11-D12): the item's second picture (`list.second`) waits over its first inside the same frame, with
|
|
1727
|
+
the frame's corner; the first stays drawn under it, so a second still loading never leaves a hole. Swap crossfades;
|
|
1728
|
+
unveil opens it from the bottom edge (clip-path); under reduced motion both only fade. */
|
|
1729
|
+
.iox-role-list-second { border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity var(--iox-dur-ui) var(--iox-ease-hover); }
|
|
1730
|
+
.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); }
|
|
1731
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1732
|
+
.iox-list-hover-swap :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1733
|
+
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { clip-path: inset(0 0 0 0); }
|
|
1734
|
+
}
|
|
1735
|
+
/* Fill (D13): the item's frame waits empty (a hairline) and fills with its picture under the mouse; on a phone, or with
|
|
1736
|
+
no mouse, it is filled from the start. */
|
|
1737
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1738
|
+
.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); }
|
|
1739
|
+
.iox-list-hover-fill :is(.iox-role-card, .iox-role-list-item):is(:hover, :focus-within) img { opacity: 1; scale: 1; }
|
|
1740
|
+
}
|
|
1741
|
+
@container iox-list (max-width: 640px) {
|
|
1742
|
+
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { opacity: 1; scale: 1; }
|
|
1743
|
+
}
|
|
1744
|
+
/* Tilt (D14): the card's GROUND turns `hoverTiltDeg` (mirrored in Hebrew) and its content settles to `hoverSettle`; the
|
|
1745
|
+
ground wears the card's radius and shadow, so the shading turns with it. Still arrangements only (the composer). */
|
|
1746
|
+
.iox-list-hover-tilt .iox-role-card { position: relative; isolation: isolate; overflow: visible; background: none; box-shadow: none; }
|
|
1747
|
+
.iox-list-hover-tilt .iox-role-card > .iox-role-card-media { border-radius: inherit; overflow: hidden; }
|
|
1748
|
+
.iox-list-hover-tilt .iox-role-card::after {
|
|
1749
|
+
content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
|
|
1750
|
+
background: var(--iox-card-bg); box-shadow: var(--iox-card-shadow, none); transition: rotate var(--iox-dur-base) var(--iox-ease-standard);
|
|
1751
|
+
}
|
|
1752
|
+
.iox-list-hover-tilt .iox-role-card > * { transition: scale var(--iox-dur-base) var(--iox-ease-standard); }
|
|
1753
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1754
|
+
.iox-list-hover-tilt .iox-role-card:hover::after { rotate: calc(var(--list-hover-tilt) * var(--list-dir, 1) * -1deg); }
|
|
1755
|
+
.iox-list-hover-tilt .iox-role-card:hover > * { scale: var(--list-hover-settle); }
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
/* Bindings ▸ List (board P5): while the group is open the canvas shows a hover word on the list's SECOND item — the frame
|
|
1759
|
+
carries `data-iox-list-preview` (design state, never saved) — so an owner sees a hover without a mouse over it. */
|
|
1760
|
+
[data-iox-list-preview].iox-list-hover-swap .repeater-root > :nth-child(2) .iox-role-list-second { opacity: 1; }
|
|
1761
|
+
[data-iox-list-preview].iox-list-hover-unveil .repeater-root > :nth-child(2) .iox-role-list-second { clip-path: inset(0 0 0 0); }
|
|
1762
|
+
[data-iox-list-preview].iox-list-hover-fill .repeater-root > :nth-child(2) img { opacity: 1; scale: 1; }
|
|
1763
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > .iox-role-card:nth-child(2)::after,
|
|
1764
|
+
[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); }
|
|
1765
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > .iox-role-card:nth-child(2) > *,
|
|
1766
|
+
[data-iox-list-preview].iox-list-hover-tilt .repeater-root > :nth-child(2) .iox-role-card > * { scale: var(--list-hover-settle); }
|
|
1767
|
+
|
|
1768
|
+
/* PICTURE ROWS (AW11-D16): each Marquee band's track holds a Repeater of the list's pictures — laid in one line. */
|
|
1769
|
+
: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); }
|
|
1770
|
+
.iox-role-list-drift-row .repeater-root > * { flex: none; width: clamp(160px, 18cqi, 260px); }
|
|
1771
|
+
.iox-role-list-drift-row :is(.iox-role-card-media, .iox-role-list-item) img { aspect-ratio: 4 / 3; object-fit: cover; }
|
|
1772
|
+
/* A fan you drag (Swiper's creative effect): drawn whole, like the deck — the cards waiting either side are never cut. */
|
|
1773
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative,
|
|
1774
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { overflow: visible; }
|
|
1775
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { padding-block-end: 12%; }
|
|
1776
|
+
/* Reduced motion (the board's floor): nothing travels or turns on a hover or a focus — fades stay. The rest pose (a
|
|
1777
|
+
fan's arc, a tilted card's lean, a wall's drops) is a place, not a motion, and stays. */
|
|
1778
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1779
|
+
: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; }
|
|
1780
|
+
: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; }
|
|
1781
|
+
: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; }
|
|
1782
|
+
.iox-list-hover-tilt .iox-role-card::after { rotate: none !important; }
|
|
1783
|
+
.iox-list-hover-unveil .iox-role-list-second { clip-path: none; opacity: 0; transition: opacity 200ms linear; }
|
|
1784
|
+
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1785
|
+
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { scale: none !important; }
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1354
1788
|
/* ── The floating family (premium components M5 — N3 toast · N4 tooltip and popover) ──────────────────────────────
|
|
1355
1789
|
ONE motion grammar for all three: they come FROM where they belong — a tooltip and a popover grow from their trigger
|
|
1356
1790
|
(the transform-origin placeFloating writes, Emil 47), a toast slides from its edge and back to it (Emil 129–130) —
|