app/assets/stylesheets/codelation/mixins/button.scss in codelation_assets-0.2.1 vs app/assets/stylesheets/codelation/mixins/button.scss in codelation_assets-0.2.2
- old
+ new
@@ -31,6 +31,17 @@
&:active {
background-image: linear-gradient(to bottom, lighten($active-background-color, 3%), darken($active-background-color, 5%));
color: $active-color;
}
+
+ &:disabled {
+ cursor: default;
+ opacity: 0.5;
+
+ &:hover,
+ &:active {
+ background-image: linear-gradient(to bottom, $background-color, darken($background-color, 8%));
+ color: $color;
+ }
+ }
}