sonarr-repo-only/UI/Content/Overrides/bootstrap.toggle-switch.less

24 lines
632 B
Plaintext
Raw Normal View History

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