-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
169 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
style "window" | ||
{ | ||
fg[NORMAL] = { 1.0, 1.0, 1.0 } | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
} | ||
|
||
style "label" | ||
{ | ||
fg[NORMAL] = { 1.0, 1.0, 1.0 } | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
} | ||
|
||
style "button" | ||
{ | ||
# This shows all the possible states for a button. The only one that | ||
# doesn't apply is the SELECTED state. | ||
fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
bg[PRELIGHT] = { 0, 0.4, 0.6 } | ||
bg[ACTIVE] = { 0, 0.4, 0.6 } | ||
fg[ACTIVE] = { 1.0, 1.0, 1.0 } | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
fg[NORMAL] = { 0.5, 1.0, 1.0 } | ||
bg[INSENSITIVE] = { 1.0, 1.0, 1.0 } | ||
fg[INSENSITIVE] = { 1.0, 0, 1.0 } | ||
} | ||
|
||
style "button_set" = "button" | ||
{ | ||
fg[NORMAL] = { 0.0, 0.0, 0.0 } | ||
bg[NORMAL] = { 0.0, 0.5, 0.7 } | ||
# bg[PRELIGHT] = { 0, 0, 1.0 } | ||
# bg[ACTIVE] = { 0, 0, 1.0 } | ||
# bg[INSENSITIVE] = { 0, 0, 1.0 } | ||
} | ||
|
||
style "button_dow" = "button" | ||
{ | ||
fg[PRELIGHT] = { 0.0, 0.0, 0.0 } | ||
bg[PRELIGHT] = { 0.0, 0.3, 0.6 } | ||
bg[ACTIVE] = { 0.0, 0.3, 0.6 } | ||
fg[ACTIVE] = { 0.0, 0.0, 0.0 } | ||
} | ||
|
||
style "button_app" | ||
{ | ||
fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
bg[PRELIGHT] = { 0.0, 0.5, 0.7 } | ||
} | ||
|
||
style "main_button" = "button" | ||
{ | ||
font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" | ||
bg[PRELIGHT] = { 0.75, 0, 0 } | ||
} | ||
|
||
style "toggle_button" = "button" | ||
{ | ||
#fg[NORMAL] = { 1.0, 1.0, 1.0 } | ||
#bg[NORMAL] = { 0, 0.3, 0.6 } | ||
#fg[ACTIVE] = { 1.0, 1.0, 1.0 } | ||
#bg[ACTIVE] = { 0.0, 0.4, 0.7 } | ||
#bg[PRELIGHT] = { 0.0, 0.3, 0.6 } | ||
#fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
} | ||
|
||
style "radio_button" | ||
{ | ||
fg[NORMAL] = { 1.0, 1.0, 0.0 } | ||
bg[NORMAL] = { 0, 0.3, 0.6 } | ||
fg[ACTIVE] = { 1.0, 1.0, 1.0 } | ||
bg[ACTIVE] = { 1.0, 1.0, 0.0 } | ||
bg[PRELIGHT] = { 0.0, 0.3, 0.6 } | ||
fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
} | ||
|
||
style "spinner" = "spinner" | ||
{ | ||
fg[NORMAL] = { 0.0, 0.0, 0.0 } | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
bg[PRELIGHT] = { 1.0, 1.0, 0.0 } | ||
fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
base[NORMAL] = { 0.85, 0.9, 1.0 } | ||
} | ||
|
||
style "text" | ||
{ | ||
bg[NORMAL] = { 0, 0.4, 0.7 } | ||
fg[NORMAL] = { 0.0, 0.0, 0.0 } | ||
fg[PRELIGHT] = { 0.0, 0.0, 0.0 } | ||
bg[PRELIGHT] = { 0.0, 0.5, 0.7 } | ||
#fg[SELECTED] = { 0.0, 0.0, 0.0 } | ||
#bg[SELECTED] = { 0.9, 0.8, 1.0 } | ||
fg[ACTIVE] = { 0.0, 0.0, 0.0 } | ||
bg[ACTIVE] = { 0.0, 0.3, 0.6 } #bg of scrollbars | ||
fg[INSENSITIVE] = { 1.0, 1.0, 0.0 } | ||
bg[INSENSITIVE] = { 0.0, 0.0, 0.0 } | ||
text[NORMAL] = { 0.0, 0.0, 1.0 } | ||
base[NORMAL] = { 0.85, 0.9, 1.0 } | ||
} | ||
|
||
style "ruler" | ||
{ | ||
font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" | ||
} | ||
|
||
style "menu" | ||
{ | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
fg[NORMAL] = { 1.0, 1.0, 1.0 } | ||
fg[PRELIGHT] = { 1.0, 1.0, 1.0 } | ||
bg[PRELIGHT] = { 0.0, 0.4, 0.7 } | ||
fg[ACTIVE] = { 0.0, 1.0, 0.0 } | ||
bg[ACTIVE] = { 0, 0.3, 0.6 } | ||
fg[SELECTED] = { 1.0, 0.0, 0.0 } | ||
bg[SELECTED] = { 0, 0.5, 0.5 } | ||
} | ||
|
||
style "notebook" | ||
{ | ||
# This shows all the possible states for a button. The only one that | ||
# doesn't apply is the SELECTED state. | ||
|
||
bg[ACTIVE] = { 0.0, 0.3, 0.6 } | ||
fg[ACTIVE] = { 0.9, 0.9, 0.9 } | ||
bg[NORMAL] = { 0.0, 0.3, 0.6 } | ||
fg[NORMAL] = { 0.9, 0.9, 0.9 } | ||
bg[ACTIVE] = { 0.0, 0.25, 0.55 } | ||
fg[ACTIVE] = { 1.0, 1.0, 1.0 } | ||
} | ||
|
||
# pixmap_path "~/.pixmaps" | ||
|
||
# These set the widget types to use the styles defined above. | ||
# The widget types are listed in the class hierarchy, but could probably be | ||
# just listed in this document for the users reference. | ||
|
||
widget_class "GtkWindow" style "window" | ||
widget_class "GtkDialog" style "window" | ||
widget_class "GtkFileSelection" style "window" | ||
# widget_class "*Gtk*Scale" style "scale" | ||
widget_class "*GtkNotebook" style "notebook" | ||
widget_class "*GtkCheckButton*" style "radio_button" | ||
widget_class "*GtkRadioButton*" style "radio_button" | ||
widget_class "*GtkButton*" style "button" | ||
widget_class "*GtkSpinButton" style "spinner" | ||
widget_class "*GtkToggleButton*" style "toggle_button" | ||
widget_class "*Ruler" style "ruler" | ||
widget_class "*GtkMenu" style "menu" | ||
widget_class "*Menu*" style "menu" | ||
widget_class "*GtkOptionMenu" style "menu" | ||
widget_class "*GtkRadioMenuItem" style "menu" | ||
widget_class "*GtkText" style "text" | ||
widget_class "*GtkCList" style "text" | ||
widget_class "*GtkVScrollbar" style "text" | ||
widget_class "*GtkHScrollbar" style "text" | ||
widget_class "*GtkLabel" style "label" | ||
widget_class "*GtkEntry" style "text" | ||
widget "*GtkButton*.button_set" style "button_set" | ||
widget "*GtkButton*.button_dow" style "button_dow" | ||
widget "*GtkButton*.button_app" style "button_app" | ||
|
||
# This sets all the buttons that are children of the "main window" to | ||
# the main_button style. These must be documented to be taken advantage of. | ||
widget "main window.*GtkButton*" style "main_button" | ||
|
||
#works->widget "*GtkTable.*GtkButton*" style "button_set" | ||
widget "*.button_set" style "button_set" | ||
widget "*.button_dow" style "button_dow" | ||
widget "*.button_app" style "button_app" |