[gtk+/wip/css] win32: Fix CSS for 'none' value going away
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css] win32: Fix CSS for 'none' value going away
- Date: Sat, 31 Dec 2011 21:36:28 +0000 (UTC)
commit e03771b6131ca1ba2563ac442d34934355e264c1
Author: Benjamin Otte <otte redhat com>
Date: Fri Dec 30 12:53:51 2011 +0100
win32: Fix CSS for 'none' value going away
We want colors to be 'transparent' and not 'none'.
gtk/gtk-win32.css | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtk-win32.css b/gtk/gtk-win32.css
index fa30883..e5978b9 100644
--- a/gtk/gtk-win32.css
+++ b/gtk/gtk-win32.css
@@ -3,7 +3,7 @@
/* Buttons */
.button {
- background-color: none;
+ background-color: transparent;
background-image: -gtk-win32-theme-part(button, 1 1);
border-width: 0;
-GtkWidget-focus-line-width: 1;
@@ -31,7 +31,7 @@
/* Check buttons */
.check {
- background-color: none;
+ background-color: transparent;
background-image: -gtk-win32-theme-part(button, 3 1);
border-width: 0;
}
@@ -71,7 +71,7 @@
/* Radio buttons */
.radio {
- background-color: none;
+ background-color: transparent;
background-image: -gtk-win32-theme-part(button, 2 1);
border-width: 0;
}
@@ -114,7 +114,7 @@
don't use this atm */
.scrollbar {
- background-color: none;
+ background-color: transparent;
-GtkRange-trough-border: 0;
-GtkRange-arrow-scaling: 0.0;
-GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
@@ -239,7 +239,7 @@
.spinbutton.button,
.spinbutton.button:focused {
- background-color: none;
+ background-color: transparent;
border-width: 1 1 0 0;
border-style: none;
background-image: -gtk-win32-theme-part(spin, 1 1);
@@ -294,7 +294,7 @@
trough */
.scale {
- background-color: none;
+ background-color: transparent;
-GtkScale-value-spacing: 0;
-GtkScale-slider-length: 9;
-GtkRange-slider-width: 20;
@@ -312,7 +312,7 @@
}
.scale.slider {
- background-color: none;
+ background-color: transparent;
border-width: 0;
color: rgba(0,0,0,0);
background-image: -gtk-win32-theme-part(trackbar, 3 1);
@@ -445,7 +445,7 @@
/* Progress bars */
GtkProgressBar {
- background-color: none;
+ background-color: transparent;
padding: 0;
}
@@ -480,25 +480,25 @@ GtkProgressBar.trough.vertical {
/* Menus */
.menubar {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(menu, 7 1);
}
.menubar .menuitem {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(menu, 8 1);
}
.menubar .menuitem:prelight {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(menu, 8 3);
}
.menuitem:prelight {
- background-color: none;
+ background-color: transparent;
background-image: -gtk-win32-theme-part(menu, 14 2);
}
@@ -506,7 +506,7 @@ GtkProgressBar.trough.vertical {
.menuitem.radio,
.menuitem.radio:prelight,
.menuitem.radio:insensitive {
- background-color: none;
+ background-color: transparent;
background-image: none;
border-width: 0;
}
@@ -564,7 +564,7 @@ GtkProgressBar.trough.vertical {
GtkComboBox.combobox-entry .button {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(combobox, 1 1);
color: rgba(0, 0, 0, 0);
@@ -588,7 +588,7 @@ GtkComboBox.combobox-entry .button:insensitive {
/* Notebook */
.notebook {
- background-color: none;
+ background-color: transparent;
border-width: 1 3 2 2;
border-style: solid;
background-origin: padding-box;
@@ -600,7 +600,7 @@ GtkComboBox.combobox-entry .button:insensitive {
}
.notebook tab {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(tab, 1 1);
}
@@ -625,14 +625,14 @@ GtkComboBox.combobox-entry .button:insensitive {
/* Toolbar */
.toolbar {
- background-color: none;
+ background-color: transparent;
border-width: 0;
background-image: -gtk-win32-theme-part(rebar, 6 1);
}
.toolbar .button,
.toolbar .button:focused {
- background-color: none;
+ background-color: transparent;
background-image: -gtk-win32-theme-part(toolbar, 1 1);
}
@@ -657,7 +657,7 @@ GtkComboBox.combobox-entry .button:insensitive {
column-header .button,
column-header .button:focus {
- background-color: none;
+ background-color: transparent;
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]