fix(web): steady action slot, red delete, clickable season

Closes #254
This commit is contained in:
Miguel Palhas
2026-08-25 19:06:25 +01:00
parent c9e44b9c03
commit dee7340a01
3 changed files with 59 additions and 4 deletions
+30
View File
@@ -1152,6 +1152,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"] {
@@ -1510,6 +1522,15 @@ body {
flex-wrap: wrap;
gap: var(--space-2) var(--space-3);
padding: var(--space-2) var(--space-1);
cursor: pointer;
transition: background 150ms var(--ease-out);
}
/* 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 */
@@ -1578,6 +1599,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 {
@@ -1613,6 +1635,14 @@ body {
font-size: var(--text-xs);
}
/* an invisible spacer sized as an icon control: rows without a delete
reserve its slot so search sits in the same column on every row */
.slot-icon {
flex: none;
width: var(--control-h);
height: var(--control-h);
}
/* #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. */