This file is indexed.

/usr/share/themes/sugar-72/gtk-2.0/gtkrc is in sugar-themes 0.110.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
gtk-icon-sizes="gtk-menu=24,24:gtk-dnd=24,24:gtk-small-toolbar=24,24:gtk-button=24,24:gtk-large-toolbar=40,40"

style "default"
{
    # Will be overriden in some widgets
    color["focus_line"] = "#FFFFFF"

    bg[NORMAL] = "#808080"
    bg[PRELIGHT] = "#808080"
    bg[ACTIVE] = "#FFFFFF"
    bg[SELECTED] = "#E5E5E5"

    fg[NORMAL]        = "#000000"
    fg[ACTIVE]        = "#000000"
    fg[SELECTED]      = "#FFFFFF"
    fg[PRELIGHT]      = "#FFFFFF"

    text[NORMAL] = "#000000" # button_grey? 1. need to patch GTK+ to use ACTIVE when focused, 2. what color should this really be?
    text[ACTIVE] = "#000000"
    text[SELECTED] = "#000000"
    text[PRELIGHT] = "#000000"

    base[NORMAL] = "#E5E5E5"
    base[ACTIVE] = "#FFFFFF"
    base[SELECTED] = "#A6A6A6"
    base[PRELIGHT] = "#FFFFFF"

    fg[INSENSITIVE] = "#808080"
    text[INSENSITIVE] = "#808080"

    xthickness = 2
    ythickness = 2

    # A lot of these will probably need to be changed, but this has to
    # be done when the exact sizes are known
    GtkWidget::interior-focus = 0
    GtkWidget::focus-line-width = 1   # Prevents some drawing glitches
    GtkWidget::focus-padding = 0
    # 0.05 works good for both the sugar and sugar-xo themes
    GtkWidget::cursor-aspect-ratio = 0.05

    GtkWidget::wide-separators = 0
    GtkWidget::separator-height = 2
    GtkWidget::separator-width = 2
    
    GtkWidget::scroll-arrow-hlength = 11
    GtkWidget::scroll-arrow-vlength = 11

    GtkRange::activate-slider = 1

    # We fake the default border in the theme
    GtkButton::default-border = { 0, 0, 0, 0 }
    GtkButton::default-outside-border = { 0, 0, 0, 0 }
    GtkButton::image-spacing = 11

    GtkEntry::progress-border = { 2, 2, 2, 2 }

    GtkScrolledWindow::scrollbar-spacing = 0

    GtkExpander::expander-size = 24
    GtkExpander::expander-spacing = 2     # XXX

    GtkTreeView::expander-size = 24

    # we have to disable focus border for GtkTreeView, see #1261
    GtkTreeView::interior-focus = 1
    GtkTreeView::focus-line-width = 0
    
    GtkArrow::arrow-size = 1.0

    GtkToolbar::shadow-type = GTK_SHADOW_NONE
    GtkToolbar::space-size = 22

    GtkProgressBar::min-horizontal-bar-height = 11
    GtkProgressBar::min-vertical-bar-width = 11

    GtkButtonBox::child-min-height = 33
    GtkButtonBox::child-min-width = 33
    GtkButtonBox::child-internal-pad-x = 0
    GtkButtonBox::child-internal-pad-y = 0

    # The following line hints to gecko (and possibly other appliations)
    # that the entry should be drawn transparently on the canvas.
    # Without this, gecko will fill in the background of the entry.
    GtkEntry::honors-transparent-bg-hint = 1

    engine "sugar" {
        line_width = 2.0
        thick_line_width = 3.0
        subcell_size = 11

        max_radius = 22
    }
}


#############################################################
# Styles that set default background/foreground colors
#
#  We almost always need two styles because of the X windows.
#  For example bg[NORMAL] of a window (or eventbox) needs to
#  be set to be the correct window color so that X fills the
#  window correctly from the beginning, and it does not
#  flash in the wrong color.
#############################################################

style "window"
{
    bg[NORMAL] = "#C0C0C0"
}

