Skip to content

A platform for community discussion. Free, open, simple.

UX: Primary button didn't have hover effect anymore

Gerhard Schlager91b3f200f481
diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scss
index d8cbd89b584..d8b15095e77 100644
--- a/app/assets/stylesheets/common/components/buttons.scss
+++ b/app/assets/stylesheets/common/components/buttons.scss
@@ -88,13 +88,14 @@
}
&:hover,
&.btn-hover {
- color: #fff;
- background: dark-light-choose($tertiary, $tertiary);
+ background: scale-color($tertiary, $lightness: -20%);
}
&:active,
&.btn-active {
- @include linear-gradient($tertiary, $tertiary);
- color: $secondary;
+ @include linear-gradient(
+ scale-color($tertiary, $lightness: -20%),
+ $tertiary
+ );
}
&[disabled],
&.disabled {