feat(web): distill shell rail

This commit is contained in:
Miguel Palhas
2026-08-25 18:15:46 +01:00
parent 8947febbff
commit a2b76bd634
6 changed files with 49 additions and 41 deletions
+14 -14
View File
@@ -142,6 +142,7 @@ body {
/* contents share the deck's column; the panel itself stays full-bleed */
.rail-inner {
position: relative;
display: flex;
align-items: center;
gap: var(--space-6);
@@ -178,8 +179,6 @@ body {
display: flex;
align-items: center;
gap: var(--space-4);
/* the verdict line used to absorb the slack; without it the readout
needs to claim the right edge itself */
margin-left: auto;
}
@@ -529,9 +528,11 @@ body {
/* ---- unified search (§9.2) ------------------------------------------- */
.rail-search {
position: relative;
flex: 1;
position: absolute;
left: 50%;
width: min(30rem, calc(100% - 20rem));
max-width: 30rem;
transform: translateX(-50%);
display: flex;
align-items: center;
}
@@ -1337,10 +1338,6 @@ body {
/* ---- library view (§4.2) ---------------------------------------------- */
.rail-nav {
flex: none;
}
/* the library's master line: total readout left, the one §4.2 toggle right */
.library-bar {
margin: 0 0 var(--space-6);
@@ -1639,6 +1636,10 @@ body {
color: var(--signal-warn);
}
.rail #nav-queues[hidden] {
display: none;
}
.queue-note {
margin: var(--space-2) var(--space-1) 0;
font-size: var(--text-xs);
@@ -1901,6 +1902,7 @@ body {
@media (max-width: 46rem) {
.rail-inner {
position: static;
flex-wrap: wrap;
gap: var(--space-3) var(--space-4);
}
@@ -1919,15 +1921,13 @@ body {
}
.rail-search {
position: relative;
left: auto;
width: auto;
order: 4;
flex-basis: 100%;
max-width: none;
}
/* deterministic first row: identity, views, then meta pushed right —
never re-wrapped by content or scrollbar changes */
.rail-nav {
order: 2;
transform: none;
}
.rail-meta {