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 }
6066 z-index : 1 ;
6167}
6268
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-
6969// Applies a clearer border for high-contrast mode (a11y)
7070@media screen and (-ms-high-contrast : active ) {
7171 .md-raised-button , .md-fab , .md-mini-fab {
You can’t perform that action at this time.
0 commit comments