[gnome-themes-standard/wip/sass] fixed windows close button transition



commit 22625f74d6ad9e05514fbd3f843b05721dd6f8d4
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat May 24 09:23:44 2014 +0200

    fixed windows close button transition

 themes/Adwaita/gtk-3.0/_common.scss           |    3 ++-
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index f31d07e..9214c78 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -690,7 +690,8 @@ GtkScrolledWindow.frame {
   padding: 8px;
   border-color: transparent;
   background-image: none;
-  box-shadow: none;
+  box-shadow: inset 0 1px transparentize(white,1); // this is needed to avoid
+                                                   // the weird transition
   &:hover {
     @include button(normal);
   }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 21204c3..d9a9fc6 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -675,7 +675,7 @@ GtkScrolledWindow.frame {
   padding: 8px;
   border-color: transparent;
   background-image: none;
-  box-shadow: none; }
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
   .button.titlebutton:hover {
     border-width: 1px;
     border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 49e3e09..d1f2e67 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -675,7 +675,7 @@ GtkScrolledWindow.frame {
   padding: 8px;
   border-color: transparent;
   background-image: none;
-  box-shadow: none; }
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
   .button.titlebutton:hover {
     border-width: 1px;
     border-style: solid;


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