A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 main.rc

View raw Download
text/plain • 66.83 kiB
ASCII text
        
            
1
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
2
#
3
# This is the main theme file, handling all the default widgets and theme
4
# properties. Since GTK+ 2 is old, we need to overcome some of its limitations,
5
# which is also mostly done in this file. Sadly not all of them can be overcome
6
# so there will always be a visible difference between the GTK+ 2 and 3 theme.
7
8
style "default" {
9
10
xthickness = 1
11
ythickness = 1
12
13
####################
14
# Style Properties #
15
####################
16
17
GtkWidget::focus-padding = 0
18
GtkWidget::focus-line-width = 2
19
GtkWidget::focus-line-pattern = "\2\1"
20
21
GtkToolbar::space-size = 5 # 1 + 2*2 (separator + margins)
22
GtkToolbar::internal-padding = 2
23
GtkToolButton::icon-spacing = 4
24
25
GtkWidget::tooltip-radius = 2
26
GtkWidget::tooltip-alpha = 230
27
GtkWidget::new-tooltip-style = 1 #for compatibility
28
29
GtkWidget::link-color = @link_color
30
GtkWidget::visited-link-color = @visited_link_color
31
GnomeHRef::link_color = @link_color
32
GtkHTML::link-color = @link_color
33
GtkHTML::vlink-color = @visited_link_color
34
GtkIMHtml::hyperlink-color = @link_color
35
GtkIMHtml::hyperlink-visited-color = @visited_link_color
36
37
GtkSeparatorMenuItem::horizontal-padding = 0
38
GtkSeparatorMenuItem::wide-separators = 1
39
GtkSeparatorMenuItem::separator-height = 3
40
41
GtkButton::child-displacement-y = 0
42
43
GtkButton::default-border = {0, 0, 0, 0}
44
GtkButton::default-outside-border = {0, 0, 0, 0}
45
GtkButton::inner-border = {4, 4, 4, 4}
46
47
GtkEntry::state-hint = 1
48
GtkEntry::inner-border = {6, 6, 6, 7}
49
50
GtkPaned::handle-size = 8
51
GtkHPaned::handle-size = 8
52
GtkVPaned::handle-size = 8
53
54
GtkScrollbar::trough-border = 0
55
GtkRange::trough-border = 0
56
GtkRange::slider-width = 17
57
GtkRange::stepper-size = 0
58
GtkRange::activate-slider = 1
59
60
GtkScrollbar::activate-slider = 1
61
GtkScrollbar::stepper-size = 0
62
GtkScrollbar::has-backward-stepper = 0
63
GtkScrollbar::has-forward-stepper = 0
64
GtkScrollbar::min-slider-length = 32 # 24 + 2*4 (margins)
65
GtkScrolledWindow::scrollbar-spacing = 0
66
GtkScrolledWindow::scrollbars-within-bevel = 1
67
68
GtkScale::slider_length = 24
69
GtkScale::slider_width = 24
70
GtkScale::trough-side-details = 1
71
72
GtkProgressBar::min-horizontal-bar-height = 4
73
GtkProgressBar::min-vertical-bar-width = 4
74
GtkProgressBar::xspacing = 4
75
GtkProgressBar::yspacing = 4
76
77
GtkStatusbar::shadow_type = GTK_SHADOW_NONE
78
GtkSpinButton::shadow_type = GTK_SHADOW_NONE
79
GtkMenuBar::shadow-type = GTK_SHADOW_NONE
80
GtkToolbar::shadow-type = GTK_SHADOW_NONE
81
# TODO: find out what this comment means:
82
# ( every window is misaligned for the sake of menus ):
83
GtkMenuBar::internal-padding = 0
84
GtkMenu::horizontal-padding = 0
85
GtkMenu::vertical-padding = 4
86
GtkMenu::double-arrows = 0
87
GtkMenuItem::arrow-scaling = 1
88
GtkMenuItem::toggle-spacing = 12
89
90
GtkCheckButton::indicator-size = 24
91
GtkCheckButton::indicator_spacing = 2
92
GtkOptionMenu::indicator_spacing = {13, 13, 5, 7}
93
94
GtkTreeView::expander-size = 16
95
GtkTreeView::vertical-separator = 0
96
GtkTreeView::horizontal-separator = 4
97
GtkTreeView::allow-rules = 0
98
# Set this because some apps read it
99
GtkTreeView::odd-row-color = @base_color
100
GtkTreeView::even-row-color = @base_color
101
102
GtkExpander::expander-size = 16
103
104
GtkNotebook::tab-overlap = 0
105
106
##########
107
# Colors #
108
##########
109
110
bg[NORMAL] = @bg_color
111
bg[PRELIGHT] = @bg_color
112
bg[SELECTED] = @selected_bg_color
113
bg[INSENSITIVE] = @bg_color
114
bg[ACTIVE] = @bg_color
115
116
fg[NORMAL] = @fg_color
117
fg[PRELIGHT] = @fg_color
118
fg[SELECTED] = @selected_fg_color
119
fg[INSENSITIVE] = mix (0.4, @fg_color, @bg_color)
120
fg[ACTIVE] = @fg_color
121
122
text[NORMAL] = @text_color
123
text[PRELIGHT] = @text_color
124
text[SELECTED] = @selected_fg_color
125
text[INSENSITIVE] = mix (0.4, @text_color, @base_color)
126
text[ACTIVE] = @selected_fg_color
127
128
base[NORMAL] = @base_color
129
base[PRELIGHT] = mix (0.05, @text_color, @base_color)
130
base[SELECTED] = @selected_bg_color
131
base[INSENSITIVE] = mix (0.5, @base_color, @bg_color)
132
base[ACTIVE] = @selected_bg_color
133
134
# For succinctness, all reasonable pixmap options remain here
135
136
# Draw frame around menu in a non-compositied environment
137
# This needs to go before pixmap because we need to override some stuff
138
engine "adwaita" {}
139
140
engine "pixmap" {
141
142
#################
143
# Check Buttons #
144
#################
145
146
image {
147
function = CHECK
148
state = NORMAL
149
shadow = OUT
150
overlay_file = "assets/checkbox-unchecked.png"
151
overlay_stretch = FALSE
152
}
153
154
image {
155
function = CHECK
156
state = PRELIGHT
157
shadow = OUT
158
overlay_file = "assets/checkbox-unchecked-hover.png"
159
overlay_stretch = FALSE
160
}
161
162
image {
163
function = CHECK
164
state = ACTIVE
165
shadow = OUT
166
overlay_file = "assets/checkbox-unchecked-active.png"
167
overlay_stretch = FALSE
168
}
169
170
image {
171
function = CHECK
172
state = SELECTED
173
shadow = OUT
174
overlay_file = "assets/checkbox-unchecked.png"
175
overlay_stretch = FALSE
176
}
177
178
image {
179
function = CHECK
180
state = INSENSITIVE
181
shadow = OUT
182
overlay_file = "assets/checkbox-unchecked-insensitive.png"
183
overlay_stretch = FALSE
184
}
185
186
image {
187
function = CHECK
188
state = NORMAL
189
shadow = IN
190
overlay_file = "assets/checkbox-checked.png"
191
overlay_stretch = FALSE
192
}
193
194
image {
195
function = CHECK
196
state = PRELIGHT
197
shadow = IN
198
overlay_file = "assets/checkbox-checked-hover.png"
199
overlay_stretch = FALSE
200
}
201
202
image {
203
function = CHECK
204
state = ACTIVE
205
shadow = IN
206
overlay_file = "assets/checkbox-checked-active.png"
207
overlay_stretch = FALSE
208
}
209
210
image {
211
function = CHECK
212
state = SELECTED
213
shadow = IN
214
overlay_file = "assets/checkbox-checked.png"
215
overlay_stretch = FALSE
216
}
217
218
image {
219
function = CHECK
220
state = INSENSITIVE
221
shadow = IN
222
overlay_file = "assets/checkbox-checked-insensitive.png"
223
overlay_stretch = FALSE
224
}
225
226
image {
227
function = CHECK
228
state = NORMAL
229
shadow = ETCHED_IN
230
overlay_file = "assets/checkbox-mixed.png"
231
overlay_stretch = FALSE
232
}
233
234
image {
235
function = CHECK
236
state = PRELIGHT
237
shadow = ETCHED_IN
238
overlay_file = "assets/checkbox-mixed-hover.png"
239
overlay_stretch = FALSE
240
}
241
242
image {
243
function = CHECK
244
state = ACTIVE
245
shadow = ETCHED_IN
246
overlay_file = "assets/checkbox-mixed-active.png"
247
overlay_stretch = FALSE
248
}
249
250
image {
251
function = CHECK
252
state = SELECTED
253
shadow = ETCHED_IN
254
overlay_file = "assets/checkbox-mixed.png"
255
overlay_stretch = FALSE
256
}
257
258
image {
259
function = CHECK
260
state = INSENSITIVE
261
shadow = ETCHED_IN
262
overlay_file = "assets/checkbox-mixed-insensitive.png"
263
overlay_stretch = FALSE
264
}
265
266
#################
267
# Radio Buttons #
268
#################
269
270
image {
271
function = OPTION
272
state = NORMAL
273
shadow = OUT
274
overlay_file = "assets/radio-unchecked.png"
275
overlay_stretch = FALSE
276
}
277
278
image {
279
function = OPTION
280
state = PRELIGHT
281
shadow = OUT
282
overlay_file = "assets/radio-unchecked-hover.png"
283
overlay_stretch = FALSE
284
}
285
286
image {
287
function = OPTION
288
state = ACTIVE
289
shadow = OUT
290
overlay_file = "assets/radio-unchecked-active.png"
291
overlay_stretch = FALSE
292
}
293
294
image {
295
function = OPTION
296
state = SELECTED
297
shadow = OUT
298
overlay_file = "assets/radio-unchecked.png"
299
overlay_stretch = FALSE
300
}
301
302
image {
303
function = OPTION
304
state = INSENSITIVE
305
shadow = OUT
306
overlay_file = "assets/radio-unchecked-insensitive.png"
307
overlay_stretch = FALSE
308
}
309
310
image {
311
function = OPTION
312
state = NORMAL
313
shadow = IN
314
overlay_file = "assets/radio-checked.png"
315
overlay_stretch = FALSE
316
}
317
318
image {
319
function = OPTION
320
state = PRELIGHT
321
shadow = IN
322
overlay_file = "assets/radio-checked-hover.png"
323
overlay_stretch = FALSE
324
}
325
326
image {
327
function = OPTION
328
state = ACTIVE
329
shadow = IN
330
overlay_file = "assets/radio-checked-active.png"
331
overlay_stretch = FALSE
332
}
333
334
image {
335
function = OPTION
336
state = SELECTED
337
shadow = IN
338
overlay_file = "assets/radio-checked.png"
339
overlay_stretch = FALSE
340
}
341
342
image {
343
function = OPTION
344
state = INSENSITIVE
345
shadow = IN
346
overlay_file = "assets/radio-checked-insensitive.png"
347
overlay_stretch = FALSE
348
}
349
350
image {
351
function = OPTION
352
state = NORMAL
353
shadow = ETCHED_IN
354
overlay_file = "assets/radio-mixed.png"
355
overlay_stretch = FALSE
356
}
357
358
image {
359
function = OPTION
360
state = PRELIGHT
361
shadow = ETCHED_IN
362
overlay_file = "assets/radio-mixed-hover.png"
363
overlay_stretch = FALSE
364
}
365
366
image {
367
function = OPTION
368
state = ACTIVE
369
shadow = ETCHED_IN
370
overlay_file = "assets/radio-mixed-active.png"
371
overlay_stretch = FALSE
372
}
373
374
image {
375
function = OPTION
376
state = SELECTED
377
shadow = ETCHED_IN
378
overlay_file = "assets/radio-mixed.png"
379
overlay_stretch = FALSE
380
}
381
382
image {
383
function = OPTION
384
state = INSENSITIVE
385
shadow = ETCHED_IN
386
overlay_file = "assets/radio-mixed-insensitive.png"
387
overlay_stretch = FALSE
388
}
389
390
##########
391
# Arrows #
392
##########
393
394
# Overrides
395
396
# Disable arrows in spinbuttons
397
image {
398
function = ARROW
399
detail = "spinbutton"
400
}
401
402
# Disable arrows for qt in scrollbars
403
image {
404
function = ARROW
405
detail = "vscrollbar"
406
}
407
image {
408
function = ARROW
409
detail = "hscrollbar"
410
}
411
412
# Menu arrows
413
414
image {
415
function = ARROW
416
state = NORMAL
417
detail = "menuitem"
418
overlay_file = "assets/pan-left.png"
419
overlay_stretch = FALSE
420
arrow_direction = LEFT
421
}
422
423
image {
424
function = ARROW
425
state = PRELIGHT
426
detail = "menuitem"
427
overlay_file = "assets/pan-left.png"
428
overlay_stretch = FALSE
429
arrow_direction = LEFT
430
}
431
432
image {
433
function = ARROW
434
state = INSENSITIVE
435
detail = "menuitem"
436
overlay_file = "assets/pan-left-insensitive.png"
437
overlay_stretch = FALSE
438
arrow_direction = LEFT
439
}
440
441
image {
442
function = ARROW
443
state = NORMAL
444
detail = "menuitem"
445
overlay_file = "assets/pan-right.png"
446
overlay_stretch = FALSE
447
arrow_direction = RIGHT
448
}
449
450
image {
451
function = ARROW
452
state = PRELIGHT
453
detail = "menuitem"
454
overlay_file = "assets/pan-right.png"
455
overlay_stretch = FALSE
456
arrow_direction = RIGHT
457
}
458
459
image {
460
function = ARROW
461
state = INSENSITIVE
462
detail = "menuitem"
463
overlay_file = "assets/pan-right-insensitive.png"
464
overlay_stretch = FALSE
465
arrow_direction = RIGHT
466
}
467
468
image {
469
function = ARROW
470
state = INSENSITIVE
471
detail = "menu_scroll_arrow_up"
472
overlay_file = "assets/pan-up-insensitive.png"
473
overlay_stretch = FALSE
474
}
475
476
image {
477
function = ARROW
478
detail = "menu_scroll_arrow_up"
479
overlay_file = "assets/pan-up.png"
480
overlay_stretch = FALSE
481
}
482
483
image {
484
function = ARROW
485
state = INSENSITIVE
486
detail = "menu_scroll_arrow_down"
487
overlay_file = "assets/pan-down-insensitive.png"
488
overlay_stretch = FALSE
489
}
490
491
image {
492
function = ARROW
493
detail = "menu_scroll_arrow_down"
494
overlay_file = "assets/pan-down.png"
495
overlay_stretch = FALSE
496
}
497
498
# Regular arrows
499
500
image {
501
function = ARROW
502
state = NORMAL
503
overlay_file = "assets/pan-up-alt.png"
504
overlay_stretch = FALSE
505
arrow_direction = UP
506
}
507
508
image {
509
function = ARROW
510
state = PRELIGHT
511
overlay_file = "assets/pan-up.png"
512
overlay_stretch = FALSE
513
arrow_direction = UP
514
}
515
516
image {
517
function = ARROW
518
state = ACTIVE
519
overlay_file = "assets/pan-up.png"
520
overlay_stretch = FALSE
521
arrow_direction = UP
522
}
523
524
image {
525
function = ARROW
526
state = INSENSITIVE
527
overlay_file = "assets/pan-up-alt-insensitive.png"
528
overlay_stretch = FALSE
529
arrow_direction = UP
530
}
531
532
image {
533
function = ARROW
534
state = NORMAL
535
overlay_file = "assets/pan-down-alt.png"
536
overlay_stretch = FALSE
537
arrow_direction = DOWN
538
}
539
540
image {
541
function = ARROW
542
state = PRELIGHT
543
overlay_file = "assets/pan-down.png"
544
overlay_stretch = FALSE
545
arrow_direction = DOWN
546
}
547
548
image {
549
function = ARROW
550
state = ACTIVE
551
overlay_file = "assets/pan-down.png"
552
overlay_stretch = FALSE
553
arrow_direction = DOWN
554
}
555
556
image {
557
function = ARROW
558
state = INSENSITIVE
559
overlay_file = "assets/pan-down-alt-insensitive.png"
560
overlay_stretch = FALSE
561
arrow_direction = DOWN
562
}
563
564
image {
565
function = ARROW
566
state = NORMAL
567
overlay_file = "assets/pan-left-alt.png"
568
overlay_stretch = FALSE
569
arrow_direction = LEFT
570
}
571
572
image {
573
function = ARROW
574
state = PRELIGHT
575
overlay_file = "assets/pan-left.png"
576
overlay_stretch = FALSE
577
arrow_direction = LEFT
578
}
579
580
image {
581
function = ARROW
582
state = ACTIVE
583
overlay_file = "assets/pan-left.png"
584
overlay_stretch = FALSE
585
arrow_direction = LEFT
586
}
587
588
image {
589
function = ARROW
590
state = INSENSITIVE
591
overlay_file = "assets/pan-left-alt-insensitive.png"
592
overlay_stretch = FALSE
593
arrow_direction = LEFT
594
}
595
596
image {
597
function = ARROW
598
state = NORMAL
599
overlay_file = "assets/pan-right-alt.png"
600
overlay_stretch = FALSE
601
arrow_direction = RIGHT
602
}
603
604
image {
605
function = ARROW
606
state = PRELIGHT
607
overlay_file = "assets/pan-right.png"
608
overlay_stretch = FALSE
609
arrow_direction = RIGHT
610
}
611
612
image {
613
function = ARROW
614
state = ACTIVE
615
overlay_file = "assets/pan-right.png"
616
overlay_stretch = FALSE
617
arrow_direction = RIGHT
618
}
619
620
image {
621
function = ARROW
622
state = INSENSITIVE
623
overlay_file = "assets/pan-right-alt-insensitive.png"
624
overlay_stretch = FALSE
625
arrow_direction = RIGHT
626
}
627
628
######################
629
# Option Menu Arrows #
630
######################
631
632
image {
633
function = TAB
634
state = NORMAL
635
overlay_file = "assets/pan-down-alt.png"
636
overlay_stretch = FALSE
637
}
638
639
image {
640
function = TAB
641
state = PRELIGHT
642
overlay_file = "assets/pan-down.png"
643
overlay_stretch = FALSE
644
}
645
646
image {
647
function = TAB
648
state = ACTIVE
649
overlay_file = "assets/pan-down.png"
650
overlay_stretch = FALSE
651
}
652
653
image {
654
function = TAB
655
state = INSENSITIVE
656
overlay_file = "assets/pan-down-alt-insensitive.png"
657
overlay_stretch = FALSE
658
}
659
660
#########
661
# Lines #
662
#########
663
664
image {
665
function = VLINE
666
file = "assets/border.png"
667
border = {1, 0, 0, 0}
668
}
669
670
image {
671
function = HLINE
672
file = "assets/border.png"
673
border = {0, 0, 1, 0}
674
}
675
676
#########
677
# Focus #
678
#########
679
680
image {
681
function = FOCUS
682
file = "assets/focus.png"
683
border = {2, 2, 2, 2}
684
stretch = TRUE
685
}
686
687
###########
688
# Handles #
689
###########
690
691
image {
692
function = HANDLE
693
detail = "handlebox"
694
overlay_file = "assets/handle-vert.png"
695
overlay_stretch = FALSE
696
}
697
698
image {
699
function = HANDLE
700
state = NORMAL
701
overlay_file = "assets/handle-horz.png"
702
overlay_stretch = FALSE
703
orientation = HORIZONTAL
704
}
705
706
image {
707
function = HANDLE
708
state = PRELIGHT
709
overlay_file = "assets/handle-horz-hover.png"
710
overlay_stretch = FALSE
711
orientation = HORIZONTAL
712
}
713
714
image {
715
function = HANDLE
716
state = ACTIVE
717
overlay_file = "assets/handle-horz-active.png"
718
overlay_stretch = FALSE
719
orientation = HORIZONTAL
720
}
721
722
image {
723
function = HANDLE
724
state = NORMAL
725
overlay_file = "assets/handle-vert.png"
726
overlay_stretch = FALSE
727
orientation = VERTICAL
728
}
729
730
image {
731
function = HANDLE
732
state = PRELIGHT
733
overlay_file = "assets/handle-vert-hover.png"
734
overlay_stretch = FALSE
735
orientation = VERTICAL
736
}
737
738
image {
739
function = HANDLE
740
state = ACTIVE
741
overlay_file = "assets/handle-vert-active.png"
742
overlay_stretch = FALSE
743
orientation = VERTICAL
744
}
745
746
image {
747
function = RESIZE_GRIP
748
}
749
750
#############
751
# Expanders #
752
#############
753
754
image {
755
function = EXPANDER
756
expander_style = EXPANDED
757
state = NORMAL
758
file = "assets/pan-down-alt.png"
759
}
760
761
image {
762
function = EXPANDER
763
expander_style = EXPANDED
764
state = PRELIGHT
765
file = "assets/pan-down.png"
766
}
767
768
image {
769
function = EXPANDER
770
expander_style = EXPANDED
771
state = ACTIVE
772
file = "assets/pan-down.png"
773
}
774
775
image {
776
function = EXPANDER
777
expander_style = EXPANDED
778
state = INSENSITIVE
779
file = "assets/pan-down-alt-insensitive.png"
780
}
781
782
# LTR
783
784
image {
785
function = EXPANDER
786
expander_style = COLLAPSED
787
state = NORMAL
788
file = "assets/pan-right-alt.png"
789
direction = LTR
790
}
791
792
image {
793
function = EXPANDER
794
expander_style = COLLAPSED
795
state = PRELIGHT
796
file = "assets/pan-right.png"
797
direction = LTR
798
}
799
800
image {
801
function = EXPANDER
802
expander_style = COLLAPSED
803
state = ACTIVE
804
file = "assets/pan-right.png"
805
direction = LTR
806
}
807
808
image {
809
function = EXPANDER
810
expander_style = COLLAPSED
811
state = INSENSITIVE
812
file = "assets/pan-right-alt-insensitive.png"
813
direction = LTR
814
}
815
816
image {
817
function = EXPANDER
818
expander_style = SEMI_COLLAPSED
819
file = "assets/pan-right-semi.png"
820
direction = LTR
821
}
822
823
image {
824
function = EXPANDER
825
expander_style = SEMI_EXPANDED
826
file = "assets/pan-right-semi.png"
827
direction = LTR
828
}
829
830
# RTL
831
832
image {
833
function = EXPANDER
834
expander_style = COLLAPSED
835
state = NORMAL
836
file = "assets/pan-left-alt.png"
837
direction = RTL
838
}
839
840
image {
841
function = EXPANDER
842
expander_style = COLLAPSED
843
state = PRELIGHT
844
file = "assets/pan-left.png"
845
direction = RTL
846
}
847
848
image {
849
function = EXPANDER
850
expander_style = COLLAPSED
851
state = ACTIVE
852
file = "assets/pan-left.png"
853
direction = RTL
854
}
855
856
image {
857
function = EXPANDER
858
expander_style = COLLAPSED
859
state = INSENSITIVE
860
file = "assets/pan-left-alt-insensitive.png"
861
direction = RTL
862
}
863
864
image {
865
function = EXPANDER
866
expander_style = SEMI_COLLAPSED
867
file = "assets/pan-left-semi.png"
868
direction = RTL
869
}
870
871
image {
872
function = EXPANDER
873
expander_style = SEMI_EXPANDED
874
file = "assets/pan-left-semi.png"
875
direction = RTL
876
}
877
878
#############
879
# Notebooks #
880
#############
881
882
# Left
883
884
image {
885
function = EXTENSION
886
state = NORMAL
887
file = "assets/tab.png"
888
border = {0, 1, 0, 0}
889
stretch = TRUE
890
gap_side = RIGHT
891
}
892
893
image {
894
function = EXTENSION
895
gap_side = RIGHT
896
}
897
898
# Right
899
900
image {
901
function = EXTENSION
902
state = NORMAL
903
file = "assets/tab.png"
904
border = {1, 0, 0, 0}
905
stretch = TRUE
906
gap_side = LEFT
907
}
908
909
image {
910
function = EXTENSION
911
gap_side = LEFT
912
}
913
914
# Up
915
916
image {
917
function = EXTENSION
918
state = NORMAL
919
file = "assets/tab.png"
920
border = {0, 0, 0, 1}
921
stretch = TRUE
922
gap_side = BOTTOM
923
}
924
925
image {
926
function = EXTENSION
927
gap_side = BOTTOM
928
}
929
930
# Down
931
932
image {
933
function = EXTENSION
934
state = NORMAL
935
file = "assets/tab.png"
936
border = {0, 0, 1, 0}
937
stretch = TRUE
938
gap_side = TOP
939
}
940
941
image {
942
function = EXTENSION
943
gap_side = TOP
944
}
945
946
# Inner frame
947
948
image {
949
function = BOX_GAP
950
detail = "notebook"
951
file = "assets/frame-notebook.png"
952
border = {1, 1, 1, 1}
953
stretch = TRUE
954
gap_file = "assets/tab.png"
955
gap_border = {1, 0, 0, 0}
956
gap_side = LEFT
957
}
958
959
image {
960
function = BOX_GAP
961
detail = "notebook"
962
file = "assets/frame-notebook.png"
963
border = {1, 1, 1, 1}
964
stretch = TRUE
965
gap_file = "assets/tab.png"
966
gap_border = {0, 1, 0, 0}
967
gap_side = RIGHT
968
}
969
970
image {
971
function = BOX_GAP
972
detail = "notebook"
973
file = "assets/frame-notebook.png"
974
border = {1, 1, 1, 1}
975
stretch = TRUE
976
gap_file = "assets/tab.png"
977
gap_border = {0, 0, 1, 0}
978
gap_side = TOP
979
}
980
981
image {
982
function = BOX_GAP
983
detail = "notebook"
984
file = "assets/frame-notebook.png"
985
border = {1, 1, 1, 1}
986
stretch = TRUE
987
gap_file = "assets/tab.png"
988
gap_border = {0, 0, 0, 1}
989
gap_side = BOTTOM
990
}
991
992
# Standalone frame
993
image {
994
function = BOX
995
detail = "notebook"
996
file = "assets/frame-notebook.png"
997
border = {1, 1, 1, 1}
998
stretch = TRUE
999
}
1000
1001
##############
1002
# Scrollbars #
1003
##############
1004
1005
image {
1006
function = BOX
1007
detail = "trough"
1008
file = "assets/scrollbar-horz-trough.png"
1009
border = {0, 0, 1, 0}
1010
orientation = HORIZONTAL
1011
}
1012
1013
image {
1014
function = BOX
1015
detail = "trough"
1016
file = "assets/scrollbar-vert-ltr-trough.png"
1017
border = {1, 0, 0, 0}
1018
orientation = VERTICAL
1019
direction = LTR
1020
}
1021
1022
image {
1023
function = BOX
1024
detail = "trough"
1025
file = "assets/scrollbar-vert-rtl-trough.png"
1026
border = {0, 1, 0, 0}
1027
orientation = VERTICAL
1028
direction = RTL
1029
}
1030
1031
1032
# Horizontal sliders
1033
1034
image {
1035
function = SLIDER
1036
state = NORMAL
1037
detail = "slider"
1038
file = "assets/scrollbar-horz-slider.png"
1039
border = {8, 8, 9, 8 }
1040
stretch = TRUE
1041
orientation = HORIZONTAL
1042
}
1043
1044
image {
1045
function = SLIDER
1046
state = PRELIGHT
1047
detail = "slider"
1048
file = "assets/scrollbar-horz-slider-hover.png"
1049
border = {8, 8, 9, 8 }
1050
stretch = TRUE
1051
orientation = HORIZONTAL
1052
}
1053
1054
image {
1055
function = SLIDER
1056
state = ACTIVE
1057
detail = "slider"
1058
file = "assets/scrollbar-horz-slider-active.png"
1059
border = {8, 8, 9, 8 }
1060
stretch = TRUE
1061
orientation = HORIZONTAL
1062
}
1063
1064
image {
1065
function = SLIDER
1066
state = INSENSITIVE
1067
detail = "slider"
1068
file = "assets/scrollbar-horz-slider-insensitive.png"
1069
border = {8, 8, 9, 8 }
1070
stretch = TRUE
1071
orientation = HORIZONTAL
1072
}
1073
1074
# Vertical sliders
1075
1076
image {
1077
function = SLIDER
1078
state = NORMAL
1079
detail = "slider"
1080
file = "assets/scrollbar-vert-ltr-slider.png"
1081
border = {9, 8, 8, 8}
1082
stretch = TRUE
1083
orientation = VERTICAL
1084
direction = LTR
1085
}
1086
1087
image {
1088
function = SLIDER
1089
state = PRELIGHT
1090
detail = "slider"
1091
file = "assets/scrollbar-vert-ltr-slider-hover.png"
1092
border = {9, 8, 8, 8}
1093
stretch = TRUE
1094
orientation = VERTICAL
1095
direction = LTR
1096
}
1097
1098
image {
1099
function = SLIDER
1100
state = ACTIVE
1101
detail = "slider"
1102
file = "assets/scrollbar-vert-ltr-slider-active.png"
1103
border = {9, 8, 8, 8}
1104
stretch = TRUE
1105
orientation = VERTICAL
1106
direction = LTR
1107
}
1108
1109
image {
1110
function = SLIDER
1111
state = INSENSITIVE
1112
detail = "slider"
1113
file = "assets/scrollbar-vert-ltr-slider-insensitive.png"
1114
border = {9, 8, 8, 8}
1115
stretch = TRUE
1116
orientation = VERTICAL
1117
direction = LTR
1118
}
1119
1120
# RTL
1121
1122
image {
1123
function = SLIDER
1124
state = NORMAL
1125
detail = "slider"
1126
file = "assets/scrollbar-vert-rtl-slider.png"
1127
border = {8, 9, 8, 8}
1128
stretch = TRUE
1129
orientation = VERTICAL
1130
direction = RTL
1131
}
1132
1133
image {
1134
function = SLIDER
1135
state = PRELIGHT
1136
detail = "slider"
1137
file = "assets/scrollbar-vert-rtl-slider-hover.png"
1138
border = {8, 9, 8, 8}
1139
stretch = TRUE
1140
orientation = VERTICAL
1141
direction = RTL
1142
}
1143
1144
image {
1145
function = SLIDER
1146
state = ACTIVE
1147
detail = "slider"
1148
file = "assets/scrollbar-vert-rtl-slider-active.png"
1149
border = {8, 9, 8, 8}
1150
stretch = TRUE
1151
orientation = VERTICAL
1152
direction = RTL
1153
}
1154
1155
image {
1156
function = SLIDER
1157
state = INSENSITIVE
1158
detail = "slider"
1159
file = "assets/scrollbar-vert-rtl-slider-insensitive.png"
1160
border = {8, 9, 8, 8}
1161
stretch = TRUE
1162
orientation = VERTICAL
1163
direction = RTL
1164
}
1165
1166
##########
1167
# Scales #
1168
##########
1169
1170
# Troughs, overrided later on. We set them here too because some widgets
1171
# don't specify their orientation.
1172
1173
image {
1174
function = BOX
1175
detail = "trough-upper"
1176
file = "assets/scale-horz-trough.png"
1177
border = {4, 4, 0, 0}
1178
stretch = TRUE
1179
orientation = HORIZONTAL
1180
}
1181
1182
image {
1183
function = BOX
1184
state = INSENSITIVE
1185
detail = "trough-upper"
1186
file = "assets/scale-horz-trough-insensitive.png"
1187
border = {4, 4, 0, 0}
1188
stretch = TRUE
1189
orientation = HORIZONTAL
1190
}
1191
1192
image {
1193
function = BOX
1194
detail = "trough-lower"
1195
file = "assets/scale-horz-trough-active.png"
1196
border = {4, 4, 0, 0}
1197
stretch = TRUE
1198
orientation = HORIZONTAL
1199
}
1200
1201
image {
1202
function = BOX
1203
state = INSENSITIVE
1204
detail = "trough-lower"
1205
file = "assets/scale-horz-trough-insensitive.png"
1206
border = {4, 4, 0, 0}
1207
stretch = TRUE
1208
orientation = HORIZONTAL
1209
}
1210
1211
image {
1212
function = BOX
1213
detail = "trough-upper"
1214
file = "assets/scale-vert-trough.png"
1215
border = {0, 0, 4, 4}
1216
stretch = TRUE
1217
orientation = VERTICAL
1218
}
1219
1220
image {
1221
function = BOX
1222
state = INSENSITIVE
1223
detail = "trough-upper"
1224
file = "assets/scale-vert-trough-insensitive.png"
1225
border = {0, 0, 4, 4}
1226
stretch = TRUE
1227
orientation = VERTICAL
1228
}
1229
1230
image {
1231
function = BOX
1232
detail = "trough-lower"
1233
file = "assets/scale-vert-trough-active.png"
1234
border = {0, 0, 4, 4}
1235
stretch = TRUE
1236
orientation = VERTICAL
1237
}
1238
1239
image {
1240
function = BOX
1241
state = INSENSITIVE
1242
detail = "trough-lower"
1243
file = "assets/scale-vert-trough-insensitive.png"
1244
border = {0, 0, 4, 4}
1245
stretch = TRUE
1246
orientation = VERTICAL
1247
}
1248
1249
# Sliders
1250
1251
image {
1252
function = SLIDER
1253
state = NORMAL
1254
detail = "hscale"
1255
file = "assets/scale-slider.png"
1256
}
1257
1258
image {
1259
function = SLIDER
1260
state = PRELIGHT
1261
detail = "hscale"
1262
file = "assets/scale-slider-hover.png"
1263
}
1264
1265
image {
1266
function = SLIDER
1267
state = ACTIVE
1268
detail = "hscale"
1269
file = "assets/scale-slider-active.png"
1270
}
1271
1272
image {
1273
function = SLIDER
1274
state = INSENSITIVE
1275
detail = "hscale"
1276
file = "assets/scale-slider-insensitive.png"
1277
}
1278
image {
1279
function = SLIDER
1280
state = NORMAL
1281
detail = "vscale"
1282
file = "assets/scale-slider.png"
1283
}
1284
1285
image {
1286
function = SLIDER
1287
state = PRELIGHT
1288
detail = "vscale"
1289
file = "assets/scale-slider-hover.png"
1290
}
1291
1292
image {
1293
function = SLIDER
1294
state = ACTIVE
1295
detail = "vscale"
1296
file = "assets/scale-slider-active.png"
1297
}
1298
1299
image {
1300
function = SLIDER
1301
state = INSENSITIVE
1302
detail = "vscale"
1303
file = "assets/scale-slider-insensitive.png"
1304
}
1305
1306
###########
1307
# Menubar #
1308
###########
1309
1310
# image {
1311
# function = BOX
1312
# detail = "menubar"
1313
# file = "assets/border.png"
1314
# border = {0, 0, 0, 1}
1315
# }
1316
1317
#########
1318
# Menus #
1319
#########
1320
1321
image {
1322
function = BOX
1323
state = PRELIGHT
1324
detail = "menu_scroll_arrow_up"
1325
file = "assets/border.png"
1326
}
1327
1328
image {
1329
function = BOX
1330
detail = "menu_scroll_arrow_up"
1331
file = "assets/border.png"
1332
border = {0, 0, 0, 1}
1333
}
1334
1335
image {
1336
function = BOX
1337
state = PRELIGHT
1338
detail = "menu_scroll_arrow_down"
1339
file = "assets/border.png"
1340
}
1341
1342
image {
1343
function = BOX
1344
detail = "menu_scroll_arrow_down"
1345
file = "assets/border.png"
1346
border = {0, 0, 1, 0}
1347
}
1348
1349
###########
1350
# Entries #
1351
###########
1352
1353
1354
image {
1355
function = SHADOW
1356
state = ACTIVE
1357
detail = "entry"
1358
file = "assets/entry-active.png"
1359
border = {6, 6, 6, 6}
1360
stretch = TRUE
1361
}
1362
1363
image {
1364
function = SHADOW
1365
state = INSENSITIVE
1366
detail = "entry"
1367
file = "assets/entry-insensitive.png"
1368
border = {6, 6, 6, 6}
1369
stretch = TRUE
1370
}
1371
1372
image {
1373
function = SHADOW
1374
detail = "entry"
1375
file = "assets/entry.png"
1376
border = {6, 6, 6, 6}
1377
stretch = TRUE
1378
}
1379
1380
image {
1381
function = FLAT_BOX
1382
state = ACTIVE
1383
detail = "entry_bg"
1384
file = "assets/entry-background.png"
1385
}
1386
1387
image {
1388
function = FLAT_BOX
1389
state = INSENSITIVE
1390
detail = "entry_bg"
1391
file = "assets/entry-background-insensitive.png"
1392
}
1393
1394
image {
1395
function = FLAT_BOX
1396
detail = "entry_bg"
1397
file = "assets/entry-background.png"
1398
}
1399
#########
1400
# Spins #
1401
#########
1402
1403
# Spin-Up LTR
1404
1405
image {
1406
function = BOX
1407
state = NORMAL
1408
detail = "spinbutton_up"
1409
file = "assets/spin-ltr-up.png"
1410
border = {0, 8, 8, 0}
1411
stretch = TRUE
1412
overlay_file = "assets/pan-up-alt.png"
1413
overlay_stretch = FALSE
1414
direction = LTR
1415
}
1416
1417
image {
1418
function = BOX
1419
state = PRELIGHT
1420
detail = "spinbutton_up"
1421
file = "assets/spin-ltr-up-hover.png"
1422
border = {0, 8, 8, 0}
1423
stretch = TRUE
1424
overlay_file = "assets/pan-up.png"
1425
overlay_stretch = FALSE
1426
direction = LTR
1427
}
1428
1429
image {
1430
function = BOX
1431
state = ACTIVE
1432
detail = "spinbutton_up"
1433
file = "assets/spin-ltr-up-active.png"
1434
border = {0, 8, 8, 0}
1435
stretch = TRUE
1436
overlay_file = "assets/pan-up.png"
1437
overlay_stretch = FALSE
1438
direction = LTR
1439
}
1440
1441
image {
1442
function = BOX
1443
state = INSENSITIVE
1444
detail = "spinbutton_up"
1445
file = "assets/spin-ltr-up-insensitive.png"
1446
border = {0, 8, 8, 0}
1447
stretch = TRUE
1448
overlay_file = "assets/pan-up-alt-insensitive.png"
1449
overlay_stretch = FALSE
1450
direction = LTR
1451
}
1452
1453
# Spin-Up RTL
1454
1455
image {
1456
function = BOX
1457
state = NORMAL
1458
detail = "spinbutton_up"
1459
file = "assets/spin-rtl-up.png"
1460
border = {8, 0, 8, 0}
1461
stretch = TRUE
1462
overlay_file = "assets/pan-up-alt.png"
1463
overlay_stretch = FALSE
1464
direction = RTL
1465
}
1466
1467
image {
1468
function = BOX
1469
state = PRELIGHT
1470
detail = "spinbutton_up"
1471
file = "assets/spin-rtl-up-hover.png"
1472
border = {8, 0, 8, 0}
1473
stretch = TRUE
1474
overlay_file = "assets/pan-up.png"
1475
overlay_stretch = FALSE
1476
direction = RTL
1477
}
1478
1479
image {
1480
function = BOX
1481
state = ACTIVE
1482
detail = "spinbutton_up"
1483
file = "assets/spin-rtl-up-hover.png"
1484
border = {8, 0, 8, 0}
1485
stretch = TRUE
1486
overlay_file = "assets/pan-up.png"
1487
overlay_stretch = FALSE
1488
direction = RTL
1489
}
1490
1491
image {
1492
function = BOX
1493
state = INSENSITIVE
1494
detail = "spinbutton_up"
1495
file = "assets/spin-rtl-up-insensitive.png"
1496
border = {8, 0, 8, 0}
1497
stretch = TRUE
1498
overlay_file = "assets/pan-up-alt-insensitive.png"
1499
overlay_stretch = FALSE
1500
direction = RTL
1501
}
1502
1503
# Spin-Down LTR
1504
1505
image {
1506
function = BOX
1507
state = NORMAL
1508
detail = "spinbutton_down"
1509
file = "assets/spin-ltr-down.png"
1510
border = {0, 8, 0, 8}
1511
stretch = TRUE
1512
overlay_file = "assets/pan-down-alt.png"
1513
overlay_stretch = FALSE
1514
direction = LTR
1515
}
1516
1517
image {
1518
function = BOX
1519
state = PRELIGHT
1520
detail = "spinbutton_down"
1521
file = "assets/spin-ltr-down-hover.png"
1522
border = {0, 8, 0, 8}
1523
stretch = TRUE
1524
overlay_file = "assets/pan-down.png"
1525
overlay_stretch = FALSE
1526
direction = LTR
1527
}
1528
1529
image {
1530
function = BOX
1531
state = ACTIVE
1532
detail = "spinbutton_down"
1533
file = "assets/spin-ltr-down-active.png"
1534
border = {0, 8, 0, 8}
1535
stretch = TRUE
1536
overlay_file = "assets/pan-down.png"
1537
overlay_stretch = FALSE
1538
direction = LTR
1539
}
1540
1541
image {
1542
function = BOX
1543
state = INSENSITIVE
1544
detail = "spinbutton_down"
1545
file = "assets/spin-ltr-down-insensitive.png"
1546
border = {0, 8, 0, 8}
1547
stretch = TRUE
1548
overlay_file = "assets/pan-down-alt-insensitive.png"
1549
overlay_stretch = FALSE
1550
direction = LTR
1551
}
1552
1553
# Spin-Down RTL
1554
1555
image {
1556
function = BOX
1557
state = NORMAL
1558
detail = "spinbutton_down"
1559
file = "assets/spin-rtl-down.png"
1560
border = {8, 0, 0, 8}
1561
stretch = TRUE
1562
overlay_file = "assets/pan-down-alt.png"
1563
overlay_stretch = FALSE
1564
direction = RTL
1565
}
1566
1567
image {
1568
function = BOX
1569
state = PRELIGHT
1570
detail = "spinbutton_down"
1571
file = "assets/spin-rtl-down-hover.png"
1572
border = {8, 0, 0, 8}
1573
stretch = TRUE
1574
overlay_file = "assets/pan-down.png"
1575
overlay_stretch = FALSE
1576
direction = RTL
1577
}
1578
1579
image {
1580
function = BOX
1581
state = ACTIVE
1582
detail = "spinbutton_down"
1583
file = "assets/spin-rtl-down-active.png"
1584
border = {8, 0, 0, 8}
1585
stretch = TRUE
1586
overlay_file = "assets/pan-down.png"
1587
overlay_stretch = FALSE
1588
direction = RTL
1589
}
1590
1591
image {
1592
function = BOX
1593
state = INSENSITIVE
1594
detail = "spinbutton_down"
1595
file = "assets/spin-rtl-down-insensitive.png"
1596
border = {8, 0, 0, 8}
1597
stretch = TRUE
1598
overlay_file = "assets/pan-down-alt-insensitive.png"
1599
overlay_stretch = FALSE
1600
direction = RTL
1601
}
1602
1603
##############
1604
# Scrollbars #
1605
##############
1606
1607
image {
1608
function = BOX
1609
detail = "bar"
1610
file = "assets/progressbar-progress.png"
1611
stretch = TRUE
1612
border = {0, 0, 0, 0}
1613
orientation = HORIZONTAL
1614
}
1615
1616
image {
1617
function = BOX
1618
detail = "bar"
1619
file = "assets/progressbar-progress.png"
1620
stretch = TRUE
1621
border = {0, 0, 0, 0}
1622
orientation = VERTICAL
1623
}
1624
1625
#############
1626
# Treeviews #
1627
#############
1628
1629
# Disable active the column highlight
1630
# We need to match specific cells or we break stuff
1631
# Looking at you deadbeef
1632
1633
image {
1634
function = FLAT_BOX
1635
detail = "cell_even_sorted"
1636
state = NORMAL
1637
}
1638
1639
image {
1640
function = FLAT_BOX
1641
detail = "cell_odd_sorted"
1642
state = NORMAL
1643
}
1644
1645
# Disable all the other shadows
1646
# This prevents the Raleigh effect
1647
image {
1648
function = SHADOW
1649
}
1650
1651
}
1652
1653
}
1654
1655
style "menubar" {
1656
1657
bg[NORMAL] = @titlebar_bg_color
1658
fg[NORMAL] = mix(0.75, @titlebar_fg_color, @titlebar_bg_color)
1659
fg[PRELIGHT] = @titlebar_fg_color
1660
fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)
1661
# Needed to fix Firefox's menubar text
1662
bg[SELECTED] = mix(0.15, @titlebar_fg_color, @titlebar_bg_color)
1663
fg[SELECTED] = @titlebar_fg_color
1664
1665
}
1666
1667
style "menubar_item" {
1668
1669
xthickness = 3
1670
ythickness = 4
1671
1672
fg[NORMAL] = mix(0.75, @titlebar_fg_color, @titlebar_bg_color)
1673
bg[PRELIGHT] = mix(0.15, @titlebar_fg_color, @titlebar_bg_color)
1674
fg[PRELIGHT] = @titlebar_fg_color
1675
fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)
1676
1677
}
1678
1679
style "menu" {
1680
1681
xthickness = 0
1682
ythickness = 0
1683
1684
bg[NORMAL] = @base_color
1685
bg[INSENSITIVE] = @base_color
1686
bg[PRELIGHT] = @base_color
1687
bg[SELECTED] = mix(0.15, @fg_color, @base_color)
1688
1689
}
1690
1691
style "menu_item" {
1692
1693
xthickness = 4
1694
ythickness = 4
1695
1696
bg[PRELIGHT] = mix(0.15, @fg_color, @base_color)
1697
fg[PRELIGHT] = @fg_color
1698
# Chromium uses this setting
1699
bg[SELECTED] = mix(0.15, @fg_color, @base_color)
1700
text[SELECTED] = @fg_color
1701
1702
# Some widgets use text, we need to handle that
1703
text[NORMAL] = @fg_color
1704
text[PRELIGHT] = @fg_color
1705
1706
# Unfortunately we can't tell regular and menu checks/radios apart
1707
# Without the heirarchy
1708
engine "pixmap" {
1709
1710
#################
1711
# Check Buttons #
1712
#################
1713
1714
image {
1715
function = CHECK
1716
state = NORMAL
1717
shadow = OUT
1718
overlay_file = "assets/menu-checkbox-unchecked.png"
1719
overlay_stretch = FALSE
1720
}
1721
1722
image {
1723
function = CHECK
1724
state = PRELIGHT
1725
shadow = OUT
1726
overlay_file = "assets/menu-checkbox-unchecked.png"
1727
overlay_stretch = FALSE
1728
}
1729
1730
image {
1731
function = CHECK
1732
state = ACTIVE
1733
shadow = OUT
1734
overlay_file = "assets/menu-checkbox-unchecked.png"
1735
overlay_stretch = FALSE
1736
}
1737
1738
image {
1739
function = CHECK
1740
state = INSENSITIVE
1741
shadow = OUT
1742
overlay_file = "assets/menu-checkbox-unchecked-insensitive.png"
1743
overlay_stretch = FALSE
1744
}
1745
1746
image {
1747
function = CHECK
1748
state = NORMAL
1749
shadow = IN
1750
overlay_file = "assets/menu-checkbox-checked.png"
1751
overlay_stretch = FALSE
1752
}
1753
1754
image {
1755
function = CHECK
1756
state = PRELIGHT
1757
shadow = IN
1758
overlay_file = "assets/menu-checkbox-checked.png"
1759
overlay_stretch = FALSE
1760
}
1761
1762
image {
1763
function = CHECK
1764
state = ACTIVE
1765
shadow = IN
1766
overlay_file = "assets/menu-checkbox-checked.png"
1767
overlay_stretch = FALSE
1768
}
1769
1770
image {
1771
function = CHECK
1772
state = INSENSITIVE
1773
shadow = IN
1774
overlay_file = "assets/menu-checkbox-checked-insensitive.png"
1775
overlay_stretch = FALSE
1776
}
1777
1778
image {
1779
function = CHECK
1780
state = NORMAL
1781
shadow = ETCHED_IN
1782
overlay_file = "assets/menu-checkbox-mixed.png"
1783
overlay_stretch = FALSE
1784
}
1785
1786
image {
1787
function = CHECK
1788
state = PRELIGHT
1789
shadow = ETCHED_IN
1790
overlay_file = "assets/menu-checkbox-mixed.png"
1791
overlay_stretch = FALSE
1792
}
1793
1794
image {
1795
function = CHECK
1796
state = ACTIVE
1797
shadow = ETCHED_IN
1798
overlay_file = "assets/menu-checkbox-mixed.png"
1799
overlay_stretch = FALSE
1800
}
1801
1802
image {
1803
function = CHECK
1804
state = INSENSITIVE
1805
shadow = ETCHED_IN
1806
overlay_file = "assets/menu-checkbox-mixed-insensitive.png"
1807
overlay_stretch = FALSE
1808
}
1809
1810
#################
1811
# Radio Buttons #
1812
#################
1813
1814
image {
1815
function = OPTION
1816
state = NORMAL
1817
shadow = OUT
1818
overlay_file = "assets/menu-radio-unchecked.png"
1819
overlay_stretch = FALSE
1820
}
1821
1822
image {
1823
function = OPTION
1824
state = PRELIGHT
1825
shadow = OUT
1826
overlay_file = "assets/menu-radio-unchecked.png"
1827
overlay_stretch = FALSE
1828
}
1829
1830
image {
1831
function = OPTION
1832
state = ACTIVE
1833
shadow = OUT
1834
overlay_file = "assets/menu-radio-unchecked.png"
1835
overlay_stretch = FALSE
1836
}
1837
1838
image {
1839
function = OPTION
1840
state = INSENSITIVE
1841
shadow = OUT
1842
overlay_file = "assets/menu-radio-unchecked-insensitive.png"
1843
overlay_stretch = FALSE
1844
}
1845
1846
image {
1847
function = OPTION
1848
state = NORMAL
1849
shadow = IN
1850
overlay_file = "assets/menu-radio-checked.png"
1851
overlay_stretch = FALSE
1852
}
1853
1854
image {
1855
function = OPTION
1856
state = PRELIGHT
1857
shadow = IN
1858
overlay_file = "assets/menu-radio-checked.png"
1859
overlay_stretch = FALSE
1860
}
1861
1862
image {
1863
function = OPTION
1864
state = ACTIVE
1865
shadow = IN
1866
overlay_file = "assets/menu-radio-checked.png"
1867
overlay_stretch = FALSE
1868
}
1869
1870
image {
1871
function = OPTION
1872
state = INSENSITIVE
1873
shadow = IN
1874
overlay_file = "assets/menu-radio-checked-insensitive.png"
1875
overlay_stretch = FALSE
1876
}
1877
1878
image {
1879
function = OPTION
1880
state = NORMAL
1881
shadow = ETCHED_IN
1882
overlay_file = "assets/menu-radio-mixed.png"
1883
overlay_stretch = FALSE
1884
}
1885
1886
image {
1887
function = OPTION
1888
state = PRELIGHT
1889
shadow = ETCHED_IN
1890
overlay_file = "assets/menu-radio-mixed.png"
1891
overlay_stretch = FALSE
1892
}
1893
1894
image {
1895
function = OPTION
1896
state = ACTIVE
1897
shadow = ETCHED_IN
1898
overlay_file = "assets/menu-radio-mixed.png"
1899
overlay_stretch = FALSE
1900
}
1901
1902
image {
1903
function = OPTION
1904
state = INSENSITIVE
1905
shadow = ETCHED_IN
1906
overlay_file = "assets/menu-radio-mixed-insensitive.png"
1907
overlay_stretch = FALSE
1908
}
1909
1910
1911
1912
}
1913
1914
}
1915
1916
style "separator_menu_item" {
1917
1918
xthickness = 0
1919
ythickness = 2
1920
1921
engine "pixmap" {
1922
image {
1923
function = BOX
1924
file = "assets/border.png"
1925
border = {0, 0, 0, 1}
1926
}
1927
}
1928
1929
}
1930
1931
style "button_label" {
1932
fg[NORMAL] = mix(0.75, @fg_color, @bg_color)
1933
# fg[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
1934
1935
font_name = "Medium"
1936
}
1937
1938
style "checkbutton_label" {
1939
fg[NORMAL] = @fg_color
1940
# fg[INSENSITIVE] = mix(0.4, @fg_color, @bg_color)
1941
1942
font_name = "Regular"
1943
}
1944
1945
style "button" {
1946
1947
xthickness = 4
1948
ythickness = 4
1949
1950
# For the sake of sanity style buttons this way
1951
engine "pixmap" {
1952
1953
###########
1954
# Buttons #
1955
###########
1956
1957
image {
1958
function = BOX
1959
state = NORMAL
1960
file = "assets/button.png"
1961
border = {8, 8, 8, 8}
1962
stretch = TRUE
1963
}
1964
1965
image {
1966
function = BOX
1967
state = PRELIGHT
1968
shadow = OUT
1969
file = "assets/button-hover.png"
1970
border = {8, 8, 8, 8}
1971
stretch = TRUE
1972
}
1973
1974
# Don't add hover effect on pressed buttons
1975
image {
1976
function = BOX
1977
state = PRELIGHT
1978
shadow = IN
1979
file = "assets/button-active.png"
1980
border = {8, 8, 8, 8}
1981
stretch = TRUE
1982
}
1983
1984
image {
1985
function = BOX
1986
state = ACTIVE
1987
file = "assets/button-active.png"
1988
border = {8, 8, 8, 8}
1989
stretch = TRUE
1990
}
1991
1992
image {
1993
function = BOX
1994
state = INSENSITIVE
1995
file = "assets/button-insensitive.png"
1996
border = {8, 8, 8, 8}
1997
stretch = TRUE
1998
}
1999
}
2000
}
2001
2002
style "link_button" {
2003
2004
# Disable the button effect, leave just the link
2005
engine "pixmap" {
2006
image {
2007
function = BOX
2008
}
2009
}
2010
2011
}
2012
2013
style "entry" {
2014
2015
# We set this same as the border of the border of the entry
2016
# This way there's no overlap
2017
xthickness = 4
2018
ythickness = 4
2019
2020
}
2021
2022
style "spinbutton" {
2023
2024
xthickness = 6
2025
ythickness = 4
2026
2027
}
2028
2029
style "combobox" {
2030
2031
xthickness = 6
2032
ythickness = 6
2033
2034
# This affects only the button beside an entry
2035
GtkButton::inner-border = {0, 0, 0, 0}
2036
2037
}
2038
2039
style "combobox_cellview" {
2040
text[NORMAL] = mix(0.75, @fg_color, @bg_color)
2041
# text[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
2042
2043
font_name = "Medium"
2044
}
2045
2046
style "combobox_entry" {
2047
2048
# Since one side of the button is missing, we need to shift the arrow a little to the right
2049
GtkButton::inner-border = {0, 3, 0, 0}
2050
2051
engine "pixmap" {
2052
2053
#############
2054
# LTR entry #
2055
#############
2056
2057
image {
2058
function = SHADOW
2059
state = NORMAL
2060
detail = "entry"
2061
file = "assets/combo-ltr-entry.png"
2062
border = {8, 0, 8, 8}
2063
stretch = TRUE
2064
direction = LTR
2065
}
2066
2067
image {
2068
function = SHADOW
2069
state = ACTIVE
2070
detail = "entry"
2071
file = "assets/combo-ltr-entry-active.png"
2072
border = {8, 0, 8, 8}
2073
stretch = TRUE
2074
direction = LTR
2075
}
2076
2077
image {
2078
function = SHADOW
2079
state = INSENSITIVE
2080
detail = "entry"
2081
file = "assets/combo-ltr-entry-insensitive.png"
2082
border = {8, 0, 8, 8}
2083
stretch = TRUE
2084
direction = LTR
2085
}
2086
2087
#############
2088
# RTL entry #
2089
#############
2090
2091
image {
2092
function = SHADOW
2093
state = NORMAL
2094
detail = "entry"
2095
file = "assets/combo-rtl-entry.png"
2096
border = {0, 8, 8, 8}
2097
stretch = TRUE
2098
direction = RTL
2099
}
2100
2101
image {
2102
function = SHADOW
2103
state = ACTIVE
2104
detail = "entry"
2105
file = "assets/combo-rtl-entry-active.png"
2106
border = {0, 8, 8, 8}
2107
stretch = TRUE
2108
direction = RTL
2109
}
2110
2111
image {
2112
function = SHADOW
2113
state = INSENSITIVE
2114
detail = "entry"
2115
file = "assets/combo-rtl-entry-insensitive.png"
2116
border = {0, 8, 8, 8}
2117
stretch = TRUE
2118
direction = RTL
2119
}
2120
2121
##############
2122
# LTR button #
2123
##############
2124
2125
image {
2126
function = BOX
2127
state = NORMAL
2128
detail = "button"
2129
file = "assets/combo-ltr-button.png"
2130
border = {0, 8, 8, 8}
2131
stretch = TRUE
2132
direction = LTR
2133
}
2134
2135
image {
2136
function = BOX
2137
state = PRELIGHT
2138
detail = "button"
2139
file = "assets/combo-ltr-button-hover.png"
2140
border = {0, 8, 8, 8}
2141
stretch = TRUE
2142
direction = LTR
2143
}
2144
2145
image {
2146
function = BOX
2147
state = ACTIVE
2148
detail = "button"
2149
file = "assets/combo-ltr-button-active.png"
2150
border = {0, 8, 8, 8}
2151
stretch = TRUE
2152
direction = LTR
2153
}
2154
2155
image {
2156
function = BOX
2157
state = INSENSITIVE
2158
detail = "button"
2159
file = "assets/combo-ltr-button-insensitive.png"
2160
border = {0, 8, 8, 8}
2161
stretch = TRUE
2162
direction = LTR
2163
}
2164
2165
##############
2166
# RTL button #
2167
##############
2168
2169
image {
2170
function = BOX
2171
state = NORMAL
2172
detail = "button"
2173
file = "assets/combo-rtl-button.png"
2174
border = {8, 0, 8, 8}
2175
stretch = TRUE
2176
direction = RTL
2177
}
2178
2179
image {
2180
function = BOX
2181
state = PRELIGHT
2182
detail = "button"
2183
file = "assets/combo-rtl-button-hover.png"
2184
border = {8, 0, 8, 8}
2185
stretch = TRUE
2186
direction = RTL
2187
}
2188
2189
image {
2190
function = BOX
2191
state = ACTIVE
2192
detail = "button"
2193
file = "assets/combo-rtl-button-active.png"
2194
border = {8, 0, 8, 8}
2195
stretch = TRUE
2196
direction = RTL
2197
}
2198
2199
image {
2200
function = BOX
2201
state = INSENSITIVE
2202
detail = "button"
2203
file = "assets/combo-rtl-button-insensitive.png"
2204
border = {8, 0, 8, 8}
2205
stretch = TRUE
2206
direction = RTL
2207
}
2208
2209
}
2210
2211
}
2212
2213
style "combo_button_padding" {
2214
2215
# Since one side of the button is missing, we need to shift the arrow a
2216
# little to the right.
2217
# This is the same thing we've done above but the combo, unlike the combobox,
2218
# uses padding the same way as a button.
2219
GtkButton::inner-border = {4, 7, 4, 4}
2220
2221
}
2222
2223
style "notebook" {
2224
2225
xthickness = 3
2226
ythickness = 3
2227
2228
}
2229
2230
style "notebook_tab_label" {
2231
fg[ACTIVE] = mix(0.75, @fg_color, @bg_color)
2232
2233
font_name = "Medium"
2234
}
2235
2236
style "notebook_viewport" {
2237
bg[NORMAL] = @base_color
2238
}
2239
2240
style "notebook_bg" {
2241
bg[NORMAL] = @base_color
2242
bg[PRELIGHT] = @base_color
2243
bg[INSENSITIVE] = @base_color
2244
}
2245
2246
style "notebook_entry" {
2247
2248
engine "pixmap" {
2249
2250
image {
2251
function = SHADOW
2252
state = ACTIVE
2253
detail = "entry"
2254
file = "assets/notebook-entry-active.png"
2255
border = {6, 6, 6, 6}
2256
stretch = TRUE
2257
}
2258
2259
image {
2260
function = SHADOW
2261
state = INSENSITIVE
2262
detail = "entry"
2263
file = "assets/notebook-entry-insensitive.png"
2264
border = {6, 6, 6, 6}
2265
stretch = TRUE
2266
}
2267
2268
image {
2269
function = SHADOW
2270
detail = "entry"
2271
file = "assets/notebook-entry.png"
2272
border = {6, 6, 6, 6}
2273
stretch = TRUE
2274
}
2275
}
2276
}
2277
2278
style "normal_bg" {
2279
bg[NORMAL] = @bg_color
2280
bg[PRELIGHT] = @bg_color
2281
bg[INSENSITIVE] = @bg_color
2282
}
2283
2284
style "normal_entry" {
2285
2286
engine "pixmap" {
2287
2288
image {
2289
function = SHADOW
2290
state = ACTIVE
2291
detail = "entry"
2292
file = "assets/entry-active.png"
2293
border = {6, 6, 6, 6}
2294
stretch = TRUE
2295
}
2296
2297
image {
2298
function = SHADOW
2299
state = INSENSITIVE
2300
detail = "entry"
2301
file = "assets/entry-insensitive.png"
2302
border = {6, 6, 6, 6}
2303
stretch = TRUE
2304
}
2305
2306
image {
2307
function = SHADOW
2308
detail = "entry"
2309
file = "assets/entry.png"
2310
border = {6, 6, 6, 6}
2311
stretch = TRUE
2312
}
2313
}
2314
}
2315
2316
style "notebook_combo" {
2317
2318
engine "pixmap" {
2319
2320
#############
2321
# LTR entry #
2322
#############
2323
2324
image {
2325
function = SHADOW
2326
state = NORMAL
2327
detail = "entry"
2328
file = "assets/notebook-combo-ltr-entry.png"
2329
border = {8, 8, 8, 8}
2330
stretch = TRUE
2331
direction = LTR
2332
}
2333
2334
image {
2335
function = SHADOW
2336
state = ACTIVE
2337
detail = "entry"
2338
file = "assets/notebook-combo-ltr-entry-active.png"
2339
border = {8, 8, 8, 8}
2340
stretch = TRUE
2341
direction = LTR
2342
}
2343
2344
image {
2345
function = SHADOW
2346
state = INSENSITIVE
2347
detail = "entry"
2348
file = "assets/notebook-combo-ltr-entry-insensitive.png"
2349
border = {8, 8, 8, 8}
2350
stretch = TRUE
2351
direction = LTR
2352
}
2353
2354
#############
2355
# RTL entry #
2356
#############
2357
2358
image {
2359
function = SHADOW
2360
state = NORMAL
2361
detail = "entry"
2362
file = "assets/notebook-combo-rtl-entry.png"
2363
border = {8, 8, 8, 8}
2364
stretch = TRUE
2365
direction = RTL
2366
}
2367
2368
image {
2369
function = SHADOW
2370
state = ACTIVE
2371
detail = "entry"
2372
file = "assets/notebook-combo-rtl-entry-active.png"
2373
border = {8, 8, 8, 8}
2374
stretch = TRUE
2375
direction = RTL
2376
}
2377
2378
image {
2379
function = SHADOW
2380
state = INSENSITIVE
2381
detail = "entry"
2382
file = "assets/notebook-combo-rtl-entry-insensitive.png"
2383
border = {8, 8, 8, 8}
2384
stretch = TRUE
2385
direction = RTL
2386
}
2387
2388
}
2389
2390
}
2391
2392
style "textview" {
2393
bg[NORMAL] = @base_color
2394
}
2395
2396
style "scale_horz" {
2397
2398
engine "pixmap" {
2399
2400
image {
2401
function = BOX
2402
detail = "trough-upper"
2403
file = "assets/scale-horz-trough.png"
2404
border = {4, 4, 0, 0}
2405
stretch = TRUE
2406
}
2407
2408
image {
2409
function = BOX
2410
detail = "trough-lower"
2411
file = "assets/scale-horz-trough-active.png"
2412
border = {4, 4, 0, 0}
2413
stretch = TRUE
2414
}
2415
2416
}
2417
2418
}
2419
2420
style "scale_vert" {
2421
2422
engine "pixmap" {
2423
2424
image {
2425
function = BOX
2426
detail = "trough-upper"
2427
file = "assets/scale-vert-trough.png"
2428
border = {0, 0, 4, 4}
2429
stretch = TRUE
2430
}
2431
2432
image {
2433
function = BOX
2434
detail = "trough-lower"
2435
file = "assets/scale-vert-trough-active.png"
2436
border = {0, 0, 4, 4}
2437
stretch = TRUE
2438
}
2439
2440
}
2441
2442
}
2443
2444
style "progressbar" {
2445
2446
xthickness = 0
2447
ythickness = 0
2448
2449
fg[PRELIGHT] = @selected_fg_color
2450
2451
engine "pixmap" {
2452
2453
image {
2454
function = BOX
2455
detail = "trough"
2456
file = "assets/progressbar-trough.png"
2457
border = {0, 0, 0, 0}
2458
stretch = TRUE
2459
orientation = HORIZONTAL
2460
}
2461
2462
image {
2463
function = BOX
2464
detail = "trough"
2465
file = "assets/progressbar-trough.png"
2466
border = {0, 0, 0, 0}
2467
stretch = TRUE
2468
orientation = VERTICAL
2469
}
2470
2471
}
2472
2473
}
2474
2475
style "treeview_header" {
2476
2477
xthickness = 2
2478
ythickness = 2
2479
2480
fg[NORMAL] = mix(0.75, @fg_color, @base_color)
2481
fg[PRELIGHT] = @fg_color
2482
2483
font_name = "Medium"
2484
2485
GtkButton::inner-border = {4, 4, 0, 2}
2486
2487
engine "pixmap" {
2488
2489
image {
2490
function = BOX
2491
state = NORMAL
2492
file = "assets/treeview-ltr-button.png"
2493
border = {0, 1, 0, 1}
2494
stretch = TRUE
2495
direction = LTR
2496
}
2497
2498
image {
2499
function = BOX
2500
state = PRELIGHT
2501
file = "assets/treeview-ltr-button-hover.png"
2502
border = {0, 1, 0, 1}
2503
stretch = TRUE
2504
direction = LTR
2505
}
2506
2507
image {
2508
function = BOX
2509
state = ACTIVE
2510
file = "assets/treeview-ltr-button-active.png"
2511
border = {0, 1, 0, 1}
2512
stretch = TRUE
2513
direction = LTR
2514
}
2515
2516
image {
2517
function = BOX
2518
state = NORMAL
2519
file = "assets/treeview-rtl-button.png"
2520
border = {1, 0, 0, 1}
2521
stretch = TRUE
2522
direction = RTL
2523
}
2524
2525
image {
2526
function = BOX
2527
state = PRELIGHT
2528
file = "assets/treeview-rtl-button-hover.png"
2529
border = {1, 0, 0, 1}
2530
stretch = TRUE
2531
direction = RTL
2532
}
2533
2534
image {
2535
function = BOX
2536
state = ACTIVE
2537
file = "assets/treeview-rtl-button-active.png"
2538
border = {1, 0, 0, 1}
2539
stretch = TRUE
2540
direction = RTL
2541
}
2542
2543
image {
2544
function = ARROW
2545
state = NORMAL
2546
overlay_file = "assets/pan-up-alt.png"
2547
overlay_stretch = FALSE
2548
arrow_direction = UP
2549
}
2550
2551
image {
2552
function = ARROW
2553
state = PRELIGHT
2554
overlay_file = "assets/pan-up.png"
2555
overlay_stretch = FALSE
2556
arrow_direction = UP
2557
}
2558
2559
image {
2560
function = ARROW
2561
state = ACTIVE
2562
overlay_file = "assets/pan-up.png"
2563
overlay_stretch = FALSE
2564
arrow_direction = UP
2565
}
2566
2567
image {
2568
function = ARROW
2569
state = NORMAL
2570
overlay_file = "assets/pan-down-alt.png"
2571
overlay_stretch = FALSE
2572
arrow_direction = DOWN
2573
}
2574
2575
image {
2576
function = ARROW
2577
state = PRELIGHT
2578
overlay_file = "assets/pan-down.png"
2579
overlay_stretch = FALSE
2580
arrow_direction = DOWN
2581
}
2582
2583
image {
2584
function = ARROW
2585
state = ACTIVE
2586
overlay_file = "assets/pan-down.png"
2587
overlay_stretch = FALSE
2588
arrow_direction = DOWN
2589
}
2590
2591
}
2592
2593
}
2594
2595
style "scrolled_window" {
2596
2597
engine "pixmap" {
2598
image {
2599
function = SHADOW
2600
file = "assets/frame.png"
2601
border = {1, 1, 1, 1}
2602
stretch = TRUE
2603
}
2604
}
2605
2606
}
2607
2608
style "frame" {
2609
2610
engine "pixmap" {
2611
2612
image {
2613
function = SHADOW
2614
shadow = NONE
2615
}
2616
2617
image {
2618
function = SHADOW
2619
file = "assets/frame.png"
2620
border = {1, 1, 1, 1}
2621
stretch = TRUE
2622
}
2623
2624
image {
2625
function = SHADOW_GAP
2626
file = "assets/frame.png"
2627
border = {1, 1, 1, 1}
2628
stretch = TRUE
2629
gap_start_file = "assets/border.png"
2630
gap_end_file = "assets/border.png"
2631
}
2632
2633
}
2634
2635
}
2636
2637
style "tool_button" {
2638
2639
GtkButton::inner-border = {2, 2, 2, 2}
2640
2641
# For the sake of sanity style buttons this way
2642
engine "pixmap" {
2643
2644
image {
2645
function = BOX
2646
state = NORMAL
2647
file = "assets/flat-button.png"
2648
border = {8, 8, 8, 8}
2649
stretch = TRUE
2650
}
2651
2652
image {
2653
function = BOX
2654
state = PRELIGHT
2655
shadow = OUT
2656
file = "assets/flat-button-hover.png"
2657
border = {8, 8, 8, 8}
2658
stretch = TRUE
2659
}
2660
2661
# Don't add hover effect on pressed buttons
2662
image {
2663
function = BOX
2664
state = PRELIGHT
2665
shadow = IN
2666
file = "assets/flat-button-active.png"
2667
border = {8, 8, 8, 8}
2668
stretch = TRUE
2669
}
2670
2671
image {
2672
function = BOX
2673
state = ACTIVE
2674
file = "assets/flat-button-active.png"
2675
border = {8, 8, 8, 8}
2676
stretch = TRUE
2677
}
2678
2679
image {
2680
function = BOX
2681
state = INSENSITIVE
2682
shadow = OUT
2683
file = "assets/flat-button-insensitive.png"
2684
border = {8, 8, 8, 8}
2685
stretch = TRUE
2686
}
2687
2688
image {
2689
function = BOX
2690
state = INSENSITIVE
2691
shadow = IN
2692
file = "assets/button-insensitive.png"
2693
border = {8, 8, 8, 8}
2694
stretch = TRUE
2695
}
2696
}
2697
}
2698
2699
style "toolbar_separator" {
2700
2701
GtkWidget::wide-separators = 1
2702
GtkWidget::separator-width = 1
2703
GtkWidget::separator-height = 1
2704
2705
engine "pixmap" {
2706
image {
2707
function = BOX
2708
file = "assets/border.png"
2709
}
2710
}
2711
2712
}
2713
2714
style "inline_toolbar" {
2715
2716
# GtkToolbar::button-relief = GTK_RELIEF_NORMAL
2717
2718
engine "pixmap" {
2719
image {
2720
function = BOX
2721
file = "assets/frame-inline.png"
2722
border = {1, 1, 0, 1}
2723
stretch = TRUE
2724
}
2725
}
2726
2727
}
2728
2729
style "tooltip" {
2730
2731
xthickness = 8
2732
ythickness = 8
2733
2734
bg[NORMAL] = @base_color
2735
fg[NORMAL] = @fg_color
2736
bg[SELECTED] = @base_color
2737
2738
}
2739
2740
2741
style "disable_text_shadow" {
2742
2743
engine "murrine" {
2744
textstyle = 0
2745
}
2746
2747
}
2748
2749
style "disable_separator" {
2750
2751
xthickness = 0
2752
ythickness = 0
2753
2754
GtkWidget::wide-separators = 1
2755
2756
}
2757
2758
# Default style, containing theme properties and trying to match every widget as
2759
# much as possible, which is not only faster than trying to match every widget
2760
# by its own but also less bug-prune and more consistent. However there is some
2761
# widget specific stuff that needs to be taken care of, which is the point of
2762
# every other style below.
2763
class "GtkWidget" style "default"
2764
2765
######################################
2766
# Override padding, style and colour #
2767
######################################
2768
2769
class "GtkButton" style "button"
2770
class "GtkLinkButton" style "link_button"
2771
class "GtkEntry" style "entry"
2772
class "GtkOldEditable" style "entry"
2773
class "GtkSpinButton" style "spinbutton"
2774
class "GtkNotebook" style "notebook"
2775
class "GtkHScale" style "scale_horz"
2776
class "GtkVScale" style "scale_vert"
2777
class "GtkProgressBar" style "progressbar"
2778
class "GtkScrolledWindow" style "scrolled_window"
2779
class "GtkFrame" style "frame"
2780
class "GtkSeparatorToolItem" style "toolbar_separator"
2781
class "GtkMenuBar" style "menubar"
2782
class "GtkMenu" style "menu"
2783
class "GtkTextView" style "textview"
2784
2785
# Menu and menubar items
2786
widget_class "*<GtkMenuItem>*" style "menu_item"
2787
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
2788
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
2789
2790
# Treeview buttons
2791
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
2792
2793
# Give the file chooser toolbar a border
2794
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
2795
2796
# Fix padding on regular comboboxes
2797
widget_class "*<GtkComboBox>.<GtkButton>" style "combobox"
2798
# And disable separators on them
2799
widget_class "*<GtkComboBox>.<GtkButton>*<GtkSeparator>" style "disable_separator"
2800
widget_class "*<GtkFontButton>*<GtkSeparator>" style "disable_separator"
2801
widget_class "*<GtkFileChooserButton>*<GtkSeparator>" style "disable_separator"
2802
2803
# Join together the ComboBoxEntry entry and button
2804
widget_class "*<GtkComboBoxEntry>*" style "combobox_entry"
2805
2806
# Join the Combo entry and button
2807
widget_class "*<GtkCombo>*" style "combobox_entry"
2808
# Tweak the padding on the button a little bit because it
2809
# uses it a bit differently
2810
widget_class "*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2811
2812
# Alas we cannot do the same for ComboBoxText because there
2813
# isn't a way to apply the style to only the comboboxes that
2814
# have an entry inside
2815
2816
# Tool buttons have different styles
2817
widget_class "*<GtkToolButton>*<GtkButton>" style "tool_button"
2818
widget_class "*<GtkVBox>*<GtkEventBox>.<GtkToolbar>*<GtkButton>" style "tool_button"
2819
2820
# Notebooks
2821
widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
2822
widget_class "*<GtkNotebook>.<GtkHBox>.<GtkLabel>" style "notebook_tab_label"
2823
2824
# Notebooks are white, act accordingly
2825
widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
2826
widget_class "*<GtkNotebook>*<GtkProgressBar>" style "notebook_bg"
2827
widget_class "*<GtkNotebook>*<GtkSpinButton>" style "notebook_bg"
2828
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_bg"
2829
widget_class "*<GtkNotebook>*<GimpRuler>" style "notebook_bg"
2830
widget_class "*<GtkNotebook>.<GimpDisplayShell>*<GtkEventBox>" style "notebook_bg"
2831
widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*" style "notebook_combo"
2832
widget_class "*<GtkNotebook>*<GtkCombo>*" style "notebook_combo"
2833
2834
# However, stuff inside eventboxes inside notebooks is grey
2835
# again, react
2836
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "normal_entry"
2837
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkProgressBar>" style "normal_bg"
2838
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkSpinButton>" style "normal_bg"
2839
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*" style "combobox_entry"
2840
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>*" style "combobox_entry"
2841
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2842
2843
# Button labels
2844
widget_class "*<GtkButton>*<GtkLabel>" style "button_label"
2845
2846
# Checkbutton labels
2847
widget_class "*<GtkCheckButton>.<GtkLabel>" style "checkbutton_label"
2848
2849
# ComboBoxes tend to draw the button label with text[]
2850
# instead of fg[], we need to fix that
2851
widget_class "*<GtkComboBox>*<GtkCellView>" style "combobox_cellview"
2852
2853
# Disable white text shadows
2854
widget_class "*<GtkLabel>" style "disable_text_shadow"
2855
widget_class "*<GtkCellView>" style "disable_text_shadow"
2856
2857
# GTK tooltips
2858
widget "gtk-tooltip*" style "tooltip"
2859