style "window-child"
{
    bg[INSENSITIVE] = "#C0C0C0"
    base[INSENSITIVE] = "#C0C0C0"

    fg[NORMAL] = "#000000"
    
    engine "sugar" {
        parent_fg_color = "#000000"
        parent_bg_color = "#C0C0C0"
    }
}


style "white-bg"
{
    bg[NORMAL] = "#FFFFFF"
}

style "white-bg-child"
{
    bg[INSENSITIVE] = "#FFFFFF"
    base[INSENSITIVE] = "#FFFFFF"

    fg[NORMAL] = "#000000"
    
    engine "sugar" {
        parent_fg_color = "#000000"
        parent_bg_color = "#FFFFFF"
    }
}

style "black-bg"
{
    bg[NORMAL] = "#000000"
}

style "black-bg-child"
{
    bg[INSENSITIVE] = "#000000"
    base[INSENSITIVE] = "#000000"

    fg[NORMAL] = "#FFFFFF"
    
    engine "sugar" {
        parent_fg_color = "#FFFFFF"
        parent_bg_color = "#000000"
    }
}


style "groupbox-panel"
{
    bg[NORMAL] = "#A6A6A6"
}

style "groupbox-panel-child"
{
    bg[INSENSITIVE] = "#A6A6A6"
    base[INSENSITIVE] = "#A6A6A6"
    
    fg[NORMAL] = "#000000"
    
    engine "sugar" {
        parent_fg_color = "#000000"
        parent_bg_color = "#A6A6A6"
    }
}

style "groupbox-palette"
{
    bg[NORMAL] = "#282828"
}

style "groupbox-palette-child"
{
    bg[INSENSITIVE] = "#282828"
    base[INSENSITIVE] = "#282828"
    
    fg[NORMAL] = "#FFFFFF"
    
    engine "sugar" {
        parent_fg_color = "#FFFFFF"
        parent_bg_color = "#282828"
    }
}

style "menu"
{
    bg[NORMAL] = "#000000"
    # Used for the arrow colour
    fg[NORMAL]   = "#FFFFFF"
    fg[PRELIGHT] = "#FFFFFF"
    bg[ACTIVE] = "#808080"

    
    GtkMenu::scroll-arrow-vlength = 19
    GtkMenu::horizontal-padding = 2
    GtkMenu::vertical-padding   = 2
    # This means the outline of the submenu overlaps with a palette.
    # However in the case of two normal menus, they are next to each other.
    # It is not possible to be smarter about this, because the style comes from
    # the submenu.
    GtkMenu::horizontal-offset  = 0
    GtkMenu::vertical-offset    = 0

    xthickness = 0
    ythickness = 0
}

style "palette" = "menu"
{
    xthickness = 2
    ythickness = 2
}

style "palette-menu" = "menu"
{
    GtkMenu::horizontal-padding = 0
    GtkMenu::vertical-padding   = 0

    xthickness = 0
    ythickness = 11
}

# Can this all be moved in the menuitem style?
style "menu-child"
{
    color["bg_color"] = "#000000"

    fg[NORMAL]   = "#FFFFFF"
    fg[PRELIGHT] = "#FFFFFF"
    
    bg[NORMAL] = "#808080"

    bg[INSENSITIVE] = "#000000"
    base[INSENSITIVE] = "#000000"
    
    engine "sugar" {
        parent_fg_color = "#FFFFFF"
        parent_bg_color = "#000000"
    }
}



#########################################################
#########################################################


style "textview"
{
    # We always use white here
    base[NORMAL]      = "#FFFFFF"
    
    GtkTextView::interior-focus = 1
}

style "scrollbar"
{
    GtkScrollbar::slider-width = 11
    GtkScrollbar::trough-border = 0
    GtkScrollbar::stepper-spacing = 0
    GtkScrollbar::min-slider-length = 33
    GtkScrollbar::has-forward-stepper = 0
    GtkScrollbar::has-backward-stepper = 0
    GtkScrollbar::has-secondary-forward-stepper = 0
    GtkScrollbar::has-secondary-backward-stepper = 0

    # Hack for mozilla as it does not obey the above style properties ...
    # Really, mozilla should be fixed ...
    GtkScrollbar::stepper-size = 1
}

