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