fix(button): remove color shade from clear buttons

This commit is contained in:
Brandy Carney
2016-01-22 14:12:31 -05:00
parent a4137d2bdc
commit a8e7941a27
2 changed files with 9 additions and 8 deletions

View File

@ -157,7 +157,7 @@ $button-ios-small-icon-font-size: 1.3em !default;
.button-clear {
border-color: transparent;
color: color-shade($button-ios-color);
color: $button-ios-color;
background-color: transparent;
&.activated {
@ -167,7 +167,7 @@ $button-ios-small-icon-font-size: 1.3em !default;
&:hover:not(.disable-hover) {
opacity: 0.6;
color: color-shade($button-ios-color);
color: $button-ios-color;
}
}
@ -178,7 +178,7 @@ $button-ios-small-icon-font-size: 1.3em !default;
@mixin ios-button-clear($color-name, $color-value) {
.button-clear-#{$color-name} {
$fg-color: color-shade($color-value);
$fg-color: $color-value;
border-color: transparent;
background-color: transparent;
color: $fg-color;
@ -188,7 +188,7 @@ $button-ios-small-icon-font-size: 1.3em !default;
}
&:hover:not(.disable-hover) {
color: color-shade($fg-color);
color: $fg-color;
}
}

View File

@ -186,7 +186,7 @@ $button-md-small-icon-font-size: 1.4em !default;
opacity: 1;
box-shadow: none;
background-color: transparent;
color: color-shade($button-md-color);
color: $button-md-color;
&.activated {
background-color: $button-md-clear-active-background-color;
@ -194,7 +194,8 @@ $button-md-small-icon-font-size: 1.4em !default;
}
&:hover:not(.disable-hover) {
color: color-shade($button-md-color);
color: $button-md-color;
}
}
@ -205,7 +206,7 @@ $button-md-small-icon-font-size: 1.4em !default;
@mixin md-button-clear($color-name, $color-value) {
.button-clear-#{$color-name} {
$fg-color: color-shade($color-value);
$fg-color: $color-value;
border-color: transparent;
background-color: transparent;
color: $fg-color;
@ -217,7 +218,7 @@ $button-md-small-icon-font-size: 1.4em !default;
}
&:hover:not(.disable-hover) {
color: color-shade($fg-color);
color: $fg-color;
}
}
}