all repos — dotfiles @ 95b6cc17e05241bb3ae12d78225257d6a305f54a

my *nix dotfiles

themes/Fantome/gtk-2.0/main.rc (view raw)

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