# hints for the trough padding hacks
# We cannot go trough GTK+, as we don't want a padding on all sides, but only one
# If we wanted padding on all sides, trough-border would work great.
style "hscrollbar" = "scrollbar"
{
    engine "sugar" {
        hint = "hscrollbar"
        scrollbar_border = 2
    }
}

style "vscrollbar" = "scrollbar"
{
    engine "sugar" {
        hint = "vscrollbar"
        scrollbar_border = 2
    }
}

style "hscrollbar-scrolled-window"
{
    GtkScrollbar::slider-width = 9
    GtkScrollbar::stepper-spacing = 2
    GtkScrollbar::has-forward-stepper = 1
    GtkScrollbar::has-backward-stepper = 1
    GtkScrollbar::stepper-size = 0

    engine "sugar" {
        hint = "hscrollbar-scrolled-window"
    }
}

style "vscrollbar-scrolled-window"
{
    GtkScrollbar::slider-width = 9
    GtkScrollbar::stepper-spacing = 2
    GtkScrollbar::has-forward-stepper = 1
    GtkScrollbar::has-backward-stepper = 1
    GtkScrollbar::stepper-size = 0

    engine "sugar" {
        hint = "vscrollbar-scrolled-window"
    }
}

style "scale"
{
    GtkWidget::focus-line-width = 0

    bg[NORMAL] = "#808080"

    # "square" slider (really round of course)
    # Same as indicator-size?
    GtkRange::slider-width = 24
    GtkScale::slider-length = 24
    GtkRange::trough-border = 0
    GtkRange::stepper-spacing = 0
    GtkRange::trough-side-details = 1
}

# hints for the trough sizing hacks
style "hscale" = "scale"
{
    engine "sugar" {
        hint = "hscale"
    }
}

style "vscale" = "scale"
{
    engine "sugar" {
        hint = "vscale"
    }
}

style "spinbutton"
{
    bg[NORMAL]  = "#808080"
    bg[ACTIVE]  = "#FFFFFF"
    fg[NORMAL]  = "#FFFFFF"
    fg[ACTIVE]  = "#000000"

    
    

    # small inner border and a large x/ythickness for entries
    # to reduce the number of hacks needed :-)
    xthickness = 11
    ythickness = 5
    GtkWidget::focus-line-width = 0

    # This tries to get a height of exactly 45 pixel for the entry.
    GtkEntry::inner-border = { 0, 0,
                               3, 3 }

    engine "sugar" {
        hint = "spinbutton"
    }
}


style "frame"
{
    bg[NORMAL] = "#282828"

    engine "sugar" {
        parent_bg_color = "#282828"
        parent_fg_color = "#FFFFFF"
    }
}

style "notebook-tab"
{
    bg[ACTIVE] = "#808080"
    fg[ACTIVE] = "#FFFFFF"
}

style "notebook-panel"
{
    GtkNotebook::tab-overlap = -2
    GtkNotebook::tab-curvature = 4
    
    xthickness = 0
    ythickness = 0
    
    bg[NORMAL] = "#A6A6A6"
}

style "toolbox-notebook"
{
    GtkNotebook::tab-overlap = -2
    
    xthickness = 0
    ythickness = 0
}

style "toolbutton"
{
    xthickness = 0
    ythickness = 0
    GtkButton::inner-border = { 6,
                                6,
                                6,
                                6 }
    GtkWidget::focus-padding = 0

    bg[PRELIGHT] = "#000000"
    bg[ACTIVE] = "#808080"
    bg[NORMAL] = "#000000"

    fg[NORMAL] = "#FFFFFF"
    fg[ACTIVE] = "#FFFFFF"
    fg[PRELIGHT] = "#FFFFFF"

    engine "sugar" {
        max_radius = 5.0
        fake_padding = 4
    }
}

style "separatortoolbutton"
{
    # The sizing is handled in the engine.
    bg[NORMAL] = "#808080"
}

