A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 main.rc

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