[gtk-css-engine] [moblesse] Basic check-marks and radio knobs.
- From: Robert Staudinger <robsta src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-css-engine] [moblesse] Basic check-marks and radio knobs.
- Date: Mon, 22 Jun 2009 13:17:04 -0400 (EDT)
commit e71115b27ec384c9e6800fbb7edaacaa8b1d15ff
Author: Robert Staudinger <robsta gnome org>
Date: Mon Jun 22 18:28:03 2009 +0200
[moblesse] Basic check-marks and radio knobs.
themes/moblesse/gtk-2.0/gtkrc.css | 39 +++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index 9792811..5f2dd16 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -1,4 +1,8 @@
+/*
+ * Styling that applies to all widgets.
+ */
+
* {
background-color: gtk-color(bg_color);
border-color: gtk-color(fg_color);
@@ -10,6 +14,37 @@
FIXME ... once it works */
}
+*:insensitive {
+ background: gtk-mix(0.5, bg_color, grey) ! important;
+ border-color: gtk-mix(0.5, fg_color, grey) ! important;
+ color: gtk-mix(0.5, text_color, grey) ! important;
+}
+
+/*
+ * Pseudo-widgets that are implemented by the CSS engine.
+ */
+
+gtk-check-mark {
+ border: 1px solid;
+}
+
+gtk-check-mark[shadow=in] {
+ background: gtk-color(selected_bg_color);
+}
+
+gtk-radio-knob {
+ border: 1px solid;
+ border-radius: 50%;
+}
+
+gtk-radio-knob[shadow=in] {
+ background: gtk-color(selected_bg_color);
+}
+
+/*
+ * Regular gtk widgets.
+ */
+
GtkButton, GtkComboBox, GtkEntry {
border: 1px solid;
}
@@ -23,6 +58,10 @@ GtkEntry {
background: gtk-color(base_color);
}
+/*
+ * Drawing primitives.
+ */
+
/* Arrows */
arrow {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]