style "toolbar"
{
    xthickness = 0
    ythickness = 0

    bg[NORMAL] = "#282828"
    bg[INSENSITIVE] = "#282828"
    base[INSENSITIVE] = "#282828"

    engine "sugar" {
        parent_fg_color = "#FFFFFF"
        parent_bg_color = "#282828"
    }
}

style "toolbox"
{
    fg[NORMAL] = "#FFFFFF"
    fg[ACTIVE] = "#FFFFFF"

    bg[NORMAL] = "#282828"
    bg[INSENSITIVE] = "#282828"
    base[INSENSITIVE] = "#282828"

    engine "sugar" {
        parent_fg_color = "#FFFFFF"
        parent_bg_color = "#282828"
    }
}

style "panel"
{
    bg[NORMAL] = "#C0C0C0"
    fg[NORMAL] = "#000000"
}

style "entry"
{
    color["focus_line"] = "#E5E5E5"

    
    

    # small inner border and a large x/ythickness for entries
    # to reduce the number of hacks needed :-)
    xthickness = 7
    ythickness = 5
    GtkWidget::focus-line-width = 0

    # Colors for the progress bar.
    bg[SELECTED] = "#A6A6A6"
    fg[SELECTED] = "#000000"

    # This tries to get a height of exactly 45 pixel for the entry.
    GtkEntry::inner-border = { 4, 4,
                               3, 3 }
}

style "button"
{
    
    # It would be nicer to just set the inner-border, but that does not work
    # for combo boxes ... The combobox ignores it, so set it to 0px
    # See http://bugzilla.gnome.org/show_bug.cgi?id=485762

    GtkButton::inner-border = { 0, 0, 0, 0 }

    # So set the x/ythickness; y-padding is 11 overall
    xthickness = 5
    ythickness = 5


    fg[NORMAL] = "#FFFFFF"
    fg[ACTIVE] = "#000000"

    bg[NORMAL] = "#808080"
}

style "combobox"
{
    # "Disable" the ACTIVE state of the button, it only creates problems :-(
    bg[ACTIVE] = "#808080"
    fg[ACTIVE] = "#FFFFFF"

    # Work around GTK+ bug #382646
    text[NORMAL]      = "#FFFFFF"
    text[ACTIVE]      = "#FFFFFF"
    text[PRELIGHT]    = "#FFFFFF"
}

style "comboboxentry"
{
    # Copied from the "default" style. Part of the workaround for bug #382646.
    text[NORMAL] = "#000000"
    text[ACTIVE] = "#000000"
    text[SELECTED] = "#000000"
    text[PRELIGHT] = "#000000"

    # It just happens that the entry xthickness works good for the button,
    # which simplefies matters a bit.
    xthickness = 7

    engine "sugar" {
        hint = "comboboxentry"
    }
}

style "checkbutton"
{
    base[NORMAL]      = "#FFFFFF"
    base[PRELIGHT]    = "#FFFFFF"
    base[ACTIVE]      = "#E5E5E5"

    text[PRELIGHT]    = "#282828"
    text[NORMAL]      = "#282828"
    text[ACTIVE]      = "#282828"

    # I won't get the exact sizing, but this should be pretty close
    GtkCheckButton::indicator-size = 19
    GtkCheckButton::indicator-spacing = 3
    GtkWidget::focus-padding = 3

    engine "sugar" {
        # Reset the colors to the normal color again
        # as they were overriden by the button style
        fg[NORMAL]        = parent_fg_color
        fg[PRELIGHT]      = parent_fg_color
        fg[ACTIVE]        = parent_fg_color
    }
}

style "progressbar"
{
    # text[PRELIGHT] is used for the bar in the sugar engine
    text[PRELIGHT] = "#FFFFFF"

    # Text on top of the bar
    fg[PRELIGHT] = "#000000"
    xthickness = 2
    ythickness = 2

    engine "sugar" {
        # Someone seems to have decided, that the background fill of a progress
        # bar should be done with bg[ACTIVE].
        bg[ACTIVE] = parent_bg_color

        # Color to fill the progress bar ("transparent" usually, except for the
        # white background case)
        bg[NORMAL] = parent_bg_color
        fg[NORMAL] = parent_fg_color
    }
}

