mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 12:23:51 +00:00
refactor: tweaks to styles
- cuesheet action is ghosted - mute index in cuesheet milestones - clarify mirrored state in navigation menu - align overview contents
This commit is contained in:
committed by
Carlos Valente
parent
40f8976350
commit
93916653be
@@ -1,7 +1,10 @@
|
||||
.column {
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.row {
|
||||
|
||||
@@ -194,7 +194,7 @@ export function ProgressOverview() {
|
||||
const current = selectedEventIndex !== null ? selectedEventIndex + 1 : enDash;
|
||||
const progressText = numEvents ? `${current} of ${numEvents || enDash}` : enDash;
|
||||
|
||||
return <TimeColumn label='Progress' value={progressText} />;
|
||||
return <TimeColumn label='Progress' value={progressText} muted={selectedEventIndex === null} />;
|
||||
}
|
||||
|
||||
export function OffsetOverview() {
|
||||
|
||||
@@ -13,11 +13,17 @@
|
||||
&::after {
|
||||
content: '\200b';
|
||||
}
|
||||
|
||||
&.muted {
|
||||
color: $muted-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
justify-content: end;
|
||||
|
||||
.label {
|
||||
line-height: 0.9em;
|
||||
|
||||
Reference in New Issue
Block a user