main.rc
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
fg[NORMAL] = mix(0.75, @selected_fg_color, @headerbar_color)
1654
bg[NORMAL] = @headerbar_color
1655
fg[PRELIGHT] = @selected_fg_color
1656
# Needed to fix Firefox's menubar text
1657
bg[SELECTED] = mix(0.15, @selected_fg_color, @headerbar_color)
1658
fg[SELECTED] = @selected_fg_color
1659
1660
}
1661
1662
style "menubar_item" {
1663
1664
xthickness = 3
1665
ythickness = 4
1666
1667
fg[NORMAL] = mix(0.75, @selected_fg_color, @headerbar_color)
1668
bg[PRELIGHT] = mix(0.15, @selected_fg_color, @headerbar_color)
1669
fg[PRELIGHT] = @selected_fg_color
1670
1671
}
1672
1673
style "menu" {
1674
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
1685
style "menu_item" {
1686
1687
xthickness = 4
1688
ythickness = 4
1689
1690
bg[PRELIGHT] = mix(0.15, @fg_color, @base_color)
1691
fg[PRELIGHT] = @fg_color
1692
# Chromium uses this setting
1693
bg[SELECTED] = mix(0.15, @fg_color, @base_color)
1694
text[SELECTED] = @fg_color
1695
1696
# Some widgets use text, we need to handle that
1697
text[NORMAL] = @fg_color
1698
text[PRELIGHT] = @fg_color
1699
1700
# Unfortunately we can't tell regular and menu checks/radios apart
1701
# Without the heirarchy
1702
engine "pixmap" {
1703
1704
#################
1705
# Check Buttons #
1706
#################
1707
1708
image {
1709
function = CHECK
1710
state = NORMAL
1711
shadow = OUT
1712
overlay_file = "assets/menu-checkbox.png"
1713
overlay_stretch = FALSE
1714
}
1715
1716
image {
1717
function = CHECK
1718
state = PRELIGHT
1719
shadow = OUT
1720
overlay_file = "assets/menu-checkbox.png"
1721
overlay_stretch = FALSE
1722
}
1723
1724
image {
1725
function = CHECK
1726
state = ACTIVE
1727
shadow = OUT
1728
overlay_file = "assets/menu-checkbox.png"
1729
overlay_stretch = FALSE
1730
}
1731
1732
image {
1733
function = CHECK
1734
state = INSENSITIVE
1735
shadow = OUT
1736
overlay_file = "assets/menu-checkbox-insensitive.png"
1737
overlay_stretch = FALSE
1738
}
1739
1740
image {
1741
function = CHECK
1742
state = NORMAL
1743
shadow = IN
1744
overlay_file = "assets/menu-checkbox-checked.png"
1745
overlay_stretch = FALSE
1746
}
1747
1748
image {
1749
function = CHECK
1750
state = PRELIGHT
1751
shadow = IN
1752
overlay_file = "assets/menu-checkbox-checked.png"
1753
overlay_stretch = FALSE
1754
}
1755
1756
image {
1757
function = CHECK
1758
state = ACTIVE
1759
shadow = IN
1760
overlay_file = "assets/menu-checkbox-checked.png"
1761
overlay_stretch = FALSE
1762
}
1763
1764
image {
1765
function = CHECK
1766
state = INSENSITIVE
1767
shadow = IN
1768
overlay_file = "assets/menu-checkbox-checked-insensitive.png"
1769
overlay_stretch = FALSE
1770
}
1771
1772
image {
1773
function = CHECK
1774
state = NORMAL
1775
shadow = ETCHED_IN
1776
overlay_file = "assets/menu-checkbox-mixed.png"
1777
overlay_stretch = FALSE
1778
}
1779
1780
image {
1781
function = CHECK
1782
state = PRELIGHT
1783
shadow = ETCHED_IN
1784
overlay_file = "assets/menu-checkbox-mixed.png"
1785
overlay_stretch = FALSE
1786
}
1787
1788
image {
1789
function = CHECK
1790
state = ACTIVE
1791
shadow = ETCHED_IN
1792
overlay_file = "assets/menu-checkbox-mixed.png"
1793
overlay_stretch = FALSE
1794
}
1795
1796
image {
1797
function = CHECK
1798
state = INSENSITIVE
1799
shadow = ETCHED_IN
1800
overlay_file = "assets/menu-checkbox-mixed-insensitive.png"
1801
overlay_stretch = FALSE
1802
}
1803
1804
#################
1805
# Radio Buttons #
1806
#################
1807
1808
image {
1809
function = OPTION
1810
state = NORMAL
1811
shadow = OUT
1812
overlay_file = "assets/menu-radio.png"
1813
overlay_stretch = FALSE
1814
}
1815
1816
image {
1817
function = OPTION
1818
state = PRELIGHT
1819
shadow = OUT
1820
overlay_file = "assets/menu-radio.png"
1821
overlay_stretch = FALSE
1822
}
1823
1824
image {
1825
function = OPTION
1826
state = ACTIVE
1827
shadow = OUT
1828
overlay_file = "assets/menu-radio.png"
1829
overlay_stretch = FALSE
1830
}
1831
1832
image {
1833
function = OPTION
1834
state = INSENSITIVE
1835
shadow = OUT
1836
overlay_file = "assets/menu-radio-insensitive.png"
1837
overlay_stretch = FALSE
1838
}
1839
1840
image {
1841
function = OPTION
1842
state = NORMAL
1843
shadow = IN
1844
overlay_file = "assets/menu-radio-checked.png"
1845
overlay_stretch = FALSE
1846
}
1847
1848
image {
1849
function = OPTION
1850
state = PRELIGHT
1851
shadow = IN
1852
overlay_file = "assets/menu-radio-checked.png"
1853
overlay_stretch = FALSE
1854
}
1855
1856
image {
1857
function = OPTION
1858
state = ACTIVE
1859
shadow = IN
1860
overlay_file = "assets/menu-radio-checked.png"
1861
overlay_stretch = FALSE
1862
}
1863
1864
image {
1865
function = OPTION
1866
state = INSENSITIVE
1867
shadow = IN
1868
overlay_file = "assets/menu-radio-checked-insensitive.png"
1869
overlay_stretch = FALSE
1870
}
1871
1872
image {
1873
function = OPTION
1874
state = NORMAL
1875
shadow = ETCHED_IN
1876
overlay_file = "assets/menu-radio-mixed.png"
1877
overlay_stretch = FALSE
1878
}
1879
1880
image {
1881
function = OPTION
1882
state = PRELIGHT
1883
shadow = ETCHED_IN
1884
overlay_file = "assets/menu-radio-mixed.png"
1885
overlay_stretch = FALSE
1886
}
1887
1888
image {
1889
function = OPTION
1890
state = ACTIVE
1891
shadow = ETCHED_IN
1892
overlay_file = "assets/menu-radio-mixed.png"
1893
overlay_stretch = FALSE
1894
}
1895
1896
image {
1897
function = OPTION
1898
state = INSENSITIVE
1899
shadow = ETCHED_IN
1900
overlay_file = "assets/menu-radio-mixed-insensitive.png"
1901
overlay_stretch = FALSE
1902
}
1903
1904
1905
1906
}
1907
1908
}
1909
1910
style "separator_menu_item" {
1911
1912
xthickness = 0
1913
ythickness = 2
1914
1915
engine "pixmap" {
1916
image {
1917
function = BOX
1918
file = "assets/border.png"
1919
border = {0, 0, 0, 1}
1920
}
1921
}
1922
1923
}
1924
1925
style "button_label" {
1926
fg[NORMAL] = mix(0.75, @fg_color, @bg_color)
1927
# fg[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
1928
1929
font_name = "Medium"
1930
}
1931
1932
style "checkbutton_label" {
1933
fg[NORMAL] = @fg_color
1934
# fg[INSENSITIVE] = mix(0.4, @fg_color, @bg_color)
1935
1936
font_name = "Regular"
1937
}
1938
1939
style "button" {
1940
1941
xthickness = 4
1942
ythickness = 4
1943
1944
# For the sake of sanity style buttons this way
1945
engine "pixmap" {
1946
1947
###########
1948
# Buttons #
1949
###########
1950
1951
image {
1952
function = BOX
1953
state = NORMAL
1954
file = "assets/button.png"
1955
border = {8, 8, 8, 8}
1956
stretch = TRUE
1957
}
1958
1959
image {
1960
function = BOX
1961
state = PRELIGHT
1962
shadow = OUT
1963
file = "assets/button-hover.png"
1964
border = {8, 8, 8, 8}
1965
stretch = TRUE
1966
}
1967
1968
# Don't add hover effect on pressed buttons
1969
image {
1970
function = BOX
1971
state = PRELIGHT
1972
shadow = IN
1973
file = "assets/button-active.png"
1974
border = {8, 8, 8, 8}
1975
stretch = TRUE
1976
}
1977
1978
image {
1979
function = BOX
1980
state = ACTIVE
1981
file = "assets/button-active.png"
1982
border = {8, 8, 8, 8}
1983
stretch = TRUE
1984
}
1985
1986
image {
1987
function = BOX
1988
state = INSENSITIVE
1989
file = "assets/button-insensitive.png"
1990
border = {8, 8, 8, 8}
1991
stretch = TRUE
1992
}
1993
}
1994
}
1995
1996
style "link_button" {
1997
1998
# Disable the button effect, leave just the link
1999
engine "pixmap" {
2000
image {
2001
function = BOX
2002
}
2003
}
2004
2005
}
2006
2007
style "entry" {
2008
2009
# We set this same as the border of the border of the entry
2010
# This way there's no overlap
2011
xthickness = 4
2012
ythickness = 4
2013
2014
}
2015
2016
style "spinbutton" {
2017
2018
xthickness = 6
2019
ythickness = 4
2020
2021
}
2022
2023
style "combobox" {
2024
2025
xthickness = 6
2026
ythickness = 6
2027
2028
# This affects only the button beside an entry
2029
GtkButton::inner-border = {0, 0, 0, 0}
2030
2031
}
2032
2033
style "combobox_cellview" {
2034
text[NORMAL] = mix(0.75, @fg_color, @bg_color)
2035
# text[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
2036
2037
font_name = "Medium"
2038
}
2039
2040
style "combobox_entry" {
2041
2042
# Since one side of the button is missing, we need to shift the arrow a little to the right
2043
GtkButton::inner-border = {0, 3, 0, 0}
2044
2045
engine "pixmap" {
2046
2047
#############
2048
# LTR entry #
2049
#############
2050
2051
image {
2052
function = SHADOW
2053
state = NORMAL
2054
detail = "entry"
2055
file = "assets/combo-entry-ltr-entry.png"
2056
border = {8, 0, 8, 8}
2057
stretch = TRUE
2058
direction = LTR
2059
}
2060
2061
image {
2062
function = SHADOW
2063
state = ACTIVE
2064
detail = "entry"
2065
file = "assets/combo-entry-ltr-entry-active.png"
2066
border = {8, 0, 8, 8}
2067
stretch = TRUE
2068
direction = LTR
2069
}
2070
2071
image {
2072
function = SHADOW
2073
state = INSENSITIVE
2074
detail = "entry"
2075
file = "assets/combo-entry-ltr-entry-insensitive.png"
2076
border = {8, 0, 8, 8}
2077
stretch = TRUE
2078
direction = LTR
2079
}
2080
2081
#############
2082
# RTL entry #
2083
#############
2084
2085
image {
2086
function = SHADOW
2087
state = NORMAL
2088
detail = "entry"
2089
file = "assets/combo-entry-rtl-entry.png"
2090
border = {0, 8, 8, 8}
2091
stretch = TRUE
2092
direction = RTL
2093
}
2094
2095
image {
2096
function = SHADOW
2097
state = ACTIVE
2098
detail = "entry"
2099
file = "assets/combo-entry-rtl-entry-active.png"
2100
border = {0, 8, 8, 8}
2101
stretch = TRUE
2102
direction = RTL
2103
}
2104
2105
image {
2106
function = SHADOW
2107
state = INSENSITIVE
2108
detail = "entry"
2109
file = "assets/combo-entry-rtl-entry-insensitive.png"
2110
border = {0, 8, 8, 8}
2111
stretch = TRUE
2112
direction = RTL
2113
}
2114
2115
##############
2116
# LTR button #
2117
##############
2118
2119
image {
2120
function = BOX
2121
state = NORMAL
2122
detail = "button"
2123
file = "assets/combo-entry-ltr-button.png"
2124
border = {0, 8, 8, 8}
2125
stretch = TRUE
2126
direction = LTR
2127
}
2128
2129
image {
2130
function = BOX
2131
state = PRELIGHT
2132
detail = "button"
2133
file = "assets/combo-entry-ltr-button-hover.png"
2134
border = {0, 8, 8, 8}
2135
stretch = TRUE
2136
direction = LTR
2137
}
2138
2139
image {
2140
function = BOX
2141
state = ACTIVE
2142
detail = "button"
2143
file = "assets/combo-entry-ltr-button-active.png"
2144
border = {0, 8, 8, 8}
2145
stretch = TRUE
2146
direction = LTR
2147
}
2148
2149
image {
2150
function = BOX
2151
state = INSENSITIVE
2152
detail = "button"
2153
file = "assets/combo-entry-ltr-button-insensitive.png"
2154
border = {0, 8, 8, 8}
2155
stretch = TRUE
2156
direction = LTR
2157
}
2158
2159
##############
2160
# RTL button #
2161
##############
2162
2163
image {
2164
function = BOX
2165
state = NORMAL
2166
detail = "button"
2167
file = "assets/combo-entry-rtl-button.png"
2168
border = {8, 0, 8, 8}
2169
stretch = TRUE
2170
direction = RTL
2171
}
2172
2173
image {
2174
function = BOX
2175
state = PRELIGHT
2176
detail = "button"
2177
file = "assets/combo-entry-rtl-button-hover.png"
2178
border = {8, 0, 8, 8}
2179
stretch = TRUE
2180
direction = RTL
2181
}
2182
2183
image {
2184
function = BOX
2185
state = ACTIVE
2186
detail = "button"
2187
file = "assets/combo-entry-rtl-button-active.png"
2188
border = {8, 0, 8, 8}
2189
stretch = TRUE
2190
direction = RTL
2191
}
2192
2193
image {
2194
function = BOX
2195
state = INSENSITIVE
2196
detail = "button"
2197
file = "assets/combo-entry-rtl-button-insensitive.png"
2198
border = {8, 0, 8, 8}
2199
stretch = TRUE
2200
direction = RTL
2201
}
2202
2203
}
2204
2205
}
2206
2207
style "combo_button_padding" {
2208
2209
# Since one side of the button is missing, we need to shift the arrow a little to the right
2210
# This is the same thing we've done above but the combo, unlike the combobox,
2211
# uses padding the same way as a button
2212
GtkButton::inner-border = {4, 7, 4, 4}
2213
2214
}
2215
2216
style "notebook" {
2217
2218
xthickness = 3
2219
ythickness = 3
2220
2221
}
2222
2223
style "notebook_tab_label" {
2224
fg[ACTIVE] = mix(0.75, @fg_color, @bg_color)
2225
2226
font_name = "Medium"
2227
}
2228
2229
style "notebook_viewport" {
2230
bg[NORMAL] = @base_color
2231
}
2232
2233
style "notebook_bg" {
2234
bg[NORMAL] = @base_color
2235
bg[PRELIGHT] = @base_color
2236
bg[INSENSITIVE] = @base_color
2237
}
2238
2239
style "notebook_entry" {
2240
2241
engine "pixmap" {
2242
2243
image {
2244
function = SHADOW
2245
state = ACTIVE
2246
detail = "entry"
2247
file = "assets/notebook-entry-active.png"
2248
border = {6, 6, 6, 6}
2249
stretch = TRUE
2250
}
2251
2252
image {
2253
function = SHADOW
2254
state = INSENSITIVE
2255
detail = "entry"
2256
file = "assets/notebook-entry-insensitive.png"
2257
border = {6, 6, 6, 6}
2258
stretch = TRUE
2259
}
2260
2261
image {
2262
function = SHADOW
2263
detail = "entry"
2264
file = "assets/notebook-entry.png"
2265
border = {6, 6, 6, 6}
2266
stretch = TRUE
2267
}
2268
}
2269
}
2270
2271
style "normal_bg" {
2272
bg[NORMAL] = @bg_color
2273
bg[PRELIGHT] = @bg_color
2274
bg[INSENSITIVE] = @bg_color
2275
}
2276
2277
style "normal_entry" {
2278
2279
engine "pixmap" {
2280
2281
image {
2282
function = SHADOW
2283
state = ACTIVE
2284
detail = "entry"
2285
file = "assets/entry-active.png"
2286
border = {6, 6, 6, 6}
2287
stretch = TRUE
2288
}
2289
2290
image {
2291
function = SHADOW
2292
state = INSENSITIVE
2293
detail = "entry"
2294
file = "assets/entry-insensitive.png"
2295
border = {6, 6, 6, 6}
2296
stretch = TRUE
2297
}
2298
2299
image {
2300
function = SHADOW
2301
detail = "entry"
2302
file = "assets/entry.png"
2303
border = {6, 6, 6, 6}
2304
stretch = TRUE
2305
}
2306
}
2307
}
2308
2309
style "notebook_combo" {
2310
2311
engine "pixmap" {
2312
2313
#############
2314
# LTR entry #
2315
#############
2316
2317
image {
2318
function = SHADOW
2319
state = NORMAL
2320
detail = "entry"
2321
file = "assets/notebook-combo-entry-ltr-entry.png"
2322
border = {8, 8, 8, 8}
2323
stretch = TRUE
2324
direction = LTR
2325
}
2326
2327
image {
2328
function = SHADOW
2329
state = ACTIVE
2330
detail = "entry"
2331
file = "assets/notebook-combo-entry-ltr-entry-active.png"
2332
border = {8, 8, 8, 8}
2333
stretch = TRUE
2334
direction = LTR
2335
}
2336
2337
image {
2338
function = SHADOW
2339
state = INSENSITIVE
2340
detail = "entry"
2341
file = "assets/notebook-combo-entry-ltr-entry-insensitive.png"
2342
border = {8, 8, 8, 8}
2343
stretch = TRUE
2344
direction = LTR
2345
}
2346
2347
#############
2348
# RTL entry #
2349
#############
2350
2351
image {
2352
function = SHADOW
2353
state = NORMAL
2354
detail = "entry"
2355
file = "assets/notebook-combo-entry-rtl-entry.png"
2356
border = {8, 8, 8, 8}
2357
stretch = TRUE
2358
direction = RTL
2359
}
2360
2361
image {
2362
function = SHADOW
2363
state = ACTIVE
2364
detail = "entry"
2365
file = "assets/notebook-combo-entry-rtl-entry-active.png"
2366
border = {8, 8, 8, 8}
2367
stretch = TRUE
2368
direction = RTL
2369
}
2370
2371
image {
2372
function = SHADOW
2373
state = INSENSITIVE
2374
detail = "entry"
2375
file = "assets/notebook-combo-entry-rtl-entry-insensitive.png"
2376
border = {8, 8, 8, 8}
2377
stretch = TRUE
2378
direction = RTL
2379
}
2380
2381
}
2382
2383
}
2384
2385
style "textview" {
2386
bg[NORMAL] = @base_color
2387
}
2388
2389
style "scale_horz" {
2390
2391
engine "pixmap" {
2392
2393
image {
2394
function = BOX
2395
detail = "trough-upper"
2396
file = "assets/scale-horz-trough.png"
2397
border = {4, 4, 0, 0}
2398
stretch = TRUE
2399
}
2400
2401
image {
2402
function = BOX
2403
detail = "trough-lower"
2404
file = "assets/scale-horz-trough-active.png"
2405
border = {4, 4, 0, 0}
2406
stretch = TRUE
2407
}
2408
2409
}
2410
2411
}
2412
2413
style "scale_vert" {
2414
2415
engine "pixmap" {
2416
2417
image {
2418
function = BOX
2419
detail = "trough-upper"
2420
file = "assets/scale-vert-trough.png"
2421
border = {0, 0, 4, 4}
2422
stretch = TRUE
2423
}
2424
2425
image {
2426
function = BOX
2427
detail = "trough-lower"
2428
file = "assets/scale-vert-trough-active.png"
2429
border = {0, 0, 4, 4}
2430
stretch = TRUE
2431
}
2432
2433
}
2434
2435
}
2436
2437
style "progressbar" {
2438
2439
xthickness = 0
2440
ythickness = 0
2441
2442
fg[PRELIGHT] = @selected_fg_color
2443
2444
engine "pixmap" {
2445
2446
image {
2447
function = BOX
2448
detail = "trough"
2449
file = "assets/progressbar-trough.png"
2450
border = {0, 0, 0, 0}
2451
stretch = TRUE
2452
orientation = HORIZONTAL
2453
}
2454
2455
image {
2456
function = BOX
2457
detail = "trough"
2458
file = "assets/progressbar-trough.png"
2459
border = {0, 0, 0, 0}
2460
stretch = TRUE
2461
orientation = VERTICAL
2462
}
2463
2464
}
2465
2466
}
2467
2468
style "treeview_header" {
2469
2470
xthickness = 2
2471
ythickness = 2
2472
2473
fg[NORMAL] = mix(0.75, @fg_color, @base_color)
2474
fg[PRELIGHT] = @fg_color
2475
2476
font_name = "Medium"
2477
2478
GtkButton::inner-border = {4, 4, 0, 2}
2479
2480
engine "pixmap" {
2481
2482
image {
2483
function = BOX
2484
state = NORMAL
2485
file = "assets/treeview-separator-ltr.png"
2486
border = {0, 1, 0, 1}
2487
stretch = TRUE
2488
direction = LTR
2489
}
2490
2491
image {
2492
function = BOX
2493
state = PRELIGHT
2494
file = "assets/treeview-separator-hover-ltr.png"
2495
border = {0, 1, 0, 1}
2496
stretch = TRUE
2497
direction = LTR
2498
}
2499
2500
image {
2501
function = BOX
2502
state = ACTIVE
2503
file = "assets/treeview-separator-active-ltr.png"
2504
border = {0, 1, 0, 1}
2505
stretch = TRUE
2506
direction = LTR
2507
}
2508
2509
image {
2510
function = BOX
2511
state = NORMAL
2512
file = "assets/treeview-separator-rtl.png"
2513
border = {1, 0, 0, 1}
2514
stretch = TRUE
2515
direction = RTL
2516
}
2517
2518
image {
2519
function = BOX
2520
state = PRELIGHT
2521
file = "assets/treeview-separator-hover-rtl.png"
2522
border = {1, 0, 0, 1}
2523
stretch = TRUE
2524
direction = RTL
2525
}
2526
2527
image {
2528
function = BOX
2529
state = ACTIVE
2530
file = "assets/treeview-separator-active-rtl.png"
2531
border = {1, 0, 0, 1}
2532
stretch = TRUE
2533
direction = RTL
2534
}
2535
2536
image {
2537
function = ARROW
2538
state = NORMAL
2539
overlay_file = "assets/pan-up-alt.png"
2540
overlay_stretch = FALSE
2541
arrow_direction = UP
2542
}
2543
2544
image {
2545
function = ARROW
2546
state = PRELIGHT
2547
overlay_file = "assets/pan-up.png"
2548
overlay_stretch = FALSE
2549
arrow_direction = UP
2550
}
2551
2552
image {
2553
function = ARROW
2554
state = ACTIVE
2555
overlay_file = "assets/pan-up.png"
2556
overlay_stretch = FALSE
2557
arrow_direction = UP
2558
}
2559
2560
image {
2561
function = ARROW
2562
state = NORMAL
2563
overlay_file = "assets/pan-down-alt.png"
2564
overlay_stretch = FALSE
2565
arrow_direction = DOWN
2566
}
2567
2568
image {
2569
function = ARROW
2570
state = PRELIGHT
2571
overlay_file = "assets/pan-down.png"
2572
overlay_stretch = FALSE
2573
arrow_direction = DOWN
2574
}
2575
2576
image {
2577
function = ARROW
2578
state = ACTIVE
2579
overlay_file = "assets/pan-down.png"
2580
overlay_stretch = FALSE
2581
arrow_direction = DOWN
2582
}
2583
2584
}
2585
2586
}
2587
2588
style "scrolled_window" {
2589
2590
engine "pixmap" {
2591
image {
2592
function = SHADOW
2593
file = "assets/frame.png"
2594
border = {1, 1, 1, 1}
2595
stretch = TRUE
2596
}
2597
}
2598
2599
}
2600
2601
style "frame" {
2602
2603
engine "pixmap" {
2604
2605
image {
2606
function = SHADOW
2607
file = "assets/frame.png"
2608
border = {1, 1, 1, 1}
2609
stretch = TRUE
2610
}
2611
2612
image {
2613
function = SHADOW_GAP
2614
file = "assets/frame.png"
2615
border = {1, 1, 1, 1}
2616
stretch = TRUE
2617
gap_start_file = "assets/border.png"
2618
gap_end_file = "assets/border.png"
2619
}
2620
2621
}
2622
2623
}
2624
2625
style "tool_button" {
2626
2627
GtkButton::inner-border = {2, 2, 2, 2}
2628
2629
# For the sake of sanity style buttons this way
2630
engine "pixmap" {
2631
2632
image {
2633
function = BOX
2634
state = NORMAL
2635
file = "assets/button-flat.png"
2636
border = {8, 8, 8, 8}
2637
stretch = TRUE
2638
}
2639
2640
image {
2641
function = BOX
2642
state = PRELIGHT
2643
shadow = OUT
2644
file = "assets/button-flat-hover.png"
2645
border = {8, 8, 8, 8}
2646
stretch = TRUE
2647
}
2648
2649
# Don't add hover effect on pressed buttons
2650
image {
2651
function = BOX
2652
state = PRELIGHT
2653
shadow = IN
2654
file = "assets/button-flat-active.png"
2655
border = {8, 8, 8, 8}
2656
stretch = TRUE
2657
}
2658
2659
image {
2660
function = BOX
2661
state = ACTIVE
2662
file = "assets/button-flat-active.png"
2663
border = {8, 8, 8, 8}
2664
stretch = TRUE
2665
}
2666
2667
image {
2668
function = BOX
2669
state = INSENSITIVE
2670
shadow = OUT
2671
file = "assets/button-flat-insensitive.png"
2672
border = {8, 8, 8, 8}
2673
stretch = TRUE
2674
}
2675
2676
image {
2677
function = BOX
2678
state = INSENSITIVE
2679
shadow = IN
2680
file = "assets/button-insensitive.png"
2681
border = {8, 8, 8, 8}
2682
stretch = TRUE
2683
}
2684
}
2685
}
2686
2687
style "toolbar_separator" {
2688
2689
GtkWidget::wide-separators = 1
2690
GtkWidget::separator-width = 1
2691
GtkWidget::separator-height = 1
2692
2693
engine "pixmap" {
2694
image {
2695
function = BOX
2696
file = "assets/border.png"
2697
}
2698
}
2699
2700
}
2701
2702
style "inline_toolbar" {
2703
2704
# GtkToolbar::button-relief = GTK_RELIEF_NORMAL
2705
2706
engine "pixmap" {
2707
image {
2708
function = BOX
2709
file = "assets/frame-inline.png"
2710
border = {1, 1, 0, 1}
2711
stretch = TRUE
2712
}
2713
}
2714
2715
}
2716
2717
style "tooltip" {
2718
2719
xthickness = 8
2720
ythickness = 8
2721
2722
bg[NORMAL] = @tooltip_bg_color
2723
fg[NORMAL] = @tooltip_fg_color
2724
bg[SELECTED] = @tooltip_bg_color
2725
2726
}
2727
2728
2729
style "disable_text_shadow" {
2730
2731
engine "murrine" {
2732
textstyle = 0
2733
}
2734
2735
}
2736
2737
style "disable_shadow" {
2738
2739
engine "pixmap" {
2740
image {
2741
function = SHADOW
2742
}
2743
}
2744
2745
}
2746
2747
style "disable_separator" {
2748
2749
xthickness = 0
2750
ythickness = 0
2751
2752
GtkWidget::wide-separators = 1
2753
2754
}
2755
2756
# Default style, containing most of the stuff
2757
class "GtkWidget" style "default"
2758
2759
# Override padding, style and colour
2760
class "GtkButton" style "button"
2761
class "GtkLinkButton" style "link_button"
2762
class "GtkEntry" style "entry"
2763
class "GtkOldEditable" style "entry"
2764
class "GtkSpinButton" style "spinbutton"
2765
class "GtkNotebook" style "notebook"
2766
class "GtkHScale" style "scale_horz"
2767
class "GtkVScale" style "scale_vert"
2768
class "GtkProgressBar" style "progressbar"
2769
class "GtkScrolledWindow" style "scrolled_window"
2770
class "GtkFrame" style "frame"
2771
class "GtkSeparatorToolItem" style "toolbar_separator"
2772
class "GtkMenuBar" style "menubar"
2773
class "GtkMenu" style "menu"
2774
class "GtkTextView" style "textview"
2775
2776
# Menu and menubar items
2777
widget_class "*<GtkMenuItem>*" style "menu_item"
2778
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
2779
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
2780
2781
# Frames in statusbars look ugly, let's disable them
2782
widget_class "*<GtkStatusbar>*<GtkFrame>" style "disable_shadow"
2783
# Disable the frame around poor Wilbert too
2784
widget_class "*<GimpToolbox>*<GtkFrame>" style "disable_shadow"
2785
2786
# Treeview buttons
2787
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
2788
2789
# Give the file chooser toolbar a border
2790
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
2791
2792
# Fix padding on regular comboboxes
2793
widget_class "*<GtkComboBox>.<GtkButton>" style "combobox"
2794
# And disable separators on them
2795
widget_class "*<GtkComboBox>.<GtkButton>*<GtkSeparator>" style "disable_separator"
2796
widget_class "*<GtkFontButton>*<GtkSeparator>" style "disable_separator"
2797
widget_class "*<GtkFileChooserButton>*<GtkSeparator>" style "disable_separator"
2798
2799
# Join together the ComboBoxEntry entry and button
2800
widget_class "*<GtkComboBoxEntry>*" style "combobox_entry"
2801
2802
# Join the Combo entry and button
2803
widget_class "*<GtkCombo>*" style "combobox_entry"
2804
# Tweak the padding on the button a little bit because it uses it a bit differently
2805
widget_class "*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2806
2807
# Alas we cannot do the same for ComboBoxText because there isn't a way to apply the style to only
2808
# the comboboxes that have an entry inside
2809
2810
# Tool buttons have different styles
2811
widget_class "*<GtkToolButton>*<GtkButton>" style "tool_button"
2812
widget_class "*<GtkVBox>*<GtkEventBox>.<GtkToolbar>*<GtkButton>" style "tool_button"
2813
2814
# Notebooks
2815
widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
2816
widget_class "*<GtkNotebook>.<GtkHBox>.<GtkLabel>" style "notebook_tab_label"
2817
2818
# Notebooks are white, act accordingly
2819
widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
2820
widget_class "*<GtkNotebook>*<GtkProgressBar>" style "notebook_bg"
2821
widget_class "*<GtkNotebook>*<GtkSpinButton>" style "notebook_bg"
2822
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_bg"
2823
widget_class "*<GtkNotebook>*<GimpRuler>" style "notebook_bg"
2824
widget_class "*<GtkNotebook>.<GimpDisplayShell>*<GtkEventBox>" style "notebook_bg"
2825
widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*" style "notebook_combo"
2826
widget_class "*<GtkNotebook>*<GtkCombo>*" style "notebook_combo"
2827
2828
# However, stuff inside eventboxes inside notebooks is grey again, react
2829
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "normal_entry"
2830
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkProgressBar>" style "normal_bg"
2831
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkSpinButton>" style "normal_bg"
2832
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*" style "combobox_entry"
2833
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>*" style "combobox_entry"
2834
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>.<GtkButton>" style "combo_button_padding"
2835
2836
# Button labels
2837
widget_class "*<GtkButton>*<GtkLabel>" style "button_label"
2838
2839
# Checkbutton labels
2840
widget_class "*<GtkCheckButton>.<GtkLabel>" style "checkbutton_label"
2841
2842
# ComboBoxes tend to draw the button label with text[] instead of fg[], we need to fix that
2843
widget_class "*<GtkComboBox>*<GtkCellView>" style "combobox_cellview"
2844
2845
# Disable white text shadows
2846
widget_class "*<GtkLabel>" style "disable_text_shadow"
2847
widget_class "*<GtkCellView>" style "disable_text_shadow"
2848
2849
# GTK tooltips
2850
widget "gtk-tooltip*" style "tooltip"
2851