[gtk/peek-password: 3/11] Adwaita: Use .clickable for entry icon highlight



commit 8ed92a1616baa9145e6d698aa93d42e0388826af
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 13 18:05:00 2019 -0400

    Adwaita: Use .clickable for entry icon highlight
    
    We can't just rely on :hover anymore, since we automatically
    set it on every widget now.

 gtk/theme/Adwaita/_common.scss | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 4ff6705559..866a919faa 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -331,9 +331,9 @@ entry {
     image { // entry icons colors
       color: mix($fg_color, $base_color, 80%);
 
-      &:hover { color: $fg_color; }
+      &.clickable:hover { color: $fg_color; }
 
-      &:active { color: $selected_bg_color; }
+      &.clickable:active { color: $selected_bg_color; }
 
       &:backdrop { color: mix($backdrop_fg_color, $backdrop_base_color, 80%); }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]