-
Notifications
You must be signed in to change notification settings - Fork 809
/
gtkrc-2.0.gnucash
197 lines (162 loc) · 4.34 KB
/
gtkrc-2.0.gnucash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#
# This is an example GTK RC file that can be used with Gnucash.
# Simply copy this file to ~/.gtkrc-2.0.gnucash and then restart
# gnucash. Yes the colors are hideous, but then this is a (bad)
# example that you should customize to your liking.
#
# On an FC3 system, the RC files (if they exist) are loaded for in
# this order:
#
# /usr/share/gtkrc-2.0
# /etc/gtk-2.0/gtkrc
# ~/.gtkrc-2.0
# ** ~/.gtkrc-2.0.gnucash **
# ~/.gnome2/gtkrc-2.0
# ~/.themes/Bluecurve/gtk-2.0/gtkrc
# /usr/share/themes/Bluecurve/gtk-2.0/gtkrc
# ~/.themes/Default/gtk-2.0-key/gtkrc
# /usr/share/themes/Default/gtk-2.0-key/gtkrc
#
##########
#
# Define the various styles here
#
##########
style "gnc-button"
{
# This shows all the possible states for a button. The only one that
# doesn't apply is the SELECTED state.
bg[NORMAL] = "LightBlue"
fg[NORMAL] = "IndianRed"
# Mouse over
bg[PRELIGHT] = "SkyBlue"
fg[PRELIGHT] = "white"
# Mouse down
bg[ACTIVE] = "SteelBlue"
fg[ACTIVE] = "white"
bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
fg[INSENSITIVE] = { 1.0, 0, 1.0 }
}
style "gnc-button2" = "gnc-button"
{
bg[NORMAL] = "PeachPuff"
fg[NORMAL] = "firebrick"
}
style "gnc-button3" = "gnc-button"
{
bg[NORMAL] = "LightGoldenrod1"
fg[NORMAL] = "firebrick"
}
style "gnc-entry"
{
base[NORMAL] = "LightBlue"
text[NORMAL] = "firebrick"
}
style "gnc-entry2"
{
base[NORMAL] = "RoyalBlue"
text[NORMAL] = "WhiteSmoke"
}
style "gnc-treeview"
{
GtkTreeView::even-row-color = "IndianRed"
GtkTreeView::odd-row-color = "LightBlue"
}
##########
#
# Program wide changes should go here.
#
##########
class "GtkEntry" style "gnc-entry"
class "GtkButton" style "gnc-button"
##########
#
# Individual window changes should go here.
#
##########
#
# Price Selection Dialog
#
# widget "Prices Dialog.*.close_button" style "gnc-button"
# widget "Prices Dialog.*.get_quotes_button" style "gnc-button2"
# widget "Prices Dialog.*.edit_button" style "gnc-button2"
# widget "Prices Dialog.*.add_button" style "gnc-button2"
# widget "Prices Dialog.*.remove_button" style "gnc-button2"
# widget "Prices Dialog.*.remove_old_button" style "gnc-button2"
widget "Prices Dialog.*.price_tree" style "gnc-treeview"
widget "Prices Dialog.*.price_tree.GtkButton" style "gnc-button3"
#
# Dialog to edit one price
#
# widget "Price Dialog.*.cancel_button" style "gnc-button2"
# widget "Price Dialog.*.ok_button" style "gnc-button2"
# widget "Price Dialog.*.GNCGeneralSelect" style "gnc-entry"
# widget "Price Dialog.*.GNCCurrencyEdit" style "gnc-entry"
# widget "Price Dialog.*.GNCDateEdit.GtkEntry" style "gnc-entry"
# widget "Price Dialog.*.source_entry" style "gnc-entry"
# widget "Price Dialog.*.type_option" style "foo"
widget "Price Dialog.*.GNCAmountEdit" style "gnc-entry2"
#
# Commodity Dialog
#
widget "Commodities Dialog.*.commodity_tree" style "gnc-treeview"
#
# Register - Font
#
style "gnc-register"
{
font_name = "Sans 10"
}
widget "*.GnucashSheet" style "gnc-register"
#
# Register Window - Colors
#
# The header lines at the top of a register.
style "gnc-register-header"
{
base[NORMAL] = "#B18396"
}
# The color of the first line/transaction in a register.
style "gnc-register-primary"
{
base[NORMAL] = "#DEB9BF"
base[SELECTED] = "#EF98FF"
}
# The color of the second line/transaction in a register.
style "gnc-register-secondary"
{
base[NORMAL] = "#FFDAF6"
base[SELECTED] = "#EF98FF"
}
# The color of any "split" lines in a register.
style "gnc-register-split"
{
base[NORMAL] = "#E7D3ED"
base[SELECTED] = "#EF98FF"
}
widget "GncMainWindow.*.header_color" style : highest "gnc-register-header"
widget "GncMainWindow.*.primary_color" style : highest "gnc-register-primary"
widget "GncMainWindow.*.secondary_color" style : highest "gnc-register-secondary"
widget "GncMainWindow.*.split_color" style : highest "gnc-register-split"
#
# From: calmar <mac@calmar.ws>
# Allow changing notebook tabs with vim next/prev keys.
#
binding "book" {
bind "<Control>k" {
"change-current-page" (1)
}
bind "<Control>j" {
"change-current-page" (-1)
}
}
class "GtkNotebook" binding "book"
#
# From: calmar <mac@calmar.ws>
# Use larger disclosure tiangles in all tree views.
#
style "wide-tree"
{
GtkTreeView::expander_size = 20
}
class "GtkTreeView" style "wide-tree"