diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-03-13 12:50:30 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-03-13 15:14:35 +0100 |
commit | 12fdf165ee14c7815ea08fa7961103bc6b94c64e (patch) | |
tree | ca557e05013dd75d6da371d522df948837ece8e9 /gtk/gtk-win32.css | |
parent | 90e938bf15c8adcd6535d3a1254b56c9708af3e7 (diff) | |
download | gtk+-12fdf165ee14c7815ea08fa7961103bc6b94c64e.tar.gz |
win32: Fix up notebook themeing
Diffstat (limited to 'gtk/gtk-win32.css')
-rw-r--r-- | 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 6b329bdcba..29d9bf0bd8 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 */ |