assets/stylesheets/material/material/_button.scss in material-sass-4.0.0.beta3 vs assets/stylesheets/material/material/_button.scss in material-sass-4.0.0
- old
+ new
@@ -49,37 +49,37 @@
&:focus {
outline: 0;
}
- &:not([disabled]):not(.disabled) {
+ &:not(:disabled):not(.disabled) {
cursor: pointer;
}
.show > &.dropdown-toggle {
background-image: linear-gradient(to bottom, $btn-overlay, $btn-overlay);
}
}
// stylelint-disable selector-no-qualifying-type
a.btn.disabled,
-fieldset[disabled] a.btn {
+fieldset:disabled a.btn {
pointer-events: none;
}
// stylelint-enable
@each $color, $values in $theme-colors {
.btn-#{$color} {
- background-color: map-get(theme-color($color), color);
- color: color-yiq(map-get(theme-color($color), color));
+ background-color: theme-color($color);
+ color: color-yiq(theme-color($color));
@include active-focus-hover {
- color: color-yiq(map-get(theme-color($color), color));
+ color: color-yiq(theme-color($color));
}
&.active,
&:active {
- background-color: map-get(theme-color($color), darker);
+ background-color: theme-color-dark($color);
}
&.disabled,
&:disabled {
background-color: $btn-bg-disabled;