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.69 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 = {4, 4, 4, 4}
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 = {10, 10, 6, 6}
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 = {8, 8, 8, 8}
1360
stretch = TRUE
1361
}
1362
1363
image {
1364
function = SHADOW
1365
state = INSENSITIVE
1366
detail = "entry"
1367
file = "assets/entry-insensitive.png"
1368
border = {8, 8, 8, 8}
1369
stretch = TRUE
1370
}
1371
1372
image {
1373
function = SHADOW
1374
detail = "entry"
1375
file = "assets/entry.png"
1376
border = {8, 8, 8, 8}
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 = 6
2018
ythickness = 6
2019
2020
}
2021
2022
style "combobox" {
2023
2024
xthickness = 6
2025
ythickness = 6
2026
2027
# This affects only the button beside an entry
2028
GtkButton::inner-border = {0, 0, 0, 0}
2029
2030
}
2031
2032
style "combobox_cellview" {
2033
text[NORMAL] = mix(0.75, @fg_color, @bg_color)
2034
# text[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
2035
2036
font_name = "Medium"
2037
}
2038
2039
style "combobox_entry" {
2040
2041
# Since one side of the button is missing, we need to shift the arrow a little to the right
2042
GtkButton::inner-border = {0, 2, 0, 0}
2043
2044
engine "pixmap" {
2045
2046
#############
2047
# LTR entry #
2048
#############
2049
2050
image {
2051
function = SHADOW
2052
state = NORMAL
2053
detail = "entry"
2054
file = "assets/combo-ltr-entry.png"
2055
border = {8, 0, 8, 8}
2056
stretch = TRUE
2057
direction = LTR
2058
}
2059
2060
image {
2061
function = SHADOW
2062
state = ACTIVE
2063
detail = "entry"
2064
file = "assets/combo-ltr-entry-active.png"
2065
border = {8, 0, 8, 8}
2066
stretch = TRUE
2067
direction = LTR
2068
}
2069
2070
image {
2071
function = SHADOW
2072
state = INSENSITIVE
2073
detail = "entry"
2074
file = "assets/combo-ltr-entry-insensitive.png"
2075
border = {8, 0, 8, 8}
2076
stretch = TRUE
2077
direction = LTR
2078
}
2079
2080
#############
2081
# RTL entry #
2082
#############
2083
2084
image {
2085
function = SHADOW
2086
state = NORMAL
2087
detail = "entry"
2088
file = "assets/combo-rtl-entry.png"
2089
border = {0, 8, 8, 8}
2090
stretch = TRUE
2091
direction = RTL
2092
}
2093
2094
image {
2095
function = SHADOW
2096
state = ACTIVE
2097
detail = "entry"
2098
file = "assets/combo-rtl-entry-active.png"
2099
border = {0, 8, 8, 8}
2100
stretch = TRUE
2101
direction = RTL
2102
}
2103
2104
image {
2105
function = SHADOW
2106
state = INSENSITIVE
2107
detail = "entry"
2108
file = "assets/combo-rtl-entry-insensitive.png"
2109
border = {0, 8, 8, 8}
2110
stretch = TRUE
2111
direction = RTL
2112
}
2113
2114
##############
2115
# LTR button #
2116
##############
2117
2118
image {
2119
function = BOX
2120
state = NORMAL
2121
detail = "button"
2122
file = "assets/combo-ltr-button.png"
2123
border = {0, 8, 8, 8}
2124
stretch = TRUE
2125
direction = LTR
2126
}
2127
2128
image {
2129
function = BOX
2130
state = PRELIGHT
2131
detail = "button"
2132
file = "assets/combo-ltr-button-hover.png"
2133
border = {0, 8, 8, 8}
2134
stretch = TRUE
2135
direction = LTR
2136
}
2137
2138
image {
2139
function = BOX
2140
state = ACTIVE
2141
detail = "button"
2142
file = "assets/combo-ltr-button-active.png"
2143
border = {0, 8, 8, 8}
2144
stretch = TRUE
2145
direction = LTR
2146
}
2147
2148
image {
2149
function = BOX
2150
state = INSENSITIVE
2151
detail = "button"
2152
file = "assets/combo-ltr-button-insensitive.png"
2153
border = {0, 8, 8, 8}
2154
stretch = TRUE
2155
direction = LTR
2156
}
2157
2158
##############
2159
# RTL button #
2160
##############
2161
2162
image {
2163
function = BOX
2164
state = NORMAL
2165
detail = "button"
2166
file = "assets/combo-rtl-button.png"
2167
border = {8, 0, 8, 8}
2168
stretch = TRUE
2169
direction = RTL
2170
}
2171
2172
image {
2173
function = BOX
2174
state = PRELIGHT
2175
detail = "button"
2176
file = "assets/combo-rtl-button-hover.png"
2177
border = {8, 0, 8, 8}
2178
stretch = TRUE
2179
direction = RTL
2180
}
2181
2182
image {
2183
function = BOX
2184
state = ACTIVE
2185
detail = "button"
2186
file = "assets/combo-rtl-button-active.png"
2187
border = {8, 0, 8, 8}
2188
stretch = TRUE
2189
direction = RTL
2190
}
2191
2192
image {
2193
function = BOX
2194
state = INSENSITIVE
2195
detail = "button"
2196
file = "assets/combo-rtl-button-insensitive.png"
2197
border = {8, 0, 8, 8}
2198
stretch = TRUE
2199
direction = RTL
2200
}
2201
2202
}
2203
2204
}
2205
2206
style "combo_button_padding" {
2207
2208
# Since one side of the button is missing, we need to shift the arrow a
2209
# little to the right.
2210
# This is the same thing we've done above but the combo, unlike the combobox,
2211
# uses padding the same way as a button.
2212
GtkButton::inner-border = {3, 6, 3, 3}
2213
2214
}
2215
2216
style "notebook" {
2217
2218
xthickness = 3
2219
ythickness = 3
2220
2221
}
2222
2223
style "notebook_tab_label" {
2224
fg[ACTIVE] = mix(0.75, @fg_color, @bg_color)
2225
2226
font_name = "Medium"
2227
}
2228
2229
style "notebook_viewport" {
2230
bg[NORMAL] = @base_color
2231
}
2232
2233
style "notebook_bg" {
2234
bg[NORMAL] = @base_color
2235
bg[PRELIGHT] = @base_color
2236
bg[INSENSITIVE] = @base_color
2237
}
2238
2239
style "notebook_entry" {
2240
2241
engine "pixmap" {
2242
2243
image {
2244
function = SHADOW
2245
state = ACTIVE
2246
detail = "entry"
2247
file = "assets/notebook-entry-active.png"
2248
border = {8, 8, 8, 8}
2249
stretch = TRUE
2250
}
2251
2252
image {
2253
function = SHADOW
2254
state = INSENSITIVE
2255
detail = "entry"
2256
file = "assets/notebook-entry-insensitive.png"
2257
border = {8, 8, 8, 8}
2258
stretch = TRUE
2259
}
2260
2261
image {
2262
function = SHADOW
2263
detail = "entry"
2264
file = "assets/notebook-entry.png"
2265
border = {8, 8, 8, 8}
2266
stretch = TRUE
2267
}
2268
}
2269
}
2270
2271
style "normal_bg" {
2272
bg[NORMAL] = @bg_color
2273
bg[PRELIGHT] = @bg_color
2274
bg[INSENSITIVE] = @bg_color
2275
}
2276
2277
style "normal_entry" {
2278
2279
engine "pixmap" {
2280
2281
image {
2282
function = SHADOW
2283
state = ACTIVE
2284
detail = "entry"
2285
file = "assets/entry-active.png"
2286
border = {8, 8, 8, 8}
2287
stretch = TRUE
2288
}
2289
2290
image {
2291
function = SHADOW
2292
state = INSENSITIVE
2293
detail = "entry"
2294
file = "assets/entry-insensitive.png"
2295
border = {8, 8, 8, 8}
2296
stretch = TRUE
2297
}
2298
2299
image {
2300
function = SHADOW
2301
detail = "entry"
2302
file = "assets/entry.png"
2303
border = {8, 8, 8, 8}
2304
stretch = TRUE
2305
}
2306
}
2307
}
2308
2309
style "notebook_combo" {
2310
2311
engine "pixmap" {
2312
2313
#############
2314
# LTR entry #
2315
#############
2316
2317
image {
2318
function = SHADOW
2319
state = NORMAL
2320
detail = "entry"
2321
file = "assets/notebook-combo-ltr-entry.png"
2322
border = {8, 8, 8, 8}
2323
stretch = TRUE
2324
direction = LTR
2325
}
2326
2327
image {
2328
function = SHADOW
2329
state = ACTIVE
2330
detail = "entry"
2331
file = "assets/notebook-combo-ltr-entry-active.png"
2332
border = {8, 8, 8, 8}
2333
stretch = TRUE
2334
direction = LTR
2335
}
2336
2337
image {
2338
function = SHADOW
2339
state = INSENSITIVE
2340
detail = "entry"
2341
file = "assets/notebook-combo-ltr-entry-insensitive.png"
2342
border = {8, 8, 8, 8}
2343
stretch = TRUE
2344
direction = LTR
2345
}
2346
2347
#############
2348
# RTL entry #
2349
#############
2350
2351
image {
2352
function = SHADOW
2353
state = NORMAL
2354
detail = "entry"
2355
file = "assets/notebook-combo-rtl-entry.png"
2356
border = {8, 8, 8, 8}
2357
stretch = TRUE
2358
direction = RTL
2359
}
2360
2361
image {
2362
function = SHADOW
2363
state = ACTIVE
2364
detail = "entry"
2365
file = "assets/notebook-combo-rtl-entry-active.png"
2366
border = {8, 8, 8, 8}
2367
stretch = TRUE
2368
direction = RTL
2369
}
2370
2371
image {
2372
function = SHADOW
2373
state = INSENSITIVE
2374
detail = "entry"
2375
file = "assets/notebook-combo-rtl-entry-insensitive.png"
2376
border = {8, 8, 8, 8}
2377
stretch = TRUE
2378
direction = RTL
2379
}
2380
2381
}
2382
2383
}
2384
2385
style "textview" {
2386
bg[NORMAL] = @base_color
2387
}
2388
2389
style "scale_horz" {
2390
2391
engine "pixmap" {
2392
2393
image {
2394
function = BOX
2395
detail = "trough-upper"
2396
file = "assets/scale-horz-trough.png"
2397
border = {4, 4, 0, 0}
2398
stretch = TRUE
2399
}
2400
2401
image {
2402
function = BOX
2403
detail = "trough-lower"
2404
file = "assets/scale-horz-trough-active.png"
2405
border = {4, 4, 0, 0}
2406
stretch = TRUE
2407
}
2408
2409
}
2410
2411
}
2412
2413
style "scale_vert" {
2414
2415
engine "pixmap" {
2416
2417
image {
2418
function = BOX
2419
detail = "trough-upper"
2420
file = "assets/scale-vert-trough.png"
2421
border = {0, 0, 4, 4}
2422
stretch = TRUE
2423
}
2424
2425
image {
2426
function = BOX
2427
detail = "trough-lower"
2428
file = "assets/scale-vert-trough-active.png"
2429
border = {0, 0, 4, 4}
2430
stretch = TRUE
2431
}
2432
2433
}
2434
2435
}
2436
2437
style "progressbar" {
2438
2439
xthickness = 0
2440
ythickness = 0
2441
2442
fg[PRELIGHT] = @selected_fg_color
2443
2444
engine "pixmap" {
2445
2446
image {
2447
function = BOX
2448
detail = "trough"
2449
file = "assets/progressbar-trough.png"
2450
border = {0, 0, 0, 0}
2451
stretch = TRUE
2452
orientation = HORIZONTAL
2453
}
2454
2455
image {
2456
function = BOX
2457
detail = "trough"
2458
file = "assets/progressbar-trough.png"
2459
border = {0, 0, 0, 0}
2460
stretch = TRUE
2461
orientation = VERTICAL
2462
}
2463
2464
}
2465
2466
}
2467
2468
style "treeview_header" {
2469
2470
xthickness = 2
2471
ythickness = 2
2472
2473
fg[NORMAL] = mix(0.75, @fg_color, @base_color)
2474
fg[PRELIGHT] = @fg_color
2475
2476
font_name = "Medium"
2477
2478
GtkButton::inner-border = {4, 4, 0, 2}
2479
2480
engine "pixmap" {
2481
2482
image {
2483
function = BOX
2484
state = NORMAL
2485
file = "assets/treeview-ltr-button.png"
2486
border = {0, 1, 0, 1}
2487
stretch = TRUE
2488
direction = LTR
2489
}
2490
2491
image {
2492
function = BOX
2493
state = PRELIGHT
2494
file = "assets/treeview-ltr-button-hover.png"
2495
border = {0, 1, 0, 1}
2496
stretch = TRUE
2497
direction = LTR
2498
}
2499
2500
image {
2501
function = BOX
2502
state = ACTIVE
2503
file = "assets/treeview-ltr-button-active.png"
2504
border = {0, 1, 0, 1}
2505
stretch = TRUE
2506
direction = LTR
2507
}
2508
2509
image {
2510
function = BOX
2511
state = NORMAL
2512
file = "assets/treeview-rtl-button.png"
2513
border = {1, 0, 0, 1}
2514
stretch = TRUE
2515
direction = RTL
2516
}
2517
2518
image {
2519
function = BOX
2520
state = PRELIGHT
2521
file = "assets/treeview-rtl-button-hover.png"
2522
border = {1, 0, 0, 1}
2523
stretch = TRUE
2524
direction = RTL
2525
}
2526
2527
image {
2528
function = BOX
2529
state = ACTIVE
2530
file = "assets/treeview-rtl-button-active.png"
2531
border = {1, 0, 0, 1}
2532
stretch = TRUE
2533
direction = RTL
2534
}
2535
2536
image {
2537
function = ARROW
2538
state = NORMAL
2539
overlay_file = "assets/pan-up-alt.png"
2540
overlay_stretch = FALSE
2541
arrow_direction = UP
2542
}
2543
2544
image {
2545
function = ARROW
2546
state = PRELIGHT
2547
overlay_file = "assets/pan-up.png"
2548
overlay_stretch = FALSE
2549
arrow_direction = UP
2550
}
2551
2552
image {
2553
function = ARROW
2554
state = ACTIVE
2555
overlay_file = "assets/pan-up.png"
2556
overlay_stretch = FALSE
2557
arrow_direction = UP
2558
}
2559
2560
image {
2561
function = ARROW
2562
state = NORMAL
2563
overlay_file = "assets/pan-down-alt.png"
2564
overlay_stretch = FALSE
2565
arrow_direction = DOWN
2566
}
2567
2568
image {
2569
function = ARROW
2570
state = PRELIGHT
2571
overlay_file = "assets/pan-down.png"
2572
overlay_stretch = FALSE
2573
arrow_direction = DOWN
2574
}
2575
2576
image {
2577
function = ARROW
2578
state = ACTIVE
2579
overlay_file = "assets/pan-down.png"
2580
overlay_stretch = FALSE
2581
arrow_direction = DOWN
2582
}
2583
2584
}
2585
2586
}
2587
2588
style "scrolled_window" {
2589
2590
engine "pixmap" {
2591
image {
2592
function = SHADOW
2593
file = "assets/frame.png"
2594
border = {1, 1, 1, 1}
2595
stretch = TRUE
2596
}
2597
}
2598
2599
}
2600
2601
style "frame" {
2602
2603
engine "pixmap" {
2604
2605
image {
2606
function = SHADOW
2607
shadow = NONE
2608
}
2609
2610
image {
2611
function = SHADOW
2612
file = "assets/frame.png"
2613
border = {1, 1, 1, 1}
2614
stretch = TRUE
2615
}
2616
2617
image {
2618
function = SHADOW_GAP
2619
file = "assets/frame.png"
2620
border = {1, 1, 1, 1}
2621
stretch = TRUE
2622
gap_start_file = "assets/border.png"
2623
gap_end_file = "assets/border.png"
2624
}
2625
2626
}
2627
2628
}
2629
2630
style "tool_button" {
2631
2632
GtkButton::inner-border = {2, 2, 2, 2}
2633
2634
# For the sake of sanity style buttons this way
2635
engine "pixmap" {
2636
2637
image {
2638
function = BOX
2639
state = NORMAL
2640
file = "assets/flat-button.png"
2641
border = {8, 8, 8, 8}
2642
stretch = TRUE
2643
}
2644
2645
image {
2646
function = BOX
2647
state = PRELIGHT
2648
shadow = OUT
2649
file = "assets/flat-button-hover.png"
2650
border = {8, 8, 8, 8}
2651
stretch = TRUE
2652
}
2653
2654
# Don't add hover effect on pressed buttons
2655
image {
2656
function = BOX
2657
state = PRELIGHT
2658
shadow = IN
2659
file = "assets/flat-button-active.png"
2660
border = {8, 8, 8, 8}
2661
stretch = TRUE
2662
}
2663
2664
image {
2665
function = BOX
2666
state = ACTIVE
2667
file = "assets/flat-button-active.png"
2668
border = {8, 8, 8, 8}
2669
stretch = TRUE
2670
}
2671
2672
image {
2673
function = BOX
2674
state = INSENSITIVE
2675
shadow = OUT
2676
file = "assets/flat-button-insensitive.png"
2677
border = {8, 8, 8, 8}
2678
stretch = TRUE
2679
}
2680
2681
image {
2682
function = BOX
2683
state = INSENSITIVE
2684
shadow = IN
2685
file = "assets/button-insensitive.png"
2686
border = {8, 8, 8, 8}
2687
stretch = TRUE
2688
}
2689
}
2690
}
2691
2692
style "toolbar_separator" {
2693
2694
GtkWidget::wide-separators = 1
2695
GtkWidget::separator-width = 1
2696
GtkWidget::separator-height = 1
2697
2698
engine "pixmap" {
2699
image {
2700
function = BOX
2701
file = "assets/border.png"
2702
}
2703
}
2704
2705
}
2706
2707
style "inline_toolbar" {
2708
2709
# GtkToolbar::button-relief = GTK_RELIEF_NORMAL
2710
2711
engine "pixmap" {
2712
image {
2713
function = BOX
2714
file = "assets/frame-inline.png"
2715
border = {1, 1, 0, 1}
2716
stretch = TRUE
2717
}
2718
}
2719
2720
}
2721
2722
style "tooltip" {
2723
2724
xthickness = 8
2725
ythickness = 8
2726
2727
bg[NORMAL] = @base_color
2728
fg[NORMAL] = @fg_color
2729
bg[SELECTED] = @base_color
2730
2731
}
2732
2733
2734
style "disable_text_shadow" {
2735
2736
engine "murrine" {
2737
textstyle = 0
2738
}
2739
2740
}
2741
2742
style "disable_separator" {
2743
2744
xthickness = 0
2745
ythickness = 0
2746
2747
GtkWidget::wide-separators = 1
2748
2749
}
2750
2751
# Default style, containing theme properties and trying to match every widget as
2752
# much as possible, which is not only faster than trying to match every widget
2753
# by its own but also less bug-prune and more consistent. However there is some
2754
# widget specific stuff that needs to be taken care of, which is the point of
2755
# every other style below.
2756
class "GtkWidget" style "default"
2757
2758
######################################
2759
# Override padding, style and colour #
2760
######################################
2761
2762
class "GtkButton" style "button"
2763
class "GtkLinkButton" style "link_button"
2764
class "GtkEntry" style "entry"
2765
class "GtkOldEditable" style "entry"
2766
class "GtkNotebook" style "notebook"
2767
class "GtkHScale" style "scale_horz"
2768
class "GtkVScale" style "scale_vert"
2769
class "GtkProgressBar" style "progressbar"
2770
class "GtkScrolledWindow" style "scrolled_window"
2771
class "GtkFrame" style "frame"
2772
class "GtkSeparatorToolItem" style "toolbar_separator"
2773
class "GtkMenuBar" style "menubar"
2774
class "GtkMenu" style "menu"
2775
class "GtkTextView" style "textview"
2776
2777
# Menu and menubar items
2778
widget_class "*<GtkMenuItem>*" style "menu_item"
2779
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
2780
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
2781
2782
# Treeview buttons
2783
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
2784
2785
# Give the file chooser toolbar a border
2786
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
2787
2788
# Fix padding on regular comboboxes
2789
widget_class "*<GtkComboBox>.<GtkButton>" style "combobox"
2790
# And disable separators on them
2791
widget_class "*<GtkComboBox>.<GtkButton>*<GtkSeparator>" style "disable_separator"
2792
widget_class "*<GtkFontButton>*<GtkSeparator>" style "disable_separator"
2793
widget_class "*<GtkFileChooserButton>*<GtkSeparator>" style "disable_separator"
2794
2795
# Join together the ComboBoxEntry entry and button
2796
widget_class "*<GtkComboBoxEntry>*" style "combobox_entry"
2797
2798
# Join the Combo entry and button
2799
widget_class "*<GtkCombo>*" style "combobox_entry"
2800
# Tweak the padding on the button a little bit because it
2801
# uses it a bit differently
2802
widget_class "*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2803
2804
# Alas we cannot do the same for ComboBoxText because there
2805
# isn't a way to apply the style to only the comboboxes that
2806
# have an entry inside
2807
2808
# Tool buttons have different styles
2809
widget_class "*<GtkToolButton>*<GtkButton>" style "tool_button"
2810
widget_class "*<GtkVBox>*<GtkEventBox>.<GtkToolbar>*<GtkButton>" style "tool_button"
2811
2812
# Notebooks
2813
widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
2814
widget_class "*<GtkNotebook>.<GtkHBox>.<GtkLabel>" style "notebook_tab_label"
2815
2816
# Notebooks are white, act accordingly
2817
widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
2818
widget_class "*<GtkNotebook>*<GtkProgressBar>" style "notebook_bg"
2819
widget_class "*<GtkNotebook>*<GtkSpinButton>" style "notebook_bg"
2820
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_bg"
2821
widget_class "*<GtkNotebook>*<GimpRuler>" style "notebook_bg"
2822
widget_class "*<GtkNotebook>.<GimpDisplayShell>*<GtkEventBox>" style "notebook_bg"
2823
widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*" style "notebook_combo"
2824
widget_class "*<GtkNotebook>*<GtkCombo>*" style "notebook_combo"
2825
2826
# However, stuff inside eventboxes inside notebooks is grey
2827
# again, react
2828
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "normal_entry"
2829
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkProgressBar>" style "normal_bg"
2830
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkSpinButton>" style "normal_bg"
2831
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*" style "combobox_entry"
2832
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>*" style "combobox_entry"
2833
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2834
2835
# Button labels
2836
widget_class "*<GtkButton>*<GtkLabel>" style "button_label"
2837
2838
# Checkbutton labels
2839
widget_class "*<GtkCheckButton>.<GtkLabel>" style "checkbutton_label"
2840
2841
# ComboBoxes tend to draw the button label with text[]
2842
# instead of fg[], we need to fix that
2843
widget_class "*<GtkComboBox>*<GtkCellView>" style "combobox_cellview"
2844
2845
# Disable white text shadows
2846
widget_class "*<GtkLabel>" style "disable_text_shadow"
2847
widget_class "*<GtkCellView>" style "disable_text_shadow"
2848
2849
# GTK tooltips
2850
widget "gtk-tooltip*" style "tooltip"
2851