1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-25 02:30:20 +02:00
Sonarr/UI/Content/Overrides/bootstrap.toggle-switch.less

20 lines
510 B
Plaintext
Raw Normal View History

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