fix(button-toggle): missing hover state (#1733)

Adds a hover effect to the button toggles.

Referencing #421.
This commit is contained in:
Kristiyan Kostadinov
2016-11-08 22:41:13 +01:00
committed by Jeremy Elbourn
parent dca6ea3a02
commit 15cd28bca3
@@ -5,9 +5,12 @@
@mixin md-button-toggle-theme($theme) {
$foreground: map-get($theme, foreground);
.md-button-toggle-checked .md-button-toggle-label-content {
background-color: md-color($md-grey, 300);
.md-button-toggle-checked, md-button-toggle:not(.md-button-toggle-disabled):hover {
.md-button-toggle-label-content {
background-color: md-color($md-grey, 300);
}
}
.md-button-toggle-disabled .md-button-toggle-label-content {
background-color: md-color($foreground, disabled);
}