File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 44@import ' button-base' ;
55
66// TODO(kara): Replace attribute selectors with class selectors when possible
7- [md-button ] {
7+ [md-button ], [ md-icon-button ] {
88 @extend %md-button-base ;
99
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+
1016 & [disabled ]:hover {
11- & .md-primary , & .md-accent , & .md-warn , & :hover {
17+ & .md-primary , & .md-accent , & .md-warn , & :after {
1218 background-color : transparent ;
1319 }
1420 }
4349 }
4450}
4551
46- // Only flat buttons and icon buttons (not raised or fabs) have a hover style.
47- [md-button ]:hover , [md-icon-button ]:hover {
48- // Use the same visual treatment for hover as for focus.
49- @include md-button-focus ();
50- }
51-
5252// Applies a clearer border for high-contrast mode (a11y)
5353@media screen and (-ms-high-contrast : active ) {
5454 .md-raised-button , .md-fab , .md-mini-fab {
You can’t perform that action at this time.
0 commit comments