Skip to content

Commit 9e73ab7

Browse files
committed
chore: Updated styling on the Over/Under (previously known as "Diff") counter and adjusted the close icon placement.
1 parent 9656727 commit 9e73ab7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
.rundown-header__timing-display {
8686
display: flex;
8787
align-items: center;
88-
margin-right: 1.5em;
88+
margin-right: 0.5em;
8989
margin-left: 2em;
9090

9191
.rundown-header__diff {
@@ -99,28 +99,27 @@
9999
@extend .rundown-header__hoverable-label;
100100
font-size: 0.7em;
101101
font-variation-settings: 'wdth' 25, 'wght' 500, 'slnt' 0, 'GRAD' 0, 'opsz' 14, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTFI' 738, 'YTLC' 548, 'YTDE' -203, 'YTUC' 712;
102-
color: #fff;
103102
opacity: 0.6;
104103
}
105104

106105
.rundown-header__diff__chip {
107-
font-size: 1.1em;
108-
//font-weight: 500;
109-
padding: 0.15em 0.75em;
106+
font-size: 1.2em;
107+
padding: 0.0em 0.3em;
110108
border-radius: 999px;
111-
font-variant-numeric: tabular-nums;
109+
font-variation-settings: 'wdth' 25, 'wght' 600, 'slnt' 0, 'GRAD' 0, 'opsz' 20, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTFI' 738, 'YTLC' 548, 'YTDE' -203, 'YTUC' 712;
110+
letter-spacing: -0.02em;
112111
}
113112

114113
&.rundown-header__diff--under {
115114
.rundown-header__diff__chip {
116-
background-color: #c8a800;
115+
background-color: #ff0;//$general-fast-color;
117116
color: #000;
118117
}
119118
}
120119

121120
&.rundown-header__diff--over {
122121
.rundown-header__diff__chip {
123-
background-color: #b00;
122+
background-color: $general-late-color;
124123
color: #fff;
125124
}
126125
}
@@ -258,6 +257,7 @@
258257
.rundown-header__close-btn {
259258
display: flex;
260259
align-items: center;
260+
margin-right: 0.75em;
261261
cursor: pointer;
262262
color: #40b8fa;
263263
opacity: 0;

0 commit comments

Comments
 (0)