style "progressbar-on-white" {
    bg[NORMAL] = "#C0C0C0"
    fg[NORMAL] = "#000000"
}

style "menuitem"
{
    GtkMenuItem::horizontal-padding = 0
    GtkMenuItem::arrow-spacing = 11
    GtkMenuItem::toggle-spacing = 11

    bg[PRELIGHT] = "#808080"

    # Work around bug #382646
    text[PRELIGHT]    = "#FFFFFF"
    text[NORMAL]      = "#FFFFFF"
    text[ACTIVE]      = "#FFFFFF"

    xthickness = 11
    ythickness = 8
}

style "checkmenuitem"
{
    GtkCheckMenuItem::indicator-size = 19
    GtkMenuItem::toggle-spacing = 7

    ythickness = 8

    # This is only there because of bug #382646 ...
    base[NORMAL]      = "#FFFFFF"
    base[PRELIGHT]    = "#FFFFFF"
    base[ACTIVE]      = "#E5E5E5"

    text[PRELIGHT]    = "#282828"
    text[NORMAL]      = "#282828"
    text[ACTIVE]      = "#282828"
}

style "imagemenuitem"
{
    # Assume a 24px image and height of 44
    ythickness = 4
}

style "separatormenuitem"
{
    GtkWidget::wide-separators = 1
    GtkWidget::separator-height = 22

    ythickness = 0
    xthickness = 0
}

style "trayicon"
{
    bg[PRELIGHT] = "#000000"
    bg[ACTIVE] = "#808080"
}

style "parent-bg"
{
    engine "sugar" {
        bg[NORMAL] = parent_bg_color
        bg[INSENSITIVE] = parent_bg_color
    }
}

style "sugartimeout"
{
    bg[NORMAL] = "#FFFFFF"
    fg[NORMAL] = "#808080"
    bg[ACTIVE] = "#282828"
    fg[ACTIVE] = "#FFFFFF"
    bg[PRELIGHT] = "#FFFFFF"
    fg[PRELIGHT] = "#808080"
}

####################################################################
# Default style, setting some generic options and style properties
####################################################################
class "GtkWidget" style "default"


####################################################################
# Styles that apply the different background (and foreground) colors
####################################################################

# This one should probably be the default (ie. no window-child style)
widget_class "<GtkWindow>"               style "window"
widget_class "<GtkWindow>*"              style "window-child"

widget_class "*<SugarAlert>"               style "black-bg"
widget_class "*<SugarAlert>*"              style "black-bg-child"

widget_class "*<SugarSectionView>"       style "white-bg"
widget_class "*<SugarSectionView>*"      style "white-bg-child"

widget_class "*<SugarIntroWindow>"       style "white-bg"
widget_class "*<SugarIntroWindow>*"      style "white-bg-child"

# Naming alert needs white background for main window and for entry widget,
# but other backgrounds must be left grey as they are used for drawing borders
widget_class "*<SugarNamingAlert>"              style "white-bg"
widget_class "*<SugarNamingAlert>*<GtkEntry>"   style "white-bg-child"


# The notebook is very high, so that everything is overriden
# Only the color of the tab labels needs to be modified inside the
# notebooks in this style (and the widget itself).
# Assume that there is either just a normal label in the notebook tab, or
# it is inside a GtkBox (H- or VBox) together with eg. a close button.
widget_class "*<GtkNotebook>"                        style "notebook-tab"
widget_class "*<GtkNotebook>.<GtkLabel>"             style "notebook-tab"
widget_class "*<GtkNotebook>.<GtkBox>.<GtkLabel>"    style "notebook-tab"


# SugarPalette and Menu
widget_class "*<GtkMenu>"               style "menu"
widget_class "<SugarPaletteWindow>"           style "palette"
widget_class "<SugarPaletteWindow>.*"         style "menu-child"
widget_class "<SugarPaletteWindow>*<GtkMenu>" style "palette-menu"
widget_class "*<GtkMenuShell>.*"        style "menu-child"

