[gtk-css-engine] [moblesse] Consistent use of selected and prelight colours.
- From: Robert Staudinger <robsta src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-css-engine] [moblesse] Consistent use of selected and prelight colours.
- Date: Tue, 23 Jun 2009 09:38:58 -0400 (EDT)
commit acf92b473cf479b462db2431422f2e2d4b9c93b7
Author: Robert Staudinger <robsta gnome org>
Date: Tue Jun 23 15:38:19 2009 +0200
[moblesse] Consistent use of selected and prelight colours.
themes/moblesse/gtk-2.0/gtkrc.css | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index f1242f1..115d2a7 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -46,7 +46,6 @@ gtk-check-mark[shadow=in] {
}
gtk-handle {
- background: gtk-mix(0.5, selected_bg_color, grey);
border: 1px solid;
border-radius: 3px;
}
@@ -57,7 +56,7 @@ gtk-header {
}
gtk-handle:prelight {
- background: gtk-color(selected_bg_color);
+ background: gtk-lighter(selected_bg_color);
}
gtk-radio-knob {
@@ -95,12 +94,12 @@ GtkButton, GtkComboBox, GtkComboBoxEntry, GtkEntry, GtkFrame, GtkNotebook {
GtkButton:prelight, GtkComboBox:prelight {
/* Use shorthand notation, because that's what's inherited. */
- background: gtk-color(selected_bg_color);
+ background: gtk-lighter(selected_bg_color);
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
}
GtkButton:active {
- background: gtk-darker(selected_bg_color);
+ background: gtk-color(selected_bg_color);
}
GtkCalendar {
@@ -129,12 +128,12 @@ GtkEntry {
}
GtkEntry:selected {
- background-color: gtk-mix(0.5, selected_bg_color, grey); /* FIXME seems not to apply. */
+ background-color: gtk-color(selected_bg_color); /* FIXME seems not to apply. */
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
}
GtkExpander:prelight {
- background: gtk-color(selected_bg_color);
+ background: gtk-lighter(selected_bg_color);
border: 1px solid;
}
@@ -143,7 +142,7 @@ GtkMenu {
}
GtkMenuItem:prelight {
- background: gtk-color(selected_bg_color);
+ background: gtk-lighter(selected_bg_color);
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
}
@@ -160,9 +159,6 @@ GtkProgressBar > box.bar {
GtkToggleButton[active=true] {
background: gtk-color(selected_bg_color);
}
-GtkToggleButton[active=true]:active {
- background: gtk-darker(selected_bg_color);
-}
GtkToggleButton[active=true]:prelight {
background: gtk-lighter(selected_bg_color);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]