[gtk-css-engine] [moblesse] Support for toggle-buttons.
- From: Robert Staudinger <robsta src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-css-engine] [moblesse] Support for toggle-buttons.
- Date: Tue, 23 Jun 2009 09:38:43 -0400 (EDT)
commit da9a3a3c092b0cff9d634ded52543c8b9d7a9860
Author: Robert Staudinger <robsta gnome org>
Date: Tue Jun 23 13:53:07 2009 +0200
[moblesse] Support for toggle-buttons.
themes/moblesse/gtk-2.0/gtkrc.css | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index 97c4e9c..8f30b85 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -87,6 +87,10 @@ GtkButton:prelight, GtkComboBox:prelight {
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
}
+GtkButton:active {
+ background: gtk-darker(selected_bg_color);
+}
+
GtkCalendar {
background: gtk-color(base_color);
border: 1px solid;
@@ -126,6 +130,16 @@ GtkProgressBar > box.bar {
background: gtk-color(selected_bg_color);
}
+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);
+}
+
GtkSpinButton > arrow {
background-position: center;
background-repeat: no-repeat;
@@ -177,3 +191,8 @@ arrow[orientation=right] {
background-image: url(arrow-right.svg);
}
+/* FIXME
+hline, vline {
+ background: gtk-color(fg_color);
+}
+*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]