Mercurial > repos > other > Adwaita-Dark-Green
comparison 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 |
comparison
equal
deleted
inserted
replaced
58:95d826ffdd2e | 59:a2b67776d320 |
---|---|
44 /* Toolbar */ | 44 /* Toolbar */ |
45 | 45 |
46 /* Here we use the .button background-image colors from Adwaita, but ligthen them, | 46 /* Here we use the .button background-image colors from Adwaita, but ligthen them, |
47 * since is not possible to use lighten () in common css. */ | 47 * since is not possible to use lighten () in common css. */ |
48 @keyframes needs_attention_keyframes { | 48 @keyframes needs_attention_keyframes { |
49 0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; } | 49 0% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%, @button_emphasis_c); border-color: @wm_button_border; } |
50 /* can't do animation-direction, so holding the color on two keyframes */ | 50 /* can't do animation-direction, so holding the color on two keyframes */ |
51 30% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; } | 51 30% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; } |
52 90% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; } | 52 90% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; } |
53 100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; } | 53 100% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%, @button_emphasis_c); border-color: @wm_button_border; } |
54 } | 54 } |
55 | 55 |
56 .nautilus-operations-button-needs-attention { | 56 .nautilus-operations-button-needs-attention { |
57 animation: needs_attention_keyframes 2s ease-in-out; | 57 animation: needs_attention_keyframes 2s ease-in-out; |
58 } | 58 } |