Refresh live sprint qualifying timing

This commit is contained in:
2026-07-03 12:43:45 -04:00
parent b7696c11de
commit 5408a45bbd
10 changed files with 585 additions and 53 deletions

View File

@@ -539,12 +539,17 @@ a { color: inherit; text-decoration: none; }
}
/* ── Live timing ── */
.live-page { max-width: 1120px; }
.live-page { max-width: 1320px; }
.live-banner {
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
padding: var(--s4) var(--s5);
border: 1px solid rgba(255, 255, 255, 0.08);
border-left: 3px solid var(--red);
border-radius: 8px;
margin-bottom: var(--s5);
background:
linear-gradient(90deg, rgba(225, 6, 0, 0.12), transparent 28%),
rgba(255, 255, 255, 0.025);
}
.live-banner-row {
@@ -562,7 +567,7 @@ a { color: inherit; text-decoration: none; }
}
.live-banner h1 {
font-size: 18px;
font-size: 24px;
line-height: 1.2;
}
@@ -571,12 +576,51 @@ a { color: inherit; text-decoration: none; }
font-size: 12px;
}
.live-session-board {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--s4);
flex-wrap: wrap;
text-align: right;
}
.live-clock {
min-width: 148px;
color: var(--text);
font-size: 32px;
font-weight: 800;
line-height: 1;
letter-spacing: 0;
text-align: right;
}
.live-phase-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 54px;
height: 44px;
padding: 0 var(--s3);
border: 1px solid rgba(255, 214, 0, 0.36);
border-radius: 4px;
background: rgba(255, 214, 0, 0.14);
color: var(--yellow);
font-size: 18px;
font-weight: 900;
}
.live-banner-meta {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--s3);
gap: var(--s2);
flex-wrap: wrap;
max-width: 280px;
color: var(--text-2);
font-size: 11px;
font-family: var(--f-mono);
text-transform: uppercase;
}
.live-weather-strip {
@@ -608,7 +652,7 @@ a { color: inherit; text-decoration: none; }
@media (min-width: 900px) {
.live-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
grid-template-columns: minmax(0, 1fr) 318px;
gap: var(--s5);
align-items: start;
}
@@ -669,7 +713,7 @@ a { color: inherit; text-decoration: none; }
.live-tower {
font-variant-numeric: tabular-nums;
border-collapse: separate;
border-spacing: 0 4px;
border-spacing: 0 3px;
}
.live-tower th {
border-bottom: none !important;
@@ -699,12 +743,55 @@ a { color: inherit; text-decoration: none; }
.live-tower .in-pit td { background: rgba(0, 80, 160, 0.2) !important; }
.live-tower .pit-out td { background: rgba(57, 199, 58, 0.15) !important; }
.live-tower .retired td { opacity: 0.5; filter: grayscale(80%); }
.live-tower .danger-row td {
background: rgba(225, 6, 0, 0.095);
}
.live-tower .danger-row td:first-child {
box-shadow: inset 3px 0 0 rgba(225, 6, 0, 0.78);
}
.live-tower .flying-row td {
background: rgba(194, 120, 255, 0.055);
}
.live-tower .flying-row td:first-child {
box-shadow: inset 3px 0 0 rgba(194, 120, 255, 0.68);
}
.live-tower .danger-row.flying-row td:first-child {
box-shadow: inset 3px 0 0 rgba(225, 6, 0, 0.78), inset 6px 0 0 rgba(194, 120, 255, 0.68);
}
.cutoff-separator td {
padding: 6px var(--s3) !important;
background: transparent !important;
border-radius: 0 !important;
border-top: 1px dashed rgba(225, 6, 0, 0.78) !important;
border-bottom: none !important;
color: #ff8a8a;
font-size: 10px;
font-family: var(--f-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
}
.cutoff-separator span,
.cutoff-separator strong,
.cutoff-separator em {
margin-right: var(--s4);
font-style: normal;
}
.cutoff-separator strong {
color: var(--text);
}
.cutoff-separator em {
color: #ffb0b0;
}
/* Race Control Panel & Animations */
.panel-glass {
background: rgba(20, 20, 20, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
border-radius: 8px;
padding: 16px;
backdrop-filter: blur(12px);
max-height: calc(100vh - 120px);
@@ -789,6 +876,7 @@ a { color: inherit; text-decoration: none; }
.badge-flying { background: rgba(194,120,255,.14); color: var(--purple); border: 1px solid rgba(194,120,255,.26); }
.badge-knocked { background: rgba(225,6,0,.12); color: #ff6b6b; border: 1px solid rgba(225,6,0,.24); }
.badge-cutoff { background: rgba(255,214,0,.12); color: var(--yellow); border: 1px solid rgba(255,214,0,.25); }
.badge-risk { background: rgba(225,6,0,.14); color: #ff8a8a; border: 1px solid rgba(225,6,0,.28); }
.tyre-soft { background: var(--tyre-soft); color: #fff; }
.tyre-medium { background: var(--tyre-medium); color: #111; }
@@ -867,6 +955,24 @@ a { color: inherit; text-decoration: none; }
.spark-cell { line-height: 0; }
.sector-time {
display: inline-flex;
align-items: center;
justify-content: flex-end;
min-width: 58px;
padding: 2px 5px;
border-radius: 3px;
}
.sector-active {
background: rgba(255, 214, 0, 0.08);
}
.sector-personal {
background: rgba(57, 199, 58, 0.1);
}
.sector-overall {
background: rgba(194, 120, 255, 0.12);
}
/* ── Battle highlighting ── */
.live-tower tr.battle-row td { background: rgba(255,214,0,.045); }
.live-tower tr.battle-row td:first-child { box-shadow: inset 2px 0 0 rgba(255,214,0,.55); }
@@ -2971,11 +3077,27 @@ a { color: inherit; text-decoration: none; }
align-items: flex-start;
gap: var(--s3);
}
.live-banner-meta {
.live-session-board {
justify-content: flex-start;
text-align: left;
width: 100%;
}
.live-banner h1 { font-size: 16px; }
.live-clock {
min-width: 0;
font-size: 26px;
text-align: left;
}
.live-phase-pill {
min-width: 48px;
height: 38px;
font-size: 16px;
}
.live-banner-meta {
justify-content: flex-start;
max-width: none;
width: 100%;
}
.live-banner h1 { font-size: 19px; }
.live-weather-strip { gap: var(--s3); }
.live-rc-scroll { max-height: 220px; }