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