feat(race-day): run buttons follow the race flags
Green starts or resumes, red pauses (stops the race), checkered finishes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ba35f9e7d2
commit
8120ebc1b5
4 files changed
+15
-5
No files matched your search
+11
-1
@@ -1930,7 +1930,8 @@ body {
|
||||
);
|
||||
}
|
||||
|
||||
/* Traffic-light run controls: green starts or resumes, amber holds, red (.btn-danger) finishes. */
|
||||
/* Run controls follow the race flags: green flag starts or resumes, red flag (.btn-danger) stops the
|
||||
race (pause), checkered flag finishes. Amber only holds the start count-down. */
|
||||
.btn-go {
|
||||
color: #fff;
|
||||
border-color: color-mix(in srgb, var(--ok) 62%, black 38%);
|
||||
@@ -1943,6 +1944,15 @@ body {
|
||||
background: linear-gradient(180deg, color-mix(in srgb, var(--warn) 85%, white 15%), color-mix(in srgb, var(--warn) 80%, black 20%));
|
||||
}
|
||||
|
||||
.btn-checkered {
|
||||
color: #111;
|
||||
border-color: #111;
|
||||
background-color: #fff;
|
||||
background-image: repeating-conic-gradient(rgba(0, 0, 0, 0.14) 0 25%, transparent 0 50%);
|
||||
background-size: 14px 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.btn-go:disabled,
|
||||
.btn-hold:disabled {
|
||||
filter: grayscale(0.7);
|
||||
|
||||
Reference in new issue
Block a user