From 38d56c8e20bdafb48194b24b6d6e972cdad029db Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 13 Mar 2012 15:50:32 +0100 Subject: [PATCH] win32: Fix up notebook theming a bit --- gtk/gtk-win32-base.css | 8 ++++---- gtk/gtk-win32-xp.css | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gtk/gtk-win32-base.css b/gtk/gtk-win32-base.css index d9a8e6e0a0..3dec886808 100644 --- a/gtk/gtk-win32-base.css +++ b/gtk/gtk-win32-base.css @@ -641,19 +641,19 @@ GtkComboBox.combobox-entry .button:insensitive { background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0)); } .notebook tab:active.top { - padding: 0px 4px 2px 4px; + padding: 2px 4px 1px 4px; } .notebook tab:active.bottom { - padding: 0px 4px 2px 4px; + padding: 1px 4px 2px 4px; } .notebook tab:active.right { - padding: 4px 0px 4px 2px; + padding: 4px 4px 4px 1px; } .notebook tab:active.left { - padding: 4px 2px 4px 0px; + padding: 4px 1px 4px 4px; } /* Toolbar */ diff --git a/gtk/gtk-win32-xp.css b/gtk/gtk-win32-xp.css index 65965b0f04..9e0c18505f 100644 --- a/gtk/gtk-win32-xp.css +++ b/gtk/gtk-win32-xp.css @@ -1 +1,6 @@ @import url("gtk-win32-base.css"); + +GtkNotebook.notebook { + background-image: -gtk-win32-theme-part(tab, 9 1, margins(-1 -3 -3 -1)); + border-image: -gtk-win32-theme-part(tab, 9 1, margins(0 -2 -2 0)) 1 1 1 1 repeat; +}