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