app/assets/stylesheets/alchemy/buttons.scss in alchemy_cms-7.1.12 vs app/assets/stylesheets/alchemy/buttons.scss in alchemy_cms-7.2.1
- old
+ new
@@ -36,11 +36,11 @@
justify-content: center;
.icon {
font-weight: normal;
margin-right: $default-margin;
- color: inherit;
+ fill: currentColor;
}
}
&[disabled] {
cursor: not-allowed;
@@ -74,18 +74,17 @@
background-color: $default-border-color;
cursor: pointer;
}
.icon {
- color: inherit;
- transition: color 250ms;
+ transition: fill 250ms;
}
&.disabled,
&[disabled] {
pointer-events: none;
- i {
+ svg {
opacity: 0.3;
}
&:hover {
text-decoration: none;