Skip to content

Commit 945e9a8

Browse files
committed
wip: css adjustments
1 parent 97a5405 commit 945e9a8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

packages/webui/src/client/lib/Components/CounterComponents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ export const PlannedEndComponent = (props: OverUnderProps): JSX.Element => {
2626
export const TimeToPlannedEndComponent = (props: OverUnderProps): JSX.Element => {
2727
return (
2828
<span className="counter-component__time-to-planned-end">
29-
{RundownUtils.formatDiffToTimecode(props.value, true, true, true)}
29+
{RundownUtils.formatDiffToTimecode(props.value, true, false, true, true, true, undefined, true, true)}
3030
</span>
3131
)
3232
}
3333

3434
export const TimeSincePlannedEndComponent = (props: OverUnderProps): JSX.Element => {
3535
return (
3636
<span className="counter-component__time-since-planned-end">
37-
{RundownUtils.formatDiffToTimecode(props.value, true, true, true)}
37+
{RundownUtils.formatDiffToTimecode(props.value, true, false, true, true, true, undefined, true, true)}
3838
</span>
3939
)
4040
}

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,11 @@ $hold-status-color: $liveline-timecode-color;
202202
.director-screen__body__part__piece-countdown {
203203
grid-row: inherit;
204204
text-align: left;
205-
font-size: 16em;
205+
font-size: 20em;
206+
font-weight: 500;
207+
font-stretch: 57;
208+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738,
209+
'YTLC' 548, 'YTUC' 712, 'slnt' 0, 'opsz' 44;
206210
padding: 0 0.2em;
207211
line-height: 1em;
208212
margin-top: 10px;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
color: #ff0;
6060
letter-spacing: 0%;
6161
text-align: right;
62+
margin-left: 1.2vw;
6263

6364
font-stretch: 57;
6465
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,
@@ -68,6 +69,7 @@
6869
.counter-component__time-since-planned-end {
6970
color: #ff5218;
7071
text-align: right;
72+
margin-left: 1.2vw;
7173

7274
font-stretch: 57;
7375
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,

0 commit comments

Comments
 (0)