[gnome-themes-standard: 21/26] notebook: don't expose the button background on the tab



commit 2a70cad0fca6d9fe4f6cdb780b2a824c24712b9a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 3 22:13:25 2011 -0500

    notebook: don't expose the button background on the tab

 themes/Adwaita/gtk-3.0/gtk.css |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 0b8eb34..1bf47a1 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -304,7 +304,7 @@ GtkCalendar {
 .notebook {
     background-color: shade (@theme_bg_color, 1.12);
     border-color: @notebook_border;
-    padding: 2;
+    padding: 4;
     border-style: solid;
     border-radius: 0;
     -GtkNotebook-tab-overlap: 6;
@@ -312,6 +312,7 @@ GtkCalendar {
 }
 
 .notebook tab {
+    padding: 2;
     background-image: -gtk-gradient (linear,
                                      left top, left bottom,
                                      from (@theme_base_color),
@@ -319,6 +320,7 @@ GtkCalendar {
 }
 
 .notebook tab:active {
+    padding: 0;
     -adwaita-selected-tab-color: #8dc0f3;
     -adwaita-notebook-border-color: @notebook_border;
     border-color: @notebook_active_tab_border;
@@ -326,6 +328,14 @@ GtkCalendar {
     background-image: none;
 }
 
+.notebook tab .button,
+.notebook tab .button:hover,
+.notebook tab .button:hover:active {
+    border-style: none;
+    background-color: alpha (@theme_bg_color, 0.0);
+    background-image: none;
+}
+
 /**************
  * ComboBoxes *
  **************/



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