app/assets/stylesheets/material/components/_button.scss in material-sass-1.1.0 vs app/assets/stylesheets/material/components/_button.scss in material-sass-1.3.0
- old
+ new
@@ -44,19 +44,19 @@
}
&:active:after,
&:focus:after {
opacity: 1;
}
- &.waves-attach:after {
+ &.waves-attach:active:after {
background-color: transparent;
}
&.disabled,
&[disabled],
fieldset[disabled] & {
- box-shadow: none !important;
+ box-shadow: none;
cursor: not-allowed;
- opacity: 0.78;
+ opacity: 0.54;
&:after {
display: none;
}
.waves-ripple {
display: none;
@@ -68,15 +68,10 @@
@each $color in $palette-list-class {
$i: index($palette-list-class, $color);
.btn-#{$color} {
background-color: nth($palette-list-color, $i);
- color: nth($palette-list-text, $i);
- &:active,
- &:focus,
- &:hover {
- color: nth($palette-list-text, $i);
- }
+ color: nth($palette-list-text, $i) !important;
}
}
.btn-block {
display: block;