Skip to content

Commit b40b4e9

Browse files
committed
fix: css adjustments
1 parent 93abc5c commit b40b4e9

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

packages/webui/src/client/styles/countdown/director.scss

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $hold-status-color: $liveline-timecode-color;
6969
display: grid;
7070
grid-template:
7171
24em
72-
70em
72+
80em
7373
20em / min(13vw, 27vh) auto;
7474
white-space: nowrap;
7575

@@ -109,8 +109,8 @@ $hold-status-color: $liveline-timecode-color;
109109
}
110110
&.notext {
111111
background: $general-next-color;
112-
height: 20px;
113-
margin-top: 8vh;
112+
height: 2.2vh;
113+
margin-top: 8.7vh;
114114
text-shadow: 0px 0px 6px #000000;
115115
}
116116
.director-screen__body__segment__countdown {
@@ -123,21 +123,23 @@ $hold-status-color: $liveline-timecode-color;
123123
align-items: center;
124124
font-size: 110px;
125125
padding-left: 8vw;
126-
padding-top: 6px;
126+
padding-top: vh;
127127
color: #ff0;
128128
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738,
129-
'YTLC' 514, 'YTUC' 712, 'opsz' 100, 'slnt' 0, 'wdth' 100, 'wght' 550;
129+
'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
130130

131131
background: linear-gradient(
132132
90deg,
133133
rgba(223, 0, 0, 0) 0%,
134-
#df0000 7.86%,
134+
#df000000 7.86%,
135135
rgba(116, 0, 0, 0.808) 16.21%,
136-
rgba(0, 0, 0, 0.6) 24.94%
136+
rgba(0, 0, 0, 0.8) 24.94%
137137
);
138138
.overtime {
139139
color: $general-fast-color;
140-
text-shadow: 0px 0px 6px $general-fast-color--shadow;
140+
//text-shadow: 0px 0px 6px $general-fast-color--shadow;
141+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738,
142+
'YTLC' 514, 'YTUC' 712, 'opsz' 100, 'slnt' 0, 'wdth' 70, 'wght' 600;
141143
}
142144
}
143145
}
@@ -205,17 +207,18 @@ $hold-status-color: $liveline-timecode-color;
205207
.director-screen__body__part__piece-countdown {
206208
grid-row: inherit;
207209
text-align: left;
208-
font-size: 20em;
210+
font-size: 25em;
209211
font-weight: 500;
210-
font-stretch: 57;
212+
font-feature-settings: 'liga' off, 'tnum' on;
211213
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738,
212-
'YTLC' 548, 'YTUC' 712, 'slnt' 0, 'opsz' 44;
214+
'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
213215
padding: 0 0.2em;
214216
line-height: 1em;
215-
margin-top: 10px;
216217

217218
> .overtime {
218219
color: $general-late-color;
220+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738,
221+
'YTLC' 514, 'YTUC' 712, 'opsz' 100, 'slnt' 0, 'wdth' 70, 'wght' 600;
219222
}
220223

221224
.freeze-counter {

packages/webui/src/client/styles/counterComponents.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
font-weight: 500;
99
line-height: 100%;
1010
font-feature-settings: 'liga' off, 'tnum' on;
11-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
11+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514,
12+
'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
1213
margin-bottom: 4px;
1314
}
1415

@@ -17,7 +18,6 @@
1718
text-align: right;
1819

1920
letter-spacing: 0.01em;
20-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
2121

2222
.under {
2323
background-color: #ff0;
@@ -39,11 +39,12 @@
3939
min-width: 240px;
4040
padding-left: 22px;
4141
padding-right: 22px;
42-
padding-top: 0px;
42+
padding-top: 3px;
4343
padding-bottom: 0px;
4444
display: inline-block;
4545

46-
font-variation-settings: 'GRAD' 100, 'wdth' 70, 'wght' 600;
46+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514,
47+
'YTUC' 712, 'opsz' 100, 'slnt' 0, 'wdth' 70, 'wght' 600;
4748
}
4849
}
4950

@@ -63,7 +64,8 @@
6364
margin-left: 1.2vw;
6465

6566
letter-spacing: 0.01em;
66-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
67+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514,
68+
'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
6769
}
6870

6971
.counter-component__time-since-planned-end {
@@ -72,6 +74,6 @@
7274
margin-left: 1.2vw;
7375

7476
letter-spacing: 0.01em;
75-
font-variation-settings: 'GRAD' 100, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 600;
76-
77+
font-variation-settings: 'GRAD' 100, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514,
78+
'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 600;
7779
}

0 commit comments

Comments
 (0)