Merge remote-tracking branch 'origin/main' into fix/255-provider-reorder
# Conflicts: # web/src/icons.ts
This commit is contained in:
+127
-27
@@ -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;
|
||||
}
|
||||
|
||||
@@ -540,9 +539,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;
|
||||
}
|
||||
@@ -1165,6 +1166,18 @@ body {
|
||||
border-color: var(--signal-warn);
|
||||
}
|
||||
|
||||
/* a destructive control rests red, so delete never reads like the search
|
||||
glyph beside it; arming hands over to the shared amber treatment below */
|
||||
.control[data-kind="delete"]:not(:disabled) {
|
||||
color: var(--signal-fault);
|
||||
border-color: oklch(from var(--signal-fault) l c h / 40%);
|
||||
}
|
||||
|
||||
.control[data-kind="delete"]:hover:not(:disabled),
|
||||
.control[data-kind="delete"]:focus-visible:not(:disabled) {
|
||||
border-color: var(--signal-fault);
|
||||
}
|
||||
|
||||
/* the settings arm-then-confirm, shared with season and episode rows: an
|
||||
armed control turns caution amber until it disarms or fires */
|
||||
.control[data-armed="true"] {
|
||||
@@ -1387,10 +1400,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);
|
||||
@@ -1557,12 +1566,39 @@ body {
|
||||
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
|
||||
}
|
||||
|
||||
/* the line never wraps: the head shrinks and wraps inside itself, so the
|
||||
controls keep the right edge on every viewport */
|
||||
.season-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
flex-wrap: nowrap;
|
||||
gap: var(--space-2) var(--space-3);
|
||||
padding: var(--space-2) var(--space-1);
|
||||
cursor: pointer;
|
||||
transition: background 150ms var(--ease-out);
|
||||
}
|
||||
|
||||
.season-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
gap: var(--space-2) var(--space-3);
|
||||
}
|
||||
|
||||
.season-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: none;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
/* a row under the pointer is visibly the row the click will land on —
|
||||
the same lift a search result row gets */
|
||||
.season-line:hover,
|
||||
.episode:hover {
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
/* the disclosure is a drawn chevron — no glyph standing in for an icon */
|
||||
@@ -1600,6 +1636,7 @@ body {
|
||||
}
|
||||
|
||||
.season-name {
|
||||
flex: none;
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-base);
|
||||
font-weight: 700;
|
||||
@@ -1608,16 +1645,19 @@ body {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
/* one name, two lengths — the wide one reads as prose, the narrow one is the
|
||||
SxxEyy tag used everywhere else. display:none keeps the unused one out of
|
||||
the accessibility tree, so the row is never announced twice. */
|
||||
.season-name-short {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* the tracked toggle reads as the rule it is; pressed = on */
|
||||
.season-line .control,
|
||||
.ep-actions .control {
|
||||
padding: 0 var(--space-3);
|
||||
}
|
||||
|
||||
.season-space {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.episodes {
|
||||
margin: 0;
|
||||
padding: 0 0 var(--space-2) var(--space-8);
|
||||
@@ -1631,6 +1671,7 @@ body {
|
||||
gap: var(--space-1) var(--space-2);
|
||||
padding: var(--space-2) var(--space-1);
|
||||
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
|
||||
transition: background 150ms var(--ease-out);
|
||||
}
|
||||
|
||||
.ep-tag {
|
||||
@@ -1666,6 +1707,13 @@ body {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
/* an invisible spacer that IS an icon control: rows without a delete reserve
|
||||
its slot so search sits in the same column on every row */
|
||||
.slot-icon {
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* #227: the season the operator's own report was about read `0/10` beside
|
||||
this chip's absence. It sits next to the counts because that number is what
|
||||
looked like nothing had ever been tried. */
|
||||
@@ -1824,6 +1872,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);
|
||||
@@ -1877,10 +1929,14 @@ body {
|
||||
console charcoal under a scrim, so the readouts keep their contrast — a
|
||||
photo never sits behind text bare. */
|
||||
|
||||
/* the backdrop bleeds to the rail; a .module border and inset highlight
|
||||
would fight that edge, so the hero drops both */
|
||||
.movie-hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0 0 var(--space-8);
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* the backdrop layer: painted only when detail supplied one */
|
||||
@@ -2086,6 +2142,7 @@ body {
|
||||
|
||||
@media (max-width: 46rem) {
|
||||
.rail-inner {
|
||||
position: static;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-3) var(--space-4);
|
||||
}
|
||||
@@ -2104,15 +2161,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 {
|
||||
@@ -2120,8 +2175,10 @@ body {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* no side gutter on a phone: the width belongs to the content, and the
|
||||
hero reaches both edges the way the rail already does */
|
||||
.deck {
|
||||
padding: var(--space-6) var(--space-4) var(--space-8);
|
||||
padding: var(--space-6) 0 var(--space-8);
|
||||
}
|
||||
|
||||
.row-chips {
|
||||
@@ -2129,18 +2186,61 @@ body {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
/* an episode row wraps: identity first, chips full-width, actions right */
|
||||
/* the season name shrinks to its tag so the head keeps fitting beside the
|
||||
controls; the long form has nowhere to go on a phone */
|
||||
.season-name-long {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.season-name-short {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* no indent: the episode list is already inside its season, and the gutter
|
||||
it used to sit in is gone */
|
||||
.episodes {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* an episode row holds one line too. A phone has room for the identity,
|
||||
whether the file is on disk, and the control — everything else is detail
|
||||
you open the desktop for. Hidden, not shrunk: half a date is worse than
|
||||
no date. */
|
||||
.episode {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
/* the title takes the slack and truncates rather than pushing anything down */
|
||||
.ep-title {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ep-air {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* the state chip stays, and so does a flag — a vanished episode is a
|
||||
conflict, not an attribute. Resolution, language and the waived-rule
|
||||
chip go; they are what a wide screen is for. */
|
||||
.ep-chips .chip:not([data-movie-state]):not([data-flag]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* no auto margin: it would absorb the free space before .ep-title's
|
||||
flex-grow could claim it, truncating titles that had room to spare */
|
||||
.ep-chips {
|
||||
margin-left: 0;
|
||||
flex-basis: 100%;
|
||||
flex: none;
|
||||
flex-basis: auto;
|
||||
}
|
||||
|
||||
.ep-actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.episodes {
|
||||
padding-left: var(--space-4);
|
||||
flex: none;
|
||||
margin-left: var(--space-2);
|
||||
}
|
||||
|
||||
.releases-id {
|
||||
|
||||
Reference in New Issue
Block a user