feat(race-day): live race for the race controller with order, laps, gaps and estimated finish (1.47.0)

This commit is contained in:
larssand committed 2026-11-01 16:38:08 +01:00
1 parent c4163441fc
commit 54487a18a6
12 files changed
+169 -7

No files matched your search

+21
View File
@@ -4734,3 +4734,24 @@ tr.is-removed td.lap-actions {
.overlay-race-list-compact .overlay-decoder-meta {
display: none;
}
/* Race Day live race: big, readable from a distance for the race controller. */
.race-day-live { margin-top: 16px; }
.race-day-live-table { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.race-day-live-table th { text-align: left; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 10px; white-space: nowrap; }
.race-day-live-table td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.race-day-live-table .live-pos { font-size: 1.5rem; font-weight: 800; width: 2.5em; }
.race-day-live-table .live-driver strong { font-size: 1.2rem; }
.race-day-live-table .live-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.race-day-live-table .is-fastest { color: #b77dff; font-weight: 800; }
.race-day-live-table .is-pb { color: var(--ok); font-weight: 700; }
.race-day-live-table tr.is-invalid td { background: var(--danger-soft, rgba(239, 68, 68, 0.1)); }
.race-day-live-table .live-warn { color: var(--warn); }
.live-lap-bar { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--line); overflow: hidden; max-width: 220px; }
.live-lap-bar > span { display: block; height: 100%; background: var(--ok); }
.live-lap-bar > .is-warn { background: var(--warn); }
.live-lap-bar > .is-late { background: var(--danger); }
@media (max-width: 720px) {
.race-day-live-table { font-size: 1rem; }
.race-day-live-table th:nth-child(7), .race-day-live-table td:nth-child(7) { display: none; }
}