efficient-storefront-blocks 0.130.4 → 0.130.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/index.js +1 -1
- package/dist/render/app/globals.css +43 -0
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +1 -1
|
@@ -4528,6 +4528,49 @@ em.text-accent {
|
|
|
4528
4528
|
margin: 0;
|
|
4529
4529
|
}
|
|
4530
4530
|
|
|
4531
|
+
/* ─── Studio with "Words: Over the picture" (Product Grid; INOVIT product page 2026-11-18) ───
|
|
4532
|
+
The product page's "You may also like" draws ONE grey card: the studio
|
|
4533
|
+
ground on the whole card, the wheel and its floor shadows where Studio puts
|
|
4534
|
+
them, and the words inside the card at its foot (the design's `.ptile .pph`
|
|
4535
|
+
and `.ct`). Only the pair draws this; Studio with the words under (the home
|
|
4536
|
+
design), and every other ground, never match these rules.
|
|
4537
|
+
The card box (the box that holds the picture box) is the card: 10:13, as
|
|
4538
|
+
Studio's picture is, and its Padding row is the words' distance from the
|
|
4539
|
+
card's edges (24, 12 on a phone, on the new inovit.com), as it is for
|
|
4540
|
+
"Over the picture". The picture box covers the whole card box, under the
|
|
4541
|
+
words, so its ground, wheel and shadows are drawn as Studio draws them;
|
|
4542
|
+
the words stay in the flow at the card box's foot. Short cards and long
|
|
4543
|
+
words are the card box's: the words may reach over the floor shadows, as
|
|
4544
|
+
in the design on a phone.
|
|
4545
|
+
The picture box must hold the Picture part alone (`:only-child`): in a
|
|
4546
|
+
template whose one Box holds the picture and the words together (the seed
|
|
4547
|
+
card), nothing here matches and the pair draws as before. The picture box
|
|
4548
|
+
is taken out of the flow only inside such a card box, so a template whose
|
|
4549
|
+
Picture and Words boxes are root blocks (no card box) draws as before too. */
|
|
4550
|
+
.sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) {
|
|
4551
|
+
position: relative;
|
|
4552
|
+
isolation: isolate;
|
|
4553
|
+
aspect-ratio: 10 / 13;
|
|
4554
|
+
display: flex;
|
|
4555
|
+
flex-direction: column;
|
|
4556
|
+
}
|
|
4557
|
+
/* Its row of parts takes the card's height (a percentage height does not
|
|
4558
|
+
resolve against an aspect ratio), so "Over the picture"'s `flex-end` puts
|
|
4559
|
+
the words at the foot. It is a column even when the card box's Direction
|
|
4560
|
+
is a row: the words are always under the wheel's place, never beside it. */
|
|
4561
|
+
.sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > :has(> [data-part="box"] > * > [data-part="image-block"]:only-child) {
|
|
4562
|
+
flex: 1 1 auto;
|
|
4563
|
+
flex-direction: column;
|
|
4564
|
+
}
|
|
4565
|
+
.sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) {
|
|
4566
|
+
position: absolute;
|
|
4567
|
+
inset: 0;
|
|
4568
|
+
z-index: -1;
|
|
4569
|
+
aspect-ratio: auto;
|
|
4570
|
+
min-height: 0;
|
|
4571
|
+
container-type: inline-size;
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4531
4574
|
/* A CARD GRID NEVER DRAWS A CARD UNDER ITS MINIMUM WIDTH (2026-11-24).
|
|
4532
4575
|
A Product Grid set to 4 or 6 columns drew its cards at about 155 px when the
|
|
4533
4576
|
grid itself was narrow (a half-width box, a narrow frame): its tracks were
|