[gtk+] win32: Fix up notebook theming a bit
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: Fix up notebook theming a bit
- Date: Tue, 13 Mar 2012 14:56:35 +0000 (UTC)
commit 38d56c8e20bdafb48194b24b6d6e972cdad029db
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 13 15:50:32 2012 +0100
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 d9a8e6e..3dec886 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 65965b0..9e0c185 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;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]