diff --git a/UI/Content/Overrides/bootstrap.toggle-switch.less b/UI/Content/Overrides/bootstrap.toggle-switch.less new file mode 100644 index 000000000..57a7f4ae8 --- /dev/null +++ b/UI/Content/Overrides/bootstrap.toggle-switch.less @@ -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); + } +} \ No newline at end of file diff --git a/UI/Content/overrides.less b/UI/Content/overrides.less index 93839659e..94e1267b2 100644 --- a/UI/Content/overrides.less +++ b/UI/Content/overrides.less @@ -1,2 +1,3 @@ @import "Overrides/bootstrap"; @import "Overrides/browser"; +@import "Overrides/bootstrap.toggle-switch";