Skip to content

Commit c9ad65e

Browse files
author
Mint de Wit
committed
wip: backgrounds, headers, media popup
1 parent e531f99 commit c9ad65e

File tree

7 files changed

+32
-9
lines changed

7 files changed

+32
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ h4,
1616
h5,
1717
h6 {
1818
font-weight: 300;
19-
color: var(--bs-body-color);
2019
}
2120

2221
h1,
@@ -145,6 +144,7 @@ header {
145144
h3,
146145
h4 {
147146
margin: 0;
147+
color: var(--bs-body-color);
148148
}
149149

150150
&:hover,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ input {
2727
@import 'afterBroadcastForm';
2828
// @import 'collapseJSON';
2929
@import 'colorPicker';
30-
// @import 'contextMenu';
30+
@import 'contextMenu';
3131
@import 'datePicker';
3232
// @import 'editAttribute';
3333
@import 'externalMessagesStatus';

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ $break-width: 35rem;
164164
transition: 0s padding-right 1s;
165165
}
166166
}
167+
168+
.dark {
169+
background: #343434;
170+
}
167171
}
168172

169173
body.vertical-overflow-only {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
transition: 0.2s color;
5050
color: #777;
5151
}
52+
53+
&.dark {
54+
background: #343434;
55+
}
5256
}
5357

5458
&.moving {

packages/webui/src/client/ui/RundownView/MediaStatusPopUp/MediaStatusPopUpHeader.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
padding: 0;
1717
text-align: center;
1818
min-width: 1.5em;
19-
19+
color: #141517;
20+
font-weight: 500;
21+
2022
> svg {
2123
vertical-align: top;
2224
margin-top: 0.4em;
@@ -63,7 +65,7 @@
6365
border-bottom: 1px solid #d7d7d7;
6466
border-top: 1px solid #d7d7d7;
6567
}
66-
}
68+
}
6769

6870
.media-status-item__label {
6971
&::after {
@@ -78,7 +80,7 @@
7880
width: 12em;
7981
border: none;
8082
border-radius: 1em;
81-
background: #F5F5F5;
83+
background: #f5f5f5;
8284
font-weight: 400;
8385
padding: 0.1em 0.5em;
8486
margin: 0;

packages/webui/src/client/ui/RundownView/MediaStatusPopUp/MediaStatusPopUpItem.scss

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
&:first-child {
3232
> td {
33-
padding-top: 3px;
33+
padding-top: 3px;
3434
}
3535

3636
> .media-status-popup-item__countdown {
@@ -112,6 +112,19 @@
112112
min-width: 2em;
113113
text-align: center;
114114
}
115+
116+
.media-status-popup-item__segment-identifier {
117+
display: inline-block;
118+
background: #095709;
119+
border: none;
120+
border-radius: 3px;
121+
padding: 0 0.25em;
122+
color: #fff;
123+
font-weight: 300;
124+
font-size: 0.9em;
125+
min-width: 2em;
126+
text-align: center;
127+
}
115128
}
116129

117130
.media-status-popup-item__label {

packages/webui/src/client/ui/Settings/SystemManagement.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function SystemManagementEvaluationsMessage({ coreSystem }: Readonly<WithCoreSys
212212
label={t('Enabled')}
213213
item={wrappedItem}
214214
// @ts-expect-error deep property
215-
itemKey={'evaluations.enabled'}
215+
itemKey={'evaluationsMessage.enabled'}
216216
overrideHelper={overrideHelper}
217217
>
218218
{(value, handleUpdate) => <CheckboxControl value={!!value} handleUpdate={handleUpdate} />}
@@ -222,7 +222,7 @@ function SystemManagementEvaluationsMessage({ coreSystem }: Readonly<WithCoreSys
222222
label={t('Heading')}
223223
item={wrappedItem}
224224
// @ts-expect-error deep property
225-
itemKey={'evaluations.heading'}
225+
itemKey={'evaluationsMessage.heading'}
226226
overrideHelper={overrideHelper}
227227
>
228228
{(value, handleUpdate) => (
@@ -239,7 +239,7 @@ function SystemManagementEvaluationsMessage({ coreSystem }: Readonly<WithCoreSys
239239
label={t('Message')}
240240
item={wrappedItem}
241241
// @ts-expect-error deep property
242-
itemKey={'evaluations.message'}
242+
itemKey={'evaluationsMessage.message'}
243243
overrideHelper={overrideHelper}
244244
hint={t('Message shown to users in the Evaluations form')}
245245
>

0 commit comments

Comments
 (0)