[gtk+] win32-theme: Fix background colors for new bg drawing



commit 3f206dcd8343e652d9b6a8b524a4b7a9c0d82b3f
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Nov 25 16:40:25 2011 +0100

    win32-theme: Fix background colors for new bg drawing

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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]