[Xfce4-commits] <gtk-xfce-engine:peter/gtk3> Corrected button shade directions

Peter de Ridder noreply at xfce.org
Sun Jan 8 17:10:09 CET 2012


Updating branch refs/heads/peter/gtk3
         to 3c38beab1fefbfd072201241a5ebdb7e31b712fe (commit)
       from 0a2d889281440c78b60fb0e70ee1121e1baf148c (commit)

commit 3c38beab1fefbfd072201241a5ebdb7e31b712fe
Author: Peter de Ridder <peter at xfce.org>
Date:   Fri Dec 23 15:31:43 2011 +0100

    Corrected button shade directions
    
    Xfce-4.4, Xfce-4.6, Xfce

 themes/xfce-4.4/gtk-3.0/gtk.css |    4 ++--
 themes/xfce-4.6/gtk-3.0/gtk.css |    4 ++--
 themes/xfce/gtk-3.0/gtk.css     |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/themes/xfce-4.4/gtk-3.0/gtk.css b/themes/xfce-4.4/gtk-3.0/gtk.css
index ad965c9..8b1de78 100644
--- a/themes/xfce-4.4/gtk-3.0/gtk.css
+++ b/themes/xfce-4.4/gtk-3.0/gtk.css
@@ -401,13 +401,13 @@ GtkCalendar:selected {
 }
 
 .button:hover {
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 0.95)), to(shade(#d3d7cf, 1.1)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 1.1)), to(shade(#d3d7cf, 0.95)));
     border-color: darker(#d3d7cf);
 }
 
 .button:selected {
     color: #ffffff;
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 1.1)), to(shade(#3465a4, 0.95)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 0.95)), to(shade(#3465a4, 1.1)));
     border-color: darker(#3465a4);
 }
 
diff --git a/themes/xfce-4.6/gtk-3.0/gtk.css b/themes/xfce-4.6/gtk-3.0/gtk.css
index 1f84a2f..6e0f287 100644
--- a/themes/xfce-4.6/gtk-3.0/gtk.css
+++ b/themes/xfce-4.6/gtk-3.0/gtk.css
@@ -419,13 +419,13 @@ GtkCalendar:selected {
 }
 
 .button:hover {
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 0.95)), to(shade(#d3d7cf, 1.1)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 1.1)), to(shade(#d3d7cf, 0.95)));
     border-color: darker(#d3d7cf);
 }
 
 .button:selected {
     color: #ffffff;
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 1.1)), to(shade(#3465a4, 0.95)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 0.95)), to(shade(#3465a4, 1.1)));
     border-color: darker(#3465a4);
 }
 
diff --git a/themes/xfce/gtk-3.0/gtk.css b/themes/xfce/gtk-3.0/gtk.css
index 1f84a2f..6e0f287 100644
--- a/themes/xfce/gtk-3.0/gtk.css
+++ b/themes/xfce/gtk-3.0/gtk.css
@@ -419,13 +419,13 @@ GtkCalendar:selected {
 }
 
 .button:hover {
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 0.95)), to(shade(#d3d7cf, 1.1)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#d3d7cf, 1.1)), to(shade(#d3d7cf, 0.95)));
     border-color: darker(#d3d7cf);
 }
 
 .button:selected {
     color: #ffffff;
-    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 1.1)), to(shade(#3465a4, 0.95)));
+    background-image: -gtk-gradient(linear, left top, left bottom, from(shade(#3465a4, 0.95)), to(shade(#3465a4, 1.1)));
     border-color: darker(#3465a4);
 }
 


More information about the Xfce4-commits mailing list