2013-08-10 05:51:30 +03:00
|
|
|
@import "Bootstrap/variables";
|
|
|
|
@import "Bootstrap/mixins";
|
|
|
|
|
|
|
|
.toggle {
|
|
|
|
.slide-button {
|
|
|
|
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
2013-08-13 09:08:39 +03:00
|
|
|
|
2013-09-25 07:51:44 +03:00
|
|
|
&.btn-danger, &.btn-warning {
|
2013-08-13 09:08:39 +03:00
|
|
|
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
|
|
|
}
|
2013-08-10 05:51:30 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
input:first-of-type:checked ~ .slide-button {
|
|
|
|
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
2013-08-13 09:08:39 +03:00
|
|
|
|
|
|
|
&.btn-danger {
|
|
|
|
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
|
|
|
}
|
2013-09-25 07:51:44 +03:00
|
|
|
|
|
|
|
&.btn-warning {
|
|
|
|
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
|
|
|
|
}
|
2013-08-10 05:51:30 +03:00
|
|
|
}
|
|
|
|
}
|