/
gtk-3.0.css
executable file
·262 lines (197 loc) · 4.53 KB
/
gtk-3.0.css
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
/* This is an example GTK CSS file that can be used with Gnucash.
Simply copy this file to the location specified below according
to your platform and then restart gnucash.
- Windows: CSIDL_APPDATA/GnuCash
(or the default is users\%USERNAME%\AppData\Roaming\GnuCash)
- OS X: $HOME/Application Support/GnuCash
- Linux: $XDG_CONFIG_HOME/gnucash
(or the default is $HOME/.config/gnucash)
These settings are mainly to do with register colors and can be seen
when the preference setting 'Register\Use GnuCash built-in color theme'
is unset.
Note: Widgets obtained from Glade files will not be addressable
directly by name as these are not brought in when loaded, only
the widget type can be configured unless they are named in code.
*/
/* Application wide font setting */
* {
font: 12px arial;
}
/* Scollbar size */
scrollbar slider {
/* Size of the slider */
min-width: 20px;
min-height: 20px;
border-radius: 22px;
/* Padding around the slider */
border: 5px solid transparent;
}
/* Register sheet font setting */
gnc-id-sheet {
font: 10px arial;
}
/* Register header font setting */
gnc-id-header {
background-color: pink;
color:blue;
}
/* Register cursor font setting */
gnc-id-cursor {
background-color: #BDB76B;
color: white;
}
gnc-id-cursor button {
border-width: 1px;
border-color: green;
}
/* Register sheet calendar */
gnc-id-sheet calendar {
font: 13px arial;
background-color:lightgreen;
border-color: green;
border-width: 1px;
}
/* Register User Colors, remove 'user' for builtin register values */
.gnc-class-user-register-header {
background-color: seagreen;
color: white;
}
.gnc-class-user-register-primary {
background-color: pink;
}
.gnc-class-user-register-primary:disabled {
background-color: plum;
}
.gnc-class-user-register-secondary {
background-color: lightgreen;
}
.gnc-class-user-register-secondary:disabled {
background-color: plum;
}
.gnc-class-user-register-split {
background-color: lightblue;
}
.gnc-class-user-register-split:disabled {
background-color: plum;
}
.gnc-class-user-register-cursor {
background-color: #00BFFF;
color: white;
border-radius: 0px;
}
/* Toolbar Button size and spacing */
toolbar {
background-color: darkgrey;
}
/* Toolbar font size, 0 to remove text */
toolbar toolbutton label {
font-size: 0px;
}
toolbar toolbutton button {
padding-left: 4px;
padding-right: 4px;
}
toolbar toolbutton label {
padding-left: 4px;
padding-right: 4px;
}
/* Negative number color */
.gnc-class-negative-numbers {
color: orange;
}
/* Gnucash Main Window, reduce size */
#gnc-id-main-window notebook tab {
min-height: 0px;
min-width: 0px;
padding-top: 3px;
padding-bottom: 3px;
margin-top: 0px;
margin-bottom: 0px;
border-top: 0px;
border-bottom: 0px;
}
#gnc-id-main-window notebook label {
font: 14px arial, sans-serif;
}
#gnc-id-main-window notebook tab button {
min-height: 0;
min-width: 0;
padding: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
/* Dense Calendar Settings, use widget name gnc-id-dense-calendar
* or gtk css name calendar which would also apply to other calendar
* widgets */
#gnc-id-dense-calendar .frame {
border-color: blue;
border-width: 1px;
}
calendar .frame {
border-color: blue;
border-width: 1px;
}
#gnc-id-dense-calendar .header {
background-color: lightgreen;
}
calendar .header {
background-color: lightgreen;
}
#gnc-id-dense-calendar .primary {
background-color: darksalmon;
}
#gnc-id-dense-calendar .secondary {
background-color: darkseagreen;
}
#gnc-id-dense-calendar .markers {
background-color: indianred;
}
#gnc-id-dense-calendar-popup {
background-color: darksalmon;
color: black;
}
#gnc-id-dense-calendar-popup treeview {
background-color: lightcoral;
}
/* Progress bar */
progressbar progress {
background-color: lime;
}
/* Status Bar */
statusbar frame {
margin-top: 0px;
margin-bottom: 0px;
}
statusbar label {
font-size: 12px;
color: red;
}
/* Reconcile Window */
#gnc-id-reconcile-totals * {
background-color: darkgrey;
}
.gnc-class-credits treeview {
background-color: pink;
}
.gnc-class-credits treeview:selected {
background-color: cornflowerblue;
color: white;
}
.gnc-class-debits treeview {
background-color: lightblue;
}
.gnc-class-debits treeview:selected {
background-color: cornflowerblue;
color: white;
}
/* Highlight Text */
.gnc-class-highlight {
color: blue;
}
/* Summary bar */
#gnc-id-summarybar {
background-color:lightblue;
}
#gnc-id-summarybar .gnc-class-highlight {
color: red;
}