Switches are now red when set to off

This commit is contained in:
Mark McDowall 2013-08-09 19:51:30 -07:00
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);
}
}