mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-23 22:40:54 +00:00
Switches are now red when set to off
This commit is contained in:
parent
d339d1208f
commit
649f666a3a
2 changed files with 13 additions and 0 deletions
12
UI/Content/Overrides/bootstrap.toggle-switch.less
vendored
Normal file
12
UI/Content/Overrides/bootstrap.toggle-switch.less
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
@import "Bootstrap/variables";
|
||||||
|
@import "Bootstrap/mixins";
|
||||||
|
|
||||||
|
.toggle {
|
||||||
|
.slide-button {
|
||||||
|
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||||
|
}
|
||||||
|
|
||||||
|
input:first-of-type:checked ~ .slide-button {
|
||||||
|
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,2 +1,3 @@
|
||||||
@import "Overrides/bootstrap";
|
@import "Overrides/bootstrap";
|
||||||
@import "Overrides/browser";
|
@import "Overrides/browser";
|
||||||
|
@import "Overrides/bootstrap.toggle-switch";
|
||||||
|
|
Loading…
Reference in a new issue