color selected displays checkboxes to show loading status

This commit is contained in:
Matt Walsh
2022-12-14 11:20:25 -06:00
parent b336b01059
commit 8df8fc25dc
8 changed files with 91 additions and 58 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
@use 'shared/_utils'as u;
@font-face {
font-family: "Star4000";
src: url('../fonts/Star4000.woff') format('woff');
@@ -312,11 +314,17 @@ button {
#enabledDisplays {
margin-bottom: 15px;
}
@include u.status-colors();
#enabledDisplays label {
display: block;
max-width: 300px;
.press-here {
color: white;
}
label {
display: block;
max-width: 300px;
}
}
#divTwcBottom img {

View File

@@ -37,27 +37,7 @@
padding-left: 4px;
}
.loading,
.retrying {
color: #ffff00;
}
.press-here {
color: #00ff00;
cursor: pointer;
}
.failed {
color: #ff0000;
}
.no-data {
color: #C0C0C0;
}
.disabled {
color: #C0C0C0;
}
@include u.status-colors();
&.loading .loading,
&.press-here .press-here,

View File

@@ -14,4 +14,29 @@
0 $outline 0 c.$text-shadow,
(-$outline) $outline 0 c.$text-shadow,
(-$outline) 0 0 c.$text-shadow;
}
@mixin status-colors() {
.loading,
.retrying {
color: #ffff00;
}
.press-here {
color: #00ff00;
cursor: pointer;
}
.failed {
color: #ff0000;
}
.no-data {
color: #C0C0C0;
}
.disabled {
color: #C0C0C0;
}
}