win32-theme: Fix background colors for new bg drawing

This commit is contained in:
Alexander Larsson 2011-11-25 16:40:25 +01:00
parent db5e3872f5
commit 3f206dcd83

View File

@ -3,6 +3,7 @@
/* Buttons */ /* Buttons */
.button { .button {
background-color: none;
background-image: -gtk-win32-theme-part(button, 1 1); background-image: -gtk-win32-theme-part(button, 1 1);
border-width: 0; border-width: 0;
-GtkWidget-focus-line-width: 1; -GtkWidget-focus-line-width: 1;
@ -30,6 +31,7 @@
/* Check buttons */ /* Check buttons */
.check { .check {
background-color: none;
background-image: -gtk-win32-theme-part(button, 3 1); background-image: -gtk-win32-theme-part(button, 3 1);
border-width: 0; border-width: 0;
} }
@ -69,6 +71,7 @@
/* Radio buttons */ /* Radio buttons */
.radio { .radio {
background-color: none;
background-image: -gtk-win32-theme-part(button, 2 1); background-image: -gtk-win32-theme-part(button, 2 1);
border-width: 0; border-width: 0;
} }
@ -111,6 +114,7 @@
don't use this atm */ don't use this atm */
.scrollbar { .scrollbar {
background-color: none;
-GtkRange-trough-border: 0; -GtkRange-trough-border: 0;
-GtkRange-arrow-scaling: 0.0; -GtkRange-arrow-scaling: 0.0;
-GtkRange-slider-width: -gtk-win32-size(scrollbar, 3); -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
@ -220,6 +224,7 @@
/* TODO: For entries with set_has_frame FALSE we should use 'edit, 3 1', not /* TODO: For entries with set_has_frame FALSE we should use 'edit, 3 1', not
sure how to select for this though */ sure how to select for this though */
.entry { .entry {
background-color: black;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(edit, 1 1); background-image: -gtk-win32-theme-part(edit, 1 1);
} }
@ -234,6 +239,7 @@
.spinbutton.button, .spinbutton.button,
.spinbutton.button:focused { .spinbutton.button:focused {
background-color: none;
border-width: 1 1 0 0; border-width: 1 1 0 0;
border-style: none; border-style: none;
background-image: -gtk-win32-theme-part(spin, 1 1); background-image: -gtk-win32-theme-part(spin, 1 1);
@ -288,6 +294,7 @@
trough */ trough */
.scale { .scale {
background-color: none;
-GtkScale-value-spacing: 0; -GtkScale-value-spacing: 0;
-GtkScale-slider-length: 9; -GtkScale-slider-length: 9;
-GtkRange-slider-width: 20; -GtkRange-slider-width: 20;
@ -301,6 +308,7 @@
} }
.scale.slider { .scale.slider {
background-color: none;
border-width: 0; border-width: 0;
color: rgba(0,0,0,0); color: rgba(0,0,0,0);
background-image: -gtk-win32-theme-part(trackbar, 3 1); background-image: -gtk-win32-theme-part(trackbar, 3 1);
@ -433,6 +441,7 @@
/* Progress bars */ /* Progress bars */
GtkProgressBar { GtkProgressBar {
background-color: none;
padding: 0; padding: 0;
} }
@ -467,21 +476,25 @@ GtkProgressBar.trough.vertical {
/* Menus */ /* Menus */
.menubar { .menubar {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(menu, 7 1); background-image: -gtk-win32-theme-part(menu, 7 1);
} }
.menubar .menuitem { .menubar .menuitem {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(menu, 8 1); background-image: -gtk-win32-theme-part(menu, 8 1);
} }
.menubar .menuitem:prelight { .menubar .menuitem:prelight {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(menu, 8 3); background-image: -gtk-win32-theme-part(menu, 8 3);
} }
.menuitem:prelight { .menuitem:prelight {
background-color: none;
background-image: -gtk-win32-theme-part(menu, 14 2); background-image: -gtk-win32-theme-part(menu, 14 2);
} }
@ -489,6 +502,7 @@ GtkProgressBar.trough.vertical {
.menuitem.radio, .menuitem.radio,
.menuitem.radio:prelight, .menuitem.radio:prelight,
.menuitem.radio:insensitive { .menuitem.radio:insensitive {
background-color: none;
background-image: none; background-image: none;
border-width: 0; border-width: 0;
} }
@ -546,6 +560,7 @@ GtkProgressBar.trough.vertical {
GtkComboBox.combobox-entry .button { GtkComboBox.combobox-entry .button {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(combobox, 1 1); background-image: -gtk-win32-theme-part(combobox, 1 1);
color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0);
@ -569,6 +584,7 @@ GtkComboBox.combobox-entry .button:insensitive {
/* Notebook */ /* Notebook */
.notebook { .notebook {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(tab, 9 1); background-image: -gtk-win32-theme-part(tab, 9 1);
-GtkNotebook-tab-overlap: 0; -GtkNotebook-tab-overlap: 0;
@ -576,6 +592,7 @@ GtkComboBox.combobox-entry .button:insensitive {
} }
.notebook tab { .notebook tab {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(tab, 1 1); background-image: -gtk-win32-theme-part(tab, 1 1);
} }
@ -591,12 +608,14 @@ GtkComboBox.combobox-entry .button:insensitive {
/* Toolbar */ /* Toolbar */
.toolbar { .toolbar {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(rebar, 6 1); background-image: -gtk-win32-theme-part(rebar, 6 1);
} }
.toolbar .button, .toolbar .button,
.toolbar .button:focused { .toolbar .button:focused {
background-color: none;
background-image: -gtk-win32-theme-part(toolbar, 1 1); background-image: -gtk-win32-theme-part(toolbar, 1 1);
} }
@ -621,6 +640,7 @@ GtkComboBox.combobox-entry .button:insensitive {
column-header .button, column-header .button,
column-header .button:focus { column-header .button:focus {
background-color: none;
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(header, 1 1); background-image: -gtk-win32-theme-part(header, 1 1);
} }