runloopable / web /src /styles /wave61 /home.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
07a68d0 verified
Raw History Blame Contribute Delete
2.32 kB
/* 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);
}