[gtk+] Adwaita: nicer transition for flat buttons.



commit 70e2a1bb220dad4b820f45f92f3736299db5bcf5
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Thu Aug 28 18:38:46 2014 +0200

    Adwaita: nicer transition for flat buttons.

 gtk/resources/theme/Adwaita/_common.scss           |    4 ++--
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index f1e29be..8b937c0 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -48,7 +48,6 @@
   outline-offset: -3px;
   outline-width: 1px;
   outline-radius: 2px;
-
 }
 
 
@@ -646,7 +645,8 @@ $_dot_color: if($variant=='light', $selected_bg_color,
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px transparentize(white,1);
+  box-shadow: inset 0 1px transparentize(white,1),
+              0 1px transparentize(white, 1);
   text-shadow: none;
   icon-shadow: none;
 }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 8fb6de4..78415f6 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -767,7 +767,7 @@ GtkTextView {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
   text-shadow: none;
   icon-shadow: none; }
 
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 84e0a52..bde0cb4 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -759,7 +759,7 @@ GtkTextView {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
   text-shadow: none;
   icon-shadow: none; }
 


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