ux(failing-sources): visible row separators + clearer hover
CI / lint (push) Successful in 3s
CI / backend-lint-and-test (push) Successful in 13s
CI / frontend-build (push) Successful in 22s
CI / intimp (push) Successful in 3m44s
CI / intapi (push) Successful in 7m45s
CI / intcore (push) Successful in 8m15s

The zebra striping in 717b601 was too subtle — inside the tonal error
card, surface-tint contrast washed out and rows still looked uniform.
Operator-flagged the same issue twice.

Replace the surface-tint approach with hard visual structure:
- Bottom border on each row (1px white/0.08) — clearly delineated rows
  regardless of card background
- Hover darkens to black/0.25 — much more obvious than the previous
  error-tint hover, gives the eye a clear horizontal track
- Slightly more vertical padding (8px vs 6px) for tap-target comfort
- Drop the gap; borders are the separator now
This commit is contained in:
2026-06-01 20:57:41 -04:00
parent 717b601c81
commit f575cfb93b
@@ -90,24 +90,28 @@ async function onViewLogs(s) {
.fc-fail__title { font-weight: 600; } .fc-fail__title { font-weight: 600; }
.fc-fail__body { .fc-fail__body {
padding: 0 14px 10px; padding: 0 14px 10px;
display: flex; flex-direction: column; gap: 3px; display: flex; flex-direction: column;
/* Borders, not gap, so the row separators are visible inside the
* tonal error card (where surface tints get washed out and gap is
* just empty space). */
} }
.fc-fail__row { .fc-fail__row {
display: flex; align-items: center; gap: 10px; display: flex; align-items: center; gap: 10px;
padding: 6px 8px; padding: 8px 10px;
border-radius: 4px; border-radius: 4px;
background: rgb(var(--v-theme-surface) / 0.4); /* Hover-darken gives the eye a horizontal track from the artist
/* Zebra striping + hover highlight: gives the eye a horizontal track * name on the left to the Logs/Retry buttons on the right.
* from the artist name on the left to the Logs/Retry buttons on the * Bottom border replaces the previous-too-subtle zebra striping —
* right. Operator-flagged 2026-06-01 — without these, all rows blur * inside the tonal error card, surface-tint contrast was negligible.
* together and it's hard to pick which row a button belongs to. */ * Operator-flagged 2026-06-01 (twice). */
border-bottom: 1px solid rgb(255 255 255 / 0.08);
transition: background 80ms ease; transition: background 80ms ease;
} }
.fc-fail__row:nth-child(even) { .fc-fail__row:last-child {
background: rgb(var(--v-theme-surface) / 0.55); border-bottom: none;
} }
.fc-fail__row:hover { .fc-fail__row:hover {
background: rgb(var(--v-theme-error) / 0.18); background: rgb(0 0 0 / 0.25);
} }
.fc-fail__artist { font-weight: 600; white-space: nowrap; } .fc-fail__artist { font-weight: 600; white-space: nowrap; }
.fc-fail__count { flex: 0 0 auto; } .fc-fail__count { flex: 0 0 auto; }