mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Switches are now red when set to off
This commit is contained in:
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";
|
||||||
|
Reference in New Issue
Block a user