mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
btn-danger on switch will make it red for on and black for off
This commit is contained in:
@@ -4,9 +4,17 @@
|
||||
.toggle {
|
||||
.slide-button {
|
||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||
|
||||
&.btn-danger {
|
||||
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
||||
}
|
||||
}
|
||||
|
||||
input:first-of-type:checked ~ .slide-button {
|
||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
||||
|
||||
&.btn-danger {
|
||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user