app/assets/stylesheets/alchemy/buttons.scss in alchemy_cms-4.2.0 vs app/assets/stylesheets/alchemy/buttons.scss in alchemy_cms-4.2.1
- old
+ new
@@ -31,18 +31,10 @@
position: relative;
top: -1px;
margin-right: 2 * $default-margin;
color: inherit;
}
-
- &[disabled] {
- cursor: not-allowed;
-
- & + label {
- display: none;
- }
- }
}
.icon_button {
width: 27px;
height: 27px;
@@ -85,22 +77,17 @@
.icon { color: inherit }
}
}
- &.disabled,
- &[disabled] {
+ &.disabled {
span {
opacity: 0.3;
cursor: not-allowed;
}
- i {
- opacity: 0.3;
- }
-
&:hover {
cursor: not-allowed;
}
}
@@ -132,10 +119,10 @@
display: inline-block;
text-align: center;
margin: 0 2*$default-margin;
&.active, &:active, &:hover {
- .icon_button:not([disabled]) {
+ .icon_button {
background-color: $default-border-color;
cursor: pointer;
}
}