Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-17 17:37:31 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-17 17:37:31 (GMT)
commitdf8556e8dc26e1fb25a2478a2a15354a4a6b0347 (patch)
tree11e5d97b07ecb39255622f42724a59afb6126f74
parentec86c03cb00ef5a2ee0576225e0812d6fd4b97c5 (diff)
Refactor once again after discussion with Eben. We basically
want to have two different themes. One for the activity chromes and one for the content.
-rw-r--r--gtk-engine/theme/gtkrc80
1 files changed, 57 insertions, 23 deletions
diff --git a/gtk-engine/theme/gtkrc b/gtk-engine/theme/gtkrc
index ba9d615..7366398 100644
--- a/gtk-engine/theme/gtkrc
+++ b/gtk-engine/theme/gtkrc
@@ -1,9 +1,51 @@
-# Edit these colors and fonts however you like.
style "default"
{
- GtkToolbar::internal_padding = 0
- GtkToolbar::shadow_type = 0
+ GtkOptionMenu::indicator_spacing = { 3, 2, 1, 1 }
+ GtkCheckButton::indicator_size = 10
+ GtkCheckMenuItem::indicator_size = 10
+ GtkButton::default_border = { 0, 0, 0, 0 }
+
+ fg[NORMAL] = "#000000"
+ fg[ACTIVE] = "#000000"
+ fg[PRELIGHT] = "#000000"
+ fg[SELECTED] = "#FFFFFF"
+ fg[INSENSITIVE] = "#747474"
+ bg[NORMAL] = "#D3D3DD"
+ bg[ACTIVE] = "#C1C1CC"
+ bg[PRELIGHT] = "#E5E5F7"
+ bg[SELECTED] = "#336699"
+ bg[INSENSITIVE] = "#D3D3DD"
+ base[NORMAL] = "#E5E5F7"
+ base[ACTIVE] = "#808080"
+ base[PRELIGHT] = "#E5E5F7"
+ base[SELECTED] = "#336699"
+ base[INSENSITIVE] = "#E5E5F7"
+ text[NORMAL] = "#000000"
+ text[ACTIVE] = "#FFFFFF"
+ text[PRELIGHT] = "#000000"
+ text[SELECTED] = "#FFFFFF"
+ text[INSENSITIVE] = "#747474"
+
+ engine "olpc"
+ {
+ mark_type1 = NOTHING
+ mark_type2 = NOTHING
+ }
+}
+
+style "scrollbar" = "default"
+{
+ GtkRange::slider_width = 4
+ GtkRange::stepper_size = 1
+ GtkRange::trough-border = 3
+ bg[ACTIVE] = "#E6E6E6"
+ bg[NORMAL] = "#414141"
+ bg[PRELIGHT] = "#414141"
+}
+
+style "dark-default" = "default"
+{
fg[NORMAL] = "#FFFFFF"
fg[ACTIVE] = "#FFFFFF"
fg[PRELIGHT] = "#FFFFFF"
@@ -24,15 +66,15 @@ style "default"
text[PRELIGHT] = "#000000"
text[SELECTED] = "#FFFFFF"
text[INSENSITIVE] = "#747474"
+}
- engine "olpc"
- {
- mark_type1 = NOTHING
- mark_type2 = NOTHING
- }
+style "toolbar" = "dark-default"
+{
+ GtkToolbar::internal_padding = 0
+ GtkToolbar::shadow_type = 0
}
-style "button" = "default"
+style "toolbar-button" = "dark-default"
{
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outsideborder = { 0, 0, 0, 0 }
@@ -43,7 +85,7 @@ style "button" = "default"
ythickness = 0
}
-style "entry" = "default"
+style "toolbar-entry" = "dark-default"
{
GtkWidget::cursor_color = "#FFFFFF"
xthickness = 12
@@ -51,18 +93,10 @@ style "entry" = "default"
font_name = 'Sans 14'
}
-style "scrollbar" = "default"
-{
- GtkRange::slider_width = 4
- GtkRange::stepper_size = 1
- GtkRange::trough-border = 3
-
- bg[ACTIVE] = "#E6E6E6"
- bg[NORMAL] = "#414141"
- bg[PRELIGHT] = "#414141"
-}
-
class "GtkWidget" style "default"
class "GtkScrollbar" style "scrollbar"
-class "GtkButton" style "button"
-class "GtkEntry" style "entry"
+class "GtkToolbar" style "toolbar"
+class "GtkSocket" style "dark-default"
+
+widget_class "*.GtkToolbar.*.<GtkButton>" style "toolbar-button"
+widget_class "*.GtkToolbar.*.<GtkEntry>" style "toolbar-entry"