Debian Codegraph @

osx/gtkrc

raw
1 # Mac Theme for Xamarin composed by Lanedo GmbH
2 # Copyright 2012 Xamarin Inc.
3 # Authors:
4 # Christian Kellner <[email protected]>
5 # Carlos Garnacho <[email protected]>
6 #
7 # Modified by ZoiteChat
8 #
9
10 gtk-color-scheme =
11 "bg_color: #f5f5f5
12 fg_color: #000
13 base_color: #fff
14 text_color: #000
15 selected_bg_color: #0066FF
16 selected_fg_color: #fff
17 tooltip_bg_color: #fafaba
18 tooltip_fg_color: #000"
19
20 gtk-button-images = 0
21 gtk-menu-images = 0
22 gtk-toolbar-style = 0
23 gtk-enable-mnemonics = 0
24 gtk-icon-sizes = "gtk-small-toolbar=16,16:gtk-large-toolbar=22,22"
25 gtk-toolbar-icon-size = large-toolbar
26 gtk-auto-mnemonics = 1
27 gtk-error-bell = 0
28 gtk-show-input-method-menu = 0
29 gtk-key-theme-name="Mac"
30
31 style "default" {
32 xthickness = 1
33 ythickness = 1
34
35 ### colours
36 bg[NORMAL] = @bg_color
37 bg[PRELIGHT] = @bg_color
38 bg[SELECTED] = @selected_bg_color
39 bg[INSENSITIVE] = @bg_color
40 bg[ACTIVE] = @bg_color
41
42 fg[NORMAL] = @fg_color
43 fg[PRELIGHT] = @fg_color
44 fg[SELECTED] = @selected_fg_color
45 fg[INSENSITIVE] = darker (@bg_color)
46 fg[ACTIVE] = @fg_color
47
48 text[NORMAL] = @text_color
49 text[PRELIGHT] = @text_color
50 text[SELECTED] = @selected_fg_color
51 text[INSENSITIVE] = darker (@bg_color)
52 text[ACTIVE] = @text_color
53
54 base[NORMAL] = @base_color
55 base[PRELIGHT] = @selected_bg_color
56 base[SELECTED] = @selected_bg_color
57 base[INSENSITIVE] = @bg_color
58 base[ACTIVE] = shade (1.3, @selected_bg_color)
59
60 ### style properties
61 GtkWidget::new-tooltip-style = 1
62
63 GtkEntry::honors-transparent-bg-hint = 1
64 GtkEntry::inner-border = { 2, 2, 2, 2 }
65
66 GtkButton::child-displacement-x = 0
67 GtkButton::child-displacement-y = 0
68 GtkButton::default-border = { 0, 0, 0, 0 }
69 GtkButton::inner-border = { 2, 2, 4, 4 }
70
71 GtkButtonBox::child-min-width = 70
72 GtkButtonBox::child-min-height = 22
73
74 GtkTreeView::odd-row-color = "#f0f4f9"
75
76 GtkScrolledWindow::scrollbar-spacing = 0
77 GtkScrolledWindow::scrollbars-within-bevel = 1
78 GtkScale::slider-length = 14
79 GtkRange::trough-side-details = 1
80
81 GtkTreeView::expander-size = 8
82 GtkExpander::expander-size = 8
83 GtkComboBox::arrow-size = 12
84
85 GtkMenu::vertical-padding = 4
86 GtkMenuItem::horizontal-padding = 9
87 GtkMenuItem::toggle-spacing = 0
88 GtkSeparatorMenuItem::horizontal-padding = 2
89
90 engine "xamarin" {
91
92 arrowstyle = 2
93 rgba = TRUE
94 roundness = 3
95 glazestyle = 0
96
97 menustyle = 0
98 menuitemstyle = 0
99 menubaritemstyle = 0
100 comboboxstyle = 1
101 spinbuttonstyle = 1
102 colorize_scrollbar = FALSE
103 progressbarstyle = 0
104 trough_shades = { 0.842, 0.886 }
105 }
106 }
107
108 style "wide" = "default" {
109 xthickness = 2
110 ythickness = 2
111 }
112
113 style "wider" = "default" {
114 xthickness = 3
115 ythickness = 3
116 }
117
118
119 style "button" {
120 xthickness = 2
121 ythickness = 2
122
123 bg[NORMAL] = @bg_color
124 bg[PRELIGHT] = shade(1.1, @bg_color)
125 bg[ACTIVE] = @bg_color
126 bg[INSENSITIVE] = @bg_color
127 GtkWidget::focus-padding = 0
128
129 engine "quartz" {
130 }
131 }
132
133 style "combo-box-button" {
134 xthickness = 2
135 ythickness = 4
136
137 bg[NORMAL] = @base_color
138 bg[PRELIGHT] = shade(1.1, @base_color)
139 bg[ACTIVE] = @base_color
140 bg[INSENSITIVE] = @base_color
141 GtkWidget::focus-padding = 0
142
143 engine "xamarin" {
144 contrast = 1.0
145 gradient_shades = {0.99, 0.98, 0.97, 0.96}
146 focus_color = shade(0.6, @base_color)
147 textstyle = 1
148 }
149 }
150
151 style "dialog-button" = "default" {
152 xthickness = 3
153 ythickness = 2
154 font_name = "Lucida Grande 13"
155
156 GtkWidget::draw-border = { 2, 2, 2, 2 }
157 GtkWidget::focus-line-width = 1
158 GtkButton::inner-border = { 8, 8, 0, 3 }
159
160 engine "quartz" {
161 buttontype = "aqua"
162 }
163 }
164
165 style "toggle-button" = "button" {
166 bg[NORMAL] = @base_color
167 bg[PRELIGHT] = shade(0.98, @base_color)
168 }
169
170 style "menu" {
171 xthickness = 0
172 ythickness = 0
173 font_name = "Lucida Grande 14"
174
175 bg[PRELIGHT] = @selected_fg_color
176 fg[PRELIGHT] = @selected_fg_color
177 text[PRELIGHT] = @selected_fg_color
178
179 engine "quartz" {
180 }
181 }
182
183 style "menu-item" = "menu" {
184 ythickness = 2
185 GtkWidget::draw-border = { 0, 0, 0, 2 }
186 }
187
188 style "menu-separator" = "menu-item" {
189 ythickness = 3
190 }
191
192 style "toolbar" = "default"
193 {
194 bg[NORMAL] = "#ddd"
195 engine "xamarin" {
196 toolbarstyle = 2
197 }
198 }
199
200 style "toolbar-button"
201 {
202 engine "xamarin" {
203 contrast = 1.0
204 focus_color = @bg_color
205 }
206 }
207
208 style "tooltip"
209 {
210 xthickness = 5
211 ythickness = 5
212
213 fg[NORMAL] = @tooltip_fg_color
214 bg[NORMAL] = @tooltip_bg_color
215
216 engine "xamarin" {
217 roundness = 0
218 }
219 }
220
221 style "treeview" = "default"
222 {
223 GtkTreeView::odd-row-color = "#f5f5f5"
224
225 base[SELECTED] = "#2b5dcd"
226 base[ACTIVE] = "#cacaca"
227 text[SELECTED] = "#FFF"
228 text[ACTIVE] = "#000"
229
230 font_name = "Lucida Grande 12"
231
232 engine "quartz" {
233 }
234 }
235
236 style "tree-header"
237 {
238 ythickness = 0
239 bg[NORMAL] = "#f2f2f2"
240 font_name = "Lucida Grande 11"
241
242 GtkWidget::focus-line-width = 0
243 GtkWidget::draw-border = { 1, 1, 1, 1 }
244 GtkButton::inner-border = { 3, 3, 1, 3 }
245
246 engine "quartz" {
247 }
248 }
249
250 style "icon-view" = "default"
251 {
252 bg[SELECTED] = "#f5f7fa"
253 base[SELECTED] = "#f5f7fa"
254 fg[SELECTED] = "#000"
255 text[SELECTED] = "#000"
256 }
257
258 style "toolbar-combo-box" = "default"
259 {
260 fg[NORMAL] = "#616161"
261 text[NORMAL] = @fg_color
262 bg[NORMAL] = "#fff"
263 base[NORMAL] = "#fff"
264 ythickness = 4
265 xthickness = 2
266
267 engine "xamarin" {
268 comboboxstyle = 0
269 arrowstyle = 2
270 }
271 }
272
273 style "combo-box" = "default"
274 {
275 fg[NORMAL] = "#616161"
276 xthickness = 2
277 ythickness = 4
278
279 engine "xamarin" {
280 arrowstyle = 4
281 }
282 }
283
284 style "combo-box-entry" = "combo-box"
285 {
286 engine "xamarin" {
287 arrowstyle = 3
288 }
289 }
290
291 style "combo-box-label" = "combo-box"
292 {
293 fg[NORMAL] = "#595959"
294 }
295
296 style "combo-box-menu" = "menu" {
297 font_name = "Lucida Grande 12"
298 }
299
300 style "notebook" = "default"
301 {
302 GtkNotebook::tab-overlap = 1
303 #bg[ACTIVE] = @base_color
304 bg[NORMAL] = @base_color
305
306 engine "xamarin" {
307 gradient_shades = { 0.945, 0.945, 0.945, 0.685 }
308 }
309 }
310
311 style "radio-or-check-box"
312 {
313 ythickness = 6
314 #GtkCheckButton::indicator-size = 14
315 GtkCheckButton::indicator-spacing = 4
316
317 engine "quartz" {
318 }
319 }
320
321 style "entry" = "default"
322 {
323 xthickness = 2
324 ythickness = 2
325 GtkEntry::inner-border = { 2, 2, 2, 2 }
326 base[INSENSITIVE] = shade(1.02, @bg_color)
327
328 engine "quartz" {
329 }
330 }
331
332 style "search-entry" = "wider"
333 {
334 xthickness = 6
335 ythickness = 4
336 bg[NORMAL] = @base_color
337 }
338
339 style "scrollbar" = "default"
340 {
341 GtkScrollbar::has-forward-stepper = 0
342 GtkScrollbar::has-backward-stepper = 0
343 GtkRange::slider-width = 15
344 GtkRange::trough-border = 0
345 GtkRange::trough-side-details = 0
346
347 engine "quartz" {
348 }
349 }
350
351 style "progressbar" = "default"
352 {
353 engine "quartz" {
354 }
355 }
356
357 style "scrolled-window" = "default"
358 {
359 xthickness = 1
360 ythickness = 1
361 }
362
363 style "scale" = "default"
364 {
365 bg[SELECTED] = @selected_bg_color
366
367 engine "xamarin" {
368 roundness = 7
369 }
370 }
371
372 style "spin-button" = "wider"
373 {
374 fg[NORMAL] = "#616161"
375 ythickness = 4
376 GtkEntry::inner-border = { 2, 2, 1, 1 }
377 engine "xamarin" {
378 arrowstyle = 3
379 }
380 }
381
382 ### Apply the styles
383 class "GtkWidget" style "default"
384
385 class "GtkEntry" style "entry"
386 class "GtkSpinButton" style "spin-button"
387 class "GtkFrame" style "wider"
388 class "GtkRange" style "wide"
389 class "GtkSeparator" style "wide"
390 class "GtkScrollbar" style "scrollbar"
391 class "GtkProgressBar" style "progressbar"
392 class "GtkScrolledWindow" style "scrolled-window"
393 class "GtkNotebook" style "notebook"
394 class "GtkButton" style "button"
395 class "GtkToggleButton" style "toggle-button"
396 class "GtkScale" style "scale"
397
398 #widget "*GtkEntry" style "entry"
399 widget "*search-entry*" style "search-entry"
400 widget "*GtkTextView" style "entry"
401
402 widget_class "<GtkDialog>*<GtkCheckButton>" style "radio-or-check-box"
403 widget_class "<GtkDialog>.<GtkVBox>.<GtkButtonBox>.<GtkButton>*" style "dialog-button"
404 widget_class "<GtkDialog>.<GtkVBox>.<GtkHBox>.<GtkButtonBox>.<GtkButton>*" style "dialog-button"
405 widget "*.toggleFindInFiles" style "toggle-button"
406 widget "*.toggleReplaceInFiles" style "toggle-button"
407
408 widget_class "*<GtkMenu>*" style "menu"
409 widget_class "*<GtkMenuItem>*" style "menu-item"
410 widget_class "*<GtkSeparatorMenuItem>" style "menu-separator"
411 widget "*.gtk-combobox-popup-menu*" style "combo-box-menu"
412
413 widget_class "*<GtkToolbar>*" style "toolbar"
414 widget_class "*ToolButton*" style "toolbar-button"
415
416 widget_class "*.<GtkTreeView>*" style "treeview"
417 widget_class "*.GtkTreeView.GtkButton" style "tree-header"
418 widget_class "*.GtkList.GtkButton" style "tree-header"
419
420 widget_class "*<GtkIconView>" style "icon-view"
421
422 widget_class "*.<GtkComboBox>.*" style "combo-box"
423 widget_class "*.<GtkComboBoxText>.*" style "combo-box-entry"
424 widget_class "*.<GtkComboBoxEntry>.*" style "combo-box-entry"
425 widget_class "*.<GtkComboBoxText>.<GtkEntry>" style "combo-box-entry"
426 widget_class "*.<GtkComboBoxEntry>.<GtkEntry>" style "combo-box-entry"
427 widget_class "*.<GtkComboBoxText>.<GtkToggleButton>" style "combo-box-button"
428 widget_class "*.<GtkComboBoxEntry>.<GtkToggleButton>" style "combo-box-button"
429 widget_class "*.<GtkComboBox>.*.GtkLabel" style "combo-box-label"
430
431 # Comboboxes within toolbars
432 widget_class "*.<GtkToolbar>.*.<GtkComboBox>.*" style "toolbar-combo-box"
433 widget "*MainToolbar*.GtkComboBox.*" style "toolbar-combo-box"
434
435 widget "gtk-tooltip*" style "tooltip"