mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(button-toggle): missing hover state (#1733)
Adds a hover effect to the button toggles. Referencing #421.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user