This commit is contained in:
larssand
2026-08-24 21:28:38 +02:00
parent 355a1ad3b0
commit 3aeb77a042
13 changed files with 642 additions and 8 deletions

View File

@@ -399,6 +399,76 @@ body {
font-size: 0.82rem;
}
.training-hero-controls {
display: grid;
justify-items: end;
gap: 10px;
}
.training-hero-actions {
justify-content: flex-end;
}
.training-live-card {
margin-top: 14px;
padding: 16px 18px;
border: 1px solid color-mix(in srgb, var(--success) 52%, var(--line) 48%);
border-radius: 16px;
background:
linear-gradient(110deg, color-mix(in srgb, var(--success) 12%, transparent), transparent 48%),
var(--panel);
box-shadow: var(--shadow);
}
.training-live-head {
display: flex;
align-items: start;
justify-content: space-between;
gap: 16px;
}
.training-live-head h3,
.training-live-card > p {
margin: 4px 0 0;
}
.training-live-card > p {
color: var(--muted);
font-size: 0.88rem;
}
.training-live-stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 14px 0 10px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 12px;
}
.training-live-stats > div {
display: grid;
gap: 4px;
padding: 10px 12px;
border-right: 1px solid var(--line);
}
.training-live-stats > div:last-child {
border-right: 0;
}
.training-live-stats span {
color: var(--muted);
font-size: 0.72rem;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.training-live-stats strong {
font-family: Orbitron, sans-serif;
font-size: 1rem;
}
.training-stats {
margin-top: 14px;
}
@@ -2705,6 +2775,40 @@ select:focus {
min-width: 0;
}
.training-hero-controls {
justify-items: stretch;
}
.training-hero-actions {
justify-content: stretch;
}
.training-hero-actions .btn {
flex: 1;
}
.training-live-head {
align-items: stretch;
flex-direction: column;
}
.training-live-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.training-live-stats > div {
border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.training-live-stats > div:nth-child(2n) {
border-right: 0;
}
.training-live-stats > div:nth-last-child(-n + 2) {
border-bottom: 0;
}
.training-blocks {
grid-template-columns: 1fr;
}