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