efficient-storefront-blocks 0.130.5 → 0.130.6

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.
@@ -4369,7 +4369,8 @@ em.text-accent {
4369
4369
  background-color: transparent;
4370
4370
  }
4371
4371
  .sf-card-ground-studio [data-part="box"]:has(> * > [data-part="image-block"]),
4372
- .sf-photo-ground-studio {
4372
+ .sf-photo-ground-studio,
4373
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) {
4373
4374
  --sf-card-studio-ground: radial-gradient(
4374
4375
  ellipse at 50% 42%,
4375
4376
  color-mix(in oklab, var(--bg) 96.4%, var(--fg)) 0%,
@@ -4537,16 +4538,25 @@ em.text-accent {
4537
4538
  The card box (the box that holds the picture box) is the card: 10:13, as
4538
4539
  Studio's picture is, and its Padding row is the words' distance from the
4539
4540
  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.
4541
+ "Over the picture". The studio ground is on the card box (one more
4542
+ selector on Studio's ground rule). The picture box stays in the flow, as
4543
+ "Over the picture" puts it: the space above the words, the card box's Gap
4544
+ away from them. The wheel stands at the foot of that space, centred, and
4545
+ it is at most 90% of the space wide (Studio's 77% of the card at the new
4546
+ inovit.com's 24 px Padding; at a smaller Padding it is wider than Studio's)
4547
+ and never taller than the space less a top margin (8%). So no word is ever under the
4548
+ wheel, at any width and any words' length (owner, 2026-11-26: on a phone
4549
+ the wheel covered the names; the design does the same, and his word wins
4550
+ over it). The two floor shadows keep Studio's sizes and places, measured
4551
+ from the wheel (its width and its foot), so they still sit at its foot;
4552
+ the words may reach over them. Their numbers are Studio's cqw numbers
4553
+ above over its 77cqw wheel: a change there is made here too. A "Show
4554
+ next image" rendering is placed as the wheel is, with the same shadows.
4545
4555
  The picture box must hold the Picture part alone (`:only-child`): in a
4546
4556
  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. */
4557
+ card), nothing here matches and the pair draws as before. Every rule here
4558
+ names the card box, so a template whose Picture and Words boxes are root
4559
+ blocks (no card box) draws as before too. */
4550
4560
  .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) {
4551
4561
  position: relative;
4552
4562
  isolation: isolate;
@@ -4563,12 +4573,33 @@ em.text-accent {
4563
4573
  flex-direction: column;
4564
4574
  }
4565
4575
  .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;
4576
+ --sf-studio-over-wheel: min(90cqw, 100cqh - 8cqw);
4568
4577
  z-index: -1;
4569
4578
  aspect-ratio: auto;
4570
- min-height: 0;
4571
- container-type: inline-size;
4579
+ background-image: none;
4580
+ }
4581
+ .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) [data-part="image-frame"] > [data-part="image"],
4582
+ .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) [data-hover-media][data-hover-fit="contain"] > img {
4583
+ left: calc(50% - var(--sf-studio-over-wheel) / 2);
4584
+ top: calc(100% - var(--sf-studio-over-wheel));
4585
+ width: var(--sf-studio-over-wheel);
4586
+ height: var(--sf-studio-over-wheel);
4587
+ }
4588
+ /* The wide, faint shadow (`.s2`) and the near one (`.s1`), in the wheel's
4589
+ width: Studio's cqw numbers over its 77cqw wheel, from the wheel's foot. */
4590
+ .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)::before,
4591
+ .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) [data-hover-media][data-hover-fit="contain"]::before {
4592
+ left: calc(50% - 0.68 * var(--sf-studio-over-wheel));
4593
+ top: calc(100% - 0.11935 * var(--sf-studio-over-wheel));
4594
+ width: calc(1.42 * var(--sf-studio-over-wheel));
4595
+ height: calc(0.28403 * var(--sf-studio-over-wheel));
4596
+ }
4597
+ .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)::after,
4598
+ .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) [data-hover-media][data-hover-fit="contain"]::after {
4599
+ left: calc(50% - 0.46 * var(--sf-studio-over-wheel));
4600
+ top: calc(100% - 0.12662 * var(--sf-studio-over-wheel));
4601
+ width: var(--sf-studio-over-wheel);
4602
+ height: calc(0.16662 * var(--sf-studio-over-wheel));
4572
4603
  }
4573
4604
 
4574
4605
  /* A CARD GRID NEVER DRAWS A CARD UNDER ITS MINIMUM WIDTH (2026-11-24).