[gtk-css-engine] [moblesse] Basic calendar header and menu item.



commit aefbcdfd995a6bc499650410381341f7b23ea84e
Author: Robert Staudinger <robsta gnome org>
Date:   Mon Jun 22 20:06:48 2009 +0200

    [moblesse] Basic calendar header and menu item.

 themes/moblesse/gtk-2.0/gtkrc     |    8 +++++---
 themes/moblesse/gtk-2.0/gtkrc.css |   20 ++++++++++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/themes/moblesse/gtk-2.0/gtkrc b/themes/moblesse/gtk-2.0/gtkrc
index 6459d53..192ed69 100644
--- a/themes/moblesse/gtk-2.0/gtkrc
+++ b/themes/moblesse/gtk-2.0/gtkrc
@@ -1,8 +1,10 @@
+
+# Create an up-to-date file using "ccss-stylesheet-to-gtkrc" before
+# releasing and uncomment the next line.
+# include "generated.rc"
+
 style "default"
 {
-#	xthickness = 3
-#	ythickness = 2
-
 	engine "css" 
 	{
 		href = "gtkrc.css"
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index b89d653..623c3a8 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -41,6 +41,11 @@ gtk-handle {
 	border: 1px solid;
 }
 
+gtk-header {
+	background: gtk-mix(0.5, selected_bg_color, grey);
+	border: 1px solid;
+}
+
 gtk-handle:prelight {
 	background: gtk-color(selected_bg_color);
 }
@@ -69,6 +74,7 @@ GtkButton, GtkComboBox, GtkEntry, GtkFrame, GtkNotebook {
 GtkButton:prelight, GtkComboBox:prelight {
 	/* Use shorthand notation, because that's what's inherited. */
 	background: gtk-color(selected_bg_color);
+  color:  gtk-color(selected_fg_color); /* FIXME seems not to apply. */
 }
 
 GtkCalendar {
@@ -76,10 +82,24 @@ GtkCalendar {
 	border: 1px solid; /* FIXME seems not to apply. */
 }
 
+GtkCalendar > arrow {
+	background: gtk-mix(0.5, selected_bg_color, grey);
+}
+
 GtkEntry {
 	background: gtk-color(base_color);
 }
 
+GtkEntry:selected {
+  background-color: gtk-mix(0.5, selected_bg_color, grey); /* FIXME seems not to apply. */
+  color: gtk-color(selected_fg_color);  /* FIXME seems not to apply. */
+}
+
+GtkMenuItem:prelight {
+	background: gtk-color(selected_bg_color);
+  color: gtk-color(selected_fg_color);  /* FIXME seems not to apply. */
+}
+
 /* FIXME: why can we not just use "GtkProgressBar.bar" here? */
 GtkProgressBar > box.bar {
 	background: gtk-color(selected_bg_color);



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