1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
|
# Author: raveit65
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# See the file COPYING for the full license text.
# NOTE: Uncommenting means to delete the "#" at the beginning of a line. Commenting means to add a "#" at the beginning of a line. The "#" tells the theme wether to ignore the specified line or not.
# These are the defined colors for the theme, you can change them in MATE's appearance preferences.
gtk-color-scheme = "base_color:#FFF\nfg_color:#101010\ntooltip_fg_color:#000000\nselected_bg_color:#72B49D\nselected_fg_color:#FFF\ntext_color:#1A1A1A\nbg_color:#CBD9D4\ntooltip_bg_color:#DBFFF3\nlink_color:#00CC85\nmenu_color:#1F2724\nbg_color_dark:#1F2724\nfg_color_dark:#cccccc\ntext_color_dark:#E6E6E6\nsidebar_background:#D2DFDA"
#gtk_color_scheme = "bg_color:#CBD9D4\nselected_bg_color:#72B49D\nbase_color:#FFF" # Background, base.
#gtk_color_scheme = "fg_color:#101010\nselected_fg_color:#FFF\ntext_color:#1A1A1A" # Foreground, text.
#gtk_color_scheme = "tooltip_bg_color:#DBFFF3\ntooltip_fg_color:#000000" # Tooltips.
#gtk_color_scheme = "link_color:#00CC85" # Hyperlinks
#gtk_color_scheme = "menu_color:#1F2724" # Color for menus.
#gtk_color_scheme = "bg_color_dark:#1F2724\nfg_color_dark:#cccccc\ntext_color_dark:#E6E6E6" # Dark colors
#gtk-color-scheme = "sidebar_background:#D2DFDA"
### MISC ###
gtk-icon-sizes = "gtk-button=16,16" # This makes button icons smaller.
gtk-button-images = 0 # Enables icons in buttons
gtk-toolbar-style = 0 # Disables text in toolbar
gtk-auto-mnemonics = 1 # Disables ugly lines under menu items
####################
## Default Styles ##
####################
style "murrine-default" {
GnomeHRef ::link_color = @link_color
GtkHTML ::link-color = @link_color
GtkIMHtmlr ::hyperlink-color = @link_color
GtkIMHtml ::hyperlink-color = @link_color
GtkWidget ::link-color = @link_color
GtkWidget ::visited-link-color = @text_color
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
GtkButtonBox ::child-min-height = 26
GtkCheckButton ::indicator-size = 15
GtkWidget ::new-tooltip-style = 1
GtkWidget ::focus-line-width = 1
GtkWidget ::focus-padding = 0 # Keeping this at 0 prevents the Firefox tabs
# from jumping a few pixels when you create a new tab.
# Set the value locally if needed.
GtkImage ::x-ayatana-indicator-dynamic = 1
GtkScale ::trough-side-details = 1
# GtkScrollbar ::has-backward-stepper = 0
# GtkScrollbar ::has-forward-stepper = 0
GtkScrollbar ::min-slider-length = 15
GtkScrollbar ::slider-width = 13
GtkScrollbar ::trough-border = 1
GtkScrollbar ::activate-slider = 1
GtkScrolledWindow ::scrollbar-spacing = 0
GtkScrolledWindow ::scrollbars-within-bevel = 0
GtkPaned ::handle-size = 2
GtkRange ::trough-border = 0
GtkRange ::slider-width = 11
# GtkRange ::stepper-size = 1
GtkRange ::stepper_spacing = 0
GtkRange ::trough-under-steppers = 0
GtkScale ::slider-length = 14
GtkScale ::slider-width = 11
GtkScale ::trough-side-details = 1
GtkExpander ::expander-size = 16
GtkToolbar ::internal-padding = 0
GtkTreeView ::expander-size = 6
GtkTreeView ::indent-expanders = 1
GtkTreeView ::vertical-separator = 1
GtkNotebook ::tab-overlap = 0
GtkMenuBar ::internal-padding = 0
GtkMenuBar ::window-dragging = 1
#GtkToolbar ::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified.
#GtkMenuBar ::shadow-type = GTK_SHADOW_NONE # Makes menus flat and unified.
GtkMenuBar ::window-dragging = 1
GtkMenu ::horizontal-padding = 0
GtkMenu ::vertical-padding = 0
GtkMenuItem ::horizontal-padding = 0
GtkSeparatorMenuItem ::horizontal-padding = 7
WnckTasklist ::fade-overlay-rect = 0
# The following line hints to gecko (and possibly other appliations)
# that the entry should be drawn transparently on the canvas.
# Without this, gecko will fill in the background of the entry.
GtkEntry ::honors-transparent-bg-hint = 1
GtkEntry ::state-hint = 0
GtkEntry ::progress-border = { 2, 2, 2, 2 }
GtkProgressBar ::min-horizontal-bar-height = 10
GtkProgressBar ::min-vertical-bar-width = 10
# The little usefull gripper at the bottom right.
GtkWindow ::resize-grip-height = 10
GtkWindow ::resize-grip-width = 10
xthickness = 1
ythickness = 1
### Color Definitions ###
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
bg[ACTIVE] = shade (1.04, @bg_color)
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = darker (@bg_color)
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[ACTIVE] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = darker (@bg_color)
base[NORMAL] = @base_color
base[PRELIGHT] = shade (0.95, @bg_color)
base[ACTIVE] = shade (0.92, @selected_bg_color)
base[SELECTED] = shade (0.93, @selected_bg_color)
base[INSENSITIVE] = @bg_color
### Murrine Settings ###
engine "murrine" {
animation = FALSE
arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows
border_shades = {1.0, 0.7} # gradient to draw on border
colorize_scrollbar = FALSE
comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
contrast = 0.4 # 0.8 for less contrast, more than 1.0 for more contrast on borders
default_button_color = shade (1.45, @selected_bg_color)
focus_color = @selected_bg_color
focusstyle = 3
glazestyle = 1 # 0 = flat highlight, 1 = curved highlight, 2 = concave style,
# 3 = top curved highlight, 4 = beryl highlight
gradient_shades = {1.1,1.1,0.95,0.95} # Sets the gradients on the widgets.
glowstyle = 4 # 0,1,2,3,4
glow_shade = 1.1
highlight_shade = 1.0 # set highlight amount for buttons or widgets
lightborder_shade = 1.1 # sets lightborder amount for buttons or widgets
lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
listviewstyle = 1 # 0 = nothing, 1 = dotted
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
prelight_shade = .95 # shade level for scrollbar's slider, comboboxstyle(1),
# and prelight state with gradient_colors
reliefstyle = 2 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient,
# 4 = stronger shadow with gradient
rgba = FALSE # FALSE = disabled, TRUE = enabled
roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes,
# 4 = diagonal stripes and handles, 5 = horizontal stripes,
# 6 = horizontal stripes and handles
separatorstyle = 1 # 0 = Hard seperators 1 = Smooth seperators
sliderstyle = 0 # 0 = nothing added, 1 = handles
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
progressbarstyle = 0 # 0 = nothing, 1 = stripes, 2 = lines
shadow_shades = {0.5, 0.0} # gradient for shadows.
textstyle = 0 # 0 = normal text, 1 = inset
toolbarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient
trough_shades = {0.98, 1.06} # draw gradient on trough of GtkScrollbar and GtkProgressbar
}
}
### THEME MODULES ###
style "murrine-dark" {
base[NORMAL] = @bg_color_dark
base[PRELIGHT] = shade (0.95, @bg_color_dark)
base[INSENSITIVE] = @bg_color_dark
bg[NORMAL] = @bg_color_dark
bg[PRELIGHT] = shade (0.90, @selected_bg_color)
bg[SELECTED] = shade (0.90, @selected_bg_color)
bg[INSENSITIVE] = @bg_color_dark
bg[ACTIVE] = shade (1.04, @bg_color_dark)
fg[NORMAL] = @fg_color_dark
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @fg_color_dark
fg[INSENSITIVE] = shade (0.75, @fg_color_dark)
text[NORMAL] = @fg_color_dark
text[PRELIGHT] = @selected_fg_color
text[ACTIVE] = @fg_color_dark
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = shade (0.75, @fg_color_dark)
}
style "murrine-thin" = "murrine-default" { xthickness = 0 ythickness = 0 }
style "murrine-wide" = "murrine-default" { xthickness = 2 ythickness = 2 }
style "murrine-wider" = "murrine-default" { xthickness = 3 ythickness = 3 }
style "murrine-widest" = "murrine-default" { xthickness = 4 ythickness = 4 }
style "murrine-thin-dark" = "murrine-dark" { xthickness = 0 ythickness = 0 }
style "murrine-wide-dark" = "murrine-dark" { xthickness = 2 ythickness = 2 }
style "murrine-wider-dark" = "murrine-dark" { xthickness = 3 ythickness = 3 }
style "murrine-widest-dark" = "murrine-dark" { xthickness = 4 ythickness = 4 }
###################
## Widget Styles ##
###################
style "murrine-button" = "murrine-wider" {
bg[NORMAL] = shade (0.95, @bg_color)
bg[PRELIGHT] = shade (1.45, @selected_bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
bg[SELECTED] = shade (1.0, @selected_bg_color)
bg[INSENSITIVE] = shade (0.95, @bg_color)
fg[NORMAL] = shade (0.95, @fg_color)
fg[PRELIGHT] = shade (0.95, @selected_fg_color)
engine "murrine" {
contrast = 0.85
gradient_shades = {1.15,1.07,1.08,1.05}
border_shades = {1.10, 0.95}
lightborderstyle = 1 # 0 = top side, 1 = all sides
lightborder_shade = 1.1
highlight_shade = 1.03
roundness = 2
focusstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom,
# 3 = horizontal, 4 = centered glow
glowstyle = 0
glow_shade = 1.25
reliefstyle = 3
textstyle = 1
text_shade = 1.15
}
}
style "murrine-button-label" {
#fg[ACTIVE] = "#fff"
#fg[SELECTED] = "#fff"
#text[ACTIVE] = "#fff"
#text[SELECTED] = "#fff"
}
style "murrine-checkradio-label" {
fg[ACTIVE] = @text_color # Forcing radiobutton-colored text in eclipse
}
style "murrine-checkbutton" {
engine "pixmap" {
image {
function = CHECK
recolorable = TRUE
state = NORMAL
shadow = OUT
overlay_file = "assets/checkbox-unchecked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = PRELIGHT
shadow = OUT
overlay_file = "assets/checkbox-unchecked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = ACTIVE
shadow = OUT
overlay_file = "assets/checkbox-unchecked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = INSENSITIVE
shadow = OUT
overlay_file = "assets/checkbox-unchecked-insensitive.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = NORMAL
shadow = IN
overlay_file = "assets/checkbox-checked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = PRELIGHT
shadow = IN
overlay_file = "assets/checkbox-checked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = ACTIVE
shadow = IN
overlay_file = "assets/checkbox-checked.png"
overlay_stretch = FALSE
}
image {
function = CHECK
recolorable = TRUE
state = INSENSITIVE
shadow = IN
overlay_file = "assets/checkbox-checked-insensitive.png"
overlay_stretch = FALSE
}
image {
function = FLAT_BOX
recolorable = TRUE
stretch = TRUE
file = "assets/null.png"
}
}
}
style "murrine-radiobutton" {
engine "pixmap" {
image {
function = OPTION
recolorable = TRUE
state = NORMAL
shadow = OUT
overlay_file = "assets/radio-unselected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = PRELIGHT
shadow = OUT
overlay_file = "assets/radio-unselected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = ACTIVE
shadow = OUT
overlay_file = "assets/radio-unselected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = INSENSITIVE
shadow = OUT
overlay_file = "assets/radio-unselected-insensitive.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = NORMAL
shadow = IN
overlay_file = "assets/radio-selected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = PRELIGHT
shadow = IN
overlay_file = "assets/radio-selected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = ACTIVE
shadow = IN
overlay_file = "assets/radio-selected.png"
overlay_stretch = FALSE
}
image {
function = OPTION
recolorable = TRUE
state = INSENSITIVE
shadow = IN
overlay_file = "assets/radio-selected-insensitive.png"
overlay_stretch = FALSE
}
image {
function = FLAT_BOX
recolorable = TRUE
stretch = TRUE
file = "assets/null.png"
}
}
}
style "murrine-entry" = "murrine-wider" {
# ------- another entry -------------
GtkWidget ::focus-line-width = 2
GtkWidget ::focus-padding = 1
# bg[ACTIVE] = shade (0.78, @bg_color)
# bg[NORMAL] = shade (2.20, @bg_color)
# bg[PRELIGHT] = shade (1.18, @selected_bg_color)
# bg[SELECTED] = shade (0.9, @selected_bg_color)
# bg[INSENSITIVE] = shade (0.98, @bg_color)
# ------- end another entry ----------
bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
# unfocused text color in text boxes
text[ACTIVE] = @fg_color_dark
engine "murrine" {
contrast = 0.6
roundness = 2
border_shades = {1.2, 1.0}
focusstyle = 3
}
}
style "murrine-toolbar-entry" = "entry" { # text
base[NORMAL] = shade(0.93, @base_color)
engine "murrine" {
contrast = 0.6
border_shades = {1.2, 1.0}
focus_color = shade (1.0, @selected_bg_color)
}
}
style "murrine-expander" {
bg[NORMAL] = "#FFF"
fg[NORMAL] = shade (2.0, @text_color)
fg[PRELIGHT] = shade (2.0, @text_color)
engine "murrine" {
contrast = 1.2
gradient_shades = {1.0, 1.0, 1.0, 1.0}
}
}
style "murrine-frame-title" { fg[NORMAL] = lighter (@fg_color) }
style "murrine-menubar" = "murrine-wider-dark" {
bg[NORMAL] = shade (1.00, @bg_color_dark)
fg[NORMAL] = @fg_color_dark
fg[PRELIGHT] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
engine "murrine" {
gradient_shades = {1.00,0.97,0.97,0.94}
border_shades = {1.1, 0.9}
contrast = 1.0
lightborderstyle = 1
textstyle = 1
text_shade = 0.8
}
}
style "murrine-menu" = "murrine-wider-dark" {
GtkMenuItem::arrow-scaling = 0.5
bg[NORMAL] = shade (0.88, @bg_color_dark)
bg[PRELIGHT] = shade (1.00, @bg_color_dark)
bg[SELECTED] = shade (1.00, @bg_color_dark)
fg[PRELIGHT] = shade (1.20, @selected_bg_color) # menu item selected
engine "murrine" {
gradient_shades = {2.63,1.17,1.17,1.17}
border_shades = { 5.10, 5.00 }
roundness = 4 # 0 = squared
textstyle = 0
}
}
style "murrine-menu-item" = "murrine-wider-dark" {
fg[NORMAL] = shade (0.95, @fg_color_dark) # menu item normal
fg[INSENSITIVE] = mix(0.20, @fg_color_dark, @bg_color_dark) # menu item activated
fg[PRELIGHT] = shade (1.20, @selected_bg_color) # menu item selected
text[NORMAL] = shade (0.94, @fg_color_dark) # Color check/radio menu
text[INSENSITIVE] = mix(0.20, @text_color_dark, @bg_color_dark)
text[PRELIGHT] = @selected_fg_color # Color check/radio menu
bg[PRELIGHT] = shade (0.91, @bg_color_dark)
bg[SELECTED] = shade (1.00, @bg_color_dark)
engine "murrine" {
gradient_shades = {2.63,1.17,1.17,1.17}
border_shades = {6.60, 6.50}
roundness = 4
contrast = 0.8 # contrast separators
textstyle = 0
#text_shade = 0.7
}
}
style "murrine-notebook-bg" {
xthickness = 0 # Width of tabs and notebook borders.
ythickness = 0 # Height of tabs and notebook borders.
bg[NORMAL] = shade (1.1, @bg_color) # selected tab entire
bg[ACTIVE] = shade (0.97, @bg_color) # unselected tab
fg[ACTIVE] = mix (0.8, @fg_color, shade (0.97, @bg_color)) # disabled controls
fg[NORMAL] = @text_color # text selected tab
fg[ACTIVE] = shade (1.25, @fg_color) # text unselected tab
fg[INSENSITIVE] = shade (1.35, @fg_color)
}
style "murrine-notebook" = "murrine-notebook-bg" {
xthickness = 0 # Width of tabs and notebook borders.
ythickness = 0 # Height of tabs and notebook borders.
engine "murrine" {
#gradient_shades = {1.10,0.98,0.92,0.85}
gradient_shades = {1.16,1.10,1.00,0.95}
lightborderstyle = 0
lightborder_shade = 1.1
contrast = 0.5
highlight_shade = 1.03
roundness = 2
prelight_shade = 1.5
# disable the ugly button look in tabs if focused
focusstyle = 0
}
}
style "murrine-notebook-button" = "murrine-notebook-bg" {
bg[NORMAL] = shade (0.96, @bg_color)
bg[PRELIGHT] = shade (2.75, @selected_bg_color)
bg[ACTIVE] = shade (1.01, @bg_color)
bg[SELECTED] = shade (1.0, @selected_bg_color)
bg[INSENSITIVE] = shade (0.95, @bg_color)
fg[NORMAL] = shade (0.95, @fg_color)
fg[PRELIGHT] = shade (0.95, @fg_color)
engine "murrine" {
contrast = 0.85
gradient_shades = {1.15,1.07,1.08,1.05}
border_shades = {1.10, 0.95}
lightborderstyle = 1 # 0 = top side, 1 = all sides
lightborder_shade = 1.1
highlight_shade = 1.03
roundness = 2
focusstyle = 0
glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom,
# 3 = horizontal, 4 = centered glow
glow_shade = 1.25
reliefstyle = 3
textstyle = 1
text_shade = 1.15
}
}
style "murrine-progressbar" = "murrine-thin" {
xthickness = 0
ythickness = 0
bg[SELECTED] = mix (0.80, @selected_bg_color, @bg_color) # down
engine "murrine" {
gradient_shades = {0.90, 1.10, 1.10, 1.15}
border_shades = {0.8, 1.4}
roundness = 2
glowstyle = 1 # 0 = top, 1 = bottom, 2 = top and bottom,
# 3 = horizontal, 4 = centered glow
glow_shade = 1.20
}
}
style "murrine-statusbar" = "murrine-wide" {
xthickness = 0
engine "pixmap"
{
image
{
function = RESIZE_GRIP
recolorable = TRUE
state = NORMAL
detail = "statusbar"
overlay_file = "assets/resize-grip.png"
overlay_border = {0,0,0,0 }
overlay_stretch = FALSE
}
}
}
style "murrine-scale" = "murrine-wider" {
bg[NORMAL] = shade (1.06, @bg_color)
bg[PRELIGHT] = shade (1.2, @bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
bg[SELECTED] = shade (1.0, @selected_bg_color)
bg[INSENSITIVE] = shade (0.95, @bg_color)
engine "murrine" {
roundness = 7
contrast = .8
border_shades = {1.0, 1.0}
trough_shades = {1.06, 1.16}
}
}
style "murrine-scrollbar" {
bg[NORMAL] = shade (0.90, @bg_color)
bg[SELECTED] = shade (0.6, @base_color)
bg[ACTIVE] = shade (0.8, @bg_color)
bg[PRELIGHT] = shade (0.8, @bg_color)
engine "murrine" {
roundness = 8
border_shades = {0.80, 0.80}
contrast = 0.0
}
}
style "murrine-overlay-scrollbar"
{
bg[SELECTED] = shade (1.0, @selected_bg_color)
bg[INSENSITIVE] = shade (0.85, @bg_color)
bg[ACTIVE] = shade (0.6, @bg_color)
}
style "murrine-spinbutton" {
bg[NORMAL] = shade (0.94, @base_color)
fg[ACTIVE] = @text_color # Color for pressed-spinbuttons
engine "murrine" {
contrast = 1.0
border_shades = {1.2, 1.0}
#lightborder_shade = 1.00
}
}
style "murrine-toolbar" = "murrine-wider" {
bg[NORMAL] = shade (0.88, @bg_color_dark)
fg[NORMAL] = @fg_color_dark
fg[PRELIGHT] = @selected_fg_color
fg[ACTIVE] = @fg_color_dark
fg[SELECTED] = @fg_color_dark
engine "murrine" {
separatorstyle = 0
lightborderstyle = 0
contrast = 1.0 # Adjusts the contrast of the lower edge of the toolbar
lightborder_shade = 1.0 # Adjusts the contrast of the edge of the toolbar
gradient_shades = {0.97, 1.00, 1.00, 1.00}
}
}
style "murrine-toolbar-button" {
xthickness = 3
ythickness = 2
bg[NORMAL] = shade(0.80, @bg_color_dark)
bg[PRELIGHT] = shade(0.91, @bg_color_dark)
bg[ACTIVE] = shade(0.76, @bg_color_dark)
bg[SELECTED] = shade(0.80, @selected_bg_color)
bg[INSENSITIVE] = shade(0.83, @bg_color_dark)
fg[NORMAL] = @fg_color_dark
fg[PRELIGHT] = shade (1.20, @selected_bg_color)
fg[ACTIVE] = shade (1.20, @selected_bg_color)
fg[SELECTED] = shade (1.20, @selected_bg_color)
text[NORMAL] = @fg_color_dark
text[PRELIGHT] = shade (1.20, @selected_bg_color)
text[ACTIVE] = shade (1.20, @selected_bg_color)
text[SELECTED] = shade (1.20, @selected_bg_color)
engine "murrine" {
gradient_shades = {2.63,1.17,1.17,1.17}
border_shades = {5.10, 5.00}
contrast = 0.80
roundness = 5 # 0 = squared
lightborderstyle = 1
lightborder_shade = 1.1
glow_shade = 1.0
textstyle = 1
text_shade = 1.15
}
}
# toolbar separator
style "murrine-toolbar-separator" {
xthickness = 0
ythickness = 0
bg[NORMAL] = shade (0.80, @bg_color)
engine "murrine" {
border_shades = {0.80, 0.80}
contrast = 0.3
lightborder_shade = 1.1
}
}
style "murrine-tooltips" = "murrine-wider" {
xthickness = 8
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
GtkWidget::new-tooltip-style = 0
engine "murrine" {
border_colors = { "#080808", "#080808" }
}
}
style "murrine-treeview" {
base[SELECTED] = shade (1.00, @selected_bg_color) # selection row focused
base[ACTIVE] = shade (1.00, @selected_bg_color) # selection row unfocused
fg[NORMAL] = shade (1.00, @fg_color) # header txt color
bg[SELECTED] = shade (1.00, @selected_bg_color) # backgr mini-checkbox checked
text[NORMAL] = shade (1.05, @fg_color) # txt+indicador checked normal
text[SELECTED] = @selected_fg_color # txt+indicador selected focused
text[ACTIVE] = @selected_fg_color # txt+indicador selected unfocused
engine "murrine" {
gradient_shades = {1.00, 1.05, 1.05, 1.10}
separatorstyle = 0
contrast = 0.75
}
}
style "murrine-treeview-header" = "murrine-button" {
ythickness = 1
GtkWidget ::focus-padding = 0
bg[NORMAL] = shade (0.91, @base_color)
bg[PRELIGHT] = shade (0.91, @base_color)
bg[INSENSITIVE] = shade (0.88, @base_color)
bg[ACTIVE] = shade( 1.00, @selected_bg_color)
engine "murrine" {
gradient_shades = {1.10,1.05,1.03,1.00}
contrast = 0.75
lightborderstyle = 1
roundness = 0 # This makes treeview progressbars square
textstyle = 1
text_shade = 1.15
glow_shade = 1.0
prelight_shade = 1.9
}
}
style "murrine-checkradio" {
xthickness = 3
ythickness = 3
base[NORMAL] = shade (1.02, @bg_color) # radiocheck normal
bg[SELECTED] = shade (1.00, @bg_color) # radiocheck color checked
bg[ACTIVE] = shade (0.90, @bg_color) # button option selected
bg[NORMAL] = shade (0.91, @bg_color)
bg[PRELIGHT] = shade (1.00, @bg_color)
bg[INSENSITIVE] = shade (0.93, @bg_color)
text[NORMAL] = shade (0.80, @selected_bg_color) # indicador normal
text[PRELIGHT] = shade (0.80, @selected_bg_color) # indicador hover
text[ACTIVE] = shade (0.80, @selected_bg_color) # indicador click
engine "murrine" {
contrast = 1.00
# gradient_shades = {1.30,1.08,0.98,0.98}
gradient_shades = {1.25, 1.00, 0.88, 1.05}
lightborderstyle = 0
lightborder_shade = 0.90
textstyle = 0
}
}
style "murrine-separator" = "murrine-wide" {
engine "murrine" {
contrast = 0.4
}
}
class "GtkSeparator" style "murrine-separator"
# for file-manager
style "murrine-handle" {
}
# ==============================================================================
# FIREFOX SPECIFIC SETTINGS
# ==============================================================================
style "ff-default" {
GtkCheckButton::indicator-size = 14
}
style "ff-statusbar" {
}
#widget "MozillaGtkWidget*Toolbar*" style "theme-toolbar"
#widget "MozillaGtkWidget*Statusbar*" style "ff-statusbar"
widget "MozillaGtkWidget*" style "ff-default"
###############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################
# Murrine default style is applied to every widget.
class "GtkWidget" style "murrine-default"
# Increase the x/ythickness in some widgets.
class "GtkFrame" style "murrine-wide"
class "GtkEntry" style "murrine-entry"
class "GtkSeparator" style "murrine-wide"
class "GtkCalendar" style "murrine-wide"
class "GtkInfoBar" style "murrine-default"
class "GtkIconView" style "murrine-default"
class "GtkSpinButton" style "murrine-spinbutton"
class "GtkScale" style "murrine-scale"
class "GtkVScale" style "murrine-scale"
class "GtkHScale" style "murrine-scale"
class "GtkScrollbar" style "murrine-scrollbar"
class "GtkVScrollbar" style "murrine-scrollbar"
class "GtkHScrollbar" style "murrine-scrollbar"
# Overlay scrollbar
widget_class "*<OsScrollbar>" style "murrine-overlay-scrollbar"
widget_class "*<OsThumb>" style "murrine-overlay-scrollbar"
# General matching follows. The order is choosen so that the right styles override
# each other. EG. progressbar needs to be more important than the menu match.
widget_class "*<GtkButton>" style "murrine-button"
widget_class "*<GtkButton>*<GtkLabel>" style "murrine-button-label"
widget_class "*<GtkNotebook>" style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkLabel>" style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkNotebookPage>" style "murrine-notebook"
widget_class "*<GtkMenuBar>*" style "murrine-menubar"
widget_class "*<GtkMenu>*" style "murrine-menu"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "murrine-menu-item"
widget_class "*<GtkToolbar>" style "murrine-toolbar"
widget_class "*<GtkHandleBox>" style "murrine-toolbar"
widget_class "*<GtkToolbar>.*.<GtkButton>*" style "murrine-toolbar-button"
widget_class "*<GtkToolbar>.*.<GtkEntry>*" style "murrine-toolbar-entry"
class "GtkSeparatorToolItem" style "murrine-toolbar-separator"
# This is not perfect, it could be done better (That is modify *every* widget
# in the notebook, and change those back that we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkViewport>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLabel>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkButton>" style "murrine-notebook-button"
widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "murrine-notebook-button"
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
class "*GtkExpander*" style "murrine-expander"
widget_class "*<GtkProgress>" style "murrine-progressbar"
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
################################
# FIXME: This will not work if one embeds eg. a button into the tooltip.
################################
widget "gtk-tooltip*" style "murrine-tooltips"
##########################################################################
# Radiobutton and Checkbox
##########################################################################
widget_class "*<GtkCheckButton>*" style "murrine-checkbutton"
widget_class "*<GtkCheckButton>*<GtkLabel>" style:highest "murrine-checkradio-label"
widget_class "*<GtkRadioButton>*" style "murrine-checkradio"
widget_class "*<GtkDialog>*<GtkRadioButton>*" style:highest "murrine-radiobutton"
widget_class "*<GtkFrame>*<GtkRadioButton>*" style:highest "murrine-radiobutton"
widget_class "*<GtkNotebook>*<GtkRadioButton>*" style:highest "murrine-radiobutton"
widget_class "*<GtkRadioButton>*<GtkLabel>" style:highest "murrine-checkradio-label"
widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
# for file-manager pane
class "GtkPaned" style "murrine-handle"
###################################################
# SPECIAL CASES AND WORKAROUNDS
###################################################
# Firefox
style "FireFox-MenuBar" = "menubar" {
GtkMenuBar::shadow-type = GTK_SHADOW_NONE
}
widget "MozillaGtkWidget*GtkMenuBar" style "FireFox-MenuBar"
widget "MozillaGtkWidget*GtkCheck*" style:highest "murrine-checkbutton"
widget "MozillaGtkWidget*GtkRadio*" style:highest "murrine-radiobutton"
# For Google Chrome/Chromium integration.
style "chrome-gtk-frame" {
ChromeGtkFrame::frame-gradient-size = 120
ChromeGtkFrame::frame-gradient-color = @bg_color_dark
ChromeGtkFrame::inactive-frame-gradient-color = @bg_color_dark
ChromeGtkFrame::frame-color = @bg_color_dark
ChromeGtkFrame::inactive-frame-color = @bg_color_dark
ChromeGtkFrame::incognito-frame-color = @bg_color_dark
ChromeGtkFrame::incognito-inactive-frame-color = @bg_color_dark
ChromeGtkFrame::incognito-frame-gradient-color = @bg_color_dark
ChromeGtkFrame::incognito-inactive-frame-gradient-color = @bg_color_dark
ChromeGtkFrame::scrollbar-trough-color = shade (0.99, @bg_color)
ChromeGtkFrame::scrollbar-slider-prelight-color = shade (0.87, @bg_color)
ChromeGtkFrame::scrollbar-slider-normal-color = shade (0.80, @bg_color)
}
class "ChromeGtkFrame" style "chrome-gtk-frame"
# Wrokaround style for places where the text color is used instead of the fg color.
style "text_is_fg_color_workaround" {
text[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
}
# Workaround style for menus where the text color is used instead of the fg color.
style "menuitem_text_is_fg_color_workaround" {
text[NORMAL] = @text_color_dark
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @text_color_dark
text[INSENSITIVE] = shade (0.75, @text_color_dark)
}
# Workaround style for places where the fg color is used instead of the text color.
style "fg_is_text_color_workaround" {
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
}
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the base color.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
# Thickness for indicator menu items
widget "*IdoEntryMenuItem*" style "murrine-wide"
# For gvim scrollbars.
style "vim-scrollbar" = "scrollbar" {
GtkScrollbar ::slider_width = 16
GtkScrollbar ::stepper_size = 16
engine "pixmap" {
image {
function = BOX
orientation = VERTICAL
file = "assets/scroll-background.png"
}
}
}
widget "vim-main-window.*Scrollbar*" style "vim-scrollbar"
# For Eclipse (swt) toolbars.
widget "*swt*toolbar*" style "murrine-toolbar"
# ---------------------------------
# Xfce panel theming
# ---------------------------------
style "xfce-panel" {
fg[NORMAL] = @fg_color_dark
fg[PRELIGHT] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = shade (1.00, @bg_color_dark)
bg[PRELIGHT] = shade (0.80, @bg_color_dark)
bg[ACTIVE] = shade (0.50, @bg_color_dark)
bg[SELECTED] = shade (1.20, @selected_bg_color)
engine "murrine" {
gradient_shades = {0.80, 0.85, 0.95, 1.00}
roundness = 2
contrast = 0.2
}
xthickness = 3
ythickness = 3
}
widget "*Xfce*Panel*" style "xfce-panel"
class "*Xfce*Panel*" style "xfce-panel"
# XFCE desktop icon text looks weird when murrine textstyle is on.
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 100
XfdesktopIconVIew::ellipsize-icon-labels = 1
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 1
XfdesktopIconView::selected-shadow-y-offset = 1
XfdesktopIconView::selected-shadow-color = "#000000"
XfdesktopIconView::cell-spacing = 0
XfdesktopIconView::cell-padding = 0
XfdesktopIconView::cell-text-width-proportion = 2
base[NORMAL] = @selected_bg_color
base[SELECTED] = @selected_bg_color
base[ACTIVE] = @selected_bg_color
fg[NORMAL] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
# widget "xfwm4-tabwin*" style "murrine-dark"
# Various performance fixes if murrine textstyle is on by default in the theme.
style "performance-fix" {
engine "murrine" {
textstyle = 0
contrast = 0.5
}
}
widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape
widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp
widget_class "*GimpToolbox*" style "performance-fix"
widget_class "*GimpMenuDock*" style "performance-fix"
widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice
widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.)
### EXTERNAL FILES ###
include "apps/thunar.rc" # thunar especific
include "apps/terminal.rc"
include "apps/gmusicbrowser.rc"
include "apps/caja.rc" # Caja styling
include "apps/panel.rc" # Mate-panel styling
include "apps/pluma.rc" # Pluma styling
include "apps/pcmanfm.rc" # PCManFM styling
|