feat(race-setup): group the race list into today, upcoming and folded done, with progress and search (1.52.0)

This commit is contained in:
larssand committed 2026-11-02 08:21:17 +01:00
1 parent b2e08db3d8
commit b23410c190
13 files changed
+213 -29

No files matched your search

+19
View File
@@ -4806,3 +4806,22 @@ tr.is-removed td.lap-actions {
.day-schedule-table th:nth-child(3), .day-schedule-table td:nth-child(3) { display: none; }
.board-time { font-size: 1.6rem; }
}
/* Race Setup: races grouped today / upcoming / done, per date */
.event-list .panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.event-list-search { max-width: 260px; }
.event-group + .event-group { margin-top: 18px; }
.event-group-title { margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
details.event-group > summary { cursor: pointer; list-style: revert; }
.event-day { margin-bottom: 12px; }
.event-day h4 { margin: 0 0 6px; font-size: 0.95rem; }
.event-row { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(140px, 1.5fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; background: var(--surface-card); }
.event-row-main { display: grid; gap: 2px; }
.event-row-main small { color: var(--muted); }
.event-progress.is-done { color: var(--ok); font-weight: 600; }
.event-progress.is-live { color: var(--ok); font-weight: 700; }
.event-row-actions { justify-content: flex-end; }
@media (max-width: 700px) {
.event-row { grid-template-columns: 1fr; }
.event-row-actions { justify-content: flex-start; }
}