[gtk+] Adwaita: remove wildcard for image effect



commit a595dccf0eb731d8f36a72c54c4ec2611f4b51f9
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Jun 18 19:29:33 2014 +0200

    Adwaita: remove wildcard for image effect
    
    -gtk-image-effect: hilight now is set for .button:hover

 gtk/resources/theme/Adwaita/_common.scss           |    5 +----
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    6 ++----
 gtk/resources/theme/Adwaita/gtk-contained.css      |    6 ++----
 3 files changed, 5 insertions(+), 12 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 3fc226b..9c0d19e 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -82,10 +82,6 @@
     -gtk-image-effect: dim;
 }
 
-*:hover {
-    -gtk-image-effect: highlight;
-}
-
 .gtkstyle-fallback {
   background-color: $bg_color;
   color: $fg_color;
@@ -201,6 +197,7 @@
   @include button(normal);
   &:hover {
     @include button(hover);
+    -gtk-image-effect: hilight;
   }
   &:active {
     @include button(active);
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 29ff115..2bd14bd 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -82,9 +82,6 @@
 *:insensitive {
   -gtk-image-effect: dim; }
 
-*:hover {
-  -gtk-image-effect: highlight; }
-
 .gtkstyle-fallback {
   background-color: #393f3f;
   color: #eeeeec; }
@@ -219,7 +216,8 @@
     background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f);
     text-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
     icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
-    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
+    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1);
+    -gtk-image-effect: hilight; }
   .button:active {
     border-width: 1px;
     border-style: solid;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 8a73f3a..f7f0d95 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -82,9 +82,6 @@
 *:insensitive {
   -gtk-image-effect: dim; }
 
-*:hover {
-  -gtk-image-effect: highlight; }
-
 .gtkstyle-fallback {
   background-color: #ededed;
   color: #2e3436; }
@@ -219,7 +216,8 @@
     background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed);
     text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
     icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
-    box-shadow: inset 0 1px white, 0 1px white; }
+    box-shadow: inset 0 1px white, 0 1px white;
+    -gtk-image-effect: hilight; }
   .button:active {
     border-width: 1px;
     border-style: solid;


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