Add per-driver live stats for timed practice sessions

This commit is contained in:
larssand
2026-08-24 17:36:03 +02:00
parent 40d0c3fa90
commit aa74da0bdf
7 changed files with 114 additions and 9 deletions

View File

@@ -277,6 +277,52 @@ button {
text-align: center;
}
.profile-session-heading {
margin: 16px 0 8px;
color: var(--muted);
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.08em;
text-align: center;
text-transform: uppercase;
}
.profile-session-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 7px;
margin-bottom: 14px;
}
.profile-session-stats > div {
min-width: 0;
padding: 10px 7px;
border: 1px solid var(--line);
border-radius: 10px;
background: rgba(255, 255, 255, 0.025);
text-align: center;
}
.profile-session-stats span,
.profile-session-stats strong {
display: block;
}
.profile-session-stats span {
color: var(--muted);
font-size: 0.66rem;
font-weight: 700;
text-transform: uppercase;
}
.profile-session-stats strong {
overflow: hidden;
margin-top: 4px;
font-family: Orbitron, sans-serif;
font-size: clamp(0.8rem, 3vw, 1rem);
text-overflow: ellipsis;
}
.profile-actions {
display: flex;
flex-wrap: wrap;