diff gtk-3.20/nautilus.css @ 59:a2b67776d320

Fix Nautilus button pulsing
author IBBoard <dev@ibboard.co.uk>
date Sat, 06 May 2017 15:42:40 +0100
parents 293ef1c0bf3a
children c4ae2e2a7157
line wrap: on
line diff
--- a/gtk-3.20/nautilus.css	Mon Apr 10 16:42:38 2017 +0100
+++ b/gtk-3.20/nautilus.css	Sat May 06 15:42:40 2017 +0100
@@ -46,11 +46,11 @@
 /* Here we use the .button background-image colors from Adwaita, but ligthen them,
  * since is not possible to use lighten () in common css. */
 @keyframes needs_attention_keyframes {
-    0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%,  #e0e0e0); border-color: @borders; }
+    0% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%,  @button_emphasis_c); border-color: @wm_button_border; }
     /* can't do animation-direction, so holding the color on two keyframes */
-    30% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
-    90% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
-    100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%,  #e0e0e0); border-color: @borders; }
+    30% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; }
+    90% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; }
+    100% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%,  @button_emphasis_c); border-color: @wm_button_border; }
 }
 
 .nautilus-operations-button-needs-attention {