From 5f43faa82a09bae29d3abbc8e017da6f19f5da79 Mon Sep 17 00:00:00 2001
From: Megax <megax@yeahunter.hu>
Date: Fri, 21 Oct 2016 07:16:34 +0200
Subject: [PATCH] * Fixes #370

---
 src/gtk-3.20/scss/widgets/_button.scss | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/gtk-3.20/scss/widgets/_button.scss b/src/gtk-3.20/scss/widgets/_button.scss
index a4cd284..90d0323 100644
--- a/src/gtk-3.20/scss/widgets/_button.scss
+++ b/src/gtk-3.20/scss/widgets/_button.scss
@@ -291,9 +291,15 @@
 
     &, &.flat {
         &:focus, &:hover {
-            @include linear-gradient(shade($button_bg, 1.2));
+            @if (lightness($button_bg) > 50) {
+                @include linear-gradient(shade($button_bg, .95));
+            } @else {
+                @include linear-gradient(shade($button_bg, 1.2));
+            }
+
             @include border(rgba(0, 0, 0, .2 + $border_strength));
 
+            -gtk-icon-effect: highlight;
             box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength);
         }