ux(failing-sources): visible row separators + clearer hover #45

Merged
bvandeusen merged 1 commits from dev into main 2026-06-01 21:09:28 -04:00
@@ -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; }