Skip to content

Commit 0b1f050

Browse files
committed
wip: css rough alignments
1 parent 071e8be commit 0b1f050

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ $hold-status-color: $liveline-timecode-color;
5353
.director-screen__body__part {
5454
display: grid;
5555
grid-template:
56-
22em
57-
4fr
58-
6fr / 13vw auto;
59-
grid-template:
60-
22em
61-
4fr
62-
6fr / #{'min(13vw, 27vh)'} auto;
56+
24em
57+
60em
58+
30em / #{'min(13vw, 27vh)'} auto;
6359
white-space: nowrap;
6460

6561
.director-screen__body__segment-name {
@@ -120,7 +116,7 @@ $hold-status-color: $liveline-timecode-color;
120116

121117
text-align: center;
122118
display: flex;
123-
align-items: center;
119+
align-items: top;
124120
justify-content: center;
125121

126122
> svg {
@@ -138,7 +134,8 @@ $hold-status-color: $liveline-timecode-color;
138134
padding-left: 0.2em;
139135

140136
display: flex;
141-
align-items: center;
137+
align-items: top;
138+
margin-top: 20px;
142139

143140
.director-screen__part__auto-next-icon {
144141
display: block;
@@ -182,13 +179,11 @@ $hold-status-color: $liveline-timecode-color;
182179

183180
.director-screen__body__part__piece-countdown,
184181
.director-screen__body__part__part-countdown {
185-
grid-row: 3;
186182
grid-column: 2;
187183
color: $general-countdown-to-next-color;
188184
}
189185

190186
&.director-screen__body__part--next-part {
191-
border-top: solid 2em $general-next-color;
192187
.director-screen__body__part__piece-icon,
193188
.director-screen__body__part__piece-name {
194189
grid-row: 2 / -1;

packages/webui/src/client/ui/ClockView/DirectorScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ function DirectorScreenRender({
348348
useSetDocumentClass('dark', 'xdark')
349349

350350
if (playlist && playlistId && segments) {
351-
const currentPartOrSegmentCountdown =
352-
timingDurations.remainingBudgetOnCurrentSegment ?? timingDurations.remainingTimeOnCurrentPart ?? 0
351+
// const currentPartOrSegmentCountdown =
352+
// timingDurations.remainingBudgetOnCurrentSegment ?? timingDurations.remainingTimeOnCurrentPart ?? 0
353353

354354
const expectedStart = PlaylistTiming.getExpectedStart(playlist.timing)
355355
const expectedEnd = PlaylistTiming.getExpectedEnd(playlist.timing) || 0

packages/webui/src/client/ui/PieceIcons/PieceIcons.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ $letter-spacing: 0.02em;
99
&.#{$layer-type} {
1010
// Background:
1111
display: inline-block;
12-
width: 180px;
13-
height: 140px;
14-
line-height: 140px;
12+
width: 207px;
13+
height: 126px;
14+
line-height: 126px;
1515

1616
background-color: var(--segment-layer-background-#{$layer-type});
1717

0 commit comments

Comments
 (0)