win32-theme: Make tabs look better

This commit is contained in:
Alexander Larsson 2011-11-28 10:06:38 +01:00
parent eb44036346
commit 03b7bb6e29

View File

@ -589,10 +589,14 @@ GtkComboBox.combobox-entry .button:insensitive {
.notebook {
background-color: none;
border-width: 0;
background-image: -gtk-win32-theme-part(tab, 9 1);
border-width: 1 3 2 2;
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;
-GtkNotebook-tab-overlap: 1;
-GtkNotebook-tab-curvature: 1;
-GtkNotebook-tab-curvature: 0;
}
.notebook tab {
@ -602,10 +606,18 @@ GtkComboBox.combobox-entry .button:insensitive {
}
.notebook tab:active {
background-image: -gtk-win32-theme-part(tab, 1 3);
background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0));
padding: 4;
}
.notebook tab:last-child {
background-image: -gtk-win32-theme-part(tab, 3 1);
}
.notebook tab:active:last-child {
background-image: -gtk-win32-theme-part(tab, 3 3, margins(0 0 -1 0));
}
.notebook {
background-color: #ffffff;
}