3744371f76a5e1bfe1d4d3d3ad43932b04888a59
[xboard.git] / osxapp / Mac / gtk-2.0 / gtkrc
1 # GIMP GTK+ 2 Mac integration theme\r
2 # Author: scl\r
3 #\r
4 # Based upon:\r
5 #     Zukitwo by lassekongo83\r
6 #     Gnome-Cupertino by Rafa Cobreros\r
7 #\r
8 # Requirements:\r
9 #     Murrine Theme Engine\r
10 #     For a documentation of the Murrine properties see\r
11 #     https://wiki.ubuntu.com/Artwork/Documentation/Murrine\r
12 #\r
13 # For explanations of the theme properties see:\r
14 #   - the GTK+ 2 Settings Reference Manual\r
15 #       https://developer.gnome.org/gtk2/2.24/GtkSettings.html\r
16 #   - the API documentation of the GTK widgets and\r
17 #   - the Murrine Engine documentation:\r
18 #       https://wiki.ubuntu.com/Artwork/Documentation/Murrine\r
19 #\r
20 # This theme is free software: you can redistribute it and/or modify\r
21 # it under the terms of the GNU General Public License as published by\r
22 # the Free Software Foundation, either version 3 of the License, or\r
23 # (at your option) any later version.\r
24 #\r
25 # This program is distributed in the hope that it will be useful,\r
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of\r
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
28 # GNU General Public License for more details.\r
29 #\r
30 # You should have received a copy of the GNU General Public License\r
31 # along with this program. If not, see <http://www.gnu.org/licenses/>.\r
32 #\r
33 # See the file COPYING for the full license text.\r
34 #\r
35 \r
36 # Global settings #\r
37 \r
38 ## Color definitions ##\r
39 # Background, base:\r
40 gtk_color_scheme = "bg_color:#e8e8e8\nselected_bg_color:#6699cc\nbase_color:#f7f7f7"\r
41 \r
42 # Foreground, text:\r
43 gtk_color_scheme = "fg_color:#2c2c2c\nselected_fg_color:#f5f5f5\ntext_color:#2c2c2c"\r
44 \r
45 # Tooltips:\r
46 gtk_color_scheme = "tooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000"\r
47 \r
48  # Hyperlinks:\r
49 gtk_color_scheme = "link_color:#08c"\r
50 \r
51 # Dark colors:\r
52 gtk_color_scheme = "bg_color_dark:#3f3f3f\ntext_color_dark:#ffffff"\r
53 \r
54 # Filechooser sidebar background:\r
55 gtk-color-scheme = "sidebar_background:#e1e5eb"\r
56 \r
57 \r
58 ## Miscellanous definitions ##\r
59 gtk-auto-mnemonics = 1  # disables ugly lines under menu items\r
60 gtk-button-images  = 0  # enables icons in buttons\r
61 gtk-icon-sizes     = "gtk-button=16,16"  # reduce button icon size\r
62 gtk-toolbar-style  = 0  # disables text in toolbar\r
63 \r
64 # Styles #\r
65 ## Basic styles ##\r
66 style "default"\r
67 {\r
68   ### Color Definitions ###\r
69   base[ACTIVE]      = shade (0.92, @selected_bg_color)\r
70   base[INSENSITIVE] = @bg_color\r
71   base[NORMAL]      = @base_color\r
72   base[PRELIGHT]    = shade (0.95, @bg_color)\r
73   base[SELECTED]    = shade (0.93, @selected_bg_color)\r
74   bg[ACTIVE]        = shade (1.04, @bg_color)\r
75   bg[INSENSITIVE]   = @bg_color\r
76   bg[NORMAL]        = @bg_color\r
77   bg[PRELIGHT]      = shade (1.02, @bg_color)\r
78   bg[SELECTED]      = @selected_bg_color\r
79   fg[ACTIVE]        = @fg_color\r
80   fg[INSENSITIVE]   = darker (@bg_color)\r
81   fg[NORMAL]        = @fg_color\r
82   fg[PRELIGHT]      = @fg_color\r
83   fg[SELECTED]      = @selected_fg_color\r
84   text[ACTIVE]      = @selected_fg_color\r
85   text[INSENSITIVE] = darker (@bg_color)\r
86   text[NORMAL]      = @text_color\r
87   text[PRELIGHT]    = @text_color\r
88   text[SELECTED]    = @selected_fg_color\r
89 \r
90   xthickness = 1\r
91   ythickness = 1\r
92 \r
93   GnomeHRef::link_color                      = @link_color\r
94   GtkHTML::link-color                        = @link_color\r
95   GtkIMHtmlr::hyperlink-color                = @link_color\r
96   GtkIMHtml::hyperlink-color                 = @link_color\r
97   GtkWidget::link-color                      = @link_color\r
98   GtkWidget::visited-link-color              = @text_color\r
99   GtkButton::child-displacement-x            = 1\r
100   GtkButton::child-displacement-y            = 1\r
101   GtkButton::default-border                  = {0, 0, 0, 0}\r
102   GtkCheckButton::indicator-size             = 15\r
103   GtkWidget::new-tooltip-style               = 1\r
104   GtkWidget::focus-line-width                = 1\r
105 \r
106   # 0 = prevent the Firefox tabs from jumping a few pixels when creating a new\r
107   # tab. Set the value locally if needed.\r
108   GtkWidget::focus-padding                   = 0\r
109 \r
110   GtkImage::x-ayatana-indicator-dynamic      = 1\r
111   GtkScrollbar::activate-slider              = 0\r
112   GtkScrollbar::has-backward-stepper         = 0\r
113   GtkScrollbar::has-forward-stepper          = 1\r
114   GtkScrollbar::min-slider-length            = 30\r
115   GtkScrollbar::slider-width                 = 9\r
116   GtkScrollbar::stepper-size                 = 1\r
117   GtkScrollbar::trough-border                = 3\r
118   GtkScrollbar::trough-side-details          = 0\r
119   GtkScrolledWindow::scrollbar-spacing       = 0\r
120   GtkScrolledWindow::scrollbars-within-bevel = 1\r
121   GtkPaned::handle-size                      = 6\r
122   GtkRange::slider-width                     = 11\r
123   GtkRange::stepper-size                     = 0\r
124   GtkRange::stepper_spacing                  = 0\r
125   GtkRange::trough-border                    = 0\r
126   GtkRange::trough-under-steppers            = 0\r
127   GtkScale::slider-length                    = 14\r
128   GtkScale::slider-width                     = 14\r
129   GtkMenuBar::internal-padding               = 0\r
130   GtkExpander::expander-size                 = 16\r
131   GtkToolbar::internal-padding               = 0\r
132   GtkTreeView::expander-size                 = 6\r
133   GtkTreeView::indent-expanders              = 1\r
134   GtkTreeView::vertical-separator            = 1\r
135   GtkNotebook::tab-curvature                 = 1  # 1 = default\r
136   GtkNotebook::tab-overlap                   = 2  # 2 = default\r
137   GtkMenu::horizontal-padding                = 0\r
138   GtkMenu::vertical-padding                  = 0\r
139   WnckTasklist::fade-overlay-rect            = 0\r
140 \r
141   # 1 = hint to Gecko (and possibly other appliations) that the entry should be\r
142   # drawn transparently on the canvas. Without this, Gecko will fill in the\r
143   # background of the entry.\r
144   GtkEntry::honors-transparent-bg-hint       = 1\r
145 \r
146   GtkEntry::state-hint                       = 0\r
147   GtkEntry::progress-border                  = {2, 2, 2, 2}\r
148   GtkProgressBar::min-horizontal-bar-height  = 16\r
149   GtkProgressBar::min-vertical-bar-width     = 16\r
150   GtkMenuBar::window-dragging                = 1\r
151   GtkToolbar::window-dragging                = 1\r
152 \r
153   # remove little ugly gripper at the bottom right\r
154   GtkWindow::resize-grip-height              = 0\r
155   GtkWindow::resize-grip-width               = 0\r
156 \r
157   # Murrine engine properties\r
158   engine "murrine"\r
159   {\r
160     animation            = FALSE\r
161     arrowstyle           = 1  # 1 = filled arrows\r
162     border_shades        = {1.0, 0.7}  # gradient to draw on border\r
163     colorize_scrollbar   = TRUE\r
164     comboboxstyle        = 0  # 0 = normal combobox\r
165     contrast             = 0.4  # 0.4 for less contrast on borders\r
166     default_button_color = "#4c8ed4"\r
167     expanderstyle        = 0\r
168     focus_color          = @selected_bg_color\r
169     focusstyle           = 3\r
170     glazestyle           = 1  # 1 = curved highlight\r
171     glow_shade           = 1.1\r
172     glowstyle            = 1  # 1 = bottom\r
173     gradient_shades      = {1.31, 1.0, 1.0, 1.2}  # gradients on the widgets\r
174     highlight_shade      = 1.0  # highlight amount for buttons or widgets\r
175     lightborder_shade    = 1.1  # lightborder amount for buttons or widgets\r
176     lightborderstyle     = 0  # 0 = lightborder on top side\r
177     listviewheaderstyle  = 1  # 1 = glassy\r
178     listviewstyle        = 1  # 1 = dotted\r
179     menubaritemstyle     = 0  # 0 = menuitem look\r
180     menubarstyle         = 2  # 2 = gradient\r
181     menuitemstyle        = 0  # 0 = flat\r
182     menustyle            = 0  # 0 = no vertical menu stripe\r
183 \r
184     # shade level for scrollbar's slider, comboboxstyle(1), and prelight state\r
185     # with gradient_colors:\r
186     prelight_shade       = 0.95\r
187 \r
188     progressbarstyle     = 0  # 0 = nothing\r
189     reliefstyle          = 2  # 2 = shadow\r
190     rgba                 = FALSE  # FALSE = disabled\r
191     roundness            = 3  # 0 = squared, greater values increase roundness\r
192     scrollbarstyle       = 0  # 0 = nothing\r
193     separatorstyle       = 1  # 1 = smooth separators\r
194     shadow_shades        = {0.5, 0.0}  # gradient for shadows\r
195     sliderstyle          = 0  # 0 = nothing added\r
196     stepperstyle         = 1  # 1 = integrated stepper handles\r
197     textstyle            = 0  # 0 = normal text,1=inset and very resource heavy!\r
198     toolbarstyle         = 2  # 2 = gradient\r
199 \r
200     # draw gradient on trough of GtkScrollbar and GtkProgressbar:\r
201     trough_shades        = {0.95, 1.05}\r
202   }\r
203 }\r
204 \r
205 style "thin" = "default"\r
206 {\r
207   xthickness = 0\r
208   ythickness = 0\r
209 }\r
210 \r
211 style "wide" = "default"\r
212 {\r
213   xthickness = 2\r
214   ythickness = 2\r
215 }\r
216 \r
217 style "wider" = "default"\r
218 {\r
219   xthickness = 3\r
220   ythickness = 3\r
221 }\r
222 \r
223 style "widest" = "default"\r
224 {\r
225   xthickness = 4\r
226   ythickness = 4\r
227 }\r
228 \r
229 ## Widget styles ##\r
230 style "button" = "wider"\r
231 {\r
232   bg[ACTIVE]      = shade (0.85, @bg_color)\r
233   bg[INSENSITIVE] = shade (0.95, @bg_color)\r
234   bg[NORMAL]      = shade (1.06, @bg_color)\r
235   bg[PRELIGHT]    = shade (1.2, @bg_color)\r
236   bg[SELECTED]    = shade (1.0, @selected_bg_color)\r
237 \r
238   engine "murrine"\r
239   {\r
240     contrast          = 0.8\r
241     lightborder_shade = 1.9\r
242     roundness         = 3\r
243   }\r
244 }\r
245 \r
246 style "comboboxentry"\r
247 {\r
248   engine "murrine"\r
249   {\r
250     contrast = 0.4\r
251   }\r
252 }\r
253 \r
254 style "entry"\r
255 {\r
256   # text input box\r
257   base[ACTIVE]      = "#b5d5ff"  # background of active text\r
258   base[INSENSITIVE] = shade(0.85, @base_color)  # background text-box disabled\r
259   base[NORMAL]      = @base_color  # background text-box\r
260   base[SELECTED]    = "#b5d5ff"  # background of selected text\r
261   bg[INSENSITIVE]   = shade(0.85, @base_color)  # background spinbutton disabled\r
262                                                 # (probably a bug)\r
263   bg[NORMAL]        = @bg_color  # base color of edges\r
264   text[ACTIVE]      = @text_color\r
265   text[SELECTED]    = @text_color\r
266 \r
267   xthickness = 3\r
268   ythickness = 3\r
269 \r
270   engine "murrine"\r
271   {\r
272     border_shades = {1.2, 0.90}\r
273     contrast      = 0.7\r
274     focus_color   = shade(0.75, mix(0.95, "#83aadc", @bg_color))\r
275     roundness     = 2\r
276   }\r
277 }\r
278 \r
279 style "filechooser-sidepane-treeview" = "treeview"\r
280 {\r
281   base[NORMAL] = @sidebar_background  # background\r
282   bg[NORMAL]   = shade (0.91, @base_color)\r
283   bg[PRELIGHT] = @fg_color\r
284 \r
285   GtkTreeView::allow-rules    = 0  # disable alternating row colors\r
286   GtkTreeView::even_row_color = @sidebar_background\r
287 \r
288   engine "murrine"\r
289   {\r
290     contrast = 0.80\r
291   }\r
292 }\r
293 \r
294 style "frame-title"\r
295 {\r
296   fg[NORMAL] = lighter (@fg_color)\r
297 }\r
298 \r
299 style "menu"\r
300 {\r
301   bg[NORMAL] = @base_color\r
302 \r
303   xthickness = 0\r
304   ythickness = 0\r
305 \r
306   engine "murrine"\r
307   {\r
308     border_shades = {1.2, 1.0}\r
309     roundness     = 0  # roundness of menu items\r
310     textstyle     = 0\r
311   }\r
312 }\r
313 \r
314 style "menu-item" = "wider"\r
315 {\r
316   bg[SELECTED] = shade (0.95, @selected_bg_color)\r
317   bg[PRELIGHT] = shade (0.95, @selected_bg_color)\r
318   fg[PRELIGHT] = @selected_fg_color\r
319 \r
320   xthickness = 2\r
321   ythickness = 3\r
322 \r
323   engine "murrine"\r
324   {\r
325     border_shades = {1.2, 1.0}\r
326     roundness     = 0\r
327     textstyle     = 0\r
328   }\r
329 }\r
330 \r
331 # This style is there to modify the separator menu items. The goals are:\r
332 # 1. Get a specific height.\r
333 # 2. The line should go to the edges (i.e. no border at the left/right)\r
334 style "menu-separator-item"\r
335 {\r
336   bg[NORMAL] = @base_color  # Remove for visible separators\r
337 \r
338   xthickness = 1\r
339   ythickness = 0\r
340 \r
341   GtkSeparatorMenuItem::horizontal-padding = 0\r
342   GtkWidget::separator-height              = 7\r
343   GtkWidget::separator-width               = 1\r
344   GtkWidget::wide-separators               = 1\r
345 \r
346   engine "murrine"\r
347   {\r
348     contrast       = 0.0  # set the contrast to 0.6 for visible separators.\r
349     separatorstyle = 0\r
350   }\r
351 }\r
352 \r
353 style "menubar" = "default"\r
354 {\r
355   bg[NORMAL]   = @bg_color\r
356   fg[NORMAL]   = @fg_color\r
357   fg[PRELIGHT] = @fg_color\r
358   fg[SELECTED] = @fg_color\r
359 }\r
360 \r
361 style "menubar-menuitem" = "wider"\r
362 {\r
363   bg[PRELIGHT] = @selected_bg_color\r
364   bg[SELECTED] = @bg_color\r
365 \r
366   engine "murrine"\r
367   {\r
368     border_shades   = {1.0, 0.8}\r
369     contrast        = 0.0\r
370     gradient_shades = {1.0, 1.0, 0.85, 0.85}\r
371     roundness       = 0\r
372   }\r
373 }\r
374 \r
375 style "notebook"\r
376 {\r
377   bg[ACTIVE] = shade (1.04, @bg_color)  # unselected tab\r
378   bg[NORMAL] = shade (0.96, @bg_color)  # selected tab entire\r
379 \r
380   xthickness = 2\r
381   ythickness = 2\r
382 \r
383   engine "murrine"\r
384   {\r
385     contrast        = 0.75\r
386     focus_color     = shade (0.96, @bg_color)\r
387     focusstyle      = 2\r
388     gradient_shades = {1.18, 0.96, 0.92, 0.92}\r
389     roundness       = 3\r
390   }\r
391 }\r
392 \r
393 # performance fix if murrine textstyle is on by default in the theme.\r
394 style "performance-fix"\r
395 {\r
396   engine "murrine"\r
397   {\r
398     textstyle = 0\r
399   }\r
400 }\r
401 \r
402 style "progressbar"\r
403 {\r
404   bg[SELECTED] = @selected_bg_color\r
405 \r
406   xthickness = 0\r
407   ythickness = 0\r
408 \r
409   engine "murrine"\r
410   {\r
411     gradient_shades = {1.17, 1.00, 1.01, 1.12}\r
412     roundness       = 2\r
413   }\r
414 }\r
415 \r
416 style "radiocheck" = "wider"\r
417 {\r
418   bg[ACTIVE]      = shade (0.85, @bg_color)\r
419   bg[INSENSITIVE] = shade (0.95, @bg_color)\r
420   bg[NORMAL]      = shade (1.06, @bg_color)\r
421   bg[PRELIGHT]    = shade (1.06, @bg_color)\r
422   bg[SELECTED]    = @selected_bg_color\r
423 \r
424   engine "murrine"\r
425   {\r
426     contrast          = 0.8\r
427     lightborder_shade = 1.9\r
428   }\r
429 }\r
430 \r
431 style "radiocheck-menu"\r
432 {\r
433   fg[PRELIGHT]   = @selected_fg_color\r
434   text[PRELIGHT] = @selected_fg_color\r
435 }\r
436 \r
437 style "scale" = "wider"\r
438 {\r
439   bg[ACTIVE]      = shade (0.85, @bg_color)\r
440   bg[INSENSITIVE] = shade (0.95, @bg_color)\r
441   bg[NORMAL]      = shade (1.06, @bg_color)\r
442   bg[PRELIGHT]    = shade (1.2, @bg_color)\r
443   bg[SELECTED]    = @selected_bg_color\r
444 \r
445   engine "murrine"\r
446   {\r
447     border_shades = {1.0, 1.0}\r
448     contrast      = 0.8\r
449     roundness     = 7\r
450     trough_shades = {1.06, 1.16}\r
451   }\r
452 }\r
453 \r
454 style "scrollbar"\r
455 {\r
456   bg[ACTIVE]   = shade (0.96, @base_color)\r
457   bg[SELECTED] = shade (0.74, @base_color)\r
458 \r
459   # steppers' color\r
460   fg[ACTIVE]      = @base_color\r
461   fg[INSENSITIVE] = @base_color\r
462   fg[NORMAL]      = @base_color\r
463   fg[PRELIGHT]    = @base_color\r
464   fg[SELECTED]    = @base_color\r
465 \r
466   engine "murrine"\r
467   {\r
468     border_shades     = {0.935, 1.00}\r
469     contrast          = 0.00\r
470     glow_shade        = 1.0\r
471     gradient_colors   = FALSE\r
472     gradient_shades   = {1.0, 1.0, 1.0, 1.0}\r
473     highlight_shade   = 1.0\r
474     lightborder_shade = 1.0\r
475     lightborderstyle  = 0\r
476     prelight_shade    = 0.75\r
477     roundness         = 8\r
478     trough_shades     = {0.935, 1.00}\r
479     }\r
480 }\r
481 \r
482 style "spinbutton"\r
483 {\r
484   bg[NORMAL] = @base_color\r
485 \r
486   engine "murrine"\r
487   {\r
488     border_shades     = {1.0, 0.7}\r
489     contrast          = 0.70\r
490     gradient_shades   = {1.01, 1.00, 1.00, 0.93}\r
491     lightborder_shade = 1.00\r
492     lightborderstyle  = 1\r
493   }\r
494 }\r
495 \r
496 style "statusbar"\r
497 {\r
498   font_name  = "10"\r
499   xthickness = 2\r
500 }\r
501 \r
502 style "toolbar" = "thin"\r
503 {\r
504   bg[NORMAL] = @bg_color\r
505 }\r
506 \r
507 style "tooltips" = "wider"\r
508 {\r
509   bg[NORMAL] = @tooltip_bg_color\r
510   fg[NORMAL] = @tooltip_fg_color\r
511 \r
512   engine "murrine"\r
513   {\r
514     textstyle = 0\r
515   }\r
516 }\r
517 \r
518 style "treeview"\r
519 {\r
520   bg[SELECTED]   = @selected_bg_color    # background mini-checkbox checked\r
521   fg[NORMAL]     = @fg_color  # header text color\r
522   text[ACTIVE]   = @selected_fg_color  # text+indicator selected unfocused\r
523   text[NORMAL]   = shade (1.05, @fg_color)  # text+indicator checked normal\r
524   text[SELECTED] = @selected_fg_color  # text+indicator selected focused\r
525 \r
526   # enable alternating row colors for the file chooser's middle pane:\r
527   GtkTreeView::allow-rules    = 1\r
528   GtkTreeView::odd_row_color  = mix (0.05, @selected_bg_color, @base_color)\r
529   GtkTreeView::even_row_color = @base_color\r
530 \r
531   engine "murrine"\r
532   {\r
533     gradient_shades = {1.00, 1.05, 1.05, 1.10}\r
534     roundness       = 2\r
535     separatorstyle  = 0\r
536   }\r
537 }\r
538 \r
539 style "treeview-header"\r
540 {\r
541   bg[ACTIVE]      = "#80b8ea"\r
542   bg[INSENSITIVE] = "#ffffff"\r
543   bg[NORMAL]      = shade (0.95, "#ffffff")\r
544   bg[PRELIGHT]    = shade (1.05, "#80b8ea")\r
545   bg[SELECTED]    = shade (0.95, "#80b8ea")\r
546 \r
547   ythickness = 1\r
548 \r
549   GtkWidget::focus-padding = 0\r
550 \r
551   engine "murrine"\r
552   {\r
553     border_shades    = {1.2, 1.05}\r
554     contrast         = 1.22\r
555     gradient_shades  = {1.20, 1.02, 0.99, 1.15}\r
556     lightborderstyle = 1\r
557     textstyle = 1\r
558   }\r
559 }\r
560 \r
561 # workaround style for widgets that use the text color instead of the fg color:\r
562 style "workaround-for-text-is-fg-color"\r
563 {\r
564   text[ACTIVE]      = @fg_color\r
565   text[INSENSITIVE] = darker (@bg_color)\r
566   text[NORMAL]      = @fg_color\r
567   text[PRELIGHT]    = @fg_color\r
568   text[SELECTED]    = @selected_fg_color\r
569 }\r
570 \r
571 # workaround style for menus that use the text color instead of the fg color:\r
572 style "workaround-for-menuitem-text-is-fg-color"\r
573 {\r
574   text[ACTIVE]      = @fg_color\r
575   text[INSENSITIVE] = darker (@bg_color)\r
576   text[NORMAL]      = @fg_color\r
577   text[PRELIGHT]    = @selected_fg_color\r
578   text[SELECTED]    = @selected_fg_color\r
579 }\r
580 \r
581 # workaround style for widgets that use the fg color instead of the text color:\r
582 style "workaround-for-fg-is-text-color"\r
583 {\r
584   fg[ACTIVE]      = @selected_fg_color\r
585   fg[INSENSITIVE] = darker (@bg_color)\r
586   fg[NORMAL]      = @text_color\r
587   fg[PRELIGHT]    = @text_color\r
588   fg[SELECTED]    = @selected_fg_color\r
589 }\r
590 \r
591 # Assign styles to the widgets #\r
592 \r
593 # Apply default style to every widget:\r
594 class "GtkWidget"     style "default"\r
595 \r
596 # Increase the x/ythickness (= space) in some widgets.\r
597 class "GtkFrame"      style "wide"\r
598 class "GtkEntry"      style "entry"\r
599 class "GtkSeparator"  style "wide"\r
600 class "GtkCalendar"   style "wide"\r
601 \r
602 class "GtkInfoBar"    style "default"\r
603 class "GtkIconView"   style "default"\r
604 class "GtkSpinButton" style "spinbutton"\r
605 widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"\r
606 class "GtkScale"      style "scale"\r
607 class "GtkVScale"     style "scale"\r
608 class "GtkHScale"     style "scale"\r
609 class "GtkScrollbar"  style "scrollbar"\r
610 class "GtkVScrollbar" style "scrollbar"\r
611 class "GtkHScrollbar" style "scrollbar"\r
612 \r
613 # General matching following, later matching styles override earlier matches.\r
614 widget_class "*<GtkNotebook>"               style "notebook"\r
615 widget_class "*<GtkButton>"                 style "button"\r
616 widget_class "*<GtkStatusbar>*"             style "statusbar"\r
617 widget_class "*<GtkComboBoxEntry>*"         style "comboboxentry"\r
618 widget_class "*<GtkCombo>*"                 style "comboboxentry"\r
619 widget_class "*<GtkMenuBar>*"               style "menubar"\r
620 widget_class "*<GtkMenu>*"                  style "menu"\r
621 widget_class "*<GtkMenuItem>*"              style "menu-item"\r
622 widget_class "*<GtkSeparatorMenuItem>*"     style "menu-separator-item"\r
623 widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar-menuitem"\r
624 widget_class "*<GtkMenuBar>*<GtkSeparatorMenuItem>*" style "menu-separator-item"\r
625 widget_class "*.<GtkFrame>.<GtkLabel>"      style "frame-title"\r
626 widget_class "*.<GtkTreeView>*"             style "treeview"\r
627 widget_class\r
628   "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*"\r
629   style "filechooser-sidepane-treeview"\r
630 widget_class "*<GtkProgress>"               style "progressbar"\r
631 widget_class "*<GtkProgressBar>"            style "progressbar"\r
632 widget_class "*<GtkRadioButton>*"           style "radiocheck"\r
633 widget_class "*<GtkCheckButton>*"           style "radiocheck"\r
634 class "GtkCheckMenuItem"                    style:highest "radiocheck-menu"\r
635 class "GtkRadioMenuItem"                    style:highest "radiocheck-menu"\r
636 \r
637 # Treeview header\r
638 widget_class "*.<GtkTreeView>.<GtkButton>"  style "treeview-header"\r
639 widget_class "*.<GtkCTree>.<GtkButton>"     style "treeview-header"\r
640 widget_class "*.<GtkList>.<GtkButton>"      style "treeview-header"\r
641 widget_class "*.<GtkCList>.<GtkButton>"     style "treeview-header"\r
642 \r
643 # FIXME: This will not work if one embeds eg. a button into the tooltip.\r
644 widget "gtk-tooltip*" style "tooltips"\r
645 \r
646 # Special cases and workarounds: #\r
647 \r
648 # workaround for http://bugzilla.gnome.org/show_bug.cgi?id=382646\r
649 # Note that this workaround assumes that the combobox is _NOT_ in\r
650 # appears-as-list mode.\r
651 widget_class "*.<GtkComboBox>.<GtkCellView>"\r
652   style "workaround-for-text-is-fg-color"\r
653 \r
654 # This is the part of the workaround that fixes the menus\r
655 widget "*.gtk-combobox-popup-menu.*"\r
656   style "workaround-for-menuitem-text-is-fg-color"\r
657 \r
658 # workaround the usage of GtkLabel inside GtkListItems to display text.\r
659 # This breaks because the label is shown on a background that is based on\r
660 # the base color.\r
661 widget_class "*<GtkListItem>*" style "workaround-for-fg-is-text-color"\r
662 \r
663 # GtkCList also uses the fg color to draw text on top of the base colors.\r
664 widget_class "*<GtkCList>" style "workaround-for-fg-is-text-color"\r
665 \r
666 # Draw arrows dark on dark toolbars.\r
667 widget_class "*GtkToolbar*GtkArrow*"        style "default"\r
668 \r
669 # Various performance fixes if murrine textstyle is on by default in the theme.\r
670 widget_class "*GimpDisplayShell*"           style "performance-fix"\r
671 widget_class "*GimpToolbox*"                style "performance-fix"\r
672 widget_class "*GimpMenuDock*"               style "performance-fix"