File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
@import ' button-base' ;
5
5
6
6
// TODO(kara): Replace attribute selectors with class selectors when possible
7
- [md-button ] {
7
+ [md-button ], [ md-icon-button ] {
8
8
@extend %md-button-base ;
9
9
10
+ // Only flat buttons and icon buttons (not raised or fabs) have a hover style.
11
+ & :hover {
12
+ // Use the same visual treatment for hover as for focus.
13
+ @include md-button-focus ();
14
+ }
15
+
10
16
& [disabled ]:hover {
11
- & .md-primary , & .md-accent , & .md-warn , & :hover {
17
+ & .md-primary , & .md-accent , & .md-warn , & ::after {
12
18
background-color : transparent ;
13
19
}
14
20
}
60
66
z-index : 1 ;
61
67
}
62
68
63
- // Only flat buttons and icon buttons (not raised or fabs) have a hover style.
64
- [md-button ]:hover , [md-icon-button ]:hover {
65
- // Use the same visual treatment for hover as for focus.
66
- @include md-button-focus ();
67
- }
68
-
69
69
// Applies a clearer border for high-contrast mode (a11y)
70
70
@media screen and (-ms-high-contrast : active ) {
71
71
.md-raised-button , .md-fab , .md-mini-fab {
You can’t perform that action at this time.
0 commit comments