# SugarFrameWindow
widget_class "*<SugarFrameWindow>*"    style "frame"

# SugarPanel
widget_class "*<SugarPanel>*"          style "panel"


# GroupBoxes (don't set bg[NORMAL] on the widget itself)
widget_class "<GtkWindow>*<SugarGroupBox>*"   style "groupbox-panel-child"

widget_class "<GtkWindow>*<GtkNotebook>*"   style "groupbox-panel-child"
widget_class "<GtkWindow>*<GtkNotebook>"    style "notebook-panel"


widget_class "<SugarPaletteWindow>*<SugarGroupBox>*"   style "groupbox-palette-child"


# SugarToolbox
#widget_class "*<SugarToolbox>" style "toolbox"
#widget_class "*<SugarToolbox>*" style "toolbox-child"
#widget_class "*<SugarToolbox>*<GtkEventBox>" style "toolbox"
#widget_class "*<SugarToolbox>*<GtkLayout>"   style "toolbox"
widget_class "*<SugarToolbox>*"        style "toolbox"
widget_class "*<GtkToolbar>*"          style "toolbox"
widget_class "*<SugarToolbox>.<GtkNotebook>" style "toolbox-notebook"
widget_class "*<BrowserNotebook>*"     style "toolbox"


####################################################################
# Normal widget styles, using the above things
####################################################################
# The following only uses widget_class matches to get the priority
# right. An alternative would be to lower the priority of the
# background matches (which need widget_class) to eg. "application"

widget_class "*<GtkMenuItem>*"            style "menuitem"
widget_class "*<GtkCheckMenuItem>"        style "checkmenuitem"
widget_class "*<GtkImageMenuItem>"        style "imagemenuitem"
widget_class "*<GtkSeparatorMenuItem>*"   style "separatormenuitem"

# Buttons and Combos
widget_class "*<GtkButton>*"           style "button"
widget_class "*<GtkCheckButton>*"      style "checkbutton"
widget_class "*<GtkComboBox>*"         style "combobox"
widget_class "*<GtkComboBoxEntry>*"    style "comboboxentry"
widget_class "*<GtkCombo>*"            style "comboboxentry"

# Entries
widget_class "*<GtkEntry>"       style "entry"
widget_class "*<GtkSpinButton>"  style "spinbutton"
widget_class "*<GtkTextView>"    style "textview"


# Misc widgets
widget_class "*<GtkHScrollbar>"  style "hscrollbar"
widget_class "*<GtkVScrollbar>"  style "vscrollbar"
widget_class "*<GtkHScale>"      style "hscale"
widget_class "*<GtkVScale>"      style "vscale"
widget_class "*<GtkProgressBar>" style "progressbar"

widget_class "*<SugarSectionView>*<GtkProgress>"  style "progressbar-on-white"


# Scrolled window scrollbars
widget_class "*<GtkScrolledWindow>.<GtkVScrollbar>" style "vscrollbar-scrolled-window"
widget_class "*<GtkScrolledWindow>.<GtkHScrollbar>" style "hscrollbar-scrolled-window"

# Toolbar
widget_class "*<GtkToolButton>*"          style "toolbutton"
widget_class "*<SugarColorToolButton>*"   style "toolbutton"
widget_class "*<GtkSeparatorToolItem>*"   style "separatortoolbutton"
widget_class "*<GtkToolbar>"              style "toolbar"

# Tray
widget_class "*<SugarTrayIcon>*" style "trayicon"

# Timeout Icon
widget_class "*<SugarTimeoutIcon>*" style "sugartimeout"

# Widgets that should get the background color from the parent
widget_class "*<GtkEventBox>"        style "parent-bg"
widget_class "*<GtkLayout>"          style "parent-bg"
widget_class "*<GtkViewport>"        style "parent-bg"
widget_class "*<GtkDrawingArea>"     style "parent-bg"
widget_class "*<GtkScrolledWindow>"  style "parent-bg"