Mercurial > repos > other > Adwaita-Dark-Green
annotate gtk-2.0/gtkrc @ 15:164e172bfe56
Fix dark text entry background in Qt themes
"Null.png" is transparent. Qt made this dark grey. This doesn't work for text entry!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 09 Jul 2016 11:20:25 +0100 |
parents | cd7ad7cfd077 |
children | b8c9b02def47 |
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 | |
751 | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
752 fg[NORMAL] = @fg_dark_color |
0 | 753 bg[PRELIGHT] = @selected_bg_color |
754 fg[PRELIGHT] = @selected_fg_color | |
755 text[PRELIGHT] = @selected_fg_color | |
7
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
756 #HACK: Gimp and Inkscape are showing bevelling, but LibreOffice isn't |
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
757 # So set a dark colour to let the bevel be our colour |
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
758 fg[INSENSITIVE] = @bg_dark_color |
0 | 759 |
760 engine "pixmap" | |
761 { | |
762 | |
763 # Check Buttons | |
764 | |
765 image | |
766 { | |
767 function = CHECK | |
768 recolorable = TRUE | |
769 state = NORMAL | |
770 shadow = OUT | |
771 overlay_file = "Others/null.png" | |
772 overlay_stretch = FALSE | |
773 } | |
774 image | |
775 { | |
776 function = CHECK | |
777 recolorable = TRUE | |
778 state = PRELIGHT | |
779 shadow = OUT | |
780 overlay_file = "Others/null.png" | |
781 overlay_stretch = FALSE | |
782 } | |
783 image | |
784 { | |
785 function = CHECK | |
786 recolorable = TRUE | |
787 state = ACTIVE | |
788 shadow = OUT | |
789 overlay_file = "Others/null.png" | |
790 overlay_stretch = FALSE | |
791 } | |
792 image | |
793 { | |
794 function = CHECK | |
795 recolorable = TRUE | |
796 state = INSENSITIVE | |
797 shadow = OUT | |
798 overlay_file = "Others/null.png" | |
799 overlay_stretch = FALSE | |
800 } | |
801 image | |
802 { | |
803 function = CHECK | |
804 recolorable = TRUE | |
805 state = NORMAL | |
806 shadow = IN | |
807 overlay_file = "Check-Radio/menucheck.png" | |
808 overlay_stretch = FALSE | |
809 } | |
810 image | |
811 { | |
812 function = CHECK | |
813 recolorable = TRUE | |
814 state = PRELIGHT | |
815 shadow = IN | |
816 overlay_file = "Check-Radio/menucheck_prelight.png" | |
817 overlay_stretch = FALSE | |
818 } | |
819 image | |
820 { | |
821 function = CHECK | |
822 recolorable = TRUE | |
823 state = ACTIVE | |
824 shadow = IN | |
825 overlay_file = "Check-Radio/menucheck.png" | |
826 overlay_stretch = FALSE | |
827 } | |
828 image | |
829 { | |
830 function = CHECK | |
831 recolorable = TRUE | |
832 state = INSENSITIVE | |
833 shadow = IN | |
834 overlay_file = "Others/null.png" | |
835 overlay_stretch = FALSE | |
836 } | |
837 | |
838 # Radio Buttons | |
839 | |
840 image | |
841 { | |
842 function = OPTION | |
843 state = NORMAL | |
844 shadow = OUT | |
845 overlay_file = "Others/null.png" | |
846 overlay_stretch = FALSE | |
847 } | |
848 image | |
849 { | |
850 function = OPTION | |
851 state = PRELIGHT | |
852 shadow = OUT | |
853 overlay_file = "Others/null.png" | |
854 overlay_stretch = FALSE | |
855 } | |
856 image | |
857 { | |
858 function = OPTION | |
859 state = ACTIVE | |
860 shadow = OUT | |
861 overlay_file = "Others/null.png" | |
862 overlay_stretch = FALSE | |
863 } | |
864 image | |
865 { | |
866 function = OPTION | |
867 state = INSENSITIVE | |
868 shadow = OUT | |
869 overlay_file = "Others/null.png" | |
870 overlay_stretch = FALSE | |
871 } | |
872 image | |
873 { | |
874 function = OPTION | |
875 state = NORMAL | |
876 shadow = IN | |
877 overlay_file = "Check-Radio/menuoption.png" | |
878 overlay_stretch = FALSE | |
879 } | |
880 image | |
881 { | |
882 function = OPTION | |
883 state = PRELIGHT | |
884 shadow = IN | |
885 overlay_file = "Check-Radio/menuoption_prelight.png" | |
886 overlay_stretch = FALSE | |
887 } | |
888 image | |
889 { | |
890 function = OPTION | |
891 state = ACTIVE | |
892 shadow = IN | |
893 overlay_file = "Check-Radio/menuoption.png" | |
894 overlay_stretch = FALSE | |
895 } | |
896 image | |
897 { | |
898 function = OPTION | |
899 state = INSENSITIVE | |
900 shadow = IN | |
901 overlay_file = "Others/null.png" | |
902 overlay_stretch = FALSE | |
903 } | |
904 image | |
905 { | |
906 function = SHADOW # This fixes boxy Qt menu items | |
907 file = "Others/null.png" | |
908 border = { 4, 4, 4, 4 } | |
909 stretch = TRUE | |
910 } | |
911 | |
912 # Arrow Buttons | |
913 | |
914 image | |
915 { | |
916 function = ARROW | |
917 state = NORMAL | |
918 overlay_file = "Arrows/menu-arrow.png" | |
919 overlay_border = { 0, 0, 0, 0 } | |
920 overlay_stretch = FALSE | |
921 arrow_direction = RIGHT | |
922 } | |
923 image | |
924 { | |
925 function = ARROW | |
926 state = PRELIGHT | |
927 overlay_file = "Arrows/menu-arrow-prelight.png" | |
928 overlay_border = { 0, 0, 0, 0 } | |
929 overlay_stretch = FALSE | |
930 arrow_direction = RIGHT | |
931 } | |
932 } | |
933 } | |
934 | |
935 style "menubar_item" | |
936 { | |
937 xthickness = 2 | |
938 ythickness = 3 | |
939 bg[PRELIGHT] = @selected_fg_color | |
7
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
940 fg[PRELIGHT] = @selected_bg_color |
0 | 941 } |
942 | |
943 style "button" | |
944 { | |
945 xthickness = 3 | |
946 ythickness = 3 | |
947 | |
948 engine "pixmap" | |
949 { | |
950 image | |
951 { | |
952 function = BOX | |
953 state = NORMAL | |
954 file = "Buttons/button-default.png" | |
955 border = { 4, 4, 4, 4 } | |
956 stretch = TRUE | |
957 } | |
958 image | |
959 { | |
960 function = BOX | |
961 state = PRELIGHT | |
962 file = "Buttons/button-prelight.png" | |
963 border = { 4, 4, 4, 4 } | |
964 stretch = TRUE | |
965 } | |
966 image | |
967 { | |
968 function = BOX | |
969 state = ACTIVE | |
970 file = "Buttons/button-pressed.png" | |
971 border = { 4, 4, 4, 4 } | |
972 stretch = TRUE | |
973 } | |
974 image | |
975 { | |
976 function = BOX | |
977 state = INSENSITIVE | |
978 file = "Buttons/button-insensitive.png" | |
979 border = { 4, 4, 4, 4 } | |
980 stretch = TRUE | |
981 } | |
982 } | |
983 } | |
984 | |
985 style "button_nohilight" | |
986 { | |
987 xthickness = 3 | |
988 ythickness = 4 | |
989 | |
990 engine "pixmap" | |
991 { | |
992 image | |
993 { | |
994 function = BOX | |
995 state = NORMAL | |
996 file = "Buttons/button-default-nohilight.png" | |
997 border = { 4, 4, 4, 4 } | |
998 stretch = TRUE | |
999 } | |
1000 image | |
1001 { | |
1002 function = BOX | |
1003 state = PRELIGHT | |
1004 file = "Buttons/button-prelight-nohilight.png" | |
1005 border = { 4, 4, 4, 4 } | |
1006 stretch = TRUE | |
1007 } | |
1008 image | |
1009 { | |
1010 function = BOX | |
1011 state = ACTIVE | |
1012 file = "Buttons/button-pressed-nohilight.png" | |
1013 border = { 4, 4, 4, 4 } | |
1014 stretch = TRUE | |
1015 } | |
1016 image | |
1017 { | |
1018 function = BOX | |
1019 state = INSENSITIVE | |
1020 file = "Buttons/button-insensitive-nohilight.png" | |
1021 border = { 4, 4, 4, 4 } | |
1022 stretch = TRUE | |
1023 } | |
1024 } | |
1025 } | |
1026 | |
1027 style "checkbutton" | |
1028 { | |
1029 fg[PRELIGHT] = @text_color | |
1030 fg[ACTIVE] = @text_color | |
1031 } | |
1032 | |
1033 style "entry" | |
1034 { | |
1035 xthickness = 3 | |
1036 ythickness = 4 | |
1037 | |
1038 base[NORMAL] = @base_color | |
1039 base[INSENSITIVE] = @insensitive_bg_color | |
1040 | |
1041 engine "pixmap" | |
1042 { | |
1043 image | |
1044 { | |
1045 function = SHADOW | |
1046 detail = "entry" | |
1047 state = NORMAL | |
1048 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1049 file = "Entry/entry-border.png" |
0 | 1050 border = { 4, 4, 4, 4 } |
1051 stretch = TRUE | |
1052 } | |
1053 image | |
1054 { | |
1055 function = SHADOW | |
1056 detail = "entry" | |
1057 state = INSENSITIVE | |
1058 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1059 file = "Entry/entry-border-disabled.png" |
0 | 1060 border = { 4, 4, 4, 4 } |
1061 stretch = TRUE | |
1062 } | |
1063 image | |
1064 { | |
1065 function = SHADOW | |
1066 detail = "entry" | |
1067 state = ACTIVE | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1068 file = "Entry/entry-border-active.png" |
0 | 1069 border = { 4, 4, 4, 4 } |
1070 stretch = TRUE | |
1071 } | |
1072 image | |
1073 { | |
1074 function = FLAT_BOX | |
1075 detail = "entry_bg" | |
1076 state = NORMAL | |
15
164e172bfe56
Fix dark text entry background in Qt themes
IBBoard <dev@ibboard.co.uk>
parents:
7
diff
changeset
|
1077 file = "Entry/entry-border-fill-solid.png" |
0 | 1078 border = { 0, 0, 0, 0 } |
1079 stretch = TRUE | |
1080 } | |
1081 image | |
1082 { | |
1083 function = FLAT_BOX | |
1084 detail = "entry_bg" | |
1085 state = ACTIVE | |
15
164e172bfe56
Fix dark text entry background in Qt themes
IBBoard <dev@ibboard.co.uk>
parents:
7
diff
changeset
|
1086 file = "Entry/entry-border-fill-solid.png" |
0 | 1087 border = { 0, 0, 0, 0 } |
1088 stretch = TRUE | |
1089 } | |
1090 } | |
1091 } | |
1092 | |
1093 style "notebook_entry" | |
1094 { | |
1095 xthickness = 3 | |
1096 ythickness = 4 | |
1097 | |
1098 base[NORMAL] = @base_color | |
1099 base[INSENSITIVE] = @insensitive_bg_color | |
1100 | |
1101 engine "pixmap" | |
1102 { | |
1103 image | |
1104 { | |
1105 function = SHADOW | |
1106 detail = "entry" | |
1107 state = NORMAL | |
1108 shadow = IN | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1109 file = "Entry/entry-border.png" |
0 | 1110 border = { 4, 4, 4, 4 } |
1111 stretch = TRUE | |
1112 } | |
1113 image | |
1114 { | |
1115 function = SHADOW | |
1116 detail = "entry" | |
1117 state = INSENSITIVE | |
1118 shadow = IN | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1119 file = "Entry/entry-border-disabled.png" |
0 | 1120 border = { 4, 4, 4, 4 } |
1121 stretch = TRUE | |
1122 } | |
1123 image | |
1124 { | |
1125 function = SHADOW | |
1126 detail = "entry" | |
1127 state = ACTIVE | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1128 file = "Entry/entry-border-active.png" |
0 | 1129 border = { 4, 4, 4, 4 } |
1130 stretch = TRUE | |
1131 } | |
1132 image | |
1133 { | |
1134 function = FLAT_BOX | |
1135 detail = "entry_bg" | |
1136 state = NORMAL | |
15
164e172bfe56
Fix dark text entry background in Qt themes
IBBoard <dev@ibboard.co.uk>
parents:
7
diff
changeset
|
1137 file = "Entry/entry-border-fill-solid.png" |
0 | 1138 border = { 0, 0, 0, 0 } |
1139 stretch = TRUE | |
1140 } | |
1141 image | |
1142 { | |
1143 function = FLAT_BOX | |
1144 detail = "entry_bg" | |
1145 state = ACTIVE | |
15
164e172bfe56
Fix dark text entry background in Qt themes
IBBoard <dev@ibboard.co.uk>
parents:
7
diff
changeset
|
1146 file = "Entry/entry-border-fill-solid.png" |
0 | 1147 border = { 0, 0, 0, 0 } |
1148 stretch = TRUE | |
1149 } | |
1150 } | |
1151 } | |
1152 | |
1153 style "notebook_tab_label" | |
1154 { | |
1155 fg[ACTIVE] = @text_color | |
1156 } | |
1157 | |
1158 style "combobox_entry" | |
1159 { | |
1160 xthickness = 2 | |
1161 ythickness = 4 | |
1162 | |
1163 engine "pixmap" | |
1164 { | |
1165 # LTR version | |
1166 image | |
1167 { | |
1168 function = SHADOW | |
1169 detail = "entry" | |
1170 state = NORMAL | |
1171 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1172 file = "Entry/combo-entry-border.png" |
0 | 1173 border = { 4, 4, 4, 4 } |
1174 stretch = TRUE | |
1175 direction = LTR | |
1176 } | |
1177 image | |
1178 { | |
1179 function = SHADOW | |
1180 detail = "entry" | |
1181 state = INSENSITIVE | |
1182 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1183 file = "Entry/combo-entry-border-disabled.png" |
0 | 1184 border = { 4, 4, 5, 4 } |
1185 stretch = TRUE | |
1186 direction = LTR | |
1187 } | |
1188 image | |
1189 { | |
1190 function = SHADOW | |
1191 detail = "entry" | |
1192 state = ACTIVE | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1193 file = "Entry/combo-entry-border-active.png" |
0 | 1194 border = { 4, 4, 5, 4 } |
1195 stretch = TRUE | |
1196 direction = LTR | |
1197 } | |
1198 | |
1199 # RTL version | |
1200 image | |
1201 { | |
1202 function = SHADOW | |
1203 detail = "entry" | |
1204 state = NORMAL | |
1205 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1206 file = "Entry/combo-entry-border-rtl.png" |
0 | 1207 border = { 4, 4, 5, 4 } |
1208 stretch = TRUE | |
1209 direction = RTL | |
1210 } | |
1211 image | |
1212 { | |
1213 function = SHADOW | |
1214 detail = "entry" | |
1215 state = INSENSITIVE | |
1216 shadow = IN | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1217 file = "Entry/combo-entry-border-disabled-rtl.png" |
0 | 1218 border = { 4, 4, 5, 4 } |
1219 stretch = TRUE | |
1220 direction = RTL | |
1221 } | |
1222 image | |
1223 { | |
1224 function = SHADOW | |
1225 detail = "entry" | |
1226 state = ACTIVE | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1227 file = "Entry/combo-entry-border-active-rtl.png" |
0 | 1228 border = { 4, 4, 5, 4 } |
1229 stretch = TRUE | |
1230 direction = RTL | |
1231 } | |
1232 } | |
1233 } | |
1234 | |
1235 style "combobox_entry_button" | |
1236 { | |
1237 fg[ACTIVE] = @text_color | |
1238 | |
1239 engine "pixmap" | |
1240 { | |
1241 # LTR version | |
1242 image | |
1243 { | |
1244 function = BOX | |
1245 state = NORMAL | |
1246 file = "Entry/combo-entry-button.png" | |
1247 border = { 4, 4, 5, 4 } | |
1248 stretch = TRUE | |
1249 direction = LTR | |
1250 } | |
1251 image | |
1252 { | |
1253 function = BOX | |
1254 state = PRELIGHT | |
1255 file = "Entry/combo-entry-button.png" | |
1256 border = { 4, 4, 5, 4 } | |
1257 stretch = TRUE | |
1258 direction = LTR | |
1259 } | |
1260 image | |
1261 { | |
1262 function = BOX | |
1263 state = INSENSITIVE | |
1264 file = "Entry/combo-entry-button-disabled.png" | |
1265 border = { 4, 4, 5, 4 } | |
1266 stretch = TRUE | |
1267 direction = LTR | |
1268 } | |
1269 image | |
1270 { | |
1271 function = BOX | |
1272 state = ACTIVE | |
1273 file = "Entry/combo-entry-button-active.png" | |
1274 border = { 4, 4, 5, 4 } | |
1275 stretch = TRUE | |
1276 direction = LTR | |
1277 } | |
1278 | |
1279 # RTL version | |
1280 image | |
1281 { | |
1282 function = BOX | |
1283 state = NORMAL | |
1284 file = "Entry/combo-entry-button-rtl.png" | |
1285 border = { 4, 4, 5, 4 } | |
1286 stretch = TRUE | |
1287 direction = RTL | |
1288 } | |
1289 image | |
1290 { | |
1291 function = BOX | |
1292 state = PRELIGHT | |
1293 file = "Entry/combo-entry-button-rtl.png" | |
1294 border = { 4, 4, 5, 4 } | |
1295 stretch = TRUE | |
1296 direction = RTL | |
1297 } | |
1298 image | |
1299 { | |
1300 function = BOX | |
1301 state = INSENSITIVE | |
1302 file = "Entry/combo-entry-button-disabled-rtl.png" | |
1303 border = { 4, 4, 5, 4 } | |
1304 stretch = TRUE | |
1305 direction = RTL | |
1306 } | |
1307 image | |
1308 { | |
1309 function = BOX | |
1310 state = ACTIVE | |
1311 file = "Entry/combo-entry-button-active-rtl.png" | |
1312 border = { 4, 4, 5, 4 } | |
1313 stretch = TRUE | |
1314 direction = RTL | |
1315 } | |
1316 } | |
1317 } | |
1318 | |
1319 style "spinbutton" | |
1320 { | |
1321 bg[NORMAL] = @bg_color | |
1322 | |
1323 xthickness = 4 | |
1324 ythickness = 4 | |
1325 | |
1326 engine "pixmap" | |
1327 { | |
1328 image | |
1329 { | |
1330 function = ARROW | |
1331 } | |
1332 | |
1333 # Spin-Up LTR | |
1334 image | |
1335 { | |
1336 function = BOX | |
1337 state = NORMAL | |
1338 detail = "spinbutton_up" | |
1339 file = "Spin/up-background.png" | |
1340 border = { 1, 4, 5, 0 } | |
1341 stretch = TRUE | |
1342 overlay_file = "Arrows/arrow-up-small.png" | |
1343 overlay_stretch = FALSE | |
1344 direction = LTR | |
1345 } | |
1346 image | |
1347 { | |
1348 function = BOX | |
1349 state = PRELIGHT | |
1350 detail = "spinbutton_up" | |
1351 file = "Spin/up-background.png" | |
1352 border = { 1, 4, 5, 0 } | |
1353 stretch = TRUE | |
1354 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1355 overlay_stretch = FALSE | |
1356 direction = LTR | |
1357 } | |
1358 image | |
1359 { | |
1360 function = BOX | |
1361 state = INSENSITIVE | |
1362 detail = "spinbutton_up" | |
1363 file = "Spin/up-background-disable.png" | |
1364 border = { 1, 4, 5, 0 } | |
1365 stretch = TRUE | |
1366 overlay_file = "Arrows/arrow-up-small-insens.png" | |
1367 overlay_stretch = FALSE | |
1368 direction = LTR | |
1369 } | |
1370 image | |
1371 { | |
1372 function = BOX | |
1373 state = ACTIVE | |
1374 detail = "spinbutton_up" | |
1375 file = "Spin/up-background.png" | |
1376 border = { 1, 4, 5, 0 } | |
1377 stretch = TRUE | |
1378 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1379 overlay_stretch = FALSE | |
1380 direction = LTR | |
1381 } | |
1382 | |
1383 # Spin-Up RTL | |
1384 image | |
1385 { | |
1386 function = BOX | |
1387 state = NORMAL | |
1388 detail = "spinbutton_up" | |
1389 file = "Spin/up-background-rtl.png" | |
1390 border = { 4, 1, 5, 0 } | |
1391 stretch = TRUE | |
1392 overlay_file = "Arrows/arrow-up-small.png" | |
1393 overlay_stretch = FALSE | |
1394 direction = RTL | |
1395 } | |
1396 image | |
1397 { | |
1398 function = BOX | |
1399 state = PRELIGHT | |
1400 detail = "spinbutton_up" | |
1401 file = "Spin/up-background-rtl.png" | |
1402 border = { 4, 1, 5, 0 } | |
1403 stretch = TRUE | |
1404 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1405 overlay_stretch = FALSE | |
1406 direction = RTL | |
1407 } | |
1408 image | |
1409 { | |
1410 function = BOX | |
1411 state = INSENSITIVE | |
1412 detail = "spinbutton_up" | |
1413 file = "Spin/up-background-disable-rtl.png" | |
1414 border = { 4, 1, 5, 0 } | |
1415 stretch = TRUE | |
1416 overlay_file = "Arrows/arrow-up-small-insens.png" | |
1417 overlay_stretch = FALSE | |
1418 direction = RTL | |
1419 } | |
1420 image | |
1421 { | |
1422 function = BOX | |
1423 state = ACTIVE | |
1424 detail = "spinbutton_up" | |
1425 file = "Spin/up-background-rtl.png" | |
1426 border = { 4, 1, 5, 0 } | |
1427 stretch = TRUE | |
1428 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1429 overlay_stretch = FALSE | |
1430 direction = RTL | |
1431 } | |
1432 | |
1433 # Spin-Down LTR | |
1434 image | |
1435 { | |
1436 function = BOX | |
1437 state = NORMAL | |
1438 detail = "spinbutton_down" | |
1439 file = "Spin/down-background.png" | |
1440 border = { 1, 4, 1, 4 } | |
1441 stretch = TRUE | |
1442 overlay_file = "Arrows/arrow-down-small.png" | |
1443 overlay_stretch = FALSE | |
1444 direction = LTR | |
1445 } | |
1446 image | |
1447 { | |
1448 function = BOX | |
1449 state = PRELIGHT | |
1450 detail = "spinbutton_down" | |
1451 file = "Spin/down-background.png" | |
1452 border = { 1, 4, 1, 4 } | |
1453 stretch = TRUE | |
1454 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1455 overlay_stretch = FALSE | |
1456 direction = LTR | |
1457 } | |
1458 image | |
1459 { | |
1460 function = BOX | |
1461 state = INSENSITIVE | |
1462 detail = "spinbutton_down" | |
1463 file = "Spin/down-background-disable.png" | |
1464 border = { 1, 4, 1, 4 } | |
1465 stretch = TRUE | |
1466 overlay_file = "Arrows/arrow-down-small-insens.png" | |
1467 overlay_stretch = FALSE | |
1468 direction = LTR | |
1469 } | |
1470 image | |
1471 { | |
1472 function = BOX | |
1473 state = ACTIVE | |
1474 detail = "spinbutton_down" | |
1475 file = "Spin/down-background.png" | |
1476 border = { 1, 4, 1, 4 } | |
1477 stretch = TRUE | |
1478 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1479 overlay_stretch = FALSE | |
1480 direction = LTR | |
1481 } | |
1482 | |
1483 # Spin-Down RTL | |
1484 image | |
1485 { | |
1486 function = BOX | |
1487 state = NORMAL | |
1488 detail = "spinbutton_down" | |
1489 file = "Spin/down-background-rtl.png" | |
1490 border = { 4, 1, 1, 4 } | |
1491 stretch = TRUE | |
1492 overlay_file = "Arrows/arrow-down-small.png" | |
1493 overlay_stretch = FALSE | |
1494 direction = RTL | |
1495 } | |
1496 image | |
1497 { | |
1498 function = BOX | |
1499 state = PRELIGHT | |
1500 detail = "spinbutton_down" | |
1501 file = "Spin/down-background-rtl.png" | |
1502 border = { 4, 1, 1, 4 } | |
1503 stretch = TRUE | |
1504 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1505 overlay_stretch = FALSE | |
1506 direction = RTL | |
1507 } | |
1508 image | |
1509 { | |
1510 function = BOX | |
1511 state = INSENSITIVE | |
1512 detail = "spinbutton_down" | |
1513 file = "Spin/down-background-disable-rtl.png" | |
1514 border = { 4, 1, 1, 4 } | |
1515 stretch = TRUE | |
1516 overlay_file = "Arrows/arrow-down-small-insens.png" | |
1517 overlay_stretch = FALSE | |
1518 direction = RTL | |
1519 } | |
1520 image | |
1521 { | |
1522 function = BOX | |
1523 state = ACTIVE | |
1524 detail = "spinbutton_down" | |
1525 file = "Spin/down-background-rtl.png" | |
1526 border = { 4, 1, 1, 4 } | |
1527 stretch = TRUE | |
1528 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1529 overlay_stretch = FALSE | |
1530 direction = RTL | |
1531 } | |
1532 } | |
1533 } | |
1534 | |
1535 style "gimp_spin_scale" | |
1536 { | |
1537 bg[NORMAL] = @base_color | |
1538 | |
1539 engine "pixmap" | |
1540 { | |
1541 image | |
1542 { | |
1543 function = FLAT_BOX | |
1544 detail = "entry_bg" | |
1545 state = NORMAL | |
1546 } | |
1547 image | |
1548 { | |
1549 function = FLAT_BOX | |
1550 detail = "entry_bg" | |
1551 state = ACTIVE | |
1552 } | |
1553 | |
1554 image | |
1555 { | |
1556 function = BOX | |
1557 state = NORMAL | |
1558 detail = "spinbutton_up" | |
1559 overlay_file = "Arrows/arrow-up-small.png" | |
1560 overlay_stretch = FALSE | |
1561 } | |
1562 image | |
1563 { | |
1564 function = BOX | |
1565 state = PRELIGHT | |
1566 detail = "spinbutton_up" | |
1567 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1568 overlay_stretch = FALSE | |
1569 } | |
1570 image | |
1571 { | |
1572 function = BOX | |
1573 state = ACTIVE | |
1574 detail = "spinbutton_up" | |
1575 overlay_file = "Arrows/arrow-up-small-prelight.png" | |
1576 overlay_stretch = FALSE | |
1577 } | |
1578 image | |
1579 { | |
1580 function = BOX | |
1581 state = INSENSITIVE | |
1582 detail = "spinbutton_up" | |
1583 overlay_file = "Arrows/arrow-up-small-insens.png" | |
1584 overlay_stretch = FALSE | |
1585 } | |
1586 image | |
1587 { | |
1588 function = BOX | |
1589 state = NORMAL | |
1590 detail = "spinbutton_down" | |
1591 overlay_file = "Arrows/arrow-down-small.png" | |
1592 overlay_stretch = FALSE | |
1593 } | |
1594 image | |
1595 { | |
1596 function = BOX | |
1597 state = PRELIGHT | |
1598 detail = "spinbutton_down" | |
1599 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1600 overlay_stretch = FALSE | |
1601 } | |
1602 image | |
1603 { | |
1604 function = BOX | |
1605 state = ACTIVE | |
1606 detail = "spinbutton_down" | |
1607 overlay_file = "Arrows/arrow-down-small-prelight.png" | |
1608 overlay_stretch = FALSE | |
1609 } | |
1610 image | |
1611 { | |
1612 function = BOX | |
1613 state = INSENSITIVE | |
1614 detail = "spinbutton_down" | |
1615 overlay_file = "Arrows/arrow-down-small-insens.png" | |
1616 overlay_stretch = FALSE | |
1617 } | |
1618 } | |
1619 } | |
1620 | |
1621 style "libreoffice_entry" | |
1622 { | |
1623 engine "pixmap" | |
1624 { | |
1625 image | |
1626 { | |
1627 function = FLAT_BOX | |
1628 detail = "entry_bg" | |
1629 state = NORMAL | |
1630 overlay_file = "Entry/entry-border-fill-solid.png" | |
1631 overlay_border = { 0, 0, 0, 0 } | |
1632 overlay_stretch = TRUE | |
1633 } | |
1634 image | |
1635 { | |
1636 function = FLAT_BOX | |
1637 detail = "entry_bg" | |
1638 state = ACTIVE | |
1639 overlay_file = "Entry/entry-border-fill-solid.png" | |
1640 overlay_border = { 0, 0, 0, 0 } | |
1641 overlay_stretch = TRUE | |
1642 } | |
1643 image | |
1644 { | |
1645 function = SHADOW | |
1646 detail = "entry" | |
1647 state = NORMAL | |
1648 shadow = IN | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1649 file = "Entry/entry-border.png" |
0 | 1650 border = { 4, 4, 4, 4 } |
1651 stretch = TRUE | |
1652 } | |
1653 image | |
1654 { | |
1655 function = SHADOW | |
1656 detail = "entry" | |
1657 state = ACTIVE | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1658 file = "Entry/entry-border-active.png" |
0 | 1659 border = { 4, 4, 4, 4 } |
1660 stretch = TRUE | |
1661 } | |
1662 } | |
1663 } | |
1664 | |
1665 style "libreoffice_spinbutton_entry" | |
1666 { | |
1667 engine "pixmap" | |
1668 { | |
1669 image | |
1670 { | |
1671 function = SHADOW | |
1672 detail = "entry" | |
1673 state = NORMAL | |
1674 shadow = IN | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1675 file = "Entry/entry-border.png" |
0 | 1676 border = { 4, 4, 4, 4 } |
1677 stretch = TRUE | |
1678 } | |
1679 image | |
1680 { | |
1681 function = SHADOW | |
1682 detail = "entry" | |
1683 state = ACTIVE | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1684 file = "Entry/entry-border-active.png" |
0 | 1685 border = { 4, 4, 4, 4 } |
1686 stretch = TRUE | |
1687 } | |
1688 image | |
1689 { | |
1690 function = FLAT_BOX | |
1691 detail = "entry_bg" | |
1692 state = NORMAL | |
1693 overlay_file = "Entry/entry-border-fill-solid.png" | |
1694 overlay_border = { 0, 0, 0, 0 } | |
1695 overlay_stretch = TRUE | |
1696 } | |
1697 image | |
1698 { | |
1699 function = FLAT_BOX | |
1700 detail = "entry_bg" | |
1701 state = ACTIVE | |
1702 overlay_file = "Entry/entry-border-fill-solid.png" | |
1703 overlay_border = { 0, 0, 0, 0 } | |
1704 overlay_stretch = TRUE | |
1705 } | |
1706 } | |
1707 } | |
1708 | |
1709 style "standalone_entry" | |
1710 { | |
1711 engine "pixmap" | |
1712 { | |
1713 image | |
1714 { | |
1715 function = FLAT_BOX | |
1716 detail = "entry_bg" | |
1717 state = ACTIVE | |
1718 file = "Entry/entry-border-fill-plain.png" | |
1719 stretch = TRUE | |
1720 border = { 0, 0, 0, 0 } | |
1721 } | |
1722 image | |
1723 { | |
1724 function = SHADOW | |
1725 detail = "entry" | |
1726 state = NORMAL | |
1727 shadow = IN | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1728 file = "Entry/entry-border.png" |
0 | 1729 border = { 4, 4, 4, 4 } |
1730 stretch = TRUE | |
1731 } | |
1732 image | |
1733 { | |
1734 function = SHADOW | |
1735 detail = "entry" | |
1736 state = ACTIVE | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
1737 file = "Entry/entry-border-active.png" |
0 | 1738 border = { 4, 4, 4, 4 } |
1739 stretch = TRUE | |
1740 } | |
1741 image | |
1742 { | |
1743 function = FLAT_BOX | |
1744 detail = "entry_bg" | |
1745 state = NORMAL | |
1746 file = "Entry/entry-border-fill-plain.png" | |
1747 stretch = TRUE | |
1748 border = { 0, 0, 0, 0 } | |
1749 } | |
1750 } | |
1751 } | |
1752 | |
1753 style "notebook" | |
1754 { | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1755 bg[NORMAL] = @bg_color |
0 | 1756 |
1757 xthickness = 5 | |
1758 ythickness = 2 | |
1759 | |
1760 engine "pixmap" | |
1761 { | |
1762 image | |
1763 { | |
1764 function = EXTENSION | |
1765 state = ACTIVE | |
1766 file = "Tabs/tab-bottom.png" | |
1767 border = { 3,3,3,5 } | |
1768 stretch = TRUE | |
1769 gap_side = TOP | |
1770 } | |
1771 image | |
1772 { | |
1773 function = EXTENSION | |
1774 state = ACTIVE | |
1775 file = "Tabs/tab-top.png" | |
1776 border = { 3,3,5,3 } | |
1777 stretch = TRUE | |
1778 gap_side = BOTTOM | |
1779 } | |
1780 image | |
1781 { | |
1782 function = EXTENSION | |
1783 state = ACTIVE | |
1784 file = "Tabs/tab-left.png" | |
1785 border = { 3,3,3,3 } | |
1786 stretch = TRUE | |
1787 gap_side = RIGHT | |
1788 } | |
1789 image | |
1790 { | |
1791 function = EXTENSION | |
1792 state = ACTIVE | |
1793 file = "Tabs/tab-right.png" | |
1794 border = { 3,3,3,3 } | |
1795 stretch = TRUE | |
1796 gap_side = LEFT | |
1797 } | |
1798 image | |
1799 { | |
1800 function = EXTENSION | |
1801 file = "Tabs/tab-top-active.png" | |
1802 border = { 3,3,3,3 } | |
1803 stretch = TRUE | |
1804 gap_side = BOTTOM | |
1805 } | |
1806 image | |
1807 { | |
1808 function = EXTENSION | |
1809 file = "Tabs/tab-bottom-active.png" | |
1810 border = { 3,3,3,3 } | |
1811 stretch = TRUE | |
1812 gap_side = TOP | |
1813 } | |
1814 image | |
1815 { | |
1816 function = EXTENSION | |
1817 file = "Tabs/tab-left-active.png" | |
1818 border = { 3,3,3,3 } | |
1819 stretch = TRUE | |
1820 gap_side = RIGHT | |
1821 } | |
1822 image | |
1823 { | |
1824 function = EXTENSION | |
1825 file = "Tabs/tab-right-active.png" | |
1826 border = { 3,3,3,3 } | |
1827 stretch = TRUE | |
1828 gap_side = LEFT | |
1829 } | |
1830 | |
1831 # How to draw boxes with a gap on one side (ie the page of a notebook) | |
1832 | |
1833 image | |
1834 { | |
1835 function = BOX_GAP | |
1836 file = "Tabs/notebook.png" | |
1837 border = { 4, 4, 4, 4 } | |
1838 stretch = TRUE | |
1839 gap_file = "Tabs/notebook-gap-horiz.png" | |
1840 gap_border = { 1, 1, 0, 0 } | |
1841 gap_side = TOP | |
1842 } | |
1843 image | |
1844 { | |
1845 function = BOX_GAP | |
1846 file = "Tabs/notebook.png" | |
1847 border = { 4, 4, 4, 4 } | |
1848 stretch = TRUE | |
1849 gap_file = "Tabs/notebook-gap-horiz.png" | |
1850 gap_border = { 1, 1, 0, 0 } | |
1851 gap_side = BOTTOM | |
1852 } | |
1853 image | |
1854 { | |
1855 function = BOX_GAP | |
1856 file = "Tabs/notebook.png" | |
1857 border = { 4, 4, 4, 4 } | |
1858 stretch = TRUE | |
1859 gap_file = "Tabs/notebook-gap-vert.png" | |
1860 gap_border = { 0, 0, 1, 1 } | |
1861 gap_side = LEFT | |
1862 } | |
1863 image | |
1864 { | |
1865 function = BOX_GAP | |
1866 file = "Tabs/notebook.png" | |
1867 border = { 4, 4, 4, 4 } | |
1868 stretch = TRUE | |
1869 gap_file = "Tabs/notebook-gap-vert.png" | |
1870 gap_border = { 0, 0, 1, 1 } | |
1871 gap_side = RIGHT | |
1872 } | |
1873 | |
1874 # How to draw the box of a notebook when it isnt attached to a tab | |
1875 | |
1876 image | |
1877 { | |
1878 function = BOX | |
1879 file = "Tabs/notebook.png" | |
1880 border = { 4, 4, 4, 4 } | |
1881 stretch = TRUE | |
1882 } | |
1883 } | |
1884 } | |
1885 | |
1886 style "handlebox" | |
1887 { | |
1888 engine "pixmap" | |
1889 { | |
1890 image | |
1891 { | |
1892 function = BOX | |
1893 file = "Others/null.png" | |
1894 border = { 4, 4, 4, 4 } | |
1895 stretch = TRUE | |
1896 detail = "handlebox_bin" | |
1897 shadow = IN | |
1898 } | |
1899 image | |
1900 { | |
1901 function = BOX | |
1902 file = "Others/null.png" | |
1903 border = { 4, 4, 4, 4 } | |
1904 stretch = TRUE | |
1905 detail = "handlebox_bin" | |
1906 shadow = OUT | |
1907 } | |
1908 } | |
1909 } | |
1910 | |
1911 style "button_separator" | |
1912 { | |
1913 xthickness = 0 | |
1914 ythickness = 0 | |
1915 GtkWidget::wide-separators = 1 | |
1916 } | |
1917 | |
1918 style "combobox" | |
1919 { | |
1920 xthickness = 0 | |
1921 ythickness = 0 | |
1922 } | |
1923 | |
1924 style "combobox_button" | |
1925 { | |
1926 xthickness = 2 | |
1927 ythickness = 2 | |
1928 } | |
1929 | |
1930 style "range" | |
1931 { | |
1932 engine "pixmap" | |
1933 { | |
1934 image | |
1935 { | |
1936 function = BOX | |
1937 detail = "trough" | |
1938 file = "Range/trough-horizontal.png" | |
1939 border = { 4, 4, 0, 0 } | |
1940 stretch = TRUE | |
1941 orientation = HORIZONTAL | |
1942 } | |
1943 image | |
1944 { | |
1945 function = BOX | |
1946 detail = "trough" | |
1947 file = "Range/trough-vertical.png" | |
1948 border = { 0, 0, 4, 4 } | |
1949 stretch = TRUE | |
1950 orientation = VERTICAL | |
1951 } | |
1952 | |
1953 # Horizontal | |
1954 | |
1955 image | |
1956 { | |
1957 function = SLIDER | |
1958 state = NORMAL | |
1959 file = "Others/null.png" | |
1960 border = { 0, 0, 0, 0 } | |
1961 stretch = TRUE | |
1962 overlay_file = "Range/slider-horiz.png" | |
1963 overlay_stretch = FALSE | |
1964 orientation = HORIZONTAL | |
1965 } | |
1966 image | |
1967 { | |
1968 function = SLIDER | |
1969 state = PRELIGHT | |
1970 file = "Others/null.png" | |
1971 border = { 0, 0, 0, 0 } | |
1972 stretch = TRUE | |
1973 overlay_file = "Range/slider-horiz-prelight.png" | |
1974 overlay_stretch = FALSE | |
1975 orientation = HORIZONTAL | |
1976 } | |
1977 image | |
1978 { | |
1979 function = SLIDER | |
1980 state = INSENSITIVE | |
1981 file = "Others/null.png" | |
1982 border = { 0, 0, 0, 0 } | |
1983 stretch = TRUE | |
1984 overlay_file = "Range/slider-horiz.png" | |
1985 overlay_stretch = FALSE | |
1986 orientation = HORIZONTAL | |
1987 } | |
1988 | |
1989 # Vertical | |
1990 | |
1991 image | |
1992 { | |
1993 function = SLIDER | |
1994 state = NORMAL | |
1995 file = "Others/null.png" | |
1996 border = { 0, 0, 0, 0 } | |
1997 stretch = TRUE | |
1998 overlay_file = "Range/slider-vert.png" | |
1999 overlay_stretch = FALSE | |
2000 orientation = VERTICAL | |
2001 } | |
2002 image | |
2003 { | |
2004 function = SLIDER | |
2005 state = PRELIGHT | |
2006 file = "Others/null.png" | |
2007 border = { 0, 0, 0, 0 } | |
2008 stretch = TRUE | |
2009 overlay_file = "Range/slider-vert-prelight.png" | |
2010 overlay_stretch = FALSE | |
2011 orientation = VERTICAL | |
2012 } | |
2013 image | |
2014 { | |
2015 function = SLIDER | |
2016 state = INSENSITIVE | |
2017 file = "Others/null.png" | |
2018 border = { 0, 0, 0, 0 } | |
2019 stretch = TRUE | |
2020 overlay_file = "Range/slider-vert.png" | |
2021 overlay_stretch = FALSE | |
2022 orientation = VERTICAL | |
2023 } | |
2024 | |
2025 # Function below removes ugly boxes | |
2026 image | |
2027 { | |
2028 function = BOX | |
2029 file = "Others/null.png" | |
2030 border = { 3, 3, 3, 3 } | |
2031 stretch = TRUE | |
2032 } | |
2033 | |
2034 } | |
2035 } | |
2036 | |
2037 style "progressbar" | |
2038 { | |
2039 xthickness = 1 | |
2040 ythickness = 1 | |
2041 | |
2042 engine "pixmap" | |
2043 { | |
2044 image | |
2045 { | |
2046 function = BOX | |
2047 detail = "trough" | |
2048 file = "ProgressBar/trough-progressbar.png" | |
2049 border = { 4, 4, 4, 4 } | |
2050 stretch = TRUE | |
2051 orientation = HORIZONTAL | |
2052 } | |
2053 image | |
2054 { | |
2055 function = BOX | |
2056 detail = "bar" | |
2057 file = "ProgressBar/progressbar.png" | |
2058 stretch = TRUE | |
2059 border = { 3, 3, 3, 3 } | |
2060 orientation = HORIZONTAL | |
2061 } | |
2062 image | |
2063 { | |
2064 function = BOX | |
2065 detail = "trough" | |
2066 file = "ProgressBar/trough-progressbar_v.png" | |
2067 border = { 4, 4, 4, 4 } | |
2068 stretch = TRUE | |
2069 orientation = VERTICAL | |
2070 } | |
2071 image | |
2072 { | |
2073 function = BOX | |
2074 detail = "bar" | |
2075 file = "ProgressBar/progressbar_v.png" | |
2076 stretch = TRUE | |
2077 border = { 3, 3, 3, 3 } | |
2078 orientation = VERTICAL | |
2079 } | |
2080 } | |
2081 } | |
2082 | |
2083 style "separator_menu_item" | |
2084 { | |
2085 engine "pixmap" | |
2086 { | |
2087 image | |
2088 { | |
2089 function = BOX | |
2090 file = "Lines/menu_line_h.png" | |
2091 border = { 0, 0, 1, 0 } | |
2092 stretch = TRUE | |
2093 } | |
2094 } | |
2095 } | |
2096 | |
2097 style "treeview_header" | |
2098 { | |
2099 ythickness = 1 | |
2100 | |
2101 fg[NORMAL] = shade(0.55, @bg_color) | |
2102 fg[PRELIGHT] = shade(0.80, @text_color) | |
2103 font_name = "Bold" | |
2104 | |
2105 engine "pixmap" | |
2106 { | |
2107 image | |
2108 { | |
2109 function = BOX | |
2110 file = "Others/tree_header.png" | |
2111 border = { 1, 1, 1, 1 } | |
2112 stretch = TRUE | |
2113 } | |
2114 } | |
2115 } | |
2116 | |
2117 style "scrolled_window" | |
2118 { | |
2119 xthickness = 1 | |
2120 ythickness = 1 | |
2121 | |
2122 engine "pixmap" | |
2123 { | |
2124 image | |
2125 { | |
2126 function = SHADOW | |
2127 file = "Shadows/frame.png" | |
2128 border = { 5, 5, 5, 5 } | |
2129 stretch = TRUE | |
2130 } | |
2131 } | |
2132 } | |
2133 | |
2134 style "frame" | |
2135 { | |
2136 xthickness = 1 | |
2137 ythickness = 1 | |
2138 | |
2139 engine "pixmap" | |
2140 { | |
2141 image | |
2142 { | |
2143 function = SHADOW | |
2144 file = "Shadows/frame.png" | |
2145 border = { 1, 1, 1, 1 } | |
2146 stretch = TRUE | |
2147 shadow = IN | |
2148 } | |
2149 image | |
2150 { | |
2151 function = SHADOW_GAP | |
2152 file = "Shadows/frame.png" | |
2153 border = { 1, 1, 1, 1 } | |
2154 stretch = TRUE | |
2155 gap_start_file = "Shadows/frame-gap-start.png" | |
2156 gap_start_border = { 1, 0, 0, 0 } | |
2157 gap_end_file = "Shadows/frame-gap-end.png" | |
2158 gap_end_border = { 0, 1, 0, 0 } | |
2159 shadow = IN | |
2160 } | |
2161 image | |
2162 { | |
2163 function = SHADOW | |
2164 file = "Shadows/frame.png" | |
2165 border = { 1, 1, 1, 1 } | |
2166 stretch = TRUE | |
2167 shadow = OUT | |
2168 } | |
2169 image | |
2170 { | |
2171 function = SHADOW_GAP | |
2172 file = "Shadows/frame.png" | |
2173 border = { 1, 1, 1, 1 } | |
2174 stretch = TRUE | |
2175 gap_start_file = "Shadows/frame-gap-start.png" | |
2176 gap_start_border = { 1, 0, 0, 0 } | |
2177 gap_end_file = "Shadows/frame-gap-end.png" | |
2178 gap_end_border = { 0, 1, 0, 0 } | |
2179 shadow = OUT | |
2180 } | |
2181 image | |
2182 { | |
2183 function = SHADOW | |
2184 file = "Shadows/frame.png" | |
2185 border = { 1, 1, 1, 1 } | |
2186 stretch = TRUE | |
2187 shadow = ETCHED_IN | |
2188 } | |
2189 image | |
2190 { | |
2191 function = SHADOW_GAP | |
2192 file = "Shadows/frame.png" | |
2193 border = { 1, 1, 1, 1 } | |
2194 stretch = TRUE | |
2195 gap_start_file = "Shadows/frame-gap-start.png" | |
2196 gap_start_border = { 1, 0, 0, 0 } | |
2197 gap_end_file = "Shadows/frame-gap-end.png" | |
2198 gap_end_border = { 0, 1, 0, 0 } | |
2199 shadow = ETCHED_IN | |
2200 } | |
2201 image | |
2202 { | |
2203 function = SHADOW | |
2204 file = "Shadows/frame.png" | |
2205 border = { 1, 1, 1, 1 } | |
2206 stretch = TRUE | |
2207 shadow = ETCHED_OUT | |
2208 } | |
2209 image | |
2210 { | |
2211 function = SHADOW_GAP | |
2212 file = "Shadows/frame.png" | |
2213 border = { 1, 1, 1, 1 } | |
2214 stretch = TRUE | |
2215 gap_start_file = "Shadows/frame-gap-start.png" | |
2216 gap_start_border = { 1, 0, 0, 0 } | |
2217 gap_end_file = "Shadows/frame-gap-end.png" | |
2218 gap_end_border = { 0, 1, 0, 0 } | |
2219 shadow = ETCHED_OUT | |
2220 } | |
2221 } | |
2222 } | |
2223 | |
2224 style "gimp_toolbox_frame" | |
2225 { | |
2226 engine "pixmap" | |
2227 { | |
2228 image | |
2229 { | |
2230 function = SHADOW | |
2231 } | |
2232 } | |
2233 } | |
2234 | |
2235 style "toolbar" | |
2236 { | |
2237 engine "pixmap" | |
2238 { | |
2239 image | |
2240 { | |
2241 function = SHADOW | |
2242 } | |
2243 } | |
2244 } | |
2245 | |
2246 style "inline_toolbar" | |
2247 { | |
2248 GtkToolbar::button-relief = GTK_RELIEF_NORMAL | |
2249 | |
2250 engine "pixmap" | |
2251 { | |
2252 image | |
2253 { | |
2254 function = BOX | |
2255 file = "Toolbar/inline-toolbar.png" | |
2256 stretch = TRUE | |
2257 } | |
2258 } | |
2259 } | |
2260 | |
2261 style "notebook_viewport" | |
2262 { | |
6
043c874084ba
Reduce GTK2 duplication and reduce button highlight
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
2263 bg[NORMAL] = @bg_color |
0 | 2264 } |
2265 | |
2266 style "tooltips" | |
2267 { | |
2268 xthickness = 8 | |
2269 ythickness = 4 | |
2270 | |
2271 bg[NORMAL] = @tooltip_bg_color | |
2272 fg[NORMAL] = @tooltip_fg_color | |
2273 bg[SELECTED] = @tooltip_bg_color | |
2274 } | |
2275 | |
2276 style "eclipse-tooltips" | |
2277 { | |
2278 xthickness = 8 | |
2279 ythickness = 4 | |
2280 | |
2281 bg[NORMAL] = shade(1.05, @bg_color) | |
2282 fg[NORMAL] = @text_color | |
2283 bg[SELECTED] = shade(1.05, @bg_color) | |
2284 } | |
2285 | |
2286 # Chromium | |
2287 style "chrome-gtk-frame" | |
2288 { | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2289 ChromeGtkFrame::frame-color = @bg_dark_color |
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2290 ChromeGtkFrame::inactive-frame-color = @bg_dark_color |
0 | 2291 |
2292 ChromeGtkFrame::frame-gradient-size = 16 | |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2293 ChromeGtkFrame::frame-gradient-color = shade(1.07, @bg_dark_color) |
0 | 2294 |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2295 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
|
2296 ChromeGtkFrame::incognito-inactive-frame-color = @bg_dark_color |
0 | 2297 |
5
749a8ba83a29
Tweak GTK 2 theme for darker styling
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2298 ChromeGtkFrame::incognito-frame-gradient-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::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
|
2301 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
|
2302 ChromeGtkFrame::scrollbar-slider-normal-color = @bg_dark_color |
0 | 2303 } |
2304 | |
2305 style "chrome_menu_item" | |
2306 { | |
2307 bg[SELECTED] = @selected_bg_color | |
2308 } | |
2309 | |
2310 style "null" | |
2311 { | |
2312 engine "pixmap" | |
2313 { | |
2314 image | |
2315 { | |
2316 function = BOX | |
2317 file = "Others/null.png" | |
2318 stretch = TRUE | |
2319 } | |
2320 } | |
2321 } | |
2322 | |
2323 | |
2324 class "GtkWidget" style "default" | |
2325 class "GtkScrollbar" style "scrollbar" | |
2326 class "GtkButton" style "button" | |
2327 class "GtkEntry" style "entry" | |
2328 class "GtkOldEditable" style "entry" | |
2329 class "GtkSpinButton" style "spinbutton" | |
2330 class "GtkNotebook" style "notebook" | |
2331 class "GtkRange" style "range" | |
2332 class "GtkProgressBar" style "progressbar" | |
2333 class "GtkSeparatorMenuItem" style "separator_menu_item" | |
2334 class "GtkScrolledWindow" style "scrolled_window" | |
2335 class "GtkFrame" style "frame" | |
2336 class "GtkToolbar" style "toolbar" | |
2337 | |
2338 widget_class "*<GtkMenuBar>*" style "menubar" | |
2339 widget_class "*<GtkMenu>*" style "menu" | |
2340 widget_class "*<GtkMenu>*" style "menu_framed_box" | |
2341 widget_class "*<GtkMenuItem>*" style "menu_item" | |
2342 widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item" | |
2343 widget_class "*<GtkCheckButton>*" style "checkbutton" | |
2344 widget_class "*<GtkComboBox>" style "combobox" | |
2345 widget_class "*<GtkComboBox>*<GtkButton>" style "combobox_button" | |
2346 widget_class "*<GtkButton>*<GtkSeparator>" style "button_separator" | |
2347 widget_class "*HandleBox" style "handlebox" | |
2348 widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header" | |
2349 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar" | |
2350 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight" | |
2351 widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry" | |
2352 widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "combobox_entry_button" | |
2353 widget_class "*<GtkInfoBar>*<GtkButton>" style "button_nohilight" | |
2354 widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport" | |
2355 | |
2356 # Entries in notebooks draw with notebook's base color, but not if there's | |
2357 # something else in the middle that draws gray again | |
2358 widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry" | |
2359 widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "entry" | |
2360 | |
2361 #widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>" style "notebook_combobox_entry" | |
2362 widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry" | |
2363 | |
2364 # We also need to avoid changing fg color for the inactive notebook tab labels | |
2365 widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label" | |
2366 | |
2367 # GTK tooltips | |
2368 widget "gtk-tooltip*" style "tooltips" | |
2369 | |
2370 # Xchat special cases | |
2371 widget "*xchat-inputbox" style "entry" | |
2372 | |
2373 # GIMP | |
2374 # Disable gradients completely for GimpSpinScale | |
2375 class "GimpSpinScale" style "gimp_spin_scale" | |
2376 # Remove borders from "Wilbert frame" in Gimp | |
2377 widget_class "*<GimpToolbox>*<GtkFrame>" style "gimp_toolbox_frame" | |
2378 | |
2379 # Chrome/Chromium | |
2380 class "ChromeGtkFrame" style "chrome-gtk-frame" | |
2381 widget_class "*Chrom*Button*" style "button" | |
2382 widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item" | |
2383 | |
2384 # We use this weird selector to target an offscreen entry as created | |
2385 # by Chrome/Chromium to derive the style for its toolbar | |
2386 widget_class "<GtkEntry>" style "standalone_entry" | |
2387 | |
2388 # Eclipse/SWT | |
2389 widget "gtk-tooltips*" style "eclipse-tooltips" | |
2390 widget "*swt-toolbar-flat" style "null" | |
2391 | |
2392 # Openoffice, Libreoffice | |
2393 class "GtkWindow" style "toplevel_hack" | |
2394 widget "*openoffice-toplevel*" style "ooo_stepper_hack" | |
2395 widget "*openoffice-toplevel*GtkEntry" style "libreoffice_entry" | |
2396 widget "*openoffice-toplevel*GtkSpinButton" style "libreoffice_spinbutton_entry" | |
2397 widget "*libreoffice-toplevel*GtkEntry" style "libreoffice_entry" | |
2398 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
|
2399 |
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
2400 |
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
2401 # 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
|
2402 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
|
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 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
|
2405 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
|
2406 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
|
2407 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
|
2408 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
|
2409 } |
cd7ad7cfd077
Fix Gimp combo box text and Firefox bright blue in address bar URLs
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
2410 widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" |