gtkrc (95805B)
1 # Copyright 2012 2013 Joshua Brown-Williams a.k.a killhellokitty 2 # killhellokitty@gmail.com 3 # 4 # Dorian 'Gray' Theme is distributed under the terms of the GNU General 5 # Public License 6 # 7 # This program is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # This program is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 19 # 20 #* Based on Adwaita Theme 21 22 gtk-color-scheme = "base_color:#0a0a0a\nfg_color:#cdcdcd\ntooltip_fg_color:#bababa\nselected_bg_color:#154478\nselected_fg_color:#FFFFFF\ntext_color:#adadad\nbg_color:#1a1a1a\ntooltip_bg_color:#161616" 23 24 gtk-auto-mnemonics = 1 25 gtk-primary-button-warps-slider = 1 26 27 style "default" 28 { 29 xthickness = 1 30 ythickness = 1 31 32 # Style Properties 33 34 GtkWidget::focus-line-width = 1 35 36 GtkMenuBar::window-dragging = 1 37 GtkToolbar::window-dragging = 1 38 GtkToolbar::internal-padding = 4 39 GtkToolButton::icon-spacing = 4 40 41 GtkWidget::tooltip-radius = 3 42 GtkWidget::tooltip-alpha = 200 43 GtkWidget::new-tooltip-style = 1 #for compatibility 44 45 GtkSeparatorMenuItem::horizontal-padding = 3 46 GtkSeparatorMenuItem::wide-separators = 1 47 GtkSeparatorMenuItem::separator-height = 3 48 49 GtkButton::child-displacement-y = 0 50 GtkButton::default-border = { 0, 0, 0, 0 } 51 GtkButton::default-outside_border = { 0, 0, 0, 0 } 52 53 GtkWidget::cursor-color = "#154478" 54 GtkWidget::cursor-aspect-ratio = 0.1 55 GtkWidget::secondary-cursor-color = "#adadad" 56 57 GtkWidget::link-color = "#00A68E" 58 GtkWidget::visited-link-color = "#00806D" 59 60 GtkEntry::state-hint = 1 61 62 GtkScrollbar::trough-border = 1 63 GtkRange::trough-border = 0 64 GtkRange::slider-width = 12 65 GtkRange::stepper-size = 14 66 GtkRange::stepper_spacing = 0 67 GtkRange::trough-under-steppers = 1 68 69 GtkScrollbar::activate-slider = 1 70 GtkScrollbar::has-backward-stepper = 0 71 GtkScrollbar::has-forward-stepper = 0 72 GtkScrollbar::min-slider-length = 42 73 GtkScrollbar::slider-width = 10 74 GtkScrolledWindow ::scrollbar-spacing = 0 75 GtkScrolledWindow ::scrollbars-within-bevel = 1 76 77 GtkVScale::slider_length = 18 78 GtkVScale::slider_width = 18 79 GtkHScale::slider_length = 18 80 GtkHScale::slider_width = 18 81 82 GtkStatusbar::shadow_type = GTK_SHADOW_NONE 83 GtkSpinButton::shadow_type = GTK_SHADOW_NONE 84 GtkMenuBar::shadow-type = GTK_SHADOW_NONE 85 GtkToolbar::shadow-type = GTK_SHADOW_NONE 86 GtkMenuBar::internal-padding = 0 #( every window is misaligned for the sake of menus ): 87 GtkMenu::horizontal-padding = 0 88 GtkMenu::vertical-padding = 0 89 90 GtkCheckButton::indicator_spacing = 3 91 GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 } 92 93 GtkTreeView::row_ending_details = 0 94 GtkTreeView::expander-size = 11 95 GtkTreeView::vertical-separator = 0 96 GtkTreeView::horizontal-separator = 0 97 GtkTreeView::allow-rules = 1 98 GtkTreeView::odd_row_color = mix(0.02, @selected_bg_color, shade(0.76, @base_color)) 99 GtkTreeView::even_row_color = shade(1.1, @base_color) 100 101 GtkTextView::error-underline-color = "#ED3431" 102 103 GtkExpander::expander-size = 11 104 105 # Colors 106 107 bg[NORMAL] = @bg_color 108 bg[PRELIGHT] = shade (1.02, @bg_color) 109 bg[SELECTED] = @selected_bg_color 110 bg[INSENSITIVE] = "#171717" 111 bg[ACTIVE] = shade (0.9, @bg_color) 112 113 fg[NORMAL] = @fg_color 114 fg[PRELIGHT] = @selected_fg_color 115 fg[SELECTED] = @selected_fg_color 116 fg[INSENSITIVE] = "#3e4041" 117 fg[ACTIVE] = "#dfdfdf" 118 119 text[NORMAL] = @text_color 120 text[PRELIGHT] = @fg_color 121 text[SELECTED] = @selected_fg_color 122 text[INSENSITIVE] = "#3e4041" 123 text[ACTIVE] = "#dfdfdf" 124 125 base[NORMAL] = @base_color 126 base[PRELIGHT] = shade (0.95, @bg_color) 127 base[SELECTED] = @selected_bg_color 128 base[INSENSITIVE] = "#171717" 129 base[ACTIVE] = shade (0.9, @selected_bg_color) 130 131 # For succinctness, all reasonable pixmap options remain here 132 133 engine "pixmap" 134 { 135 #Check Buttons ##must be here for it to show in treeviews # 136 image 137 { 138 function = CHECK 139 recolorable = TRUE 140 state = NORMAL 141 shadow = OUT 142 overlay_file = "images/check-radio/check-unchecked.svg" 143 overlay_stretch = FALSE 144 } 145 image 146 { 147 function = CHECK 148 recolorable = TRUE 149 state = PRELIGHT 150 shadow = OUT 151 overlay_file = "images/check-radio/check-unchecked-hover.svg" 152 overlay_stretch = FALSE 153 } 154 image 155 { 156 function = CHECK 157 recolorable = TRUE 158 state = ACTIVE 159 shadow = OUT 160 overlay_file = "images/check-radio/check-unchecked.svg" 161 overlay_stretch = FALSE 162 } 163 image 164 { 165 function = CHECK 166 recolorable = TRUE 167 state = INSENSITIVE 168 shadow = OUT 169 overlay_file = "images/check-radio/check-unchecked-insensitive.svg" 170 overlay_stretch = FALSE 171 } 172 image 173 { 174 function = CHECK 175 recolorable = TRUE 176 state = NORMAL 177 shadow = IN 178 overlay_file = "images/check-radio/check-active.svg" 179 overlay_stretch = FALSE 180 } 181 image 182 { 183 function = CHECK 184 recolorable = TRUE 185 state = PRELIGHT 186 shadow = IN 187 overlay_file = "images/check-radio/check-active-hover.svg" 188 overlay_stretch = FALSE 189 } 190 image 191 { 192 function = CHECK 193 recolorable = TRUE 194 state = ACTIVE 195 shadow = IN 196 overlay_file = "images/check-radio/check-active.svg" 197 overlay_stretch = FALSE 198 } 199 image 200 { 201 function = CHECK 202 recolorable = TRUE 203 state = INSENSITIVE 204 shadow = IN 205 overlay_file = "images/check-radio/check-active-insensitive-inset.svg" 206 overlay_stretch = FALSE 207 } 208 209 # Radio Buttons 210 211 image 212 { 213 function = OPTION 214 state = NORMAL 215 shadow = OUT 216 overlay_file = "images/check-radio/radio-un.svg" 217 overlay_stretch = FALSE 218 } 219 image 220 { 221 function = OPTION 222 state = PRELIGHT 223 shadow = OUT 224 overlay_file = "images/check-radio/radio-un-hover.svg" 225 overlay_stretch = FALSE 226 } 227 image 228 { 229 function = OPTION 230 state = ACTIVE 231 shadow = OUT 232 overlay_file = "images/check-radio/radio-un.svg" 233 overlay_stretch = FALSE 234 } 235 image 236 { 237 function = OPTION 238 state = INSENSITIVE 239 shadow = OUT 240 overlay_file = "images/check-radio/radio-insensitive.svg" 241 overlay_stretch = FALSE 242 } 243 image 244 { 245 function = OPTION 246 state = NORMAL 247 shadow = IN 248 overlay_file = "images/check-radio/radio-active.svg" 249 overlay_stretch = FALSE 250 } 251 image 252 { 253 function = OPTION 254 state = PRELIGHT 255 shadow = IN 256 overlay_file = "images/check-radio/radio-active-hover.svg" 257 overlay_stretch = FALSE 258 } 259 image 260 { 261 function = OPTION 262 state = ACTIVE 263 shadow = IN 264 overlay_file = "images/check-radio/radio-active.svg" 265 overlay_stretch = FALSE 266 } 267 image 268 { 269 function = OPTION 270 state = INSENSITIVE 271 shadow = IN 272 overlay_file = "images/check-radio/radio-insensitive-active.svg" 273 overlay_stretch = FALSE 274 } 275 # Arrows 276 277 image 278 { 279 function = ARROW 280 overlay_file = "images/arrows/small-arrow-up.svg" 281 overlay_border = { 0, 0, 0, 0 } 282 overlay_stretch = FALSE 283 arrow_direction = UP 284 } 285 image 286 { 287 function = ARROW 288 state = NORMAL 289 overlay_file = "images/arrows/small-arrow-down.svg" 290 overlay_border = { 0, 0, 0, 0 } 291 overlay_stretch = FALSE 292 arrow_direction = DOWN 293 } 294 image 295 { 296 function = ARROW 297 state = PRELIGHT 298 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 299 overlay_border = { 0, 0, 0, 0 } 300 overlay_stretch = FALSE 301 arrow_direction = DOWN 302 } 303 image 304 { 305 function = ARROW 306 state = ACTIVE 307 overlay_file = "images/arrows/small-arrow-down-active.svg" 308 overlay_border = { 0, 0, 0, 0 } 309 overlay_stretch = FALSE 310 arrow_direction = DOWN 311 } 312 313 image 314 { 315 function = ARROW 316 state = INSENSITIVE 317 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 318 overlay_border = { 0, 0, 0, 0 } 319 overlay_stretch = FALSE 320 arrow_direction = DOWN 321 } 322 323 image 324 { 325 function = ARROW 326 overlay_file = "images/arrows/arrow-left.svg" 327 overlay_border = { 0, 0, 0, 0 } 328 overlay_stretch = FALSE 329 arrow_direction = LEFT 330 } 331 image 332 { 333 function = ARROW 334 overlay_file = "images/arrows/arrow-right.svg" 335 overlay_border = { 0, 0, 0, 0 } 336 overlay_stretch = FALSE 337 arrow_direction = RIGHT 338 } 339 340 # Option Menu Arrows 341 342 image 343 { 344 function = TAB 345 state = INSENSITIVE 346 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 347 overlay_stretch = FALSE 348 } 349 image 350 { 351 function = TAB 352 state = NORMAL 353 overlay_file = "images/arrows/small-arrow-down.svg" 354 overlay_border = { 0, 0, 0, 0 } 355 overlay_stretch = FALSE 356 } 357 image 358 { 359 function = TAB 360 state = PRELIGHT 361 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 362 overlay_border = { 0, 0, 0, 0 } 363 overlay_stretch = FALSE 364 } 365 366 # Lines 367 368 image 369 { 370 function = VLINE 371 file = "images/other/null.png" 372 border = { 0, 0, 0, 0 } 373 stretch = TRUE 374 } 375 image 376 { 377 function = HLINE 378 file = "images/other/null.png" 379 border = { 0, 0, 0, 0 } 380 stretch = TRUE 381 } 382 383 # Focuslines 384 385 image 386 { 387 function = FOCUS 388 file = "images/other/focus.svg" 389 border = { 3,3,3,3 } 390 stretch = TRUE 391 } 392 393 # Handles 394 395 image 396 { 397 function = HANDLE 398 overlay_file = "images/handles/pane-separator-grip.svg" 399 overlay_stretch = FALSE 400 orientation = HORIZONTAL 401 } 402 image 403 { 404 function = HANDLE 405 overlay_file = "images/handles/pane-separator-grip-vertical.svg" 406 overlay_stretch = FALSE 407 orientation = VERTICAL 408 } 409 410 # Expanders 411 412 image 413 { 414 function = EXPANDER 415 expander_style = COLLAPSED 416 file = "images/expanders/plus.svg" 417 } 418 419 image 420 { 421 function = EXPANDER 422 expander_style = EXPANDED 423 file = "images/expanders/minus.svg" 424 } 425 426 image 427 { 428 function = EXPANDER 429 expander_style = SEMI_EXPANDED 430 file = "images/expanders/minus.svg" 431 } 432 433 image 434 { 435 function = EXPANDER 436 expander_style = SEMI_COLLAPSED 437 file = "images/expanders/plus.svg" 438 } 439 440 image 441 { 442 function = RESIZE_GRIP 443 state = NORMAL 444 detail = "statusbar" 445 overlay_file = "images/other/null.png" 446 overlay_border = { 0,0,0,0 } 447 overlay_stretch = FALSE 448 } 449 450 #Shadows 451 image 452 { 453 function = SHADOW_GAP 454 file = "images/other/null.png" 455 border = { 4, 4, 4, 4 } 456 stretch = TRUE 457 } 458 image 459 { 460 function = SHADOW 461 shadow = IN 462 recolorable = FALSE 463 file = "images/frames/shadow-in.svg" 464 border = {2,2,2,2} 465 stretch = TRUE 466 } 467 468 image 469 { 470 function = SHADOW 471 shadow = OUT 472 recolorable = TRUE 473 file = "images/other/null.png" 474 border = { 4, 4, 4, 4 } 475 stretch = TRUE 476 } 477 478 image 479 { 480 function = SHADOW 481 shadow = ETCHED_IN 482 recolorable = TRUE 483 file = "images/frames/shadow-in.svg" 484 border = { 2,2,2,2 } 485 stretch = TRUE 486 } 487 image 488 { 489 function = SHADOW 490 shadow = ETCHED_OUT 491 recolorable = TRUE 492 file = "images/other/null.png" 493 border = { 4, 4, 4, 4 } 494 stretch = TRUE 495 } 496 } 497 } 498 499 ########################################################## 500 style "test" = "theme-default" { 501 fg[NORMAL] = "#0000FF" 502 fg[ACTIVE] = "#0000FF" 503 fg[PRELIGHT] = "#0000FF" 504 fg[SELECTED] = "#0000FF" 505 fg[INSENSITIVE] = "#0000FF" 506 507 bg[NORMAL] = "#FF0000" 508 bg[ACTIVE] = "#FF0000" 509 bg[PRELIGHT] = "#FF0000" 510 #bg[SELECTED] = "#FF0000" 511 bg[INSENSITIVE] = "#FF0000" 512 513 text[NORMAL] = "#00ff00" 514 text[ACTIVE] = "#00FF00" 515 text[PRELIGHT] = "#00FF00" 516 text[SELECTED] = "#00FF00" 517 text[INSENSITIVE] = "#00FF00" 518 519 base[NORMAL] = "#FF0000" 520 base[ACTIVE] = "#FF0000" 521 base[PRELIGHT] = "#FF0000" 522 base[SELECTED] = "#FF0000" 523 base[INSENSITIVE] = "#FF0000" 524 } 525 ############################################################ 526 527 style "scrollbar" 528 { 529 engine "pixmap" 530 { 531 532 image 533 { 534 function = BOX 535 recolorable = TRUE 536 detail = "trough" 537 file = "/images/scroll/trough-h.svg" 538 border = { 1,1,1,1 } 539 stretch = TRUE 540 orientation = HORIZONTAL 541 } 542 543 image 544 { 545 function = BOX 546 recolorable = TRUE 547 detail = "trough" 548 file = "/images/scroll/trough-v.svg" 549 border = { 1,1,1,1 } 550 stretch = TRUE 551 orientation = VERTICAL 552 } 553 554 555 image 556 { 557 function = SLIDER 558 recolorable = TRUE 559 state = NORMAL 560 file = "/images/scroll/slider-h.svg" 561 border = { 5,5,2,2 } 562 stretch = TRUE 563 orientation = HORIZONTAL 564 565 } 566 567 image 568 { 569 function = SLIDER 570 recolorable = TRUE 571 state = PRELIGHT 572 file = "/images/scroll/slider-h-hover.svg" 573 border = { 5,5,2,2 } 574 stretch = TRUE 575 orientation = HORIZONTAL 576 577 } 578 579 image 580 { 581 function = SLIDER 582 recolorable = TRUE 583 state = ACTIVE 584 file = "/images/scroll/slider-h-active.svg" 585 border = { 5,5,2,2 } 586 stretch = TRUE 587 orientation = HORIZONTAL 588 589 } 590 591 image 592 { 593 function = SLIDER 594 recolorable = TRUE 595 state = INSENSITIVE 596 file = "/images/scroll/slider-h-insensitive.svg" 597 border = {5,5,2,2 } 598 stretch = TRUE 599 orientation = HORIZONTAL 600 601 } 602 603 image 604 { 605 function = SLIDER 606 recolorable = TRUE 607 state = NORMAL 608 file = "/images/scroll/slider-v.svg" 609 border ={ 2,2,5,5 } 610 stretch = TRUE 611 orientation = VERTICAL 612 613 } 614 615 image 616 { 617 function = SLIDER 618 recolorable = TRUE 619 state = PRELIGHT 620 file = "/images/scroll/slider-v-hover.svg" 621 border = { 2,2,5,5 } 622 stretch = TRUE 623 orientation = VERTICAL 624 625 } 626 627 image 628 { 629 function = SLIDER 630 recolorable = TRUE 631 state = ACTIVE 632 file = "/images/scroll/slider-v-active.svg" 633 border = { 2,2,5,5 } 634 stretch = TRUE 635 orientation = VERTICAL 636 637 } 638 639 image 640 { 641 function = SLIDER 642 recolorable = TRUE 643 state = INSENSITIVE 644 file = "/images/scroll/slider-v-insensitive.svg" 645 border = { 2,2,5,5 } 646 stretch = TRUE 647 orientation = VERTICAL 648 649 } 650 651 652 653 image 654 { 655 function = STEPPER 656 recolorable = TRUE 657 state = NORMAL 658 file = "/images/scroll/scroll-button.svg" 659 stretch = TRUE 660 arrow_direction = UP 661 662 663 } 664 665 image 666 { 667 function = STEPPER 668 recolorable = TRUE 669 state = PRELIGHT 670 file = "/images/scroll/scroll-button-hover.svg" 671 stretch = TRUE 672 arrow_direction = UP 673 674 675 } 676 677 image 678 { 679 function = STEPPER 680 recolorable = TRUE 681 state = ACTIVE 682 file = "/images/scroll/scroll-button-active.svg" 683 stretch = TRUE 684 arrow_direction = UP 685 686 687 } 688 689 image 690 { 691 function = STEPPER 692 recolorable = TRUE 693 state = INSENSITIVE 694 file = "/images/scroll/scroll-button-insensitive.svg" 695 stretch = TRUE 696 arrow_direction = UP 697 698 699 } 700 701 image 702 { 703 function = STEPPER 704 recolorable = TRUE 705 state = NORMAL 706 file = "/images/scroll/scroll-button.svg" 707 stretch = TRUE 708 arrow_direction = DOWN 709 710 711 } 712 713 image 714 { 715 function = STEPPER 716 recolorable = TRUE 717 state = PRELIGHT 718 file = "/images/scroll/scroll-button-hover.svg" 719 stretch = TRUE 720 arrow_direction = DOWN 721 722 723 } 724 725 image 726 { 727 function = STEPPER 728 recolorable = TRUE 729 state = ACTIVE 730 file = "/images/scroll/scroll-button-active.svg" 731 stretch = TRUE 732 arrow_direction = DOWN 733 734 735 } 736 737 image 738 { 739 function = STEPPER 740 recolorable = TRUE 741 state = INSENSITIVE 742 file = "/images/scroll/scroll-button-insensitive.svg" 743 stretch = TRUE 744 arrow_direction = DOWN 745 746 747 } 748 749 image 750 { 751 function = STEPPER 752 recolorable = TRUE 753 state = NORMAL 754 file = "/images/scroll/scroll-button.svg" 755 stretch = TRUE 756 arrow_direction = LEFT 757 758 759 } 760 761 image 762 { 763 function = STEPPER 764 recolorable = TRUE 765 state = PRELIGHT 766 file = "/images/scroll/scroll-button-hover.svg" 767 stretch = TRUE 768 arrow_direction = LEFT 769 770 771 } 772 773 image 774 { 775 function = STEPPER 776 recolorable = TRUE 777 state = ACTIVE 778 file = "/images/scroll/scroll-button-active.svg" 779 stretch = TRUE 780 arrow_direction = LEFT 781 782 783 } 784 785 image 786 { 787 function = STEPPER 788 recolorable = TRUE 789 state = INSENSITIVE 790 file = "/images/scroll/scroll-button-insensitive.svg" 791 stretch = TRUE 792 arrow_direction = LEFT 793 794 795 } 796 797 image 798 { 799 function = STEPPER 800 recolorable = TRUE 801 state = NORMAL 802 file = "/images/scroll/scroll-button.svg" 803 stretch = TRUE 804 arrow_direction = RIGHT 805 806 807 } 808 809 image 810 { 811 function = STEPPER 812 recolorable = TRUE 813 state = PRELIGHT 814 file = "/images/scroll/scroll-button-hover.svg" 815 stretch = TRUE 816 arrow_direction = RIGHT 817 818 819 } 820 821 image 822 { 823 function = STEPPER 824 recolorable = TRUE 825 state = ACTIVE 826 file = "/images/scroll/scroll-button-active.svg" 827 stretch = TRUE 828 arrow_direction = RIGHT 829 830 831 } 832 833 image 834 { 835 function = STEPPER 836 recolorable = TRUE 837 state = INSENSITIVE 838 file = "/images/scroll/scroll-button-insensitive.svg" 839 stretch = TRUE 840 arrow_direction = RIGHT 841 842 843 } 844 image 845 { 846 function = BOX 847 recolorable = TRUE 848 state = NORMAL 849 file = "/images/null.png" 850 border = { 0, 0, 0, 0 } 851 stretch = TRUE 852 } 853 854 image 855 { 856 function = BOX 857 recolorable = TRUE 858 state = PRELIGHT 859 file = "/images/null.png" 860 border = { 0, 0, 0, 0 } 861 stretch = TRUE 862 orientation = HORIZONTAL 863 } 864 865 image 866 { 867 function = BOX 868 recolorable = TRUE 869 state = ACTIVE 870 file = "/images/null.png" 871 border = { 0, 0, 0, 0 } 872 stretch = TRUE 873 } 874 875 image 876 { 877 function = BOX 878 recolorable = TRUE 879 state = INSENSITIVE 880 file = "/images/null.png" 881 border = { 0, 0, 0, 0 } 882 stretch = TRUE 883 } 884 885 } 886 } 887 888 style "menubar" 889 { 890 bg[PRELIGHT] = @selected_fg_color 891 fg[NORMAL] = shade(0.9, "#bdbdbd") 892 fg[SELECTED] = @selected_fg_color 893 894 xthickness = 0 895 ythickness = 0 896 897 engine "pixmap"{ 898 # This is the menubar-item's background when pressed # 899 image 900 { 901 function = BOX 902 recolorable = TRUE 903 state = PRELIGHT 904 file = "/images/menu/menubar-button.svg" 905 border = { 0 , 0, 0, 3} 906 stretch = TRUE 907 } 908 } 909 } 910 911 style "menu" 912 { 913 xthickness = 0 914 ythickness = 0 915 916 GtkMenuItem::arrow-scaling = 0.4 917 918 bg[NORMAL] = "#1f1f1f" 919 bg[INSENSITIVE] = @base_color 920 bg[PRELIGHT] = @base_color 921 922 engine "pixmap" # For menus that use horizontal lines rather than gtkseparator 923 { 924 image 925 { 926 function = HLINE 927 file = "images/separator/separator.svg" 928 border = { 0, 0, 0, 0 } 929 stretch = TRUE 930 } 931 image 932 { 933 function = BOX 934 recolorable = TRUE 935 detail = "menu" 936 file = "/images/menu/menu.svg" 937 border = { 2, 2, 2, 2} 938 stretch = TRUE 939 } 940 } 941 } 942 943 style "menu_item" 944 { 945 xthickness = 2 946 ythickness = 4 947 948 # HACK: Gtk doesn't actually read this value 949 # while rendering the menu items, but Libreoffice 950 # does; setting this value equal to the one in 951 # fg[PRELIGHT] ensures a code path in the LO theming code 952 # that falls back to a dark text color for menu item text 953 # highlight. The price to pay is black text on menus as well, 954 # but at least it's readable. 955 # See https://bugs.freedesktop.org/show_bug.cgi?id=38038 956 bg[SELECTED] = @selected_fg_color 957 958 bg[PRELIGHT] = mix(0.4, @selected_bg_color, shade(0.9, "#1f1f1f")) 959 fg[PRELIGHT] = @selected_fg_color 960 text[PRELIGHT] = @selected_fg_color 961 fg[NORMAL] = "#bdbdbd" 962 text[NORMAL] = "#bdbdbd" 963 fg[INSENSITIVE] = shade(1.3, "#3e4041") 964 text[INSENSITIVE] = shade(1.3, "#3e4041") 965 966 engine "pixmap" 967 { 968 969 # Check Buttons 970 971 image 972 { 973 function = CHECK 974 recolorable = TRUE 975 state = NORMAL 976 shadow = OUT 977 overlay_file = "images/other/null.png" 978 overlay_stretch = FALSE 979 } 980 image 981 { 982 function = CHECK 983 recolorable = TRUE 984 state = PRELIGHT 985 shadow = OUT 986 overlay_file = "images/other/null.png" 987 overlay_stretch = FALSE 988 } 989 image 990 { 991 function = CHECK 992 recolorable = TRUE 993 state = ACTIVE 994 shadow = OUT 995 overlay_file = "images/other/null.png" 996 overlay_stretch = FALSE 997 } 998 image 999 { 1000 function = CHECK 1001 recolorable = TRUE 1002 state = INSENSITIVE 1003 shadow = OUT 1004 overlay_file = "images/other/null.png" 1005 overlay_stretch = FALSE 1006 } 1007 image 1008 { 1009 function = CHECK 1010 recolorable = TRUE 1011 state = NORMAL 1012 shadow = IN 1013 overlay_file = "images/check-radio/menu-check.svg" 1014 overlay_stretch = FALSE 1015 } 1016 image 1017 { 1018 function = CHECK 1019 recolorable = TRUE 1020 state = PRELIGHT 1021 shadow = IN 1022 overlay_file = "images/check-radio/menu-check-hover.svg" 1023 overlay_stretch = FALSE 1024 } 1025 image 1026 { 1027 function = CHECK 1028 recolorable = TRUE 1029 state = ACTIVE 1030 shadow = IN 1031 overlay_file = "images/check-radio/menu-check.svg" 1032 overlay_stretch = FALSE 1033 } 1034 image 1035 { 1036 function = CHECK 1037 recolorable = TRUE 1038 state = INSENSITIVE 1039 shadow = IN 1040 overlay_file = "images/check-radio/menu-check-insensitive.svg" 1041 overlay_stretch = FALSE 1042 } 1043 1044 # Radio Buttons 1045 1046 image 1047 { 1048 function = OPTION 1049 state = NORMAL 1050 shadow = OUT 1051 overlay_file = "images/other/null.png" 1052 overlay_stretch = FALSE 1053 } 1054 image 1055 { 1056 function = OPTION 1057 state = PRELIGHT 1058 shadow = OUT 1059 overlay_file = "images/other/null.png" 1060 overlay_stretch = FALSE 1061 } 1062 image 1063 { 1064 function = OPTION 1065 state = ACTIVE 1066 shadow = OUT 1067 overlay_file = "images/other/null.png" 1068 overlay_stretch = FALSE 1069 } 1070 image 1071 { 1072 function = OPTION 1073 state = INSENSITIVE 1074 shadow = OUT 1075 overlay_file = "images/other/null.png" 1076 overlay_stretch = FALSE 1077 } 1078 image 1079 { 1080 function = OPTION 1081 state = NORMAL 1082 shadow = IN 1083 overlay_file = "images/check-radio/menu-radio.svg" 1084 overlay_stretch = FALSE 1085 } 1086 image 1087 { 1088 function = OPTION 1089 state = PRELIGHT 1090 shadow = IN 1091 overlay_file = "images/check-radio/menu-radio-selected.svg" 1092 overlay_stretch = FALSE 1093 } 1094 image 1095 { 1096 function = OPTION 1097 state = ACTIVE 1098 shadow = IN 1099 overlay_file = "images/check-radio/menu-radio.svg" 1100 overlay_stretch = FALSE 1101 } 1102 image 1103 { 1104 function = OPTION 1105 state = INSENSITIVE 1106 shadow = IN 1107 overlay_file = "images/check-radio/menu-radio-insensitive.svg" 1108 overlay_stretch = FALSE 1109 } 1110 image 1111 { 1112 function = SHADOW # This fixes boxy Qt menu items 1113 file = "images/other/null.png" 1114 border = { 4, 4, 4, 4 } 1115 stretch = TRUE 1116 } 1117 1118 # Arrow Buttons 1119 1120 image 1121 { 1122 function = ARROW 1123 state = NORMAL 1124 overlay_file = "images/arrows/menu-arrow-prelight.svg" 1125 overlay_border = { 0, 0, 0, 0 } 1126 overlay_stretch = FALSE 1127 arrow_direction = RIGHT 1128 } 1129 image 1130 { 1131 function = ARROW 1132 state = PRELIGHT 1133 overlay_file = "images/arrows/menu-arrow.svg" 1134 overlay_border = { 0, 0, 0, 0 } 1135 overlay_stretch = FALSE 1136 arrow_direction = RIGHT 1137 } 1138 } 1139 } 1140 1141 style "menubar_item" 1142 { 1143 xthickness = 2 1144 ythickness = 3 1145 bg[PRELIGHT] = @selected_fg_color 1146 fg[NORMAL] = shade(0.9, "#bdbdbd") 1147 fg[PRELIGHT] = @selected_fg_color 1148 fg[INSENSITIVE] = shade(1.3, "#3e4041") 1149 } 1150 1151 style "button" 1152 { 1153 xthickness = 2 1154 ythickness = 2 1155 1156 engine "pixmap" 1157 { 1158 image 1159 { 1160 function = FOCUS 1161 file = "images/other/button-focus.svg" 1162 border = { 3,3,3, 3 } 1163 stretch = TRUE 1164 } 1165 image 1166 { 1167 function = BOX 1168 detail = "buttondefault" 1169 recolorable = TRUE 1170 file = "images/buttons/button-default.svg" 1171 border = { 5, 5, 5, 5 } 1172 stretch = TRUE 1173 } 1174 image 1175 { 1176 function = BOX 1177 state = PRELIGHT 1178 shadow = OUT 1179 recolorable = TRUE 1180 file = "images/buttons/button-hover.svg" 1181 border = { 4,4,4,4 } 1182 stretch = TRUE 1183 } 1184 image 1185 { 1186 function = BOX 1187 state = ACTIVE 1188 file = "images/buttons/button-active.svg" 1189 border = { 5, 5, 5, 5 } 1190 stretch = TRUE 1191 } 1192 image 1193 { 1194 function = BOX 1195 shadow = IN 1196 state = PRELIGHT 1197 overlay_file = "images/buttons/button-active-prelight.svg" 1198 overlay_border = { 5 ,5 , 5 ,5} 1199 overlay_stretch = TRUE 1200 } 1201 image 1202 { 1203 function = BOX 1204 state = INSENSITIVE 1205 file = "images/buttons/button-insensitive.svg" 1206 border = { 5, 5, 5, 5 } 1207 stretch = TRUE 1208 overlay_file = "images/stripes.svg" 1209 overlay_stretch = FALSE 1210 } 1211 image 1212 { 1213 function = BOX 1214 file = "images/buttons/button.svg" 1215 border = { 5, 5, 5, 5 } 1216 stretch = TRUE 1217 } 1218 } 1219 } 1220 1221 style "notebook-button" 1222 { 1223 1224 } 1225 1226 style "button_nohilight" 1227 { 1228 xthickness = 2 1229 ythickness = 2 1230 1231 engine "pixmap" 1232 { 1233 image 1234 { 1235 function = BOX 1236 state = NORMAL 1237 file = "images/buttons/inline-button.svg" 1238 border = { 4, 4, 4, 4 } 1239 stretch = TRUE 1240 } 1241 image 1242 { 1243 function = BOX 1244 state = PRELIGHT 1245 file = "images/buttons/inline-button-hover.svg" 1246 border = { 4, 4, 4, 4 } 1247 stretch = TRUE 1248 } 1249 image 1250 { 1251 function = BOX 1252 state = ACTIVE 1253 file = "images/buttons/inline-button-active.svg" 1254 border = { 4, 4, 4, 4 } 1255 stretch = TRUE 1256 } 1257 image 1258 { 1259 function = BOX 1260 state = INSENSITIVE 1261 file = "images/buttons/inline-button-insensitive.svg" 1262 border = { 4, 4, 4, 4 } 1263 stretch = TRUE 1264 overlay_file = "images/stripes.svg" 1265 overlay_stretch = FALSE 1266 } 1267 } 1268 } 1269 1270 style "tool-button" 1271 { 1272 xthickness = 4 1273 ythickness = 5 1274 1275 engine "pixmap" 1276 { 1277 image 1278 { 1279 function = FOCUS 1280 file = "images/other/null.png" 1281 border = { 0,0,0,0 } 1282 stretch = TRUE 1283 } 1284 image 1285 { 1286 function = BOX 1287 state = PRELIGHT 1288 shadow = OUT 1289 recolorable = FALSE 1290 file = "images/buttons/toolbar-button-hover.svg" 1291 border = { 5,5,5,5 } 1292 stretch = TRUE 1293 } 1294 image 1295 { 1296 function = BOX 1297 state = ACTIVE 1298 file = "images/buttons/toolbar-button-active.svg" 1299 border = { 5, 5, 5, 5 } 1300 stretch = TRUE 1301 } 1302 image 1303 { 1304 function = BOX 1305 shadow = IN 1306 state = PRELIGHT 1307 overlay_file = "images/buttons/toolbar-button-active-hover.svg" 1308 overlay_border = { 5 ,5 , 5 ,5} 1309 overlay_stretch = TRUE 1310 } 1311 image 1312 { 1313 function = BOX 1314 state = INSENSITIVE 1315 file = "images/buttons/button-insensitive.svg" 1316 border = { 5, 5, 5, 5 } 1317 stretch = TRUE 1318 overlay_file = "images/stripes.svg" 1319 overlay_stretch = FALSE 1320 } 1321 image 1322 { 1323 function = BOX 1324 file = "images/buttons/tool-button.png" 1325 border = { 5, 5, 5, 5 } 1326 stretch = TRUE 1327 } 1328 } 1329 } 1330 1331 style "check" 1332 { 1333 engine "pixmap" 1334 { 1335 ## Focus line around check & radio ## 1336 image 1337 { 1338 function = FOCUS 1339 file = "images/other/null.png" 1340 border = { 1, 1, 1, 1 } 1341 stretch = TRUE 1342 } 1343 ## Hover box over check & radio ## 1344 image 1345 { 1346 function = FLAT_BOX 1347 state = PRELIGHT 1348 file = "images/other/null.png" 1349 border = { 0, 0, 0, 0 } 1350 stretch = TRUE 1351 } 1352 } 1353 } 1354 1355 style "checkbutton" 1356 { 1357 fg[PRELIGHT] = shade(1.12, @text_color) 1358 fg[ACTIVE] = @fg_color 1359 } 1360 1361 style "entry" 1362 { 1363 xthickness = 3 1364 ythickness = 4 1365 1366 base[NORMAL] = "#1a1a1a" 1367 base[INSENSITIVE] = "#1a1a1a" 1368 text[SELECTED] = "#fff" 1369 1370 engine "pixmap" 1371 { 1372 image 1373 { 1374 function = SHADOW 1375 detail = "entry" 1376 state = NORMAL 1377 shadow = IN 1378 file = "images/entry/entry.svg" 1379 border = { 3,3,4,4 } 1380 stretch = TRUE 1381 } 1382 image 1383 { 1384 function = SHADOW 1385 detail = "entry" 1386 state = INSENSITIVE 1387 shadow = IN 1388 file = "images/entry/entry-insensitive.svg" 1389 border = { 3, 3, 4, 4 } 1390 stretch = TRUE 1391 } 1392 image 1393 { 1394 function = SHADOW 1395 detail = "entry" 1396 state = ACTIVE 1397 file = "images/entry/entry-active.svg" 1398 border = { 3, 3, 4, 4 } 1399 stretch = TRUE 1400 } 1401 image 1402 { 1403 function = FLAT_BOX 1404 detail = "entry_bg" 1405 state = NORMAL 1406 file = "images/entry/entry-bg.svg" 1407 border = { 0, 0, 0, 0 } 1408 stretch = TRUE 1409 } 1410 image 1411 { 1412 function = FLAT_BOX 1413 detail = "entry_bg" 1414 state = ACTIVE 1415 file = "images/entry/entry-bg-active.svg" 1416 border = { 0, 0, 0, 0 } 1417 stretch = TRUE 1418 } 1419 image 1420 { 1421 function = FLAT_BOX 1422 detail = "entry_bg" 1423 state = INSENSITIVE 1424 file = "images/entry/entry-bg-insensitive.svg" 1425 border = { 0, 0, 0, 0 } 1426 stretch = TRUE 1427 overlay_file = "images/stripes.svg" 1428 overlay_stretch = FALSE 1429 } 1430 } 1431 } 1432 1433 style "notebook_entry" 1434 { 1435 xthickness = 3 1436 ythickness = 4 1437 1438 base[NORMAL] = "#0b0b0b" 1439 base[INSENSITIVE] = "#0b0b0b" 1440 text[SELECTED] = "#030303" 1441 1442 engine "pixmap" 1443 { 1444 image 1445 { 1446 function = SHADOW 1447 detail = "entry" 1448 state = NORMAL 1449 shadow = IN 1450 file = "images/entry/notebook-entry.svg" 1451 border = { 3,3,4,4 } 1452 stretch = TRUE 1453 } 1454 image 1455 { 1456 function = SHADOW 1457 detail = "entry" 1458 state = INSENSITIVE 1459 shadow = IN 1460 file = "images/entry/notebook-entry-insensitive.svg" 1461 border = { 3, 3, 4, 4 } 1462 stretch = TRUE 1463 } 1464 image 1465 { 1466 function = SHADOW 1467 detail = "entry" 1468 state = ACTIVE 1469 file = "images/entry/notebook-entry-active.svg" 1470 border = { 3, 3, 4, 4 } 1471 stretch = TRUE 1472 } 1473 image 1474 { 1475 function = FLAT_BOX 1476 detail = "entry_bg" 1477 state = NORMAL 1478 file = "images/entry/notebook-entry-bg.svg" 1479 border = { 0, 0, 0, 0 } 1480 stretch = TRUE 1481 } 1482 image 1483 { 1484 function = FLAT_BOX 1485 detail = "entry_bg" 1486 state = ACTIVE 1487 file = "images/entry/notebook-entry-bg-active.svg" 1488 border = { 0, 0, 0, 0 } 1489 stretch = TRUE 1490 } 1491 image 1492 { 1493 function = FLAT_BOX 1494 detail = "entry_bg" 1495 state = INSENSITIVE 1496 file = "images/entry/notebook-entry-bg-insensitive.svg" 1497 border = { 0, 0, 0, 0 } 1498 stretch = TRUE 1499 overlay_file = "images/stripes.svg" 1500 overlay_stretch = FALSE 1501 } 1502 } 1503 } 1504 1505 style "toolbar_entry" 1506 { 1507 xthickness = 3 1508 ythickness = 4 1509 1510 base[NORMAL] = "#363636" 1511 base[INSENSITIVE] = "#363636" 1512 text[SELECTED] = "#040404" 1513 1514 engine "pixmap" 1515 { 1516 image 1517 { 1518 function = SHADOW 1519 detail = "entry" 1520 state = NORMAL 1521 shadow = IN 1522 file = "images/entry/toolbar-entry.svg" 1523 border = { 3,3,4,4 } 1524 stretch = TRUE 1525 } 1526 image 1527 { 1528 function = SHADOW 1529 detail = "entry" 1530 state = INSENSITIVE 1531 shadow = IN 1532 file = "images/entry/toolbar-entry-insensitive.svg" 1533 border = { 3, 3, 4, 4 } 1534 stretch = TRUE 1535 } 1536 image 1537 { 1538 function = SHADOW 1539 detail = "entry" 1540 state = ACTIVE 1541 file = "images/entry/toolbar-entry-active.svg" 1542 border = { 3, 3, 4, 4 } 1543 stretch = TRUE 1544 } 1545 image 1546 { 1547 function = FLAT_BOX 1548 detail = "entry_bg" 1549 state = NORMAL 1550 file = "images/entry/toolbar-entry-bg.svg" 1551 border = { 0, 0, 0, 0 } 1552 stretch = TRUE 1553 } 1554 image 1555 { 1556 function = FLAT_BOX 1557 detail = "entry_bg" 1558 state = ACTIVE 1559 file = "images/entry/toolbar-entry-bg-active.svg" 1560 border = { 0, 0, 0, 0 } 1561 stretch = TRUE 1562 } 1563 image 1564 { 1565 function = FLAT_BOX 1566 detail = "entry_bg" 1567 state = INSENSITIVE 1568 file = "images/entry/toolbar-entry-bg-insensitive.svg" 1569 border = { 0, 0, 0, 0 } 1570 stretch = TRUE 1571 overlay_file = "images/stripes.svg" 1572 overlay_stretch = FALSE 1573 } 1574 } 1575 } 1576 1577 style "notebook_tab_label" 1578 { 1579 fg[ACTIVE] = @fg_color 1580 } 1581 1582 style "combobox_entry" 1583 { 1584 xthickness = 3 1585 ythickness = 4 1586 1587 engine "pixmap" 1588 { 1589 # LTR version 1590 image 1591 { 1592 function = SHADOW 1593 detail = "entry" 1594 state = NORMAL 1595 shadow = IN 1596 file = "images/entry/combo-entry-border.svg" 1597 border = { 3, 3, 4, 4 } 1598 stretch = TRUE 1599 direction = LTR 1600 } 1601 image 1602 { 1603 function = SHADOW 1604 detail = "entry" 1605 state = INSENSITIVE 1606 shadow = IN 1607 file = "images/entry/combo-entry-border-insensitive.svg" 1608 border = { 3, 3, 4, 4 } 1609 stretch = TRUE 1610 direction = LTR 1611 overlay_file = "images/stripes.svg" 1612 overlay_stretch = FALSE 1613 } 1614 image 1615 { 1616 function = SHADOW 1617 detail = "entry" 1618 state = ACTIVE 1619 file = "images/entry/combo-entry-border-active.svg" 1620 border = { 3, 3, 4, 4 } 1621 stretch = TRUE 1622 direction = LTR 1623 } 1624 1625 # RTL version 1626 image 1627 { 1628 function = SHADOW 1629 detail = "entry" 1630 state = NORMAL 1631 shadow = IN 1632 file = "images/entry/combo-entry-border-rtl.svg" 1633 border = { 3, 3, 4, 4 } 1634 stretch = TRUE 1635 direction = RTL 1636 } 1637 image 1638 { 1639 function = SHADOW 1640 detail = "entry" 1641 state = INSENSITIVE 1642 shadow = IN 1643 file = "images/entry/combo-entry-border-insensitive-rtl.svg" 1644 border = { 3, 3, 4, 4 } 1645 stretch = TRUE 1646 direction = RTL 1647 overlay_file = "images/stripes.svg" 1648 overlay_stretch = FALSE 1649 } 1650 image 1651 { 1652 function = SHADOW 1653 detail = "entry" 1654 state = ACTIVE 1655 file = "images/entry/combo-entry-border-active-rtl.svg" 1656 border = { 3, 3, 4, 4 } 1657 stretch = TRUE 1658 direction = RTL 1659 } 1660 } 1661 } 1662 1663 style "notebook-combobox_entry" 1664 { 1665 xthickness = 3 1666 ythickness = 4 1667 1668 engine "pixmap" 1669 { 1670 # LTR version 1671 image 1672 { 1673 function = SHADOW 1674 detail = "entry" 1675 state = NORMAL 1676 shadow = IN 1677 file = "images/entry/notebook-combo-entry-border.svg" 1678 border = { 3, 3, 4, 4 } 1679 stretch = TRUE 1680 direction = LTR 1681 } 1682 image 1683 { 1684 function = SHADOW 1685 detail = "entry" 1686 state = INSENSITIVE 1687 shadow = IN 1688 file = "images/entry/notebook-combo-entry-border-insensitive.svg" 1689 border = { 3, 3, 4, 4 } 1690 stretch = TRUE 1691 direction = LTR 1692 overlay_file = "images/stripes.svg" 1693 overlay_stretch = FALSE 1694 } 1695 image 1696 { 1697 function = SHADOW 1698 detail = "entry" 1699 state = ACTIVE 1700 file = "images/entry/notebook-combo-entry-border-active.svg" 1701 border = { 3, 3, 4, 4 } 1702 stretch = TRUE 1703 direction = LTR 1704 } 1705 1706 # RTL version 1707 image 1708 { 1709 function = SHADOW 1710 detail = "entry" 1711 state = NORMAL 1712 shadow = IN 1713 file = "images/entry/notebook-combo-entry-border-rtl.svg" 1714 border = { 3, 3, 4, 4 } 1715 stretch = TRUE 1716 direction = RTL 1717 } 1718 image 1719 { 1720 function = SHADOW 1721 detail = "entry" 1722 state = INSENSITIVE 1723 shadow = IN 1724 file = "images/entry/notebook-combo-entry-border-insensitive-rtl.svg" 1725 border = { 3, 3, 4, 4 } 1726 stretch = TRUE 1727 direction = RTL 1728 overlay_file = "images/stripes.svg" 1729 overlay_stretch = FALSE 1730 } 1731 image 1732 { 1733 function = SHADOW 1734 detail = "entry" 1735 state = ACTIVE 1736 file = "images/entry/notebook-combo-entry-border-active-rtl.svg" 1737 border = { 3, 3, 4, 4 } 1738 stretch = TRUE 1739 direction = RTL 1740 } 1741 } 1742 } 1743 1744 style "toolbar_combobox_entry" 1745 { 1746 xthickness = 3 1747 ythickness = 4 1748 1749 engine "pixmap" 1750 { 1751 # LTR version 1752 image 1753 { 1754 function = SHADOW 1755 detail = "entry" 1756 state = NORMAL 1757 shadow = IN 1758 file = "images/entry/toolbar-combo-entry-border.svg" 1759 border = { 3, 3, 4, 4 } 1760 stretch = TRUE 1761 direction = LTR 1762 } 1763 image 1764 { 1765 function = SHADOW 1766 detail = "entry" 1767 state = INSENSITIVE 1768 shadow = IN 1769 file = "images/entry/toolbar-combo-entry-border-insensitive.svg" 1770 border = { 3, 3, 4, 4 } 1771 stretch = TRUE 1772 direction = LTR 1773 overlay_file = "images/stripes.svg" 1774 overlay_stretch = FALSE 1775 } 1776 image 1777 { 1778 function = SHADOW 1779 detail = "entry" 1780 state = ACTIVE 1781 file = "images/entry/toolbar-combo-entry-border-active.svg" 1782 border = { 3, 3, 4, 4 } 1783 stretch = TRUE 1784 direction = LTR 1785 } 1786 1787 # RTL version 1788 image 1789 { 1790 function = SHADOW 1791 detail = "entry" 1792 state = NORMAL 1793 shadow = IN 1794 file = "images/entry/toolbar-combo-entry-border-rtl.svg" 1795 border = { 3, 3, 4, 4 } 1796 stretch = TRUE 1797 direction = RTL 1798 } 1799 image 1800 { 1801 function = SHADOW 1802 detail = "entry" 1803 state = INSENSITIVE 1804 shadow = IN 1805 file = "images/entry/toolbar-combo-entry-border-insensitive-rtl.svg" 1806 border = { 3, 3, 4, 4 } 1807 stretch = TRUE 1808 direction = RTL 1809 overlay_file = "images/stripes.svg" 1810 overlay_stretch = FALSE 1811 } 1812 image 1813 { 1814 function = SHADOW 1815 detail = "entry" 1816 state = ACTIVE 1817 file = "images/entry/toolbar-combo-entry-border-active-rtl.svg" 1818 border = { 3, 3, 4, 4 } 1819 stretch = TRUE 1820 direction = RTL 1821 } 1822 } 1823 } 1824 1825 style "combobox_entry_button" 1826 { 1827 fg[ACTIVE] = @text_color 1828 1829 engine "pixmap" 1830 { 1831 image 1832 { 1833 function = FOCUS 1834 file = "images/other/null.png" 1835 border = { 1, 1, 1, 1 } 1836 stretch = TRUE 1837 } 1838 # LTR version 1839 image 1840 { 1841 function = BOX 1842 state = NORMAL 1843 file = "images/entry/combo-entry-button.svg" 1844 border = { 3, 3, 4, 4 } 1845 stretch = TRUE 1846 direction = LTR 1847 } 1848 image 1849 { 1850 function = BOX 1851 state = PRELIGHT 1852 file = "images/entry/combo-entry-button-active.svg" 1853 border = { 3, 3, 4, 4 } 1854 stretch = TRUE 1855 direction = LTR 1856 } 1857 image 1858 { 1859 function = BOX 1860 state = INSENSITIVE 1861 file = "images/entry/combo-entry-button-insensitive.svg" 1862 border = { 3, 3, 4, 4 } 1863 stretch = TRUE 1864 direction = LTR 1865 overlay_file = "images/stripes.svg" 1866 overlay_stretch = FALSE 1867 } 1868 image 1869 { 1870 function = BOX 1871 state = ACTIVE 1872 file = "images/entry/combo-entry-button-active.svg" 1873 border = { 3, 3, 4, 4 } 1874 stretch = TRUE 1875 direction = LTR 1876 } 1877 1878 # RTL version 1879 image 1880 { 1881 function = BOX 1882 state = NORMAL 1883 file = "images/entry/combo-entry-button-rtl.svg" 1884 border = { 3, 3, 4, 4 } 1885 stretch = TRUE 1886 direction = RTL 1887 } 1888 image 1889 { 1890 function = BOX 1891 state = PRELIGHT 1892 file = "images/entry/combo-entry-button-active-rtl.svg" 1893 border = { 3, 3, 4, 4 } 1894 stretch = TRUE 1895 direction = RTL 1896 } 1897 image 1898 { 1899 function = BOX 1900 state = INSENSITIVE 1901 file = "images/entry/combo-entry-button-insensitive-rtl.svg" 1902 border = { 3, 3, 4, 4 } 1903 stretch = TRUE 1904 direction = RTL 1905 overlay_file = "images/stripes.svg" 1906 overlay_stretch = FALSE 1907 } 1908 image 1909 { 1910 function = BOX 1911 state = ACTIVE 1912 file = "images/entry/combo-entry-button-active-rtl.svg" 1913 border = { 3, 3, 4, 4 } 1914 stretch = TRUE 1915 direction = RTL 1916 } 1917 1918 } 1919 } 1920 1921 style "notebook-combobox_entry_button" 1922 { 1923 fg[ACTIVE] = @text_color 1924 1925 engine "pixmap" 1926 { 1927 image 1928 { 1929 function = FOCUS 1930 file = "images/other/null.png" 1931 border = { 1, 1, 1, 1 } 1932 stretch = TRUE 1933 } 1934 # LTR version 1935 image 1936 { 1937 function = BOX 1938 state = NORMAL 1939 file = "images/entry/notebook-combo-entry-button.svg" 1940 border = { 3, 3, 4, 4 } 1941 stretch = TRUE 1942 direction = LTR 1943 } 1944 image 1945 { 1946 function = BOX 1947 state = PRELIGHT 1948 file = "images/entry/notebook-combo-entry-button-active.svg" 1949 border = { 3, 3, 4, 4 } 1950 stretch = TRUE 1951 direction = LTR 1952 } 1953 image 1954 { 1955 function = BOX 1956 state = INSENSITIVE 1957 file = "images/entry/notebook-combo-entry-button-insensitive.svg" 1958 border = { 3, 3, 4, 4 } 1959 stretch = TRUE 1960 direction = LTR 1961 overlay_file = "images/stripes.svg" 1962 overlay_stretch = FALSE 1963 } 1964 image 1965 { 1966 function = BOX 1967 state = ACTIVE 1968 file = "images/entry/notebook-combo-entry-button-active.svg" 1969 border = { 3, 3, 4, 4 } 1970 stretch = TRUE 1971 direction = LTR 1972 } 1973 1974 # RTL version 1975 image 1976 { 1977 function = BOX 1978 state = NORMAL 1979 file = "images/entry/notebook-combo-entry-button-rtl.svg" 1980 border = { 3, 3, 4, 4 } 1981 stretch = TRUE 1982 direction = RTL 1983 } 1984 image 1985 { 1986 function = BOX 1987 state = PRELIGHT 1988 file = "images/entry/notebook-combo-entry-button-active-rtl.svg" 1989 border = { 3, 3, 4, 4 } 1990 stretch = TRUE 1991 direction = RTL 1992 } 1993 image 1994 { 1995 function = BOX 1996 state = INSENSITIVE 1997 file = "images/entry/notebook-combo-entry-button-insensitive-rtl.svg" 1998 border = { 3, 3, 4, 4 } 1999 stretch = TRUE 2000 direction = RTL 2001 overlay_file = "images/stripes.svg" 2002 overlay_stretch = FALSE 2003 } 2004 image 2005 { 2006 function = BOX 2007 state = ACTIVE 2008 file = "images/entry/notebook-combo-entry-button-active-rtl.svg" 2009 border = { 3, 3, 4, 4 } 2010 stretch = TRUE 2011 direction = RTL 2012 } 2013 2014 } 2015 } 2016 2017 style "toolbar_combobox_entry_button" 2018 { 2019 fg[ACTIVE] = @text_color 2020 2021 engine "pixmap" 2022 { 2023 image 2024 { 2025 function = FOCUS 2026 file = "images/other/null.png" 2027 border = { 1, 1, 1, 1 } 2028 stretch = TRUE 2029 } 2030 # LTR version 2031 image 2032 { 2033 function = BOX 2034 state = NORMAL 2035 file = "images/entry/toolbar-combo-entry-button.svg" 2036 border = { 3, 3, 4, 4 } 2037 stretch = TRUE 2038 direction = LTR 2039 } 2040 image 2041 { 2042 function = BOX 2043 state = PRELIGHT 2044 file = "images/entry/toolbar-combo-entry-button-active.svg" 2045 border = { 3, 3, 4, 4 } 2046 stretch = TRUE 2047 direction = LTR 2048 } 2049 image 2050 { 2051 function = BOX 2052 state = INSENSITIVE 2053 file = "images/entry/toolbar-combo-entry-button-insensitive.svg" 2054 border = { 3, 3, 4, 4 } 2055 stretch = TRUE 2056 direction = LTR 2057 overlay_file = "images/stripes.svg" 2058 overlay_stretch = FALSE 2059 } 2060 image 2061 { 2062 function = BOX 2063 state = ACTIVE 2064 file = "images/entry/toolbar-combo-entry-button-active.svg" 2065 border = { 3, 3, 4, 4 } 2066 stretch = TRUE 2067 direction = LTR 2068 } 2069 2070 # RTL version 2071 image 2072 { 2073 function = BOX 2074 state = NORMAL 2075 file = "images/entry/toolbar-combo-entry-button-rtl.svg" 2076 border = { 3, 3, 4, 4 } 2077 stretch = TRUE 2078 direction = RTL 2079 } 2080 image 2081 { 2082 function = BOX 2083 state = PRELIGHT 2084 file = "images/entry/toolbar-combo-entry-button-active-rtl.svg" 2085 border = { 3, 3, 4, 4 } 2086 stretch = TRUE 2087 direction = RTL 2088 } 2089 image 2090 { 2091 function = BOX 2092 state = INSENSITIVE 2093 file = "images/entry/toolbar-combo-entry-button-insensitive-rtl.svg" 2094 border = { 3, 3, 4, 4 } 2095 stretch = TRUE 2096 direction = RTL 2097 overlay_file = "images/stripes.svg" 2098 overlay_stretch = FALSE 2099 } 2100 image 2101 { 2102 function = BOX 2103 state = ACTIVE 2104 file = "images/entry/toolbar-combo-entry-button-active-rtl.svg" 2105 border = { 3, 3, 4, 4 } 2106 stretch = TRUE 2107 direction = RTL 2108 } 2109 2110 } 2111 } 2112 2113 style "spinbutton" 2114 { 2115 bg[NORMAL] = "#1a1a1a" 2116 2117 xthickness = 3 2118 ythickness = 4 2119 2120 engine "pixmap" 2121 { 2122 image 2123 { 2124 function = ARROW 2125 } 2126 2127 # Spin-Up LTR 2128 image 2129 { 2130 function = BOX 2131 state = NORMAL 2132 detail = "spinbutton_up" 2133 file = "images/spin/up-background.svg" 2134 border = { 1, 4, 5, 0 } 2135 stretch = TRUE 2136 overlay_file = "images/arrows/small-arrow-up.svg" 2137 overlay_stretch = FALSE 2138 direction = LTR 2139 } 2140 image 2141 { 2142 function = BOX 2143 state = PRELIGHT 2144 detail = "spinbutton_up" 2145 file = "images/spin/up-background-active.svg" 2146 border = { 1, 4, 5, 0 } 2147 stretch = TRUE 2148 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2149 overlay_stretch = FALSE 2150 direction = LTR 2151 } 2152 image 2153 { 2154 function = BOX 2155 state = INSENSITIVE 2156 detail = "spinbutton_up" 2157 file = "images/spin/up-background-insensitive.svg" 2158 border = { 1, 4, 5, 0 } 2159 stretch = TRUE 2160 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2161 overlay_stretch = FALSE 2162 direction = LTR 2163 } 2164 image 2165 { 2166 function = BOX 2167 state = ACTIVE 2168 detail = "spinbutton_up" 2169 file = "images/spin/up-background-active.svg" 2170 border = { 1, 4, 5, 0 } 2171 stretch = TRUE 2172 overlay_file = "images/arrows/small-arrow-up-active.svg" 2173 overlay_stretch = FALSE 2174 direction = LTR 2175 } 2176 2177 # Spin-Up RTL 2178 image 2179 { 2180 function = BOX 2181 state = NORMAL 2182 detail = "spinbutton_up" 2183 file = "images/spin/up-background-rtl.svg" 2184 border = { 4, 1, 5, 0 } 2185 stretch = TRUE 2186 overlay_file = "images/arrows/small-arrow-up.svg" 2187 overlay_stretch = FALSE 2188 direction = RTL 2189 } 2190 image 2191 { 2192 function = BOX 2193 state = PRELIGHT 2194 detail = "spinbutton_up" 2195 file = "images/spin/up-background-active-rtl.svg" 2196 border = { 4, 1, 5, 0 } 2197 stretch = TRUE 2198 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2199 overlay_stretch = FALSE 2200 direction = RTL 2201 } 2202 image 2203 { 2204 function = BOX 2205 state = INSENSITIVE 2206 detail = "spinbutton_up" 2207 file = "images/spin/up-background-insensitive-rtl.svg" 2208 border = { 4, 1, 5, 0 } 2209 stretch = TRUE 2210 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2211 overlay_stretch = FALSE 2212 direction = RTL 2213 } 2214 image 2215 { 2216 function = BOX 2217 state = ACTIVE 2218 detail = "spinbutton_up" 2219 file = "images/spin/up-background-active-rtl.svg" 2220 border = { 4, 1, 5, 0 } 2221 stretch = TRUE 2222 overlay_file = "images/arrows/small-arrow-up-active.svg" 2223 overlay_stretch = FALSE 2224 direction = RTL 2225 } 2226 2227 # Spin-Down LTR 2228 image 2229 { 2230 function = BOX 2231 state = NORMAL 2232 detail = "spinbutton_down" 2233 file = "images/spin/down-background.svg" 2234 border = { 1, 4, 1, 4 } 2235 stretch = TRUE 2236 overlay_file = "images/arrows/small-arrow-down.svg" 2237 overlay_stretch = FALSE 2238 direction = LTR 2239 } 2240 image 2241 { 2242 function = BOX 2243 state = PRELIGHT 2244 detail = "spinbutton_down" 2245 file = "images/spin/down-background-active.svg" 2246 border = { 1, 4, 1, 4 } 2247 stretch = TRUE 2248 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2249 overlay_stretch = FALSE 2250 direction = LTR 2251 } 2252 image 2253 { 2254 function = BOX 2255 state = INSENSITIVE 2256 detail = "spinbutton_down" 2257 file = "images/spin/down-background-insensitive.svg" 2258 border = { 1, 4, 1, 4 } 2259 stretch = TRUE 2260 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2261 overlay_stretch = FALSE 2262 direction = LTR 2263 } 2264 image 2265 { 2266 function = BOX 2267 state = ACTIVE 2268 detail = "spinbutton_down" 2269 file = "images/spin/down-background-active.svg" 2270 border = { 1, 4, 1, 4 } 2271 stretch = TRUE 2272 overlay_file = "images/arrows/small-arrow-down-active.svg" 2273 overlay_stretch = FALSE 2274 direction = LTR 2275 } 2276 2277 # Spin-Down RTL 2278 image 2279 { 2280 function = BOX 2281 state = NORMAL 2282 detail = "spinbutton_down" 2283 file = "images/spin/down-background-rtl.svg" 2284 border = { 4, 1, 1, 4 } 2285 stretch = TRUE 2286 overlay_file = "images/arrows/small-arrow-down.svg" 2287 overlay_stretch = FALSE 2288 direction = RTL 2289 } 2290 image 2291 { 2292 function = BOX 2293 state = PRELIGHT 2294 detail = "spinbutton_down" 2295 file = "images/spin/down-background-active-rtl.svg" 2296 border = { 4, 1, 1, 4 } 2297 stretch = TRUE 2298 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2299 overlay_stretch = FALSE 2300 direction = RTL 2301 } 2302 image 2303 { 2304 function = BOX 2305 state = INSENSITIVE 2306 detail = "spinbutton_down" 2307 file = "images/spin/down-background-insensitive-rtl.svg" 2308 border = { 4, 1, 1, 4 } 2309 stretch = TRUE 2310 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2311 overlay_stretch = FALSE 2312 direction = RTL 2313 } 2314 image 2315 { 2316 function = BOX 2317 state = ACTIVE 2318 detail = "spinbutton_down" 2319 file = "images/spin/down-background-active-rtl.svg" 2320 border = { 4, 1, 1, 4 } 2321 stretch = TRUE 2322 overlay_file = "images/arrows/small-arrow-down-active.svg" 2323 overlay_stretch = FALSE 2324 direction = RTL 2325 } 2326 } 2327 } 2328 2329 style "notebook_spinbutton" 2330 { 2331 # this also inherits "notebook_entry" above 2332 bg[NORMAL] = "#0b0b0b" 2333 2334 xthickness = 3 2335 ythickness = 4 2336 2337 engine "pixmap" 2338 { 2339 image 2340 { 2341 function = ARROW 2342 } 2343 2344 # Spin-Up LTR 2345 image 2346 { 2347 function = BOX 2348 state = NORMAL 2349 detail = "spinbutton_up" 2350 file = "images/spin/notebook-up-background.svg" 2351 border = { 1, 4, 5, 0 } 2352 stretch = TRUE 2353 overlay_file = "images/arrows/small-arrow-up.svg" 2354 overlay_stretch = FALSE 2355 direction = LTR 2356 } 2357 image 2358 { 2359 function = BOX 2360 state = PRELIGHT 2361 detail = "spinbutton_up" 2362 file = "images/spin/notebook-up-background-active.svg" 2363 border = { 1, 4, 5, 0 } 2364 stretch = TRUE 2365 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2366 overlay_stretch = FALSE 2367 direction = LTR 2368 } 2369 image 2370 { 2371 function = BOX 2372 state = INSENSITIVE 2373 detail = "spinbutton_up" 2374 file = "images/spin/notebook-up-background-insensitive.svg" 2375 border = { 1, 4, 5, 0 } 2376 stretch = TRUE 2377 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2378 overlay_stretch = FALSE 2379 direction = LTR 2380 } 2381 image 2382 { 2383 function = BOX 2384 state = ACTIVE 2385 detail = "spinbutton_up" 2386 file = "images/spin/notebook-up-background-active.svg" 2387 border = { 1, 4, 5, 0 } 2388 stretch = TRUE 2389 overlay_file = "images/arrows/small-arrow-up-active.svg" 2390 overlay_stretch = FALSE 2391 direction = LTR 2392 } 2393 2394 # Spin-Up RTL 2395 image 2396 { 2397 function = BOX 2398 state = NORMAL 2399 detail = "spinbutton_up" 2400 file = "images/spin/notebook-up-background-rtl.svg" 2401 border = { 4, 1, 5, 0 } 2402 stretch = TRUE 2403 overlay_file = "images/arrows/small-arrow-up.svg" 2404 overlay_stretch = FALSE 2405 direction = RTL 2406 } 2407 image 2408 { 2409 function = BOX 2410 state = PRELIGHT 2411 detail = "spinbutton_up" 2412 file = "images/spin/notebook-up-background-active-rtl.svg" 2413 border = { 4, 1, 5, 0 } 2414 stretch = TRUE 2415 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2416 overlay_stretch = FALSE 2417 direction = RTL 2418 } 2419 image 2420 { 2421 function = BOX 2422 state = INSENSITIVE 2423 detail = "spinbutton_up" 2424 file = "images/spin/notebook-up-background-insensitive-rtl.svg" 2425 border = { 4, 1, 5, 0 } 2426 stretch = TRUE 2427 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2428 overlay_stretch = FALSE 2429 direction = RTL 2430 } 2431 image 2432 { 2433 function = BOX 2434 state = ACTIVE 2435 detail = "spinbutton_up" 2436 file = "images/spin/notebook-up-background-active-rtl.svg" 2437 border = { 4, 1, 5, 0 } 2438 stretch = TRUE 2439 overlay_file = "images/arrows/small-arrow-up-active.svg" 2440 overlay_stretch = FALSE 2441 direction = RTL 2442 } 2443 2444 # Spin-Down LTR 2445 image 2446 { 2447 function = BOX 2448 state = NORMAL 2449 detail = "spinbutton_down" 2450 file = "images/spin/notebook-down-background.svg" 2451 border = { 1, 4, 1, 4 } 2452 stretch = TRUE 2453 overlay_file = "images/arrows/small-arrow-down.svg" 2454 overlay_stretch = FALSE 2455 direction = LTR 2456 } 2457 image 2458 { 2459 function = BOX 2460 state = PRELIGHT 2461 detail = "spinbutton_down" 2462 file = "images/spin/notebook-down-background-active.svg" 2463 border = { 1, 4, 1, 4 } 2464 stretch = TRUE 2465 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2466 overlay_stretch = FALSE 2467 direction = LTR 2468 } 2469 image 2470 { 2471 function = BOX 2472 state = INSENSITIVE 2473 detail = "spinbutton_down" 2474 file = "images/spin/notebook-down-background-insensitive.svg" 2475 border = { 1, 4, 1, 4 } 2476 stretch = TRUE 2477 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2478 overlay_stretch = FALSE 2479 direction = LTR 2480 } 2481 image 2482 { 2483 function = BOX 2484 state = ACTIVE 2485 detail = "spinbutton_down" 2486 file = "images/spin/notebook-down-background-active.svg" 2487 border = { 1, 4, 1, 4 } 2488 stretch = TRUE 2489 overlay_file = "images/arrows/small-arrow-down-active.svg" 2490 overlay_stretch = FALSE 2491 direction = LTR 2492 } 2493 2494 # Spin-Down RTL 2495 image 2496 { 2497 function = BOX 2498 state = NORMAL 2499 detail = "spinbutton_down" 2500 file = "images/spin/notebook-down-background-rtl.svg" 2501 border = { 4, 1, 1, 4 } 2502 stretch = TRUE 2503 overlay_file = "images/arrows/small-arrow-down.svg" 2504 overlay_stretch = FALSE 2505 direction = RTL 2506 } 2507 image 2508 { 2509 function = BOX 2510 state = PRELIGHT 2511 detail = "spinbutton_down" 2512 file = "images/spin/notebook-down-background-active-rtl.svg" 2513 border = { 4, 1, 1, 4 } 2514 stretch = TRUE 2515 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2516 overlay_stretch = FALSE 2517 direction = RTL 2518 } 2519 image 2520 { 2521 function = BOX 2522 state = INSENSITIVE 2523 detail = "spinbutton_down" 2524 file = "images/spin/notebook-down-background-insensitive-rtl.svg" 2525 border = { 4, 1, 1, 4 } 2526 stretch = TRUE 2527 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2528 overlay_stretch = FALSE 2529 direction = RTL 2530 } 2531 image 2532 { 2533 function = BOX 2534 state = ACTIVE 2535 detail = "spinbutton_down" 2536 file = "images/spin/notebook-down-background-active-rtl.svg" 2537 border = { 4, 1, 1, 4 } 2538 stretch = TRUE 2539 overlay_file = "images/arrows/small-arrow-down-active.svg" 2540 overlay_stretch = FALSE 2541 direction = RTL 2542 } 2543 } 2544 } 2545 2546 style "toolbar_spinbutton" 2547 { 2548 bg[NORMAL] = "#363636" 2549 2550 xthickness = 3 2551 ythickness = 4 2552 2553 engine "pixmap" 2554 { 2555 image 2556 { 2557 function = ARROW 2558 } 2559 2560 # Spin-Up LTR 2561 image 2562 { 2563 function = BOX 2564 state = NORMAL 2565 detail = "spinbutton_up" 2566 file = "images/spin/toolbar-up-background.svg" 2567 border = { 1, 4, 5, 0 } 2568 stretch = TRUE 2569 overlay_file = "images/arrows/small-arrow-up.svg" 2570 overlay_stretch = FALSE 2571 direction = LTR 2572 } 2573 image 2574 { 2575 function = BOX 2576 state = PRELIGHT 2577 detail = "spinbutton_up" 2578 file = "images/spin/toolbar-up-background-active.svg" 2579 border = { 1, 4, 5, 0 } 2580 stretch = TRUE 2581 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2582 overlay_stretch = FALSE 2583 direction = LTR 2584 } 2585 image 2586 { 2587 function = BOX 2588 state = INSENSITIVE 2589 detail = "spinbutton_up" 2590 file = "images/spin/toolbar-up-background-insensitive.svg" 2591 border = { 1, 4, 5, 0 } 2592 stretch = TRUE 2593 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2594 overlay_stretch = FALSE 2595 direction = LTR 2596 } 2597 image 2598 { 2599 function = BOX 2600 state = ACTIVE 2601 detail = "spinbutton_up" 2602 file = "images/spin/toolbar-up-background-active.svg" 2603 border = { 1, 4, 5, 0 } 2604 stretch = TRUE 2605 overlay_file = "images/arrows/small-arrow-up-active.svg" 2606 overlay_stretch = FALSE 2607 direction = LTR 2608 } 2609 2610 # Spin-Up RTL 2611 image 2612 { 2613 function = BOX 2614 state = NORMAL 2615 detail = "spinbutton_up" 2616 file = "images/spin/toolbar-up-background-rtl.svg" 2617 border = { 4, 1, 5, 0 } 2618 stretch = TRUE 2619 overlay_file = "images/arrows/small-arrow-up.svg" 2620 overlay_stretch = FALSE 2621 direction = RTL 2622 } 2623 image 2624 { 2625 function = BOX 2626 state = PRELIGHT 2627 detail = "spinbutton_up" 2628 file = "images/spin/toolbar-up-background-active-rtl.svg" 2629 border = { 4, 1, 5, 0 } 2630 stretch = TRUE 2631 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2632 overlay_stretch = FALSE 2633 direction = RTL 2634 } 2635 image 2636 { 2637 function = BOX 2638 state = INSENSITIVE 2639 detail = "spinbutton_up" 2640 file = "images/spin/toolbar-up-background-insensitive-rtl.svg" 2641 border = { 4, 1, 5, 0 } 2642 stretch = TRUE 2643 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2644 overlay_stretch = FALSE 2645 direction = RTL 2646 } 2647 image 2648 { 2649 function = BOX 2650 state = ACTIVE 2651 detail = "spinbutton_up" 2652 file = "images/spin/toolbar-up-background-active-rtl.svg" 2653 border = { 4, 1, 5, 0 } 2654 stretch = TRUE 2655 overlay_file = "images/arrows/small-arrow-up-active.svg" 2656 overlay_stretch = FALSE 2657 direction = RTL 2658 } 2659 2660 # Spin-Down LTR 2661 image 2662 { 2663 function = BOX 2664 state = NORMAL 2665 detail = "spinbutton_down" 2666 file = "images/spin/toolbar-down-background.svg" 2667 border = { 1, 4, 1, 4 } 2668 stretch = TRUE 2669 overlay_file = "images/arrows/small-arrow-down.svg" 2670 overlay_stretch = FALSE 2671 direction = LTR 2672 } 2673 image 2674 { 2675 function = BOX 2676 state = PRELIGHT 2677 detail = "spinbutton_down" 2678 file = "images/spin/toolbar-down-background-active.svg" 2679 border = { 1, 4, 1, 4 } 2680 stretch = TRUE 2681 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2682 overlay_stretch = FALSE 2683 direction = LTR 2684 } 2685 image 2686 { 2687 function = BOX 2688 state = INSENSITIVE 2689 detail = "spinbutton_down" 2690 file = "images/spin/toolbar-down-background-insensitive.svg" 2691 border = { 1, 4, 1, 4 } 2692 stretch = TRUE 2693 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2694 overlay_stretch = FALSE 2695 direction = LTR 2696 } 2697 image 2698 { 2699 function = BOX 2700 state = ACTIVE 2701 detail = "spinbutton_down" 2702 file = "images/spin/toolbar-down-background-active.svg" 2703 border = { 1, 4, 1, 4 } 2704 stretch = TRUE 2705 overlay_file = "images/arrows/small-arrow-down-active.svg" 2706 overlay_stretch = FALSE 2707 direction = LTR 2708 } 2709 2710 # Spin-Down RTL 2711 image 2712 { 2713 function = BOX 2714 state = NORMAL 2715 detail = "spinbutton_down" 2716 file = "images/spin/toolbar-down-background-rtl.svg" 2717 border = { 4, 1, 1, 4 } 2718 stretch = TRUE 2719 overlay_file = "images/arrows/small-arrow-down.svg" 2720 overlay_stretch = FALSE 2721 direction = RTL 2722 } 2723 image 2724 { 2725 function = BOX 2726 state = PRELIGHT 2727 detail = "spinbutton_down" 2728 file = "images/spin/toolbar-down-background-active-rtl.svg" 2729 border = { 4, 1, 1, 4 } 2730 stretch = TRUE 2731 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2732 overlay_stretch = FALSE 2733 direction = RTL 2734 } 2735 image 2736 { 2737 function = BOX 2738 state = INSENSITIVE 2739 detail = "spinbutton_down" 2740 file = "images/spin/toolbar-down-background-insensitive-rtl.svg" 2741 border = { 4, 1, 1, 4 } 2742 stretch = TRUE 2743 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2744 overlay_stretch = FALSE 2745 direction = RTL 2746 } 2747 image 2748 { 2749 function = BOX 2750 state = ACTIVE 2751 detail = "spinbutton_down" 2752 file = "images/spin/toolbar-down-background-active-rtl.svg" 2753 border = { 4, 1, 1, 4 } 2754 stretch = TRUE 2755 overlay_file = "images/arrows/small-arrow-down-active.svg" 2756 overlay_stretch = FALSE 2757 direction = RTL 2758 } 2759 } 2760 } 2761 2762 style "gimp_spin_scale" 2763 { 2764 bg[NORMAL] = @base_color 2765 bg[SELECTED] = shade(0.3, @selected_bg_color) 2766 text[NORMAL] = shade(1.40, @selected_bg_color) 2767 text[INSENSITIVE] = "#181818" 2768 2769 engine "pixmap" 2770 { 2771 2772 image 2773 { 2774 function = FLAT_BOX 2775 detail = "entry_bg" 2776 state = NORMAL 2777 } 2778 image 2779 { 2780 function = FLAT_BOX 2781 detail = "entry_bg" 2782 state = ACTIVE 2783 } 2784 image 2785 { 2786 function = FLAT_BOX 2787 detail = "entry_bg" 2788 state = INSENSITIVE 2789 } 2790 image 2791 { 2792 function = BOX 2793 state = NORMAL 2794 detail = "spinbutton_up" 2795 overlay_file = "images/arrows/small-arrow-up.svg" 2796 overlay_stretch = FALSE 2797 } 2798 image 2799 { 2800 function = BOX 2801 state = PRELIGHT 2802 detail = "spinbutton_up" 2803 overlay_file = "images/arrows/small-arrow-up-prelight.svg" 2804 overlay_stretch = FALSE 2805 } 2806 image 2807 { 2808 function = BOX 2809 state = ACTIVE 2810 detail = "spinbutton_up" 2811 overlay_file = "images/arrows/small-arrow-up-active.svg" 2812 overlay_stretch = FALSE 2813 } 2814 image 2815 { 2816 function = BOX 2817 state = INSENSITIVE 2818 detail = "spinbutton_up" 2819 overlay_file = "images/arrows/small-arrow-up-insensitive.svg" 2820 overlay_stretch = FALSE 2821 } 2822 image 2823 { 2824 function = BOX 2825 state = NORMAL 2826 detail = "spinbutton_down" 2827 overlay_file = "images/arrows/small-arrow-down.svg" 2828 overlay_stretch = FALSE 2829 } 2830 image 2831 { 2832 function = BOX 2833 state = PRELIGHT 2834 detail = "spinbutton_down" 2835 overlay_file = "images/arrows/small-arrow-down-prelight.svg" 2836 overlay_stretch = FALSE 2837 } 2838 image 2839 { 2840 function = BOX 2841 state = ACTIVE 2842 detail = "spinbutton_down" 2843 overlay_file = "images/arrows/small-arrow-down-active.svg" 2844 overlay_stretch = FALSE 2845 } 2846 image 2847 { 2848 function = BOX 2849 state = INSENSITIVE 2850 detail = "spinbutton_down" 2851 overlay_file = "images/arrows/small-arrow-down-insensitive.svg" 2852 overlay_stretch = FALSE 2853 } 2854 } 2855 } 2856 2857 style "notebook" 2858 { 2859 2860 xthickness = 6 2861 ythickness = 3 2862 2863 engine "pixmap" 2864 { 2865 image 2866 { 2867 function = FOCUS 2868 file = "images/other/null.png" 2869 border = { 0,0,0,0 } 2870 stretch = TRUE 2871 } 2872 image 2873 { 2874 function = EXTENSION 2875 state = ACTIVE 2876 file = "images/tabs/tab-bottom.svg" 2877 border = { 3,3,3,5 } 2878 stretch = TRUE 2879 gap_side = TOP 2880 } 2881 image 2882 { 2883 function = EXTENSION 2884 state = ACTIVE 2885 file = "images/tabs/tab-top.svg" 2886 border = { 3,3,5,3 } 2887 stretch = TRUE 2888 gap_side = BOTTOM 2889 } 2890 image 2891 { 2892 function = EXTENSION 2893 state = ACTIVE 2894 file = "images/tabs/tab-left.svg" 2895 border = { 3,3,3,3 } 2896 stretch = TRUE 2897 gap_side = RIGHT 2898 } 2899 image 2900 { 2901 function = EXTENSION 2902 state = ACTIVE 2903 file = "images/tabs/tab-right.svg" 2904 border = { 3,3,3,3 } 2905 stretch = TRUE 2906 gap_side = LEFT 2907 } 2908 image 2909 { 2910 function = EXTENSION 2911 file = "images/tabs/tab-top-active.svg" 2912 border = { 6,6,3,3 } 2913 stretch = TRUE 2914 gap_side = BOTTOM 2915 } 2916 image 2917 { 2918 function = EXTENSION 2919 file = "images/tabs/tab-bottom-active.svg" 2920 border = { 3,3,6,6 } 2921 stretch = TRUE 2922 gap_side = TOP 2923 } 2924 image 2925 { 2926 function = EXTENSION 2927 file = "images/tabs/tab-left-active.svg" 2928 border = { 3,3,3,3 } 2929 stretch = TRUE 2930 gap_side = RIGHT 2931 } 2932 image 2933 { 2934 function = EXTENSION 2935 file = "images/tabs/tab-right-active.svg" 2936 border = { 3,3,3,3 } 2937 stretch = TRUE 2938 gap_side = LEFT 2939 } 2940 2941 # How to draw boxes with a gap on one side (ie the page of a notebook) 2942 2943 image 2944 { 2945 function = BOX_GAP 2946 file = "images/tabs/notebook.svg" 2947 border = { 2,2,2,2 } 2948 stretch = TRUE 2949 gap_file = "images/tabs/notebook-gap-horiz.svg" 2950 gap_border = { 1, 1, 0, 0} 2951 gap_start_file = "images/tabs/tab-top-active-gap-start.png" 2952 gap_start_border = { 3 ,3 ,3 ,3} 2953 gap_end_file = "images/tabs/tab-top-active-gap-end.png" 2954 gap_end_border = { 1 ,1 ,2 ,2} 2955 gap_side = TOP 2956 } 2957 image 2958 { 2959 function = BOX_GAP 2960 file = "images/tabs/notebook.svg" 2961 border = { 2,2,2,2 } 2962 stretch = TRUE 2963 gap_file = "images/tabs/notebook-gap-horiz.svg" 2964 gap_border = { 1, 1, 0, 0} 2965 gap_start_file = "images/tabs/tab-top-active-gap-start.png" 2966 gap_start_border = { 3 ,3 ,3 ,3} 2967 gap_end_file = "images/tabs/tab-top-active-gap-end.png" 2968 gap_end_border = { 1 ,1 ,2 ,2} 2969 gap_side = BOTTOM 2970 } 2971 image 2972 { 2973 function = BOX_GAP 2974 file = "images/tabs/notebook.svg" 2975 border = { 2,2,2,2 } 2976 stretch = TRUE 2977 gap_file = "images/tabs/notebook-gap-vert.svg" 2978 gap_border = { 0, 0, 1, 1} 2979 gap_start_file = "images/tabs/tab-left-active-gap-start.png" 2980 gap_start_border = { 3 ,3 ,3 ,3} 2981 gap_end_file = "images/tabs/tab-left-active-gap-end.png" 2982 gap_end_border = { 1 ,1 ,2 ,2} 2983 gap_side = LEFT 2984 } 2985 image 2986 { 2987 function = BOX_GAP 2988 file = "images/tabs/notebook.svg" 2989 border = { 2,2,2,2 } 2990 stretch = TRUE 2991 gap_file = "images/tabs/notebook-gap-vert.svg" 2992 gap_border = { 0, 0, 1, 1} 2993 gap_start_file = "images/tabs/tab-left-active-gap-start.png" 2994 gap_start_border = { 3 ,3 ,3 ,3} 2995 gap_end_file = "images/tabs/tab-left-active-gap-end.png" 2996 gap_end_border = { 1 ,1 ,2 ,2} 2997 gap_side = RIGHT 2998 } 2999 3000 # How to draw the box of a notebook when it isnt attached to a tab 3001 3002 image 3003 { 3004 function = BOX 3005 file = "images/tabs/notebook.svg" 3006 border = { 2,2,2,2 } 3007 stretch = TRUE 3008 } 3009 } 3010 } 3011 3012 style "notebook-close" { stock["gtk-close"] = 3013 {{ "images/tabs/close.svg", *, *, * }} 3014 } # Close icon on tabs 3015 3016 style "handlebox" 3017 { 3018 engine "pixmap" 3019 { 3020 image 3021 { 3022 function = BOX 3023 file = "images/toolbar/Toolbar.png" 3024 border = { 0,0,0,0 } 3025 stretch = FALSE 3026 detail = "handlebox_bin" 3027 shadow = IN 3028 orientation = HORIZONTAL 3029 overlay_file = "/images/toolbar/toolbar-border.svg" 3030 overlay_border = {1,1,2,2} 3031 overlay_stretch = TRUE 3032 } 3033 image 3034 { 3035 function = BOX 3036 file = "images/toolbar/Toolbar.png" 3037 border = { 0,0,0,0 } 3038 stretch = FALSE 3039 detail = "handlebox_bin" 3040 shadow = OUT 3041 orientation = HORIZONTAL 3042 overlay_file = "/images/toolbar/toolbar-border.svg" 3043 overlay_border = {1,1,2,2} 3044 overlay_stretch = TRUE 3045 } 3046 image 3047 { 3048 function = BOX 3049 file = "images/toolbar/Toolbar.png" 3050 border = { 0,0,0,0 } 3051 stretch = FALSE 3052 detail = "handlebox_bin" 3053 shadow = IN 3054 orientation = VERTICAL 3055 overlay_file = "/images/toolbar/toolbar-border-vertical.svg" 3056 overlay_border = {1,1,2,2} 3057 overlay_stretch = TRUE 3058 } 3059 image 3060 { 3061 function = BOX 3062 file = "images/toolbar/Toolbar.png" 3063 border = { 0,0,0,0 } 3064 stretch = FALSE 3065 detail = "handlebox_bin" 3066 shadow = OUT 3067 orientation = VERTICAL 3068 overlay_file = "/images/toolbar/toolbar-border-vertical.svg" 3069 overlay_border = {1,1,2,2} 3070 overlay_stretch = TRUE 3071 } 3072 } 3073 } 3074 3075 style "combobox_separator" 3076 { 3077 xthickness = 0 3078 ythickness = 0 3079 GtkWidget::wide-separators = 0 3080 } 3081 3082 style "combobox" 3083 { 3084 xthickness = 0 3085 ythickness = 0 3086 } 3087 3088 style "combobox_button" 3089 { 3090 xthickness = 2 3091 ythickness = 2 3092 } 3093 3094 style "range" 3095 { 3096 engine "pixmap" 3097 { 3098 image 3099 { 3100 function = FOCUS 3101 file = "images/other/null.png" 3102 border = { 1, 1, 1, 1 } 3103 stretch = TRUE 3104 } 3105 image 3106 { 3107 function = BOX 3108 detail = "trough" 3109 shadow = IN 3110 state = ACTIVE 3111 file = "images/range/trough-border.svg" 3112 border = { 8,8,4,4 } 3113 stretch = TRUE 3114 orientation = HORIZONTAL 3115 } 3116 image 3117 { 3118 function = BOX 3119 detail = "trough" 3120 state = ACTIVE 3121 file = "images/range/trough-border-v.svg" 3122 border = { 4,4,8,8 } 3123 stretch = TRUE 3124 orientation = VERTICAL 3125 } 3126 3127 image 3128 { 3129 function = BOX 3130 detail = "trough" 3131 state = INSENSITIVE 3132 file = "images/range/trough-border-insensitive.svg" 3133 border = { 8,8,4,4 } 3134 stretch = TRUE 3135 orientation = HORIZONTAL 3136 } 3137 image 3138 { 3139 function = BOX 3140 detail = "trough" 3141 state = INSENSITIVE 3142 file = "images/range/trough-border-insensitive-v.svg" 3143 border = { 4,4,8,8 } 3144 stretch = TRUE 3145 orientation = VERTICAL 3146 } 3147 3148 # Horizontal 3149 3150 image 3151 { 3152 function = SLIDER 3153 state = NORMAL 3154 file = "images/range/null.png" 3155 border = { 0, 0, 0, 0 } 3156 stretch = TRUE 3157 overlay_file = "images/range/scale-slider.svg" 3158 overlay_stretch = FALSE 3159 orientation = HORIZONTAL 3160 } 3161 image 3162 { 3163 function = SLIDER 3164 state = PRELIGHT 3165 file = "images/range/null.png" 3166 border = { 0, 0, 0, 0 } 3167 stretch = TRUE 3168 overlay_file = "images/range/scale-slider-hover.svg" 3169 overlay_stretch = FALSE 3170 orientation = HORIZONTAL 3171 } 3172 image 3173 { 3174 function = SLIDER 3175 state = INSENSITIVE 3176 file = "images/range/null.png" 3177 border = { 0, 0, 0, 0 } 3178 stretch = TRUE 3179 overlay_file = "images/range/scale-slider-insensitive.svg" 3180 overlay_stretch = FALSE 3181 orientation = HORIZONTAL 3182 } 3183 3184 # Vertical 3185 3186 image 3187 { 3188 function = SLIDER 3189 state = NORMAL 3190 file = "images/range/null.png" 3191 border = { 0, 0, 0, 0 } 3192 stretch = TRUE 3193 overlay_file = "images/range/scale-slider.svg" 3194 overlay_stretch = FALSE 3195 orientation = VERTICAL 3196 } 3197 image 3198 { 3199 function = SLIDER 3200 state = PRELIGHT 3201 file = "images/range/null.png" 3202 border = { 0, 0, 0, 0 } 3203 stretch = TRUE 3204 overlay_file = "images/range/scale-slider-hover.svg" 3205 overlay_stretch = FALSE 3206 orientation = VERTICAL 3207 } 3208 image 3209 { 3210 function = SLIDER 3211 state = INSENSITIVE 3212 file = "images/range/null.png" 3213 border = { 0, 0, 0, 0 } 3214 stretch = TRUE 3215 overlay_file = "images/range/scale-slider-insensitive.svg" 3216 overlay_stretch = FALSE 3217 orientation = VERTICAL 3218 } 3219 3220 # Function below removes ugly boxes 3221 image 3222 { 3223 function = BOX 3224 file = "images/range/null.png" 3225 border = { 3, 3, 3, 3 } 3226 stretch = TRUE 3227 } 3228 3229 } 3230 } 3231 3232 style "notebook-range" 3233 { 3234 3235 base[NORMAL] = shade(1.1, @base_color) 3236 bg[NORMAL] = shade(1.1, @base_color) 3237 } 3238 3239 style "toolbar-range" 3240 { 3241 3242 base[NORMAL] = "#363636" 3243 bg[NORMAL] = "#363636" 3244 } 3245 3246 style "progressbar" 3247 { 3248 xthickness = 1 3249 ythickness = 1 3250 3251 fg[PRELIGHT] = shade(1.15, @fg_color) 3252 fg[NORMAL] = shade(0.85, @text_color) 3253 font_name = "Bold" 3254 3255 engine "pixmap" 3256 { 3257 image 3258 { 3259 function = BOX 3260 detail = "trough" 3261 file = "images/progress/progress-trough-h.svg" 3262 border = { 9,9,6,6 } 3263 stretch = TRUE 3264 orientation = HORIZONTAL 3265 } 3266 image 3267 { 3268 function = BOX 3269 detail = "bar" 3270 file = "images/progress/progress-h.svg" 3271 stretch = TRUE 3272 border = { 9,9,6,6 } 3273 orientation = HORIZONTAL 3274 } 3275 image 3276 { 3277 function = BOX 3278 detail = "trough" 3279 file = "images/progress/progress-trough-v.svg" 3280 border = { 6,6,9,9 } 3281 stretch = TRUE 3282 orientation = VERTICAL 3283 } 3284 image 3285 { 3286 function = BOX 3287 detail = "bar" 3288 file = "images/progress/progress-v.svg" 3289 stretch = TRUE 3290 border = { 6,6,9,9 } 3291 orientation = VERTICAL 3292 } 3293 } 3294 } 3295 3296 style "notebook-progressbar" 3297 { 3298 3299 base[NORMAL] = shade(1.1, @base_color) 3300 bg[NORMAL] = shade(1.1, @base_color) 3301 } 3302 3303 style "toolbar-progressbar" 3304 { 3305 3306 base[NORMAL] = "#363636" 3307 bg[NORMAL] = "#363636" 3308 } 3309 3310 style "separator_menu_item" 3311 { 3312 engine "pixmap" 3313 { 3314 image 3315 { 3316 function = BOX 3317 file = "images/separator/separator.svg" 3318 border = { 0, 0, 1, 1 } 3319 stretch = TRUE 3320 } 3321 } 3322 } 3323 3324 style "treeview_header" 3325 { 3326 ythickness = 1 3327 3328 fg[NORMAL] = @selected_bg_color 3329 fg[PRELIGHT] = @text_color 3330 font_name = "Bold" 3331 3332 engine "pixmap" 3333 { 3334 image 3335 { 3336 function = FOCUS 3337 file = "images/other/null.png" 3338 border = { 1, 1, 1, 1 } 3339 stretch = TRUE 3340 } 3341 image 3342 { 3343 function = BOX 3344 file = "images/columns/column-header.svg" 3345 border = { 1, 1, 1, 1 } 3346 stretch = TRUE 3347 } 3348 } 3349 } 3350 3351 style "notebook-treeview_header" 3352 { 3353 ythickness = 1 3354 3355 fg[NORMAL] = @selected_bg_color 3356 fg[PRELIGHT] = @text_color 3357 font_name = "Bold" 3358 3359 engine "pixmap" 3360 { 3361 image 3362 { 3363 function = FOCUS 3364 file = "images/other/null.png" 3365 border = { 1, 1, 1, 1 } 3366 stretch = TRUE 3367 } 3368 image 3369 { 3370 function = BOX 3371 file = "images/columns/notebook-column-header.svg" 3372 border = { 1, 1, 1, 1 } 3373 stretch = TRUE 3374 } 3375 } 3376 } 3377 3378 style "scrolled_window" 3379 { 3380 xthickness = 3 3381 ythickness = 3 3382 3383 engine "pixmap" 3384 { 3385 image 3386 { 3387 function = SHADOW 3388 file = "images/frames/scrolledwindow.svg" 3389 border = { 3,3,3,3 } 3390 stretch = TRUE 3391 } 3392 } 3393 } 3394 3395 style "frame" 3396 { 3397 xthickness = 3 3398 ythickness = 3 3399 3400 engine "pixmap" 3401 { 3402 image 3403 { 3404 function = SHADOW 3405 recolorable = TRUE 3406 file = "images/other/null.png" 3407 border = { 0 , 0 , 0 , 0 } 3408 stretch = FALSE 3409 } 3410 image 3411 { 3412 function = SHADOW_GAP 3413 file = "/images/frames/frame.png" 3414 border = {3,3,3,3} 3415 stretch = TRUE 3416 gap_start_file = "/images/frames/top-gap-start.png" 3417 gap_start_border= { 1,1,1,0} 3418 gap_end_file = "/images/frames/top-gap-end.png" 3419 gap_end_border= { 1,1,1,0} 3420 gap_side = TOP 3421 3422 } 3423 } 3424 } 3425 3426 style "gimp_tool_options_editor" 3427 { 3428 engine "pixmap" 3429 { 3430 image 3431 { 3432 function = FLAT_BOX 3433 recolorable = TRUE 3434 file = "images/frames/inner-notebook.svg" 3435 border = { 0 , 0 , 0 , 0 } 3436 stretch = TRUE 3437 } 3438 } 3439 } 3440 3441 style "gimp_toolbox_frame" 3442 { 3443 3444 engine "pixmap" 3445 { 3446 image 3447 { 3448 function = SHADOW 3449 } 3450 } 3451 } 3452 3453 style "gimp_scale_combobox" = "combobox_entry" 3454 { 3455 xthickness = 5 3456 ythickness = 5 3457 3458 bg[NORMAL] = "#111111" 3459 base[NORMAL] = "#111111" 3460 engine "pixmap" 3461 { 3462 # LTR version 3463 image 3464 { 3465 function = SHADOW 3466 detail = "entry" 3467 state = NORMAL 3468 shadow = IN 3469 file = "images/entry/gimp-combo-entry-border.svg" 3470 border = { 3, 3, 4, 4 } 3471 stretch = TRUE 3472 direction = LTR 3473 } 3474 image 3475 { 3476 function = SHADOW 3477 detail = "entry" 3478 state = ACTIVE 3479 file = "images/entry/gimp-combo-entry-border-active.svg" 3480 border = { 3, 3, 4, 4 } 3481 stretch = TRUE 3482 direction = LTR 3483 } 3484 3485 # RTL version 3486 image 3487 { 3488 function = SHADOW 3489 detail = "entry" 3490 state = NORMAL 3491 shadow = IN 3492 file = "images/entry/gimp-combo-entry-border-rtl.svg" 3493 border = { 3, 3, 4, 4 } 3494 stretch = TRUE 3495 direction = RTL 3496 } 3497 image 3498 { 3499 function = SHADOW 3500 detail = "entry" 3501 state = ACTIVE 3502 file = "images/entry/gimp-combo-entry-border-active-rtl.svg" 3503 border = { 3, 3, 4, 4 } 3504 stretch = TRUE 3505 direction = RTL 3506 } 3507 } 3508 } 3509 3510 style "treeview" 3511 { 3512 3513 text[NORMAL] = @text_color 3514 text[ACTIVE] = @fg_color 3515 text[SELECTED] = @selected_fg_color 3516 text[INSENSITIVE] = "#47494a" 3517 engine "pixmap" 3518 { 3519 image 3520 { 3521 function = FOCUS 3522 file = "images/other/focus-blue.svg" 3523 border = { 1, 1, 1, 1 } 3524 stretch = TRUE 3525 } 3526 } 3527 } 3528 3529 style "toolbar" { 3530 3531 3532 engine "pixmap" 3533 { 3534 3535 image 3536 { 3537 function = BOX 3538 file = "/images/toolbar/Toolbar.png" 3539 border = { 0,0,0,0 } 3540 stretch = FALSE 3541 orientation = HORIZONTAL 3542 detail = "toolbar" 3543 overlay_file = "/images/toolbar/toolbar-border.svg" 3544 overlay_border = {1,1,2,2} 3545 overlay_stretch = TRUE 3546 } 3547 3548 image 3549 { 3550 function = BOX 3551 file = "/images/toolbar/Toolbar.png" 3552 border = { 0,0,0,0 } 3553 stretch = FALSE 3554 orientation = VERTICAL 3555 detail = "toolbar" 3556 overlay_file = "/images/toolbar/toolbar-border-vertical.svg" 3557 overlay_border = {1,1,2,2} 3558 overlay_stretch = TRUE 3559 } 3560 3561 3562 3563 } 3564 } 3565 3566 3567 style "inline_toolbar" 3568 { 3569 GtkToolbar::button-relief = GTK_RELIEF_NORMAL 3570 3571 engine "pixmap" 3572 { 3573 image 3574 { 3575 function = BOX 3576 file = "/images/toolbar/Toolbar.png" 3577 border = { 0,0,0,0 } 3578 stretch = FALSE 3579 orientation = HORIZONTAL 3580 detail = "toolbar" 3581 overlay_file = "/images/toolbar/inline-overlay.svg" 3582 overlay_border = {1,1,1,1} 3583 overlay_stretch = TRUE 3584 } 3585 } 3586 } 3587 3588 style "separator" 3589 { 3590 GtkWidget::wide-separators = 1 3591 GtkWidget::separator-height = 3 3592 GtkWidget::separator-width = 3 3593 3594 xthickness = 0 3595 ythickness = 0 3596 3597 engine "pixmap" 3598 { 3599 image 3600 { 3601 function = BOX 3602 file = "images/separator/separator-vertical.svg" 3603 border = { 0, 0, 0, 0 } 3604 stretch = TRUE 3605 orientation = VERTICAL 3606 } 3607 image 3608 { 3609 function = BOX 3610 file = "images/separator/separator.svg" 3611 border = { 0, 0, 0, 0 } 3612 stretch = TRUE 3613 orientation = HORIZONTAL 3614 } 3615 } 3616 } 3617 3618 style "toolbar-separator" 3619 { 3620 GtkWidget::wide-separators = 1 3621 GtkWidget::separator-height = 2 3622 GtkWidget::separator-width = 3 3623 3624 xthickness = 0 3625 ythickness = 0 3626 3627 engine "pixmap" 3628 { 3629 image 3630 { 3631 function = BOX 3632 file = "images/separator/toolbar-separator-vertical.svg" 3633 border = { 0, 0, 0, 0 } 3634 stretch = TRUE 3635 orientation = VERTICAL 3636 } 3637 image 3638 { 3639 function = BOX 3640 file = "images/separator/separator.svg" 3641 border = { 0, 0, 0, 0 } 3642 stretch = TRUE 3643 orientation = HORIZONTAL 3644 } 3645 } 3646 } 3647 3648 style "notebook_viewport" 3649 { 3650 bg[NORMAL] = @base_color 3651 } 3652 3653 style "tooltips" 3654 { 3655 xthickness = 8 3656 ythickness = 4 3657 font_name = "Bold" 3658 3659 bg[NORMAL] = @tooltip_bg_color 3660 fg[NORMAL] = @tooltip_fg_color 3661 bg[SELECTED] = @tooltip_bg_color 3662 } 3663 3664 style "statusbar-frame-fix" { 3665 engine "pixmap" { 3666 image 3667 { 3668 function = SHADOW 3669 } 3670 } 3671 } 3672 3673 style "theme-statusbar-label" { 3674 fg[NORMAL] = mix (0.40, @base_color, @fg_color) 3675 font_name = "* Condensed *" 3676 } 3677 3678 style "frame-label" 3679 { 3680 fg[NORMAL] = @selected_fg_color 3681 font_name = "* Bold 8" 3682 } 3683 3684 style "notebook-frame-label" 3685 { 3686 fg[NORMAL] = "#efefef" 3687 font_name = "* Bold 8" 3688 } 3689 3690 # Chromium 3691 style "chrome-gtk-frame" 3692 { 3693 ChromeGtkFrame::frame-color = "#1a1a1a" 3694 ChromeGtkFrame::inactive-frame-color = "#171717" 3695 ChromeGtkFrame::incognito-frame-color = @selected_bg_color 3696 ChromeGtkFrame::incognito-inactive-frame-color = mix (0.4, @selected_bg_color, "#2c2c2c") 3697 3698 ChromeGtkFrame::frame-gradient-size = 50 3699 ChromeGtkFrame::frame-gradient-color = "#1e1e1e" 3700 ChromeGtkFrame::inactive-frame-gradient-color = "#141414" 3701 3702 ChromeGtkFrame::incognito-frame-gradient-size = 50 3703 ChromeGtkFrame::incognito-frame-gradient-color = "#111111" 3704 ChromeGtkFrame::incognito-inactive-frame-gradient-color = mix (0.4, @selected_bg_color, "#2c2c2c") 3705 3706 ChromeGtkFrame::scrollbar-trough-color = "#1a1a1a" 3707 ChromeGtkFrame::scrollbar-slider-normal-color = "#0F151C" 3708 ChromeGtkFrame::scrollbar-slider-prelight-color = "@selected_bg_color" 3709 3710 } 3711 3712 style "chrome_menu_item" 3713 { 3714 bg[SELECTED] = @selected_bg_color 3715 } 3716 3717 style "text" 3718 { 3719 3720 engine "murrine" 3721 { 3722 text_shade = 0.7 3723 textstyle = 1 3724 } 3725 } 3726 3727 style "notebook-text" 3728 { 3729 3730 engine "murrine" 3731 { 3732 text_shade = 0.8 3733 textstyle = 1 3734 } 3735 } 3736 3737 style "null" 3738 { 3739 engine "pixmap" 3740 { 3741 image 3742 { 3743 function = BOX 3744 file = "images/other/null.png" 3745 stretch = TRUE 3746 } 3747 } 3748 } 3749 3750 class "GtkWidget" style "default" 3751 #class "GtkWindow" style "background" 3752 #class "GtkViewport" style "background-fill" 3753 class "GtkEventBox" style "notebook" 3754 #class "GtkEmpty" style "background-fill" 3755 #class "GtkPaned" style "background-fill" 3756 # Normal and Notebook Scrollbar # 3757 class "GtkScrollbar" style "scrollbar" 3758 #widget_class "*<GtkNotebook>*<GtkScrollbar>" style "notebook-scrollbar" 3759 ### 3760 # Normal and Notebook Button # 3761 class "GtkButton" style "button" 3762 #widget_class "*<GtkNotebook>*<GtkButton>" style "notebook-button" 3763 ### 3764 class "GtkEntry" style "entry" 3765 class "GtkOldEditable" style "entry" 3766 class "GtkSpinButton" style "spinbutton" 3767 class "GtkNotebook" style "notebook" 3768 class "GtkRange" style "range" 3769 widget_class "*<GtkNotebook>*<GtkRange>" style "notebook-range" 3770 widget_class "*Tool*<GtkRange>" style "toolbar-range" 3771 3772 class "GtkProgressBar" style "progressbar" 3773 widget_class "*<GtkNotebook>*<GtkProgressBar>" style "notebook-progressbar" 3774 widget_class "*Tool*<GtkProgressBar>" style "toolbar-progressbar" 3775 3776 class "GtkSeparatorMenuItem" style "separator_menu_item" 3777 class "GtkScrolledWindow" style "scrolled_window" 3778 # Normal and Notebook Frame # 3779 class "GtkFrame" style "frame" 3780 #widget_class "*<GtkNotebook>*<GtkFrame>" style "notebook-frame" 3781 ### 3782 class "GtkTreeView" style "treeview" 3783 class "GtkToolbar" style "toolbar" 3784 3785 widget_class "*<GtkCheckButton>*" style "check" 3786 widget_class "*<GtkRadioButton>*" style "check" 3787 widget_class "*<GtkMenuBar>*" style "menubar" 3788 widget_class "*<GtkMenu>*" style "menu" 3789 #widget_class "*<GtkMenu>*" style "menu_framed_box" 3790 widget_class "*<GtkMenuItem>*" style "menu_item" 3791 widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item" 3792 widget_class "*<GtkCheckButton>*" style "checkbutton" 3793 widget_class "*<GtkComboBox>" style "combobox" 3794 widget_class "*<GtkComboBox>*<GtkButton>" style "combobox_button" 3795 widget_class "*<GtkComboBox>*<GtkSeparator>" style "combobox_separator" 3796 widget_class "*HandleBox" style "handlebox" 3797 #widget_class "GksuuiDialogType" style "background" 3798 3799 # Normal and Notebook Treeview Headers # 3800 widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header" 3801 widget_class "*<GtkNotebook>*<GtkTreeView>*<GtkButton>*" style "notebook-treeview_header" 3802 ### 3803 3804 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar" 3805 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style:highest "button_nohilight" 3806 3807 # Normal and Notebook ComboEntry and ComboEntryButton # 3808 widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry" 3809 widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "combobox_entry_button" 3810 widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>" style "notebook-combobox_entry" 3811 widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkButton>" style "notebook-combobox_entry_button" 3812 ### 3813 3814 widget_class "*<GtkInfoBar>*<GtkButton>" style "button_nohilight" 3815 3816 # Normal and Notebook ScrolledWindow-Viewport & Notebook Viewport # 3817 #widget_class "*<GtkScrolledWindow>*<GtkViewport>" style "background-fill" 3818 widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport" 3819 widget "*<GtkNotebook>*<GtkViewport>" style "notebook_viewport" 3820 widget "*<GtkNotebook>*<GtkEventBox>" style "notebook_viewport" 3821 ### 3822 3823 widget_class "*<GtkNotebook>*" style "notebook-close" 3824 # Entries in notebooks draw with notebook's base color, but not if there's 3825 # something else in the middle that draws gray again 3826 3827 # Notebook Entry & SpinButton # 3828 widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry" 3829 widget_class "*<GtkNotebook>*<GtkSpinButton>" style "notebook_spinbutton" 3830 #widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkButton>" style "button" 3831 #widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "entry" 3832 #widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkSpinButton>" style "spinbutton" 3833 3834 #widget_class "*<GtkEventBox>*<GtkButton>" style "button" 3835 widget_class "*<GtkEventBox>*<GtkEntry>" style "notebook_entry" 3836 widget_class "*<GtkEventBox>*<GtkSpinButton>" style "notebook_spinbutton" 3837 ### 3838 3839 # Toolbar Entry, Combo & SpinButton # 3840 widget_class "*Tool*<GtkEntry>" style "toolbar_entry" 3841 widget_class "*Tool*<GtkComboBoxEntry>*<GtkEntry>" style "toolbar_combobox_entry" 3842 widget_class "*Tool*<GtkComboBoxEntry>*<GtkButton>" style "toolbar_combobox_entry_button" 3843 widget_class "*Tool*<GtkSpinButton>" style "toolbar_spinbutton" 3844 3845 # Toolbar Buttons # 3846 widget_class "*Tool*GtkButton" style "tool-button" 3847 widget_class "*Tool*GtkToggleButton" style "tool-button" 3848 3849 widget "*xchat-inputbox" style "entry" 3850 3851 # We also need to avoid changing fg color for the inactive notebook tab labels 3852 widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label" 3853 widget_class "*.<GtkFrame>.<GtkLabel>" style "frame-label" 3854 widget_class "*<GtkNotebook>*.<GtkFrame>.<GtkLabel>" style "notebook-frame-label" 3855 3856 widget_class "*<GtkStatusbar>.<GtkFrame>" style:highest "statusbar-frame-fix" 3857 widget_class "*<GtkStatusbar>*<GtkLabel>" style:highest "theme-statusbar-label" 3858 # Separators 3859 widget_class "*GtkSeparator" style "separator" 3860 widget_class "*GtkHSeparator" style "separator" 3861 widget_class "*GtkVSeparator" style "separator" 3862 widget_class "*GtkSeparatorToolItem" style "toolbar-separator" 3863 # GIMP 3864 # Disable gradients completely for GimpSpinScale 3865 class "GimpSpinScale" style "gimp_spin_scale" 3866 3867 # Remove borders from "Wilbert frame" in Gimp 3868 widget_class "*<GimpToolbox>*<GtkFrame>*" style "gimp_toolbox_frame" 3869 3870 widget_class "*<GimpToolOptionsEditor>*<GtkScrolledWindow>*<GtkViewport>" style "gimp_tool_options_editor" 3871 widget "GimpContainerEntry" style "entry" 3872 3873 widget_class "*<GimpScaleComboBox>*<GtkEntry>" style:highest "gimp_scale_combobox" 3874 widget_class "*<GimpScaleComboBox>*<GtkButton>" style:highest "combobox_entry_button" 3875 3876 # Chrome/Chromium 3877 class "ChromeGtkFrame" style "chrome-gtk-frame" 3878 widget_class "*Chrom*Button*" style "button" 3879 widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item" 3880 3881 widget "gtk-tooltip*" style "tooltips" 3882 widget "*swt*toolbar*" style "null" 3883 3884 # Text using Murrine-Engine to make it cleaner and clearer(the Mist-Engine also has great text rendering) ## 3885 widget_class "*<GtkLabel>" style "text" 3886 widget_class "*<GtkCellLayout>" style "text" 3887 widget_class "*<GtkTextView>" style "text" 3888 widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook-text" 3889 widget_class "*<GtkNotebook>*<GtkCellLayout>" style "notebook-text" 3890 widget_class "*<GtkNotebook>*<GtkTextView>" style "notebook-text" 3891 3892 # Xfce & LXDE's panel theming and other tweaks # 3893 include "panelrc" 3894 include "sidebarrc" 3895