Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 2,320 Bytes
c1fc133 971c29d 07a68d0 971c29d c1fc133 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | /* Stretch every slot so loading a folder button cannot recompute the cards' baselines. */
.home-cards.is-app {
align-items: stretch;
}
/* W62-T30 made New folder a card, so the row holds only cards (W-267: the rail-button rules were dead). */
.home-cards.is-app > .home-card {
box-sizing: border-box;
height: 100%;
}
.home-cards.is-app > .home-card:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.home-data-tile {
display: flex;
min-width: 0;
}
.home-data-tile > .st-tilewrap {
flex: 1 1 auto;
}
/* Rail selection styles must not turn the positioning wrapper into a second surface. */
.shell-home .home-data-tile.is-railsel {
background: transparent;
box-shadow: var(--lp-content-shadow);
}
/* C1 / DESIGN.md §4.1: one raised surface per home tile, including New folder.
index.css `.home-tile` owns the border, radius, shadow, hover, focus and disabled states.
This sheet sets padding only, so every module home shows the same card. */
.shell-home .home-card,
.shell-home .home-tile {
padding: var(--lp-home-tile-inset);
}
/* Keep sibling star/delete controls clear of the name after the shared inset changes. */
.shell-home .st-tilewrap > .home-tile {
padding-inline-end: calc(var(--lp-home-tile-inset) + var(--lp-home-tile-inset) + var(--lp-home-tile-inset));
}
.shell-home .home-app-tile.can-delete > .home-tile {
padding-inline-end: calc(var(--lp-home-tile-inset) + var(--lp-home-tile-inset) + var(--lp-home-tile-inset) + var(--lp-home-tile-inset) + var(--lp-home-tile-inset));
}
/* C1 / DESIGN.md §4.2: wrappers position actions without another card. */
.shell-home .home-data-tile,
.shell-home .st-tilewrap,
.shell-home .home-app-tile {
background: transparent;
border: var(--lp-content-border-width);
box-shadow: var(--lp-content-shadow);
}
.shell-home .home-cards {
gap: var(--lp-home-tile-inset);
margin-bottom: var(--lp-section-gap);
}
.shell-home .home-section {
margin-bottom: var(--lp-section-gap);
border: var(--lp-content-border-width);
box-shadow: var(--lp-content-shadow);
}
/* Separators share the page's content inset and appear only between populated groups. */
.shell-home .home-section:has(.home-tiles) ~ .home-section:has(.home-tiles) {
padding-top: var(--lp-section-gap);
border-top: var(--lp-hairline-width) solid var(--lp-line);
}
|