[gtk+] win32: Fix up notebook themeing



commit 12fdf165ee14c7815ea08fa7961103bc6b94c64e
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Mar 13 12:50:30 2012 +0100

    win32: Fix up notebook themeing

 gtk/gtk-win32.css |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/gtk/gtk-win32.css b/gtk/gtk-win32.css
index 6b329bd..29d9bf0 100644
--- a/gtk/gtk-win32.css
+++ b/gtk/gtk-win32.css
@@ -714,38 +714,44 @@ GtkComboBox.combobox-entry .button:insensitive {
 /* Notebook */
 
 .notebook {
-    background-color: @base_color;
-    border-width: 1px 3px 2px 2px;
+    background-color: #ffffff;
+    border-width: 1px 1px 1px 1px;
     border-style: solid;
     background-origin: padding-box;
     background-clip: border-box;
-    /*background-image: -gtk-win32-theme-part(tab, 9 1, margins(-2)); */
-    border-image: -gtk-win32-theme-part(tab, 9 1) 1 3 2 2 stretch;
+    background-image: -gtk-win32-theme-part(tab, 9 1, margins(-1 -3 -2 -1));
+    border-image: -gtk-win32-theme-part(tab, 9 1, margins(0 -2 -1 0)) 1 1 1 1 repeat;
     -GtkNotebook-tab-overlap: 1;
     -GtkNotebook-tab-curvature: 0;
 }
 
 .notebook tab {
-    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(tab, 1 1);
+    padding: 0px 4px 0px 4px;
+}
+
+.notebook tab.left, .notebook tab.right {
+    padding: 4px 0px 4px 0px;
 }
 
 .notebook tab:active {
     background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0));
-    padding: 4px;
+}
+.notebook tab:active.top {
+    padding: 0px 4px 2px 4px;
 }
 
-.notebook tab:last-child {
-    background-image: -gtk-win32-theme-part(tab, 3 1);
+.notebook tab:active.bottom {
+    padding: 0px 4px 2px 4px;
 }
 
-.notebook tab:active:last-child {
-    background-image: -gtk-win32-theme-part(tab, 3 3, margins(0 0 -1 0));
+.notebook tab:active.right {
+    padding: 4px 0px 4px 2px;
 }
 
-.notebook {
-    background-color: #ffffff;
+.notebook tab:active.left {
+    padding: 4px 2px 4px 0px;
 }
 
 /* Toolbar */



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