From 91b3f200f481cb6e8a277076ec96ee982785be21 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 31 Aug 2018 12:14:41 +0200 Subject: [PATCH] UX: Primary button didn't have hover effect anymore --- app/assets/stylesheets/common/components/buttons.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scss index d8cbd89b58..d8b15095e7 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 {