comparison gtk-2.0/gtkrc @ 0:a48477723cfe

Base Adwaita theme for GTK 3.16 https://github.com/GNOME/gnome-themes-standard/tree/gnome-3-14/themes/Adwaita @ 7c9d684 with gtk-3.0 directory replaced with https://github.com/GNOME/gtk/tree/gtk-3-16/gtk/theme/Adwaita @ ff9ee56
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Apr 2016 20:21:23 +0100
parents
children 749a8ba83a29
comparison
equal deleted inserted replaced
-1:000000000000 0:a48477723cfe
1 # Bridge | ScionicSpectre
2
3 gtk-color-scheme = "base_color:#FFFFFF\nfg_color:#2E3436\ntooltip_fg_color:#FFFFFF\nselected_bg_color:#4A90D9\nselected_fg_color:#FFFFFF\ntext_color:#313739\nbg_color:#EDEDED\ninsensitive_bg_color:#F4F4F2\ntooltip_bg_color:#343434"
4
5 gtk-auto-mnemonics = 1
6 gtk-primary-button-warps-slider = 1
7
8 style "default"
9 {
10 xthickness = 1
11 ythickness = 1
12
13 # Style Properties
14
15 GtkWidget::focus-line-width = 1
16 GtkMenuBar::window-dragging = 1
17 GtkToolbar::window-dragging = 1
18 GtkToolbar::internal-padding = 4
19 GtkToolButton::icon-spacing = 4
20
21 GtkWidget::tooltip-radius = 3
22 GtkWidget::tooltip-alpha = 235
23 GtkWidget::new-tooltip-style = 1 #for compatibility
24
25 GtkSeparatorMenuItem::horizontal-padding = 3
26 GtkSeparatorMenuItem::wide-separators = 1
27 GtkSeparatorMenuItem::separator-height = 1
28
29 GtkButton::child-displacement-y = 0
30 GtkButton::default-border = { 0, 0, 0, 0 }
31 GtkButton::default-outside_border = { 0, 0, 0, 0 }
32
33 GtkEntry::state-hint = 1
34
35 GtkScrollbar::trough-border = 0
36 GtkRange::trough-border = 0
37 GtkRange::slider-width = 13
38 GtkRange::stepper-size = 0
39
40 GtkScrollbar::activate-slider = 1
41 GtkScrollbar::has-backward-stepper = 0
42 GtkScrollbar::has-forward-stepper = 0
43 GtkScrollbar::min-slider-length = 42
44 GtkScrolledWindow::scrollbar-spacing = 0
45 GtkScrolledWindow::scrollbars-within-bevel = 1
46
47 GtkVScale::slider_length = 16
48 GtkVScale::slider_width = 16
49 GtkHScale::slider_length = 16
50 GtkHScale::slider_width = 16
51
52 GtkStatusbar::shadow_type = GTK_SHADOW_NONE
53 GtkSpinButton::shadow_type = GTK_SHADOW_NONE
54 GtkMenuBar::shadow-type = GTK_SHADOW_NONE
55 GtkToolbar::shadow-type = GTK_SHADOW_NONE
56 GtkMenuBar::internal-padding = 0 #( every window is misaligned for the sake of menus ):
57 GtkMenu::horizontal-padding = 0
58 GtkMenu::vertical-padding = 0
59
60 GtkCheckButton::indicator_spacing = 3
61 GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 }
62
63 GtkTreeView::row_ending_details = 0
64 GtkTreeView::expander-size = 11
65 GtkTreeView::vertical-separator = 4
66 GtkTreeView::horizontal-separator = 4
67 GtkTreeView::allow-rules = 1
68
69 GtkExpander::expander-size = 11
70
71 # Colors
72
73 bg[NORMAL] = @bg_color
74 bg[PRELIGHT] = shade (1.02, @bg_color)
75 bg[SELECTED] = @selected_bg_color
76 bg[INSENSITIVE] = @bg_color
77 bg[ACTIVE] = shade (0.9, @bg_color)
78
79 fg[NORMAL] = @text_color
80 fg[PRELIGHT] = @fg_color
81 fg[SELECTED] = @selected_fg_color
82 fg[INSENSITIVE] = darker (@bg_color)
83 fg[ACTIVE] = @fg_color
84
85 text[NORMAL] = @text_color
86 text[PRELIGHT] = @text_color
87 text[SELECTED] = @selected_fg_color
88 text[INSENSITIVE] = darker (@bg_color)
89 text[ACTIVE] = @selected_fg_color
90
91 base[NORMAL] = @base_color
92 base[PRELIGHT] = shade (0.95, @bg_color)
93 base[SELECTED] = @selected_bg_color
94 base[INSENSITIVE] = @bg_color
95 base[ACTIVE] = shade (0.9, @selected_bg_color)
96
97 # For succinctness, all reasonable pixmap options remain here
98
99 engine "pixmap"
100 {
101
102 # Check Buttons
103
104 image
105 {
106 function = CHECK
107 recolorable = TRUE
108 state = NORMAL
109 shadow = OUT
110 overlay_file = "Check-Radio/checkbox-unchecked.png"
111 overlay_stretch = FALSE
112 }
113 image
114 {
115 function = CHECK
116 recolorable = TRUE
117 state = PRELIGHT
118 shadow = OUT
119 overlay_file = "Check-Radio/checkbox-unchecked.png"
120 overlay_stretch = FALSE
121 }
122 image
123 {
124 function = CHECK
125 recolorable = TRUE
126 state = ACTIVE
127 shadow = OUT
128 overlay_file = "Check-Radio/checkbox-unchecked.png"
129 overlay_stretch = FALSE
130 }
131 image
132 {
133 function = CHECK
134 recolorable = TRUE
135 state = SELECTED
136 shadow = OUT
137 overlay_file = "Check-Radio/checkbox-unchecked.png"
138 overlay_stretch = FALSE
139 }
140 image
141 {
142 function = CHECK
143 recolorable = TRUE
144 state = INSENSITIVE
145 shadow = OUT
146 overlay_file = "Check-Radio/checkbox-unchecked-insensitive.png"
147 overlay_stretch = FALSE
148 }
149 image
150 {
151 function = CHECK
152 recolorable = TRUE
153 state = NORMAL
154 shadow = IN
155 overlay_file = "Check-Radio/checkbox-checked.png"
156 overlay_stretch = FALSE
157 }
158 image
159 {
160 function = CHECK
161 recolorable = TRUE
162 state = PRELIGHT
163 shadow = IN
164 overlay_file = "Check-Radio/checkbox-checked.png"
165 overlay_stretch = FALSE
166 }
167 image
168 {
169 function = CHECK
170 recolorable = TRUE
171 state = ACTIVE
172 shadow = IN
173 overlay_file = "Check-Radio/checkbox-checked.png"
174 overlay_stretch = FALSE
175 }
176 image
177 {
178 function = CHECK
179 recolorable = TRUE
180 state = SELECTED
181 shadow = IN
182 overlay_file = "Check-Radio/checkbox-checked.png"
183 overlay_stretch = FALSE
184 }
185 image
186 {
187 function = CHECK
188 recolorable = TRUE
189 state = INSENSITIVE
190 shadow = IN
191 overlay_file = "Check-Radio/checkbox-checked-insensitive.png"
192 overlay_stretch = FALSE
193 }
194
195 # Radio Buttons
196
197 image
198 {
199 function = OPTION
200 state = NORMAL
201 shadow = OUT
202 overlay_file = "Check-Radio/option-unchecked.png"
203 overlay_stretch = FALSE
204 }
205 image
206 {
207 function = OPTION
208 state = PRELIGHT
209 shadow = OUT
210 overlay_file = "Check-Radio/option-unchecked.png"
211 overlay_stretch = FALSE
212 }
213 image
214 {
215 function = OPTION
216 state = ACTIVE
217 shadow = OUT
218 overlay_file = "Check-Radio/option-unchecked.png"
219 overlay_stretch = FALSE
220 }
221 image
222 {
223 function = OPTION
224 state = SELECTED
225 shadow = OUT
226 overlay_file = "Check-Radio/option-unchecked.png"
227 overlay_stretch = FALSE
228 }
229 image
230 {
231 function = OPTION
232 state = INSENSITIVE
233 shadow = OUT
234 overlay_file = "Check-Radio/option-unchecked-insensitive.png"
235 overlay_stretch = FALSE
236 }
237 image
238 {
239 function = OPTION
240 state = NORMAL
241 shadow = IN
242 overlay_file = "Check-Radio/option-checked.png"
243 overlay_stretch = FALSE
244 }
245 image
246 {
247 function = OPTION
248 state = PRELIGHT
249 shadow = IN
250 overlay_file = "Check-Radio/option-checked.png"
251 overlay_stretch = FALSE
252 }
253 image
254 {
255 function = OPTION
256 state = ACTIVE
257 shadow = IN
258 overlay_file = "Check-Radio/option-checked.png"
259 overlay_stretch = FALSE
260 }
261 image
262 {
263 function = OPTION
264 state = SELECTED
265 shadow = IN
266 overlay_file = "Check-Radio/option-checked.png"
267 overlay_stretch = FALSE
268 }
269 image
270 {
271 function = OPTION
272 state = INSENSITIVE
273 shadow = IN
274 overlay_file = "Check-Radio/option-checked-insensitive.png"
275 overlay_stretch = FALSE
276 }
277
278 # Arrows
279
280 image
281 {
282 function = ARROW
283 overlay_file = "Arrows/arrow-up.png"
284 overlay_border = { 0, 0, 0, 0 }
285 overlay_stretch = FALSE
286 arrow_direction = UP
287 }
288 image
289 {
290 function = ARROW
291 state = PRELIGHT
292 overlay_file = "Arrows/arrow-up-prelight.png"
293 overlay_border = { 0, 0, 0, 0 }
294 overlay_stretch = FALSE
295 arrow_direction = UP
296 }
297 image
298 {
299 function = ARROW
300 state = ACTIVE
301 overlay_file = "Arrows/arrow-up-prelight.png"
302 overlay_border = { 0, 0, 0, 0 }
303 overlay_stretch = FALSE
304 arrow_direction = UP
305 }
306 image
307 {
308 function = ARROW
309 state = INSENSITIVE
310 overlay_file = "Arrows/arrow-up-insens.png"
311 overlay_border = { 0, 0, 0, 0 }
312 overlay_stretch = FALSE
313 arrow_direction = UP
314 }
315
316
317 image
318 {
319 function = ARROW
320 state = NORMAL
321 overlay_file = "Arrows/arrow-down.png"
322 overlay_border = { 0, 0, 0, 0 }
323 overlay_stretch = FALSE
324 arrow_direction = DOWN
325 }
326 image
327 {
328 function = ARROW
329 state = PRELIGHT
330 overlay_file = "Arrows/arrow-down-prelight.png"
331 overlay_border = { 0, 0, 0, 0 }
332 overlay_stretch = FALSE
333 arrow_direction = DOWN
334 }
335 image
336 {
337 function = ARROW
338 state = ACTIVE
339 overlay_file = "Arrows/arrow-down-prelight.png"
340 overlay_border = { 0, 0, 0, 0 }
341 overlay_stretch = FALSE
342 arrow_direction = DOWN
343 }
344 image
345 {
346 function = ARROW
347 state = INSENSITIVE
348 overlay_file = "Arrows/arrow-down-insens.png"
349 overlay_border = { 0, 0, 0, 0 }
350 overlay_stretch = FALSE
351 arrow_direction = DOWN
352 }
353
354 image
355 {
356 function = ARROW
357 overlay_file = "Arrows/arrow-left.png"
358 overlay_border = { 0, 0, 0, 0 }
359 overlay_stretch = FALSE
360 arrow_direction = LEFT
361 }
362 image
363 {
364 function = ARROW
365 state = PRELIGHT
366 overlay_file = "Arrows/arrow-left-prelight.png"
367 overlay_border = { 0, 0, 0, 0 }
368 overlay_stretch = FALSE
369 arrow_direction = LEFT
370 }
371 image
372 {
373 function = ARROW
374 state = ACTIVE
375 overlay_file = "Arrows/arrow-left-prelight.png"
376 overlay_border = { 0, 0, 0, 0 }
377 overlay_stretch = FALSE
378 arrow_direction = LEFT
379 }
380 image
381 {
382 function = ARROW
383 state = INSENSITIVE
384 overlay_file = "Arrows/arrow-left-insens.png"
385 overlay_border = { 0, 0, 0, 0 }
386 overlay_stretch = FALSE
387 arrow_direction = LEFT
388 }
389
390 image
391 {
392 function = ARROW
393 overlay_file = "Arrows/arrow-right.png"
394 overlay_border = { 0, 0, 0, 0 }
395 overlay_stretch = FALSE
396 arrow_direction = RIGHT
397 }
398 image
399 {
400 function = ARROW
401 state = PRELIGHT
402 overlay_file = "Arrows/arrow-right-prelight.png"
403 overlay_border = { 0, 0, 0, 0 }
404 overlay_stretch = FALSE
405 arrow_direction = RIGHT
406 }
407 image
408 {
409 function = ARROW
410 state = ACTIVE
411 overlay_file = "Arrows/arrow-right-prelight.png"
412 overlay_border = { 0, 0, 0, 0 }
413 overlay_stretch = FALSE
414 arrow_direction = RIGHT
415 }
416 image
417 {
418 function = ARROW
419 state = INSENSITIVE
420 overlay_file = "Arrows/arrow-right-insens.png"
421 overlay_border = { 0, 0, 0, 0 }
422 overlay_stretch = FALSE
423 arrow_direction = RIGHT
424 }
425
426
427 # Option Menu Arrows
428
429 image
430 {
431 function = TAB
432 state = INSENSITIVE
433 overlay_file = "Arrows/arrow-down-insens.png"
434 overlay_stretch = FALSE
435 }
436 image
437 {
438 function = TAB
439 state = NORMAL
440 overlay_file = "Arrows/arrow-down.png"
441 overlay_border = { 0, 0, 0, 0 }
442 overlay_stretch = FALSE
443 }
444 image
445 {
446 function = TAB
447 state = PRELIGHT
448 overlay_file = "Arrows/arrow-down-prelight.png"
449 overlay_border = { 0, 0, 0, 0 }
450 overlay_stretch = FALSE
451 }
452
453 # Lines
454
455 image
456 {
457 function = VLINE
458 file = "Lines/line-v.png"
459 border = { 0, 0, 0, 0 }
460 stretch = TRUE
461 }
462 image
463 {
464 function = HLINE
465 file = "Lines/line-h.png"
466 border = { 0, 0, 0, 0 }
467 stretch = TRUE
468 }
469
470 # Focuslines
471
472 image
473 {
474 function = FOCUS
475 file = "Others/focus.png"
476 border = { 1, 1, 1, 1 }
477 stretch = TRUE
478 }
479
480 # Handles
481
482 image
483 {
484 function = HANDLE
485 overlay_file = "Handles/handle-h.png"
486 overlay_stretch = FALSE
487 orientation = HORIZONTAL
488 }
489 image
490 {
491 function = HANDLE
492 overlay_file = "Handles/handle-v.png"
493 overlay_stretch = FALSE
494 orientation = VERTICAL
495 }
496
497 # Expanders
498
499 image
500 {
501 function = EXPANDER
502 expander_style = COLLAPSED
503 file = "Expanders/plus.png"
504 }
505
506 image
507 {
508 function = EXPANDER
509 expander_style = EXPANDED
510 file = "Expanders/minus.png"
511 }
512
513 image
514 {
515 function = EXPANDER
516 expander_style = SEMI_EXPANDED
517 file = "Expanders/minus.png"
518 }
519
520 image
521 {
522 function = EXPANDER
523 expander_style = SEMI_COLLAPSED
524 file = "Expanders/plus.png"
525 }
526
527 # Others
528
529 image
530 {
531 function = RESIZE_GRIP
532 state = NORMAL
533 detail = "statusbar"
534 overlay_file = "Others/null.png"
535 overlay_border = { 0,0,0,0 }
536 overlay_stretch = FALSE
537 }
538
539 # Shadows ( this area needs help :P )
540
541 image
542 {
543 function = SHADOW_GAP
544 file = "Others/null.png"
545 border = { 4, 4, 4, 4 }
546 stretch = TRUE
547 }
548
549 }
550 }
551
552 style "toplevel_hack"
553 {
554 engine "adwaita"
555 {
556 }
557 }
558
559 style "ooo_stepper_hack"
560 {
561 GtkScrollbar::stepper-size = 13
562 GtkScrollbar::has-backward-stepper = 1
563 GtkScrollbar::has-forward-stepper = 1
564 }
565
566 style "scrollbar"
567 {
568 engine "pixmap"
569 {
570 image
571 {
572 function = BOX
573 detail = "trough"
574 file = "Scrollbars/trough-scrollbar-horiz.png"
575 border = { 19, 19, 4, 4 }
576 stretch = TRUE
577 orientation = HORIZONTAL
578 }
579 image
580 {
581 function = BOX
582 detail = "trough"
583 file = "Scrollbars/trough-scrollbar-vert.png"
584 border = { 4, 4, 19, 19 }
585 stretch = TRUE
586 orientation = VERTICAL
587 }
588
589 # Sliders
590
591 image
592 {
593 function = SLIDER
594 state = NORMAL
595 file = "Scrollbars/slider-horiz.png"
596 border = { 7, 7, 5, 5 }
597 stretch = TRUE
598 orientation = HORIZONTAL
599
600 }
601 image
602 {
603 function = SLIDER
604 state = ACTIVE
605 file = "Scrollbars/slider-horiz-active.png"
606 border = { 7, 7, 5, 5 }
607 stretch = TRUE
608 orientation = HORIZONTAL
609
610 }
611 image
612 {
613 function = SLIDER
614 state = PRELIGHT
615 file = "Scrollbars/slider-horiz-prelight.png"
616 border = { 7, 7, 5, 5 }
617 stretch = TRUE
618 orientation = HORIZONTAL
619
620 }
621 image
622 {
623 function = SLIDER
624 state = INSENSITIVE
625 file = "Scrollbars/slider-horiz-insens.png"
626 border = { 7, 7, 5, 5 }
627 stretch = TRUE
628 orientation = HORIZONTAL
629 }
630
631 # X Verticals
632
633 image
634 {
635 function = SLIDER
636 state = NORMAL
637 file = "Scrollbars/slider-vert.png"
638 border = { 5, 5, 7, 7 }
639 stretch = TRUE
640 orientation = VERTICAL
641
642 }
643 image
644 {
645 function = SLIDER
646 state = ACTIVE
647 file = "Scrollbars/slider-vert-active.png"
648 border = { 5, 5, 7, 7 }
649 stretch = TRUE
650 orientation = VERTICAL
651
652 }
653 image
654 {
655 function = SLIDER
656 state = PRELIGHT
657 file = "Scrollbars/slider-vert-prelight.png"
658 border = { 5, 5, 7, 7 }
659 stretch = TRUE
660 orientation = VERTICAL
661
662 }
663 image
664 {
665 function = SLIDER
666 state = INSENSITIVE
667 file = "Scrollbars/slider-vert-insens.png"
668 border = { 5, 5, 7, 7 }
669 stretch = TRUE
670 orientation = VERTICAL
671
672 }
673 }
674 }
675
676 style "menubar"
677 {
678 bg[PRELIGHT] = "#FFF"
679 fg[SELECTED] = @text_color
680
681 xthickness = 0
682 ythickness = 0
683
684 engine "pixmap"
685 {
686 image
687 {
688 function = BOX
689 recolorable = TRUE
690 state = PRELIGHT
691 file = "Menu-Menubar/menubar_button.png"
692
693 border = { 4, 4, 4, 4 }
694 stretch = TRUE
695 }
696 }
697 }
698
699 style "menu"
700 {
701 xthickness = 0
702 ythickness = 0
703
704 GtkMenuItem::arrow-scaling = 0.4
705
706 bg[NORMAL] = shade (1.08, @bg_color)
707 bg[INSENSITIVE] = @base_color
708 bg[PRELIGHT] = @base_color
709
710 engine "pixmap" # For menus that use horizontal lines rather than gtkseparator
711 {
712 image
713 {
714 function = HLINE
715 file = "Lines/menu_line_h.png"
716 border = { 0, 0, 0, 0 }
717 stretch = TRUE
718 }
719 }
720 }
721
722 style "menu_framed_box"
723 {
724 engine "adwaita"
725 {
726 }
727 }
728
729 style "menu_item"
730 {
731 xthickness = 2
732 ythickness = 3
733
734 # HACK: Gtk doesn't actually read this value
735 # while rendering the menu items, but Libreoffice
736 # does; setting this value equal to the one in
737 # fg[PRELIGHT] ensures a code path in the LO theming code
738 # that falls back to a dark text color for menu item text
739 # highlight. The price to pay is black text on menus as well,
740 # but at least it's readable.
741 # See https://bugs.freedesktop.org/show_bug.cgi?id=38038
742 bg[SELECTED] = @selected_fg_color
743
744 bg[PRELIGHT] = @selected_bg_color
745 fg[PRELIGHT] = @selected_fg_color
746 text[PRELIGHT] = @selected_fg_color
747
748 engine "pixmap"
749 {
750
751 # Check Buttons
752
753 image
754 {
755 function = CHECK
756 recolorable = TRUE
757 state = NORMAL
758 shadow = OUT
759 overlay_file = "Others/null.png"
760 overlay_stretch = FALSE
761 }
762 image
763 {
764 function = CHECK
765 recolorable = TRUE
766 state = PRELIGHT
767 shadow = OUT
768 overlay_file = "Others/null.png"
769 overlay_stretch = FALSE
770 }
771 image
772 {
773 function = CHECK
774 recolorable = TRUE
775 state = ACTIVE
776 shadow = OUT
777 overlay_file = "Others/null.png"
778 overlay_stretch = FALSE
779 }
780 image
781 {
782 function = CHECK
783 recolorable = TRUE
784 state = INSENSITIVE
785 shadow = OUT
786 overlay_file = "Others/null.png"
787 overlay_stretch = FALSE
788 }
789 image
790 {
791 function = CHECK
792 recolorable = TRUE
793 state = NORMAL
794 shadow = IN
795 overlay_file = "Check-Radio/menucheck.png"
796 overlay_stretch = FALSE
797 }
798 image
799 {
800 function = CHECK
801 recolorable = TRUE
802 state = PRELIGHT
803 shadow = IN
804 overlay_file = "Check-Radio/menucheck_prelight.png"
805 overlay_stretch = FALSE
806 }
807 image
808 {
809 function = CHECK
810 recolorable = TRUE
811 state = ACTIVE
812 shadow = IN
813 overlay_file = "Check-Radio/menucheck.png"
814 overlay_stretch = FALSE
815 }
816 image
817 {
818 function = CHECK
819 recolorable = TRUE
820 state = INSENSITIVE
821 shadow = IN
822 overlay_file = "Others/null.png"
823 overlay_stretch = FALSE
824 }
825
826 # Radio Buttons
827
828 image
829 {
830 function = OPTION
831 state = NORMAL
832 shadow = OUT
833 overlay_file = "Others/null.png"
834 overlay_stretch = FALSE
835 }
836 image
837 {
838 function = OPTION
839 state = PRELIGHT
840 shadow = OUT
841 overlay_file = "Others/null.png"
842 overlay_stretch = FALSE
843 }
844 image
845 {
846 function = OPTION
847 state = ACTIVE
848 shadow = OUT
849 overlay_file = "Others/null.png"
850 overlay_stretch = FALSE
851 }
852 image
853 {
854 function = OPTION
855 state = INSENSITIVE
856 shadow = OUT
857 overlay_file = "Others/null.png"
858 overlay_stretch = FALSE
859 }
860 image
861 {
862 function = OPTION
863 state = NORMAL
864 shadow = IN
865 overlay_file = "Check-Radio/menuoption.png"
866 overlay_stretch = FALSE
867 }
868 image
869 {
870 function = OPTION
871 state = PRELIGHT
872 shadow = IN
873 overlay_file = "Check-Radio/menuoption_prelight.png"
874 overlay_stretch = FALSE
875 }
876 image
877 {
878 function = OPTION
879 state = ACTIVE
880 shadow = IN
881 overlay_file = "Check-Radio/menuoption.png"
882 overlay_stretch = FALSE
883 }
884 image
885 {
886 function = OPTION
887 state = INSENSITIVE
888 shadow = IN
889 overlay_file = "Others/null.png"
890 overlay_stretch = FALSE
891 }
892 image
893 {
894 function = SHADOW # This fixes boxy Qt menu items
895 file = "Others/null.png"
896 border = { 4, 4, 4, 4 }
897 stretch = TRUE
898 }
899
900 # Arrow Buttons
901
902 image
903 {
904 function = ARROW
905 state = NORMAL
906 overlay_file = "Arrows/menu-arrow.png"
907 overlay_border = { 0, 0, 0, 0 }
908 overlay_stretch = FALSE
909 arrow_direction = RIGHT
910 }
911 image
912 {
913 function = ARROW
914 state = PRELIGHT
915 overlay_file = "Arrows/menu-arrow-prelight.png"
916 overlay_border = { 0, 0, 0, 0 }
917 overlay_stretch = FALSE
918 arrow_direction = RIGHT
919 }
920 }
921 }
922
923 style "menubar_item"
924 {
925 xthickness = 2
926 ythickness = 3
927 bg[PRELIGHT] = @selected_fg_color
928 fg[PRELIGHT] = @text_color
929 }
930
931 style "button"
932 {
933 xthickness = 3
934 ythickness = 3
935
936 engine "pixmap"
937 {
938 image
939 {
940 function = BOX
941 state = NORMAL
942 file = "Buttons/button-default.png"
943 border = { 4, 4, 4, 4 }
944 stretch = TRUE
945 }
946 image
947 {
948 function = BOX
949 state = PRELIGHT
950 file = "Buttons/button-prelight.png"
951 border = { 4, 4, 4, 4 }
952 stretch = TRUE
953 }
954 image
955 {
956 function = BOX
957 state = ACTIVE
958 file = "Buttons/button-pressed.png"
959 border = { 4, 4, 4, 4 }
960 stretch = TRUE
961 }
962 image
963 {
964 function = BOX
965 state = INSENSITIVE
966 file = "Buttons/button-insensitive.png"
967 border = { 4, 4, 4, 4 }
968 stretch = TRUE
969 }
970 }
971 }
972
973 style "button_nohilight"
974 {
975 xthickness = 3
976 ythickness = 4
977
978 engine "pixmap"
979 {
980 image
981 {
982 function = BOX
983 state = NORMAL
984 file = "Buttons/button-default-nohilight.png"
985 border = { 4, 4, 4, 4 }
986 stretch = TRUE
987 }
988 image
989 {
990 function = BOX
991 state = PRELIGHT
992 file = "Buttons/button-prelight-nohilight.png"
993 border = { 4, 4, 4, 4 }
994 stretch = TRUE
995 }
996 image
997 {
998 function = BOX
999 state = ACTIVE
1000 file = "Buttons/button-pressed-nohilight.png"
1001 border = { 4, 4, 4, 4 }
1002 stretch = TRUE
1003 }
1004 image
1005 {
1006 function = BOX
1007 state = INSENSITIVE
1008 file = "Buttons/button-insensitive-nohilight.png"
1009 border = { 4, 4, 4, 4 }
1010 stretch = TRUE
1011 }
1012 }
1013 }
1014
1015 style "checkbutton"
1016 {
1017 fg[PRELIGHT] = @text_color
1018 fg[ACTIVE] = @text_color
1019 }
1020
1021 style "entry"
1022 {
1023 xthickness = 3
1024 ythickness = 4
1025
1026 base[NORMAL] = @base_color
1027 base[INSENSITIVE] = @insensitive_bg_color
1028
1029 engine "pixmap"
1030 {
1031 image
1032 {
1033 function = SHADOW
1034 detail = "entry"
1035 state = NORMAL
1036 shadow = IN
1037 file = "Entry/entry-border-bg.png"
1038 border = { 4, 4, 4, 4 }
1039 stretch = TRUE
1040 }
1041 image
1042 {
1043 function = SHADOW
1044 detail = "entry"
1045 state = INSENSITIVE
1046 shadow = IN
1047 file = "Entry/entry-border-disabled-bg.png"
1048 border = { 4, 4, 4, 4 }
1049 stretch = TRUE
1050 }
1051 image
1052 {
1053 function = SHADOW
1054 detail = "entry"
1055 state = ACTIVE
1056 file = "Entry/entry-border-active-bg.png"
1057 border = { 4, 4, 4, 4 }
1058 stretch = TRUE
1059 }
1060 image
1061 {
1062 function = FLAT_BOX
1063 detail = "entry_bg"
1064 state = NORMAL
1065 file = "Others/null.png"
1066 border = { 0, 0, 0, 0 }
1067 stretch = TRUE
1068 }
1069 image
1070 {
1071 function = FLAT_BOX
1072 detail = "entry_bg"
1073 state = ACTIVE
1074 file = "Others/null.png"
1075 border = { 0, 0, 0, 0 }
1076 stretch = TRUE
1077 }
1078 }
1079 }
1080
1081 style "notebook_entry"
1082 {
1083 xthickness = 3
1084 ythickness = 4
1085
1086 base[NORMAL] = @base_color
1087 base[INSENSITIVE] = @insensitive_bg_color
1088
1089 engine "pixmap"
1090 {
1091 image
1092 {
1093 function = SHADOW
1094 detail = "entry"
1095 state = NORMAL
1096 shadow = IN
1097 file = "Entry/notebook-entry-border-bg.png"
1098 border = { 4, 4, 4, 4 }
1099 stretch = TRUE
1100 }
1101 image
1102 {
1103 function = SHADOW
1104 detail = "entry"
1105 state = INSENSITIVE
1106 shadow = IN
1107 file = "Entry/notebook-entry-border-disabled-bg.png"
1108 border = { 4, 4, 4, 4 }
1109 stretch = TRUE
1110 }
1111 image
1112 {
1113 function = SHADOW
1114 detail = "entry"
1115 state = ACTIVE
1116 file = "Entry/notebook-entry-border-active-bg.png"
1117 border = { 4, 4, 4, 4 }
1118 stretch = TRUE
1119 }
1120 image
1121 {
1122 function = FLAT_BOX
1123 detail = "entry_bg"
1124 state = NORMAL
1125 file = "Others/null.png"
1126 border = { 0, 0, 0, 0 }
1127 stretch = TRUE
1128 }
1129 image
1130 {
1131 function = FLAT_BOX
1132 detail = "entry_bg"
1133 state = ACTIVE
1134 file = "Others/null.png"
1135 border = { 0, 0, 0, 0 }
1136 stretch = TRUE
1137 }
1138 }
1139 }
1140
1141 style "notebook_tab_label"
1142 {
1143 fg[ACTIVE] = @text_color
1144 }
1145
1146 style "combobox_entry"
1147 {
1148 xthickness = 2
1149 ythickness = 4
1150
1151 engine "pixmap"
1152 {
1153 # LTR version
1154 image
1155 {
1156 function = SHADOW
1157 detail = "entry"
1158 state = NORMAL
1159 shadow = IN
1160 file = "Entry/combo-entry-border-bg.png"
1161 border = { 4, 4, 4, 4 }
1162 stretch = TRUE
1163 direction = LTR
1164 }
1165 image
1166 {
1167 function = SHADOW
1168 detail = "entry"
1169 state = INSENSITIVE
1170 shadow = IN
1171 file = "Entry/combo-entry-border-disabled-bg.png"
1172 border = { 4, 4, 5, 4 }
1173 stretch = TRUE
1174 direction = LTR
1175 }
1176 image
1177 {
1178 function = SHADOW
1179 detail = "entry"
1180 state = ACTIVE
1181 file = "Entry/combo-entry-border-active-bg.png"
1182 border = { 4, 4, 5, 4 }
1183 stretch = TRUE
1184 direction = LTR
1185 }
1186
1187 # RTL version
1188 image
1189 {
1190 function = SHADOW
1191 detail = "entry"
1192 state = NORMAL
1193 shadow = IN
1194 file = "Entry/combo-entry-border-rtl-bg.png"
1195 border = { 4, 4, 5, 4 }
1196 stretch = TRUE
1197 direction = RTL
1198 }
1199 image
1200 {
1201 function = SHADOW
1202 detail = "entry"
1203 state = INSENSITIVE
1204 shadow = IN
1205 file = "Entry/combo-entry-border-disabled-rtl-bg.png"
1206 border = { 4, 4, 5, 4 }
1207 stretch = TRUE
1208 direction = RTL
1209 }
1210 image
1211 {
1212 function = SHADOW
1213 detail = "entry"
1214 state = ACTIVE
1215 file = "Entry/combo-entry-border-active-rtl-bg.png"
1216 border = { 4, 4, 5, 4 }
1217 stretch = TRUE
1218 direction = RTL
1219 }
1220 }
1221 }
1222
1223 style "combobox_entry_button"
1224 {
1225 fg[ACTIVE] = @text_color
1226
1227 engine "pixmap"
1228 {
1229 # LTR version
1230 image
1231 {
1232 function = BOX
1233 state = NORMAL
1234 file = "Entry/combo-entry-button.png"
1235 border = { 4, 4, 5, 4 }
1236 stretch = TRUE
1237 direction = LTR
1238 }
1239 image
1240 {
1241 function = BOX
1242 state = PRELIGHT
1243 file = "Entry/combo-entry-button.png"
1244 border = { 4, 4, 5, 4 }
1245 stretch = TRUE
1246 direction = LTR
1247 }
1248 image
1249 {
1250 function = BOX
1251 state = INSENSITIVE
1252 file = "Entry/combo-entry-button-disabled.png"
1253 border = { 4, 4, 5, 4 }
1254 stretch = TRUE
1255 direction = LTR
1256 }
1257 image
1258 {
1259 function = BOX
1260 state = ACTIVE
1261 file = "Entry/combo-entry-button-active.png"
1262 border = { 4, 4, 5, 4 }
1263 stretch = TRUE
1264 direction = LTR
1265 }
1266
1267 # RTL version
1268 image
1269 {
1270 function = BOX
1271 state = NORMAL
1272 file = "Entry/combo-entry-button-rtl.png"
1273 border = { 4, 4, 5, 4 }
1274 stretch = TRUE
1275 direction = RTL
1276 }
1277 image
1278 {
1279 function = BOX
1280 state = PRELIGHT
1281 file = "Entry/combo-entry-button-rtl.png"
1282 border = { 4, 4, 5, 4 }
1283 stretch = TRUE
1284 direction = RTL
1285 }
1286 image
1287 {
1288 function = BOX
1289 state = INSENSITIVE
1290 file = "Entry/combo-entry-button-disabled-rtl.png"
1291 border = { 4, 4, 5, 4 }
1292 stretch = TRUE
1293 direction = RTL
1294 }
1295 image
1296 {
1297 function = BOX
1298 state = ACTIVE
1299 file = "Entry/combo-entry-button-active-rtl.png"
1300 border = { 4, 4, 5, 4 }
1301 stretch = TRUE
1302 direction = RTL
1303 }
1304 }
1305 }
1306
1307 style "spinbutton"
1308 {
1309 bg[NORMAL] = @bg_color
1310
1311 xthickness = 4
1312 ythickness = 4
1313
1314 engine "pixmap"
1315 {
1316 image
1317 {
1318 function = ARROW
1319 }
1320
1321 # Spin-Up LTR
1322 image
1323 {
1324 function = BOX
1325 state = NORMAL
1326 detail = "spinbutton_up"
1327 file = "Spin/up-background.png"
1328 border = { 1, 4, 5, 0 }
1329 stretch = TRUE
1330 overlay_file = "Arrows/arrow-up-small.png"
1331 overlay_stretch = FALSE
1332 direction = LTR
1333 }
1334 image
1335 {
1336 function = BOX
1337 state = PRELIGHT
1338 detail = "spinbutton_up"
1339 file = "Spin/up-background.png"
1340 border = { 1, 4, 5, 0 }
1341 stretch = TRUE
1342 overlay_file = "Arrows/arrow-up-small-prelight.png"
1343 overlay_stretch = FALSE
1344 direction = LTR
1345 }
1346 image
1347 {
1348 function = BOX
1349 state = INSENSITIVE
1350 detail = "spinbutton_up"
1351 file = "Spin/up-background-disable.png"
1352 border = { 1, 4, 5, 0 }
1353 stretch = TRUE
1354 overlay_file = "Arrows/arrow-up-small-insens.png"
1355 overlay_stretch = FALSE
1356 direction = LTR
1357 }
1358 image
1359 {
1360 function = BOX
1361 state = ACTIVE
1362 detail = "spinbutton_up"
1363 file = "Spin/up-background.png"
1364 border = { 1, 4, 5, 0 }
1365 stretch = TRUE
1366 overlay_file = "Arrows/arrow-up-small-prelight.png"
1367 overlay_stretch = FALSE
1368 direction = LTR
1369 }
1370
1371 # Spin-Up RTL
1372 image
1373 {
1374 function = BOX
1375 state = NORMAL
1376 detail = "spinbutton_up"
1377 file = "Spin/up-background-rtl.png"
1378 border = { 4, 1, 5, 0 }
1379 stretch = TRUE
1380 overlay_file = "Arrows/arrow-up-small.png"
1381 overlay_stretch = FALSE
1382 direction = RTL
1383 }
1384 image
1385 {
1386 function = BOX
1387 state = PRELIGHT
1388 detail = "spinbutton_up"
1389 file = "Spin/up-background-rtl.png"
1390 border = { 4, 1, 5, 0 }
1391 stretch = TRUE
1392 overlay_file = "Arrows/arrow-up-small-prelight.png"
1393 overlay_stretch = FALSE
1394 direction = RTL
1395 }
1396 image
1397 {
1398 function = BOX
1399 state = INSENSITIVE
1400 detail = "spinbutton_up"
1401 file = "Spin/up-background-disable-rtl.png"
1402 border = { 4, 1, 5, 0 }
1403 stretch = TRUE
1404 overlay_file = "Arrows/arrow-up-small-insens.png"
1405 overlay_stretch = FALSE
1406 direction = RTL
1407 }
1408 image
1409 {
1410 function = BOX
1411 state = ACTIVE
1412 detail = "spinbutton_up"
1413 file = "Spin/up-background-rtl.png"
1414 border = { 4, 1, 5, 0 }
1415 stretch = TRUE
1416 overlay_file = "Arrows/arrow-up-small-prelight.png"
1417 overlay_stretch = FALSE
1418 direction = RTL
1419 }
1420
1421 # Spin-Down LTR
1422 image
1423 {
1424 function = BOX
1425 state = NORMAL
1426 detail = "spinbutton_down"
1427 file = "Spin/down-background.png"
1428 border = { 1, 4, 1, 4 }
1429 stretch = TRUE
1430 overlay_file = "Arrows/arrow-down-small.png"
1431 overlay_stretch = FALSE
1432 direction = LTR
1433 }
1434 image
1435 {
1436 function = BOX
1437 state = PRELIGHT
1438 detail = "spinbutton_down"
1439 file = "Spin/down-background.png"
1440 border = { 1, 4, 1, 4 }
1441 stretch = TRUE
1442 overlay_file = "Arrows/arrow-down-small-prelight.png"
1443 overlay_stretch = FALSE
1444 direction = LTR
1445 }
1446 image
1447 {
1448 function = BOX
1449 state = INSENSITIVE
1450 detail = "spinbutton_down"
1451 file = "Spin/down-background-disable.png"
1452 border = { 1, 4, 1, 4 }
1453 stretch = TRUE
1454 overlay_file = "Arrows/arrow-down-small-insens.png"
1455 overlay_stretch = FALSE
1456 direction = LTR
1457 }
1458 image
1459 {
1460 function = BOX
1461 state = ACTIVE
1462 detail = "spinbutton_down"
1463 file = "Spin/down-background.png"
1464 border = { 1, 4, 1, 4 }
1465 stretch = TRUE
1466 overlay_file = "Arrows/arrow-down-small-prelight.png"
1467 overlay_stretch = FALSE
1468 direction = LTR
1469 }
1470
1471 # Spin-Down RTL
1472 image
1473 {
1474 function = BOX
1475 state = NORMAL
1476 detail = "spinbutton_down"
1477 file = "Spin/down-background-rtl.png"
1478 border = { 4, 1, 1, 4 }
1479 stretch = TRUE
1480 overlay_file = "Arrows/arrow-down-small.png"
1481 overlay_stretch = FALSE
1482 direction = RTL
1483 }
1484 image
1485 {
1486 function = BOX
1487 state = PRELIGHT
1488 detail = "spinbutton_down"
1489 file = "Spin/down-background-rtl.png"
1490 border = { 4, 1, 1, 4 }
1491 stretch = TRUE
1492 overlay_file = "Arrows/arrow-down-small-prelight.png"
1493 overlay_stretch = FALSE
1494 direction = RTL
1495 }
1496 image
1497 {
1498 function = BOX
1499 state = INSENSITIVE
1500 detail = "spinbutton_down"
1501 file = "Spin/down-background-disable-rtl.png"
1502 border = { 4, 1, 1, 4 }
1503 stretch = TRUE
1504 overlay_file = "Arrows/arrow-down-small-insens.png"
1505 overlay_stretch = FALSE
1506 direction = RTL
1507 }
1508 image
1509 {
1510 function = BOX
1511 state = ACTIVE
1512 detail = "spinbutton_down"
1513 file = "Spin/down-background-rtl.png"
1514 border = { 4, 1, 1, 4 }
1515 stretch = TRUE
1516 overlay_file = "Arrows/arrow-down-small-prelight.png"
1517 overlay_stretch = FALSE
1518 direction = RTL
1519 }
1520 }
1521 }
1522
1523 style "gimp_spin_scale"
1524 {
1525 bg[NORMAL] = @base_color
1526
1527 engine "pixmap"
1528 {
1529 image
1530 {
1531 function = FLAT_BOX
1532 detail = "entry_bg"
1533 state = NORMAL
1534 }
1535 image
1536 {
1537 function = FLAT_BOX
1538 detail = "entry_bg"
1539 state = ACTIVE
1540 }
1541
1542 image
1543 {
1544 function = BOX
1545 state = NORMAL
1546 detail = "spinbutton_up"
1547 overlay_file = "Arrows/arrow-up-small.png"
1548 overlay_stretch = FALSE
1549 }
1550 image
1551 {
1552 function = BOX
1553 state = PRELIGHT
1554 detail = "spinbutton_up"
1555 overlay_file = "Arrows/arrow-up-small-prelight.png"
1556 overlay_stretch = FALSE
1557 }
1558 image
1559 {
1560 function = BOX
1561 state = ACTIVE
1562 detail = "spinbutton_up"
1563 overlay_file = "Arrows/arrow-up-small-prelight.png"
1564 overlay_stretch = FALSE
1565 }
1566 image
1567 {
1568 function = BOX
1569 state = INSENSITIVE
1570 detail = "spinbutton_up"
1571 overlay_file = "Arrows/arrow-up-small-insens.png"
1572 overlay_stretch = FALSE
1573 }
1574 image
1575 {
1576 function = BOX
1577 state = NORMAL
1578 detail = "spinbutton_down"
1579 overlay_file = "Arrows/arrow-down-small.png"
1580 overlay_stretch = FALSE
1581 }
1582 image
1583 {
1584 function = BOX
1585 state = PRELIGHT
1586 detail = "spinbutton_down"
1587 overlay_file = "Arrows/arrow-down-small-prelight.png"
1588 overlay_stretch = FALSE
1589 }
1590 image
1591 {
1592 function = BOX
1593 state = ACTIVE
1594 detail = "spinbutton_down"
1595 overlay_file = "Arrows/arrow-down-small-prelight.png"
1596 overlay_stretch = FALSE
1597 }
1598 image
1599 {
1600 function = BOX
1601 state = INSENSITIVE
1602 detail = "spinbutton_down"
1603 overlay_file = "Arrows/arrow-down-small-insens.png"
1604 overlay_stretch = FALSE
1605 }
1606 }
1607 }
1608
1609 style "libreoffice_entry"
1610 {
1611 engine "pixmap"
1612 {
1613 image
1614 {
1615 function = FLAT_BOX
1616 detail = "entry_bg"
1617 state = NORMAL
1618 overlay_file = "Entry/entry-border-fill-solid.png"
1619 overlay_border = { 0, 0, 0, 0 }
1620 overlay_stretch = TRUE
1621 }
1622 image
1623 {
1624 function = FLAT_BOX
1625 detail = "entry_bg"
1626 state = ACTIVE
1627 overlay_file = "Entry/entry-border-fill-solid.png"
1628 overlay_border = { 0, 0, 0, 0 }
1629 overlay_stretch = TRUE
1630 }
1631 image
1632 {
1633 function = SHADOW
1634 detail = "entry"
1635 state = NORMAL
1636 shadow = IN
1637 file = "Entry/entry-border-bg-solid.png"
1638 border = { 4, 4, 4, 4 }
1639 stretch = TRUE
1640 }
1641 image
1642 {
1643 function = SHADOW
1644 detail = "entry"
1645 state = ACTIVE
1646 file = "Entry/entry-border-active-bg-solid.png"
1647 border = { 4, 4, 4, 4 }
1648 stretch = TRUE
1649 }
1650 }
1651 }
1652
1653 style "libreoffice_spinbutton_entry"
1654 {
1655 engine "pixmap"
1656 {
1657 image
1658 {
1659 function = SHADOW
1660 detail = "entry"
1661 state = NORMAL
1662 shadow = IN
1663 file = "Entry/entry-border-bg-solid-spin.png"
1664 border = { 4, 4, 4, 4 }
1665 stretch = TRUE
1666 }
1667 image
1668 {
1669 function = SHADOW
1670 detail = "entry"
1671 state = ACTIVE
1672 file = "Entry/entry-border-active-bg-solid-spin.png"
1673 border = { 4, 4, 4, 4 }
1674 stretch = TRUE
1675 }
1676 image
1677 {
1678 function = FLAT_BOX
1679 detail = "entry_bg"
1680 state = NORMAL
1681 overlay_file = "Entry/entry-border-fill-solid.png"
1682 overlay_border = { 0, 0, 0, 0 }
1683 overlay_stretch = TRUE
1684 }
1685 image
1686 {
1687 function = FLAT_BOX
1688 detail = "entry_bg"
1689 state = ACTIVE
1690 overlay_file = "Entry/entry-border-fill-solid.png"
1691 overlay_border = { 0, 0, 0, 0 }
1692 overlay_stretch = TRUE
1693 }
1694 }
1695 }
1696
1697 style "standalone_entry"
1698 {
1699 engine "pixmap"
1700 {
1701 image
1702 {
1703 function = FLAT_BOX
1704 detail = "entry_bg"
1705 state = ACTIVE
1706 file = "Entry/entry-border-fill-plain.png"
1707 stretch = TRUE
1708 border = { 0, 0, 0, 0 }
1709 }
1710 image
1711 {
1712 function = SHADOW
1713 detail = "entry"
1714 state = NORMAL
1715 shadow = IN
1716 file = "Entry/entry-border-bg-solid.png"
1717 border = { 4, 4, 4, 4 }
1718 stretch = TRUE
1719 }
1720 image
1721 {
1722 function = SHADOW
1723 detail = "entry"
1724 state = ACTIVE
1725 file = "Entry/entry-border-active-bg-solid.png"
1726 border = { 4, 4, 4, 4 }
1727 stretch = TRUE
1728 }
1729 image
1730 {
1731 function = FLAT_BOX
1732 detail = "entry_bg"
1733 state = NORMAL
1734 file = "Entry/entry-border-fill-plain.png"
1735 stretch = TRUE
1736 border = { 0, 0, 0, 0 }
1737 }
1738 }
1739 }
1740
1741 style "notebook"
1742 {
1743
1744 xthickness = 5
1745 ythickness = 2
1746
1747 engine "pixmap"
1748 {
1749 image
1750 {
1751 function = EXTENSION
1752 state = ACTIVE
1753 file = "Tabs/tab-bottom.png"
1754 border = { 3,3,3,5 }
1755 stretch = TRUE
1756 gap_side = TOP
1757 }
1758 image
1759 {
1760 function = EXTENSION
1761 state = ACTIVE
1762 file = "Tabs/tab-top.png"
1763 border = { 3,3,5,3 }
1764 stretch = TRUE
1765 gap_side = BOTTOM
1766 }
1767 image
1768 {
1769 function = EXTENSION
1770 state = ACTIVE
1771 file = "Tabs/tab-left.png"
1772 border = { 3,3,3,3 }
1773 stretch = TRUE
1774 gap_side = RIGHT
1775 }
1776 image
1777 {
1778 function = EXTENSION
1779 state = ACTIVE
1780 file = "Tabs/tab-right.png"
1781 border = { 3,3,3,3 }
1782 stretch = TRUE
1783 gap_side = LEFT
1784 }
1785 image
1786 {
1787 function = EXTENSION
1788 file = "Tabs/tab-top-active.png"
1789 border = { 3,3,3,3 }
1790 stretch = TRUE
1791 gap_side = BOTTOM
1792 }
1793 image
1794 {
1795 function = EXTENSION
1796 file = "Tabs/tab-bottom-active.png"
1797 border = { 3,3,3,3 }
1798 stretch = TRUE
1799 gap_side = TOP
1800 }
1801 image
1802 {
1803 function = EXTENSION
1804 file = "Tabs/tab-left-active.png"
1805 border = { 3,3,3,3 }
1806 stretch = TRUE
1807 gap_side = RIGHT
1808 }
1809 image
1810 {
1811 function = EXTENSION
1812 file = "Tabs/tab-right-active.png"
1813 border = { 3,3,3,3 }
1814 stretch = TRUE
1815 gap_side = LEFT
1816 }
1817
1818 # How to draw boxes with a gap on one side (ie the page of a notebook)
1819
1820 image
1821 {
1822 function = BOX_GAP
1823 file = "Tabs/notebook.png"
1824 border = { 4, 4, 4, 4 }
1825 stretch = TRUE
1826 gap_file = "Tabs/notebook-gap-horiz.png"
1827 gap_border = { 1, 1, 0, 0 }
1828 gap_side = TOP
1829 }
1830 image
1831 {
1832 function = BOX_GAP
1833 file = "Tabs/notebook.png"
1834 border = { 4, 4, 4, 4 }
1835 stretch = TRUE
1836 gap_file = "Tabs/notebook-gap-horiz.png"
1837 gap_border = { 1, 1, 0, 0 }
1838 gap_side = BOTTOM
1839 }
1840 image
1841 {
1842 function = BOX_GAP
1843 file = "Tabs/notebook.png"
1844 border = { 4, 4, 4, 4 }
1845 stretch = TRUE
1846 gap_file = "Tabs/notebook-gap-vert.png"
1847 gap_border = { 0, 0, 1, 1 }
1848 gap_side = LEFT
1849 }
1850 image
1851 {
1852 function = BOX_GAP
1853 file = "Tabs/notebook.png"
1854 border = { 4, 4, 4, 4 }
1855 stretch = TRUE
1856 gap_file = "Tabs/notebook-gap-vert.png"
1857 gap_border = { 0, 0, 1, 1 }
1858 gap_side = RIGHT
1859 }
1860
1861 # How to draw the box of a notebook when it isnt attached to a tab
1862
1863 image
1864 {
1865 function = BOX
1866 file = "Tabs/notebook.png"
1867 border = { 4, 4, 4, 4 }
1868 stretch = TRUE
1869 }
1870 }
1871 }
1872
1873 style "handlebox"
1874 {
1875 engine "pixmap"
1876 {
1877 image
1878 {
1879 function = BOX
1880 file = "Others/null.png"
1881 border = { 4, 4, 4, 4 }
1882 stretch = TRUE
1883 detail = "handlebox_bin"
1884 shadow = IN
1885 }
1886 image
1887 {
1888 function = BOX
1889 file = "Others/null.png"
1890 border = { 4, 4, 4, 4 }
1891 stretch = TRUE
1892 detail = "handlebox_bin"
1893 shadow = OUT
1894 }
1895 }
1896 }
1897
1898 style "button_separator"
1899 {
1900 xthickness = 0
1901 ythickness = 0
1902 GtkWidget::wide-separators = 1
1903 }
1904
1905 style "combobox"
1906 {
1907 xthickness = 0
1908 ythickness = 0
1909 }
1910
1911 style "combobox_button"
1912 {
1913 xthickness = 2
1914 ythickness = 2
1915 }
1916
1917 style "range"
1918 {
1919 engine "pixmap"
1920 {
1921 image
1922 {
1923 function = BOX
1924 detail = "trough"
1925 file = "Range/trough-horizontal.png"
1926 border = { 4, 4, 0, 0 }
1927 stretch = TRUE
1928 orientation = HORIZONTAL
1929 }
1930 image
1931 {
1932 function = BOX
1933 detail = "trough"
1934 file = "Range/trough-vertical.png"
1935 border = { 0, 0, 4, 4 }
1936 stretch = TRUE
1937 orientation = VERTICAL
1938 }
1939
1940 # Horizontal
1941
1942 image
1943 {
1944 function = SLIDER
1945 state = NORMAL
1946 file = "Others/null.png"
1947 border = { 0, 0, 0, 0 }
1948 stretch = TRUE
1949 overlay_file = "Range/slider-horiz.png"
1950 overlay_stretch = FALSE
1951 orientation = HORIZONTAL
1952 }
1953 image
1954 {
1955 function = SLIDER
1956 state = PRELIGHT
1957 file = "Others/null.png"
1958 border = { 0, 0, 0, 0 }
1959 stretch = TRUE
1960 overlay_file = "Range/slider-horiz-prelight.png"
1961 overlay_stretch = FALSE
1962 orientation = HORIZONTAL
1963 }
1964 image
1965 {
1966 function = SLIDER
1967 state = INSENSITIVE
1968 file = "Others/null.png"
1969 border = { 0, 0, 0, 0 }
1970 stretch = TRUE
1971 overlay_file = "Range/slider-horiz.png"
1972 overlay_stretch = FALSE
1973 orientation = HORIZONTAL
1974 }
1975
1976 # Vertical
1977
1978 image
1979 {
1980 function = SLIDER
1981 state = NORMAL
1982 file = "Others/null.png"
1983 border = { 0, 0, 0, 0 }
1984 stretch = TRUE
1985 overlay_file = "Range/slider-vert.png"
1986 overlay_stretch = FALSE
1987 orientation = VERTICAL
1988 }
1989 image
1990 {
1991 function = SLIDER
1992 state = PRELIGHT
1993 file = "Others/null.png"
1994 border = { 0, 0, 0, 0 }
1995 stretch = TRUE
1996 overlay_file = "Range/slider-vert-prelight.png"
1997 overlay_stretch = FALSE
1998 orientation = VERTICAL
1999 }
2000 image
2001 {
2002 function = SLIDER
2003 state = INSENSITIVE
2004 file = "Others/null.png"
2005 border = { 0, 0, 0, 0 }
2006 stretch = TRUE
2007 overlay_file = "Range/slider-vert.png"
2008 overlay_stretch = FALSE
2009 orientation = VERTICAL
2010 }
2011
2012 # Function below removes ugly boxes
2013 image
2014 {
2015 function = BOX
2016 file = "Others/null.png"
2017 border = { 3, 3, 3, 3 }
2018 stretch = TRUE
2019 }
2020
2021 }
2022 }
2023
2024 style "progressbar"
2025 {
2026 xthickness = 1
2027 ythickness = 1
2028
2029 engine "pixmap"
2030 {
2031 image
2032 {
2033 function = BOX
2034 detail = "trough"
2035 file = "ProgressBar/trough-progressbar.png"
2036 border = { 4, 4, 4, 4 }
2037 stretch = TRUE
2038 orientation = HORIZONTAL
2039 }
2040 image
2041 {
2042 function = BOX
2043 detail = "bar"
2044 file = "ProgressBar/progressbar.png"
2045 stretch = TRUE
2046 border = { 3, 3, 3, 3 }
2047 orientation = HORIZONTAL
2048 }
2049 image
2050 {
2051 function = BOX
2052 detail = "trough"
2053 file = "ProgressBar/trough-progressbar_v.png"
2054 border = { 4, 4, 4, 4 }
2055 stretch = TRUE
2056 orientation = VERTICAL
2057 }
2058 image
2059 {
2060 function = BOX
2061 detail = "bar"
2062 file = "ProgressBar/progressbar_v.png"
2063 stretch = TRUE
2064 border = { 3, 3, 3, 3 }
2065 orientation = VERTICAL
2066 }
2067 }
2068 }
2069
2070 style "separator_menu_item"
2071 {
2072 engine "pixmap"
2073 {
2074 image
2075 {
2076 function = BOX
2077 file = "Lines/menu_line_h.png"
2078 border = { 0, 0, 1, 0 }
2079 stretch = TRUE
2080 }
2081 }
2082 }
2083
2084 style "treeview_header"
2085 {
2086 ythickness = 1
2087
2088 fg[NORMAL] = shade(0.55, @bg_color)
2089 fg[PRELIGHT] = shade(0.80, @text_color)
2090 font_name = "Bold"
2091
2092 engine "pixmap"
2093 {
2094 image
2095 {
2096 function = BOX
2097 file = "Others/tree_header.png"
2098 border = { 1, 1, 1, 1 }
2099 stretch = TRUE
2100 }
2101 }
2102 }
2103
2104 style "scrolled_window"
2105 {
2106 xthickness = 1
2107 ythickness = 1
2108
2109 engine "pixmap"
2110 {
2111 image
2112 {
2113 function = SHADOW
2114 file = "Shadows/frame.png"
2115 border = { 5, 5, 5, 5 }
2116 stretch = TRUE
2117 }
2118 }
2119 }
2120
2121 style "frame"
2122 {
2123 xthickness = 1
2124 ythickness = 1
2125
2126 engine "pixmap"
2127 {
2128 image
2129 {
2130 function = SHADOW
2131 file = "Shadows/frame.png"
2132 border = { 1, 1, 1, 1 }
2133 stretch = TRUE
2134 shadow = IN
2135 }
2136 image
2137 {
2138 function = SHADOW_GAP
2139 file = "Shadows/frame.png"
2140 border = { 1, 1, 1, 1 }
2141 stretch = TRUE
2142 gap_start_file = "Shadows/frame-gap-start.png"
2143 gap_start_border = { 1, 0, 0, 0 }
2144 gap_end_file = "Shadows/frame-gap-end.png"
2145 gap_end_border = { 0, 1, 0, 0 }
2146 shadow = IN
2147 }
2148 image
2149 {
2150 function = SHADOW
2151 file = "Shadows/frame.png"
2152 border = { 1, 1, 1, 1 }
2153 stretch = TRUE
2154 shadow = OUT
2155 }
2156 image
2157 {
2158 function = SHADOW_GAP
2159 file = "Shadows/frame.png"
2160 border = { 1, 1, 1, 1 }
2161 stretch = TRUE
2162 gap_start_file = "Shadows/frame-gap-start.png"
2163 gap_start_border = { 1, 0, 0, 0 }
2164 gap_end_file = "Shadows/frame-gap-end.png"
2165 gap_end_border = { 0, 1, 0, 0 }
2166 shadow = OUT
2167 }
2168 image
2169 {
2170 function = SHADOW
2171 file = "Shadows/frame.png"
2172 border = { 1, 1, 1, 1 }
2173 stretch = TRUE
2174 shadow = ETCHED_IN
2175 }
2176 image
2177 {
2178 function = SHADOW_GAP
2179 file = "Shadows/frame.png"
2180 border = { 1, 1, 1, 1 }
2181 stretch = TRUE
2182 gap_start_file = "Shadows/frame-gap-start.png"
2183 gap_start_border = { 1, 0, 0, 0 }
2184 gap_end_file = "Shadows/frame-gap-end.png"
2185 gap_end_border = { 0, 1, 0, 0 }
2186 shadow = ETCHED_IN
2187 }
2188 image
2189 {
2190 function = SHADOW
2191 file = "Shadows/frame.png"
2192 border = { 1, 1, 1, 1 }
2193 stretch = TRUE
2194 shadow = ETCHED_OUT
2195 }
2196 image
2197 {
2198 function = SHADOW_GAP
2199 file = "Shadows/frame.png"
2200 border = { 1, 1, 1, 1 }
2201 stretch = TRUE
2202 gap_start_file = "Shadows/frame-gap-start.png"
2203 gap_start_border = { 1, 0, 0, 0 }
2204 gap_end_file = "Shadows/frame-gap-end.png"
2205 gap_end_border = { 0, 1, 0, 0 }
2206 shadow = ETCHED_OUT
2207 }
2208 }
2209 }
2210
2211 style "gimp_toolbox_frame"
2212 {
2213 engine "pixmap"
2214 {
2215 image
2216 {
2217 function = SHADOW
2218 }
2219 }
2220 }
2221
2222 style "toolbar"
2223 {
2224 engine "pixmap"
2225 {
2226 image
2227 {
2228 function = SHADOW
2229 }
2230 }
2231 }
2232
2233 style "inline_toolbar"
2234 {
2235 GtkToolbar::button-relief = GTK_RELIEF_NORMAL
2236
2237 engine "pixmap"
2238 {
2239 image
2240 {
2241 function = BOX
2242 file = "Toolbar/inline-toolbar.png"
2243 stretch = TRUE
2244 }
2245 }
2246 }
2247
2248 style "notebook_viewport"
2249 {
2250 bg[NORMAL] = @base_color
2251 }
2252
2253 style "tooltips"
2254 {
2255 xthickness = 8
2256 ythickness = 4
2257
2258 bg[NORMAL] = @tooltip_bg_color
2259 fg[NORMAL] = @tooltip_fg_color
2260 bg[SELECTED] = @tooltip_bg_color
2261 }
2262
2263 style "eclipse-tooltips"
2264 {
2265 xthickness = 8
2266 ythickness = 4
2267
2268 bg[NORMAL] = shade(1.05, @bg_color)
2269 fg[NORMAL] = @text_color
2270 bg[SELECTED] = shade(1.05, @bg_color)
2271 }
2272
2273 # Chromium
2274 style "chrome-gtk-frame"
2275 {
2276 ChromeGtkFrame::frame-color = @bg_color
2277 ChromeGtkFrame::inactive-frame-color = @bg_color
2278
2279 ChromeGtkFrame::frame-gradient-size = 16
2280 ChromeGtkFrame::frame-gradient-color = shade(1.07, @bg_color)
2281
2282 ChromeGtkFrame::incognito-frame-color = shade(0.85, @bg_color)
2283 ChromeGtkFrame::incognito-inactive-frame-color = @bg_color
2284
2285 ChromeGtkFrame::incognito-frame-gradient-color = @bg_color
2286
2287 ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @bg_color)
2288 ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @bg_color)
2289 ChromeGtkFrame::scrollbar-slider-normal-color = @bg_color
2290 }
2291
2292 style "chrome_menu_item"
2293 {
2294 bg[SELECTED] = @selected_bg_color
2295 }
2296
2297 style "null"
2298 {
2299 engine "pixmap"
2300 {
2301 image
2302 {
2303 function = BOX
2304 file = "Others/null.png"
2305 stretch = TRUE
2306 }
2307 }
2308 }
2309
2310
2311 class "GtkWidget" style "default"
2312 class "GtkScrollbar" style "scrollbar"
2313 class "GtkButton" style "button"
2314 class "GtkEntry" style "entry"
2315 class "GtkOldEditable" style "entry"
2316 class "GtkSpinButton" style "spinbutton"
2317 class "GtkNotebook" style "notebook"
2318 class "GtkRange" style "range"
2319 class "GtkProgressBar" style "progressbar"
2320 class "GtkSeparatorMenuItem" style "separator_menu_item"
2321 class "GtkScrolledWindow" style "scrolled_window"
2322 class "GtkFrame" style "frame"
2323 class "GtkToolbar" style "toolbar"
2324
2325 widget_class "*<GtkMenuBar>*" style "menubar"
2326 widget_class "*<GtkMenu>*" style "menu"
2327 widget_class "*<GtkMenu>*" style "menu_framed_box"
2328 widget_class "*<GtkMenuItem>*" style "menu_item"
2329 widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
2330 widget_class "*<GtkCheckButton>*" style "checkbutton"
2331 widget_class "*<GtkComboBox>" style "combobox"
2332 widget_class "*<GtkComboBox>*<GtkButton>" style "combobox_button"
2333 widget_class "*<GtkButton>*<GtkSeparator>" style "button_separator"
2334 widget_class "*HandleBox" style "handlebox"
2335 widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
2336 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
2337 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight"
2338 widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry"
2339 widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "combobox_entry_button"
2340 widget_class "*<GtkInfoBar>*<GtkButton>" style "button_nohilight"
2341 widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport"
2342
2343 # Entries in notebooks draw with notebook's base color, but not if there's
2344 # something else in the middle that draws gray again
2345 widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
2346 widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "entry"
2347
2348 #widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>" style "notebook_combobox_entry"
2349 widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry"
2350
2351 # We also need to avoid changing fg color for the inactive notebook tab labels
2352 widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
2353
2354 # GTK tooltips
2355 widget "gtk-tooltip*" style "tooltips"
2356
2357 # Xchat special cases
2358 widget "*xchat-inputbox" style "entry"
2359
2360 # GIMP
2361 # Disable gradients completely for GimpSpinScale
2362 class "GimpSpinScale" style "gimp_spin_scale"
2363 # Remove borders from "Wilbert frame" in Gimp
2364 widget_class "*<GimpToolbox>*<GtkFrame>" style "gimp_toolbox_frame"
2365
2366 # Chrome/Chromium
2367 class "ChromeGtkFrame" style "chrome-gtk-frame"
2368 widget_class "*Chrom*Button*" style "button"
2369 widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
2370
2371 # We use this weird selector to target an offscreen entry as created
2372 # by Chrome/Chromium to derive the style for its toolbar
2373 widget_class "<GtkEntry>" style "standalone_entry"
2374
2375 # Eclipse/SWT
2376 widget "gtk-tooltips*" style "eclipse-tooltips"
2377 widget "*swt-toolbar-flat" style "null"
2378
2379 # Openoffice, Libreoffice
2380 class "GtkWindow" style "toplevel_hack"
2381 widget "*openoffice-toplevel*" style "ooo_stepper_hack"
2382 widget "*openoffice-toplevel*GtkEntry" style "libreoffice_entry"
2383 widget "*openoffice-toplevel*GtkSpinButton" style "libreoffice_spinbutton_entry"
2384 widget "*libreoffice-toplevel*GtkEntry" style "libreoffice_entry"
2385 widget "*libreoffice-toplevel*GtkSpinButton" style "libreoffice_spinbutton_entry"