[gnome-themes-standard/wip/sass] remove background from csd close button



commit a94fe8b6b180e1705f4649cfe9a55fad6daf31cd
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri May 16 17:54:17 2014 +0200

    remove background from csd close button

 themes/Adwaita/gtk-3.0/_common.scss      |    3 +++
 themes/Adwaita/gtk-3.0/gtk-contained.css |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 38084c9..e48b4d4 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -345,6 +345,9 @@ GtkGrid:insensitive {
   &.image-button {
     padding: 8px; 
   }
+  &.titlebutton {
+    background-color: transparent; //we want the close button with no bg
+  }
 }
 
 /**************
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 77a921a..a96e4de 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -465,6 +465,8 @@ GtkGrid:insensitive {
   /* due to font metrics the image buttons are 1px shorter */ }
 .header-bar .button.image-button {
   padding: 8px; }
+.header-bar .button.titlebutton {
+  background-color: transparent; }
 
 /**************
  * ComboBoxes *


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