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