fix(button): only flat button and icon buttons should inherit the color (#2561)

fixes #2539
This commit is contained in:
Elad Bezalel
2017-01-11 00:47:47 +02:00
committed by tinayuangao
parent fb750b48de
commit ac363dfdfe
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -41,7 +41,6 @@ $md-mini-fab-padding: 8px !default;
font-size: $md-body-font-size-base;
font-family: $md-font-family;
font-weight: 500;
color: currentColor;
text-align: center;
// Sizing.
+3
View File
@@ -8,6 +8,9 @@
[md-button], [md-icon-button] {
@extend %md-button-base;
// Only flat button and icon buttons should inherit the color
color: currentColor;
// Only flat buttons and icon buttons (not raised or fabs) have a hover style.
&:hover {
// Use the same visual treatment for hover as for focus.