Skip to content

Commit 98d710c

Browse files
justandrasrjmunro
authored andcommitted
fix: inactive playlist top bar readability (#84)
1 parent 2898650 commit 98d710c

2 files changed

Lines changed: 41 additions & 38 deletions

File tree

packages/webui/src/client/ui/RundownView/RundownHeader/RundownHeader.scss

Lines changed: 40 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
background-color: $color-header-on-air;
3535
border-bottom: 1px solid #256b91;
3636

37+
.rundown-header__clocks {
38+
.timing-clock {
39+
color: #40b8fa;
40+
}
41+
}
42+
3743
.rundown-header__timers-segment-remaining,
3844
.rundown-header__timers-onair-remaining,
3945
.rundown-header__show-timers-countdown {
@@ -96,7 +102,7 @@
96102
flex: none;
97103
min-width: 0;
98104
.timing-clock {
99-
color: #40b8fa;
105+
color: #ffffff;
100106
font-size: 1.4em;
101107
letter-spacing: 0em;
102108
transition: color 0.2s;
@@ -211,8 +217,6 @@
211217
.rundown-header__clocks-diff__label {
212218
@extend %hoverable-label;
213219
font-size: 0.75em;
214-
//opacity: 0.6;
215-
color: #999;
216220
font-variation-settings:
217221
'wdth' 25,
218222
'wght' 500,
@@ -374,16 +378,15 @@
374378
.rundown-header__menu-btn {
375379
background: none;
376380
border: none;
377-
color: #40b8fa99;
381+
color: rgba(255, 255, 255, 0.7);
378382
cursor: pointer;
379383
padding: 0 1em;
380384
display: flex;
381385
align-items: center;
382386
justify-content: center;
383387
height: 100%;
384388
font-size: 1.2em;
385-
transition:
386-
color 0.2s;
389+
transition: color 0.2s;
387390

388391
svg,
389392
i {
@@ -516,19 +519,19 @@
516519
font-size: 1.3em;
517520
letter-spacing: 0em;
518521
font-variation-settings:
519-
'wdth' 60,
520-
'wght' 550,
521-
'slnt' 0,
522-
'GRAD' 0,
523-
'opsz' 40,
524-
'XOPQ' 96,
525-
'XTRA' 468,
526-
'YOPQ' 79,
527-
'YTAS' 750,
528-
'YTFI' 738,
529-
'YTLC' 548,
530-
'YTDE' -203,
531-
'YTUC' 712;
522+
'wdth' 60,
523+
'wght' 550,
524+
'slnt' 0,
525+
'GRAD' 0,
526+
'opsz' 40,
527+
'XOPQ' 96,
528+
'XTRA' 468,
529+
'YOPQ' 79,
530+
'YTAS' 750,
531+
'YTFI' 738,
532+
'YTLC' 548,
533+
'YTDE' -203,
534+
'YTUC' 712;
532535
}
533536

534537
.countdown__timeofday {
@@ -537,19 +540,19 @@
537540
font-variant-numeric: tabular-nums;
538541
letter-spacing: 0.02em;
539542
font-variation-settings:
540-
'wdth' 70,
541-
'wght' 400,
542-
'slnt' -5,
543-
'GRAD' 0,
544-
'opsz' 40,
545-
'XOPQ' 96,
546-
'XTRA' 468,
547-
'YOPQ' 79,
548-
'YTAS' 750,
549-
'YTFI' 738,
550-
'YTLC' 548,
551-
'YTDE' -203,
552-
'YTUC' 712;
543+
'wdth' 70,
544+
'wght' 400,
545+
'slnt' -5,
546+
'GRAD' 0,
547+
'opsz' 40,
548+
'XOPQ' 96,
549+
'XTRA' 468,
550+
'YOPQ' 79,
551+
'YTAS' 750,
552+
'YTFI' 738,
553+
'YTLC' 548,
554+
'YTDE' -203,
555+
'YTUC' 712;
553556
}
554557
}
555558

@@ -592,11 +595,10 @@
592595
align-items: center;
593596
margin-right: 0.75em;
594597
cursor: pointer;
595-
color: #40b8fa;
598+
color: rgba(255, 255, 255, 0.7);
596599
opacity: 0;
597600
flex-shrink: 0;
598-
transition:
599-
opacity 0.2s;
601+
transition: opacity 0.2s;
600602

601603
svg,
602604
i {
@@ -625,11 +627,12 @@
625627

626628
&:hover {
627629
.rundown-header__menu-btn:not(:disabled) {
628-
color: #40b8fa;
630+
color: rgba(255, 255, 255, 0.8);
629631
}
630632

631633
.rundown-header__hoverable-label,
632-
.countdown__label {
634+
.countdown__label,
635+
.rundown-header__clocks-diff__label {
633636
opacity: 1;
634637
color: #fff;
635638
}

packages/webui/src/client/ui/RundownView/RundownHeader/_shared.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
letter-spacing: 0.01em;
2121
text-transform: uppercase;
2222
opacity: 1;
23-
color: #888;
23+
color: rgba(255, 255, 255, 0.6); // same transparency as `.countdown__digit--dimmed`
2424
transition: color 0.2s;
2525
}

0 commit comments

Comments
 (0)