styles: simplify toggle style (set color on container element, let label inherit)
themes: update alt-buttons
This commit is contained in:
parent
42caa043da
commit
4b6cd0f091
2 changed files with 4 additions and 7 deletions
|
|
@ -1,13 +1,11 @@
|
|||
.widget.push-container.on,
|
||||
.widget.modal-container.on,
|
||||
.widget.switch-container .value.on,
|
||||
.widget.switcher-container .value.on,
|
||||
.widget.crossfader-container .value.on,
|
||||
.widget.toggle-container.on:not(.led)
|
||||
{
|
||||
background : var(--color-custom);
|
||||
}
|
||||
.widget.push-container.on > .label,
|
||||
.widget.modal-container.on > .label,
|
||||
.widget.toggle-container.on:not(.led) > .label
|
||||
{
|
||||
color: var(--color-bg);
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,9 +63,8 @@
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
&.on > .label {
|
||||
&.on {
|
||||
color: var(--color-custom);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.led {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue