Switches are now red when set to off

This commit is contained in:
Mark McDowall 2013-08-09 19:51:30 -07:00
parent d339d1208f
commit 649f666a3a
2 changed files with 13 additions and 0 deletions

View 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);
}
}

View File

@ -1,2 +1,3 @@
@import "Overrides/bootstrap";
@import "Overrides/browser";
@import "Overrides/bootstrap.toggle-switch";