gtk-color-scheme = "bg_color:#0D151D"
gtk-color-scheme = "fg_color:#868A8E"
gtk-color-scheme = "base_color:#0D151D"
gtk-color-scheme = "dark_color:#0C1219"
gtk-color-scheme = "light_color:#131F2A"
gtk-color-scheme = "selected_bg_color:#9F440D"
gtk-color-scheme = "selected_fg_color:#ABADB0"
gtk-color-scheme = "insensitive_bg_color:#0C131A"
gtk-color-scheme = "insensitive_fg_color:#3E4850"
gtk-color-scheme = "link_color:#A37649"
gtk-color-scheme = "visited_link_color:#A37649"
gtk-color-scheme = "border_color:#0D151D"
gtk-color-scheme = "menu_color:#545C64"

gtk-auto-mnemonics              = 1
gtk-primary-button-warps-slider = 1

style "default" {
    xthickness = 0
    ythickness = 0

    # Style Properties
    GnomeHRef::link_color                       = @link_color
    GtkHTML::link-color                         = @link_color
    GtkIMHtmlr::hyperlink-color                 = @link_color
    GtkIMHtml::hyperlink-color                  = @link_color
    GtkWidget::link-color                       = @link_color
    GtkWidget::visited-link-color               = @visited_link_color

    GtkHSV::focus-line-pattern                  = "\0"
    GtkWidget::focus-line-pattern               = "\2\2"
    GtkWidget::focus-line-width                 = 0
    GtkWidget::focus-padding                    = 0
    GtkMenuBar::window-dragging                 = 1
    GtkToolbar::window-dragging                 = 1
    GtkToolbar::internal-padding                = 4
    GtkToolButton::icon-spacing                 = 4
    GtkSeparatorMenuItem::horizontal-padding    = 3
    GtkSeparatorMenuItem::wide-separators       = 1
    GtkSeparatorMenuItem::separator-height      = 1
    GtkButton::child-displacement-x             = 0 
    GtkButton::child-displacement-y             = 0 
    GtkButton::default-border                   = { 0, 0, 0, 0 }
    GtkButton::default-outside_border           = { 0, 0, 0, 0 }
    GtkEntry::state-hint                        = 1
    GtkRange::trough-border                     = 0
    GtkRange::slider-width                      = 8
    GtkRange::stepper-size                      = 0
    GtkScrollbar::trough-border                 = 0
    GtkScrollbar::activate-slider               = 1
    GtkScrollbar::has-backward-stepper          = 0
    GtkScrollbar::has-forward-stepper           = 0
    GtkScrollbar::min-slider-length             = 42
    GtkScrolledWindow::scrollbar-spacing        = 0
    GtkScrolledWindow::scrollbars-within-bevel  = 0
    GtkScale::trough-side-details               = 0
    GtkVScale::slider_length 	                = 21
    GtkVScale::slider_width 	                = 7
    GtkHScale::slider_length 	                = 21
    GtkHScale::slider_width 	                = 7
    GtkStatusbar::shadow_type                   = GTK_SHADOW_NONE
    GtkSpinButton::shadow_type                  = GTK_SHADOW_NONE
    GtkMenuBar::shadow-type                     = GTK_SHADOW_NONE
    GtkToolbar::shadow-type                     = GTK_SHADOW_NONE
    GtkMenuBar::internal-padding                = 0
    GtkMenu::horizontal-padding                 = 0
    GtkMenu::vertical-padding                   = 0
    GtkCheckButton::indicator_spacing           = 3
    GtkTreeView::row_ending_details             = 0
    GtkTreeView::expander-size                  = 11
    GtkTreeView::vertical-separator             = 4
    GtkTreeView::horizontal-separator           = 4
    GtkTreeView::allow-rules                    = 1
    GtkProgressBar::min-horizontal-bar-height   = 19
    GtkProgressBar::min-vertical-bar-width      = 19
    GtkExpander::expander-size                  = 11
    GtkNotebook::tab-overlap	= 0
    GtkNotebook::tab-vborder	= 0

    # Colors
    bg[NORMAL]          = @bg_color
    bg[PRELIGHT]        = @bg_color
    bg[SELECTED]        = @selected_bg_color
    bg[INSENSITIVE]     = @bg_color
    bg[ACTIVE]          = @bg_color

    fg[NORMAL]          = @fg_color
    fg[PRELIGHT]        = @selected_fg_color
    fg[SELECTED]        = @selected_fg_color
    fg[INSENSITIVE]     = @insensitive_fg_color
    fg[ACTIVE]          = @selected_fg_color

    text[NORMAL]        = @fg_color
    text[PRELIGHT]      = @selected_fg_color
    text[SELECTED]      = @selected_fg_color
    text[INSENSITIVE]   = @insensitive_fg_color
    text[ACTIVE]        = @selected_fg_color

    base[NORMAL]        = @base_color
    base[PRELIGHT]      = @bg_color
    base[SELECTED]      = @selected_bg_color #@selected_bg_color
    base[INSENSITIVE]   = @bg_color
    base[ACTIVE]        = @light_color #@selected_bg_color

    # For succinctness, all reasonable pixmap options remain here
    engine "pixmap" {

        # Unchecked checkbox
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = NORMAL
            shadow          = OUT
            overlay_file    = "checkbox-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = PRELIGHT
            shadow          = OUT
            overlay_file    = "checkbox-unchecked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = ACTIVE
            shadow          = OUT
            overlay_file    = "checkbox-unchecked-active.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = SELECTED
            shadow          = OUT
            overlay_file    = "checkbox-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = INSENSITIVE
            shadow          = OUT
            overlay_file    = "checkbox-unchecked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Checked checkbox
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = NORMAL
            shadow          = IN
            overlay_file    = "checkbox-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = PRELIGHT
            shadow          = IN
            overlay_file    = "checkbox-checked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = ACTIVE
            shadow          = IN
            overlay_file    = "checkbox-checked-active.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = SELECTED
            shadow          = IN
            overlay_file    = "checkbox-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = INSENSITIVE
            shadow          = IN
            overlay_file    = "checkbox-checked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Unchecked radio
        image {
            function        = OPTION
            state           = NORMAL
            shadow          = OUT
            overlay_file    = "radio-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = PRELIGHT
            shadow          = OUT
            overlay_file    = "radio-unchecked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = ACTIVE
            shadow          = OUT
            overlay_file    = "radio-unchecked-active.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = SELECTED
            shadow          = OUT
            overlay_file    = "radio-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = INSENSITIVE
            shadow          = OUT
            overlay_file    = "radio-unchecked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Checked radio
        image {
            function        = OPTION
            state           = NORMAL
            shadow          = IN
            overlay_file    = "radio-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = PRELIGHT
            shadow          = IN
            overlay_file    = "radio-checked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = ACTIVE
            shadow          = IN
            overlay_file    = "radio-checked-active.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = SELECTED
            shadow          = IN
            overlay_file    = "radio-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = INSENSITIVE
            shadow          = IN
            overlay_file    = "radio-checked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Up arrow
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "arrow-up-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "arrow-up-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "arrow-up-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "arrow-up-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }

        # Down arrow
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "arrow-down-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "arrow-down-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "arrow-down-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "arrow-down-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }

        # Left arrow
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "arrow-left-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "arrow-left-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "arrow-left-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "arrow-left-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }

        # Right arrow
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "arrow-right-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "arrow-right-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "arrow-right-active.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "arrow-right-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }

        # Line
        image {
            function    = VLINE
            file        = "line-vertical.png"
            border      = { 0, 1, 0, 0 }
            stretch     = TRUE
        }
        image {
            function    = HLINE
            file        = "line-horizontal.png"
            border      = { 0, 0, 0, 1 }
            stretch     = TRUE
        }

        # Handle
        image {
            function        = HANDLE
            overlay_file    = "handle-horizontal.png"
            overlay_stretch = FALSE
            orientation     = HORIZONTAL
        }
        image {
            function        = HANDLE
            overlay_file    = "handle-vertical.png"
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }

        # Expander
        image {
            function        = EXPANDER
            expander_style  = COLLAPSED
            file            = "expander-collapsed.png"
        }
        image {
            function        = EXPANDER
            expander_style  = SEMI_COLLAPSED
            file            = "expander-collapsed-semi.png"
        }
        image {
            function        = EXPANDER
            expander_style  = EXPANDED
            file            = "expander-expanded.png"
        }
        image {
            function        = EXPANDER
            expander_style  = SEMI_EXPANDED
            file            = "expander-expanded-semi.png"
        }

        image {
            function        = RESIZE_GRIP
            state           = NORMAL
            detail          = "statusbar"
            overlay_file    = "null.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
        }
        image
        {
            function    = SHADOW_GAP
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
    }
}

style "scrollbar" {
    engine "pixmap" {

        # Horizontal scrollbar
        image {
            function    = BOX
            detail      = "trough"
            file        = "scrollbar-trough.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function    = SLIDER
            state       = NORMAL
            file        = "scrollbar-slider-horizontal-normal.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function    = SLIDER
            state       = ACTIVE
            file        = "scrollbar-slider-horizontal-active.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function    = SLIDER
            state       = PRELIGHT
            file        = "scrollbar-slider-horizontal-prelight.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function    = SLIDER
            state       = INSENSITIVE
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }

        # Vertical scrollbar
        image {
            function    = BOX
            detail      = "trough"
            file        = "scrollbar-trough.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function    = SLIDER
            state       = NORMAL
            file        = "scrollbar-slider-vertical-normal.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function    = SLIDER
            state       = ACTIVE
            file        = "scrollbar-slider-vertical-active.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function    = SLIDER
            state       = PRELIGHT
            file        = "scrollbar-slider-vertical-prelight.png" 
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function    = SLIDER
            state       = INSENSITIVE
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            orientation = VERTICAL
        }
    }
}

style "menubar" {
    xthickness = 0
    ythickness = 0
    fg[NORMAL] = @menu_color
    engine "pixmap" {
        image {
            function    = BOX
            recolorable = TRUE
            state       = PRELIGHT
            file        = "menu-bar-active.png"
            border      = { 1, 1, 0, 3 }
            stretch     = TRUE
        }
    }
}

style "menu" {
    xthickness = 0
    ythickness = 0
    bg[NORMAL]      = @base_color
    bg[INSENSITIVE] = @base_color
    bg[PRELIGHT]    = @base_color
    engine "pixmap" {
        image {
            function    = HLINE
            file        = "menu-separator.png"
            border      = { 0, 0, 0, 1 }
            stretch     = TRUE
        }
    }
}

style "menu_frame" {
    engine "pixmap" {
        image {
            function    = SHADOW
            file        = "menu-frame.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
        }
    }
}

style "menu_item" {
    xthickness = 2
    ythickness = 3
    bg[PRELIGHT] = @selected_bg_color
    engine "pixmap" {

        # Menu's unchecked checkbox
        image
        {
            function        = CHECK
            recolorable     = TRUE
            state           = NORMAL
            shadow          = OUT
            overlay_file    = "menu-checkbox-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = PRELIGHT
            shadow          = OUT
            overlay_file    = "menu-checkbox-unchecked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = INSENSITIVE
            shadow          = OUT
            overlay_file    = "menu-checkbox-unchecked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Menu's checked checkbox
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = NORMAL
            shadow          = IN
            overlay_file    = "menu-checkbox-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = PRELIGHT
            shadow          = IN
            overlay_file    = "menu-checkbox-checked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = CHECK
            recolorable     = TRUE
            state           = INSENSITIVE
            shadow          = IN
            overlay_file    = "menu-checkbox-checked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Menu's unchecked radio
        image {
            function        = OPTION
            state           = NORMAL
            shadow          = OUT
            overlay_file    = "menu-radio-unchecked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = PRELIGHT
            shadow          = OUT
            overlay_file    = "menu-radio-unchecked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = INSENSITIVE
            shadow          = OUT
            overlay_file    = "menu-radio-unchecked-insensitive.png"
            overlay_stretch = FALSE
        }

        # Menu's checked radio
        image {
            function        = OPTION
            state           = NORMAL
            shadow          = IN
            overlay_file    = "menu-radio-checked-normal.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = PRELIGHT
            shadow          = IN
            overlay_file    = "menu-radio-checked-prelight.png"
            overlay_stretch = FALSE
        }
        image {
            function        = OPTION
            state           = INSENSITIVE
            shadow          = IN
            overlay_file    = "menu-radio-checked-insensitive.png"
            overlay_stretch = FALSE
        }

        # This fixes boxy Qt menu items
        image {
            function    = SHADOW
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }

        # Menu's arrow
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "menu-arrow.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "menu-arrow-prelight.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
    }
}

style "separator_menu_item" {
    engine "pixmap" {
        image {
            function    = BOX
            file        = "menu-separator.png"
            border      = { 0, 0, 0, 1 }
            stretch     = TRUE
        }
    }
}

style "menubar_item" {
    xthickness = 2
    ythickness = 3
    fg[PRELIGHT] = @selected_fg_color
}

style "button" {
    xthickness = 4
    ythickness = 5
    fg[PRELIGHT] = @selected_fg_color
    fg[ACTIVE]   = @selected_fg_color
    fg[SELECTED]   = @selected_fg_color
    engine "pixmap" {
        image {
            function    = BOX
            state       = NORMAL
            file        = "button-bg-normal.png"
            border      = { 4, 4, 4, 5 }
            stretch     = TRUE
        }
        image {
            function    = BOX
            state       = PRELIGHT
            file        = "button-bg-prelight.png"
            border      = { 4, 4, 4, 5 }
            stretch     = TRUE
        }
        image {
            function    = BOX
            state       = ACTIVE
            file        = "button-bg-active.png"
            border      = { 4, 4, 4, 5 }
            stretch     = TRUE
        }
        image {
            function    = BOX
            state       = INSENSITIVE
            file        = "button-bg-insensitive.png"
            border      = { 4, 4, 4, 5 }
            stretch     = TRUE
        }
    }
}

style "button_arrow" {
    fg[PRELIGHT] = @selected_fg_color
    fg[ACTIVE]   = @selected_fg_color
    fg[SELECTED]   = @selected_fg_color
    engine "pixmap" {
        # GtkArrow for GtkButton
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "button-arrow-down-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "button-arrow-down-normal-prelight.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "button-arrow-down-normal-prelight.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "button-arrow-down-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "button-arrow-up-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "button-arrow-up-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "button-arrow-up-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "button-arrow-up-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "button-arrow-left-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "button-arrow-left-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "button-arrow-left-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "button-arrow-left-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            state           = NORMAL
            overlay_file    = "button-arrow-right-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = PRELIGHT
            overlay_file    = "button-arrow-right-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = ACTIVE
            overlay_file    = "button-arrow-right-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            state           = INSENSITIVE
            overlay_file    = "button-arrow-right-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
    }
}

style "button_separator" {
    xthickness = 0
    ythickness = 0
    GtkWidget::wide-separators = 1
}

style "checkbutton" {
    fg[PRELIGHT] = @selected_fg_color
    fg[ACTIVE]   = @selected_fg_color
}

style "entry" {
    xthickness = 5
    ythickness = 5
    base[NORMAL]        = @dark_color
    base[INSENSITIVE]   = @dark_color
    engine "pixmap" {
        image {
            function    = SHADOW
            detail      = "entry"
            state       = NORMAL
            shadow      = IN
            file        = "entry-normal.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = INSENSITIVE
            shadow      = IN
            file        = "entry-insensitive.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = ACTIVE
            shadow      = IN
            file        = "entry-active.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = FLAT_BOX
            detail      = "entry_bg"
            state       = NORMAL
            file        = "oo-entry-fill.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
        image {
            function    = FLAT_BOX
            detail      = "entry_bg"
            state       = ACTIVE
            file        = "oo-entry-fill.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
    }
}

style "combo_entry" {
    xthickness = 3
    ythickness = 3
    engine "pixmap" {
        # Left-to-right GtkCombo's entry
        image {
            function    = SHADOW
            detail      = "entry"
            state       = NORMAL
            shadow      = IN
            file        = "combo-entry-ltr-normal.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = LTR
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = INSENSITIVE
            shadow      = IN
            file        = "combo-entry-ltr-insensitive.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = LTR
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = ACTIVE
            file        = "combo-entry-ltr-active.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = LTR
        }

        # Right-to-left GtkCombo's entry
        image {
            function    = SHADOW
            detail      = "entry"
            state       = NORMAL
            shadow      = IN
            file        = "combo-entry-rtl-normal.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = RTL
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = INSENSITIVE
            shadow      = IN
            file        = "combo-entry-rtl-insensitive.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = RTL
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = ACTIVE
            file        = "combo-entry-rtl-active.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
            direction   = RTL
        }
    }
}

style "combo_button" {
    xthickness = 3
    ythickness = 3
    fg[PRELIGHT] = @selected_fg_color
    fg[ACTIVE]   = @selected_fg_color
    fg[SELECTED]   = @selected_fg_color
    engine "pixmap" {
        # Left-to-right GtkCombo's button
        image {
            function    = BOX
            state       = NORMAL
            file        = "combo-button-ltr-normal.png"
            border      = { 0, 3, 4, 5 }
            stretch     = TRUE
            direction   = LTR
        }
        image {
            function    = BOX
            state       = PRELIGHT
            file        = "combo-button-ltr-prelight.png"
            border      = { 0, 3, 4, 5 }
            stretch     = TRUE
            direction   = LTR
        }
        image {
            function    = BOX
            state       = INSENSITIVE
            file        = "combo-button-ltr-insensitive.png"
            border      = { 0, 3, 4, 5 }
            stretch     = TRUE
            direction   = LTR
        }
        image {
            function    = BOX
            state       = ACTIVE
            file        = "combo-button-ltr-active.png"
            border      = { 0, 3, 4, 5 }
            stretch     = TRUE
            direction   = LTR
        }

        # Right-to-left GtkCombo's button
        image {
            function    = BOX
            state       = NORMAL
            file        = "combo-button-rtl-normal.png"
            border      = { 3, 0, 4, 5 }
            stretch     = TRUE
            direction   = RTL
        }
        image {
            function    = BOX
            state       = PRELIGHT
            file        = "combo-button-rtl-prelight.png"
            border      = { 3, 0, 4, 5 }
            stretch     = TRUE
            direction   = RTL
        }
        image {
            function    = BOX
            state       = INSENSITIVE
            file        = "combo-button-rtl-insensitive.png"
            border      = { 3, 0, 4, 5 }
            stretch     = TRUE
            direction   = RTL
        }
        image {
            function    = BOX
            state       = ACTIVE
            file        = "combo-button-rtl-active.png"
            border      = { 3, 0, 4, 5 }
            stretch     = TRUE
            direction   = RTL
        }
    }
}

style "spinbutton" {
    xthickness = 4
    ythickness = 4
    engine "pixmap" {
        image {
            function = ARROW
        }

        # Left-to-right up spin
        image {
            function        = BOX
            state           = NORMAL
            detail          = "spinbutton_up"
            file            = "spin-bg-ltr-up-normal.png"
            border          = { 1, 3, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = PRELIGHT
            detail          = "spinbutton_up"
            file            = "spin-bg-ltr-up-prelight.png"
            border          = { 1, 3, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = INSENSITIVE
            detail          = "spinbutton_up"
            file            = "spin-bg-ltr-up-insensitive.png"
            border          = { 1, 3, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-insensitive.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = ACTIVE
            detail          = "spinbutton_up"
            file            = "spin-bg-ltr-up-active.png"
            border          = { 1, 3, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }

        # Left-to-right down spin
        image {
            function        = BOX
            state           = NORMAL
            detail          = "spinbutton_down"
            file            = "spin-bg-ltr-down-normal.png"
            border          = { 1, 3, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = PRELIGHT
            detail          = "spinbutton_down"
            file            = "spin-bg-ltr-down-prelight.png"
            border          = { 1, 3, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = INSENSITIVE
            detail          = "spinbutton_down"
            file            = "spin-bg-ltr-down-insensitive.png"
            border          = { 1, 3, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-insensitive.png"
            overlay_stretch = FALSE
            direction       = LTR
        }
        image {
            function        = BOX
            state           = ACTIVE
            detail          = "spinbutton_down"
            file            = "spin-bg-ltr-down-active.png"
            border          = { 1, 3, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = LTR
        }

        # Right-to-left spin up
        image {
            function        = BOX
            state           = NORMAL
            detail          = "spinbutton_up"
            file            = "spin-bg-rtl-up-normal.png"
            border          = { 3, 1, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = PRELIGHT
            detail          = "spinbutton_up"
            file            = "spin-bg-rtl-up-prelight.png"
            border          = { 3, 1, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = INSENSITIVE
            detail          = "spinbutton_up"
            file            = "spin-bg-rtl-up-insensitive.png"
            border          = { 3, 1, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-insensitive.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = ACTIVE
            detail          = "spinbutton_up"
            file            = "spin-bg-rtl-up-active.png"
            border          = { 3, 1, 4, 1 }
            stretch         = TRUE
            overlay_file    = "spin-fg-up-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }

        # Right-to-left spin down
        image {
            function        = BOX
            state           = NORMAL
            detail          = "spinbutton_down"
            file            = "spin-bg-rtl-down-normal.png"
            border          = { 3, 1, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = PRELIGHT
            detail          = "spinbutton_down"
            file            = "spin-bg-rtl-down-prelight.png"
            border          = { 3, 1, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = INSENSITIVE
            detail          = "spinbutton_down"
            file            = "spin-bg-rtl-down-insensitive.png"
            border          = { 3, 1, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-insensitive.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
        image {
            function        = BOX
            state           = ACTIVE
            detail          = "spinbutton_down"
            file            = "spin-bg-rtl-down-active.png"
            border          = { 3, 1, 1, 4 }
            stretch         = TRUE
            overlay_file    = "spin-fg-down-normal.png"
            overlay_stretch = FALSE
            direction       = RTL
        }
    }
}

style "notebook_entry" {
    xthickness = 5
    ythickness = 5
    base[NORMAL]        = @dark_color
    base[INSENSITIVE]   = @dark_color
    engine "pixmap" {
        image {
            function    = SHADOW
            detail      = "entry"
            state       = NORMAL
            shadow      = IN
            file        = "notebook-entry-normal.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = INSENSITIVE
            shadow      = IN
            file        = "notebook-entry-insensitive.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = SHADOW
            detail      = "entry"
            state       = ACTIVE
            shadow      = IN
            file        = "notebook-entry-active.png"
            border      = { 3, 3, 2, 3 }
            stretch     = TRUE
        }
        image {
            function    = FLAT_BOX
            detail      = "entry_bg"
            state       = NORMAL
            file        = "oo-entry-fill.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
        image {
            function    = FLAT_BOX
            detail      = "entry_bg"
            state       = ACTIVE
            file        = "oo-entry-fill.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
    }
}

style "notebook" {
    xthickness = 0
    ythickness = 0
    bg[PRELIGHT]  = @base_color
    base[PRELIGHT]  = @base_color
    engine "pixmap" {

        # Insensitive tabs
        image {
            function    = EXTENSION
            state       = ACTIVE
            file        = "tab-bottom-inactive.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = TOP
        }
        image {
            function    = EXTENSION
            state       = ACTIVE
            file        = "tab-top-inactive.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = BOTTOM
        }
        image {
            function    = EXTENSION
            state       = ACTIVE
            file        = "tab-left-inactive.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = RIGHT
        }
        image {
            function    = EXTENSION
            state       = ACTIVE
            file        = "tab-right-inactive.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = LEFT
        }

        # Active tabs
        image {
            function    = EXTENSION
            file        = "tab-top.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = BOTTOM
        }
        image {
            function    = EXTENSION
            file        = "tab-bottom.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = TOP
        }
        image {
            function    = EXTENSION
            file        = "tab-left.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = RIGHT
        }
        image {
            function    = EXTENSION
            file        = "tab-right.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            gap_side    = LEFT
        }

        # Notebook with gap (i.e. active tabs' footer)
        image {
            function    = BOX_GAP
            file        = "notebook.png" 
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            gap_file    = "gap-top.png"
            gap_border  = { 0, 0, 0, 0 }
            gap_side    = TOP
        }
        image {
            function    = BOX_GAP
            file        = "notebook.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            gap_file    = "gap-bottom.png"
            gap_border  = { 0, 0, 0, 0 }
            gap_side    = BOTTOM
        }
        image {
            function    = BOX_GAP
            file        = "notebook.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            gap_file    = "gap-left.png"
            gap_border  = { 0, 0, 0, 0 }
            gap_side    = LEFT
        }
        image {
            function    = BOX_GAP
            file        = "notebook.png" 
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            gap_file    = "gap-right.png"
            gap_border  = { 0, 0, 0, 0 }
            gap_side    = RIGHT
        }

        # Notebook
        image {
            function    = BOX
            file        = "notebook.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
    }
}

style "notebook_tab_label" {
    fg[ACTIVE] = @fg_color
    fg[NORMAL] = @selected_fg_color
}

style "notebook_viewport" {
    bg[NORMAL] = @base_color
}

style "handlebox" {
    engine "pixmap" {
        image {
            function    = BOX
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            detail      = "handlebox_bin"
            shadow      = IN
        }
        image {
            function    = BOX
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
            detail      = "handlebox_bin"
            shadow      = OUT
        }
    }
}

style "combobox" {
    xthickness = 4
    ythickness = 4
}

style "optionmenu" {
    xthickness = 4
    ythickness = 4
    fg[PRELIGHT] = @selected_fg_color
    fg[ACTIVE] = @selected_fg_color
    fg[SELECTED] = @selected_fg_color
    engine "pixmap" {
        # GtkOptionMenu's arrow
        image {
            function        = TAB
            state           = NORMAL
            overlay_file    = "button-arrow-down-normal.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
        }
        image {
            function        = TAB
            state           = PRELIGHT
            overlay_file    = "button-arrow-down-normal-prelight.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
        }
        image {
            function        = TAB
            state           = INSENSITIVE
            overlay_file    = "button-arrow-down-insensitive.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
        }
    }
}

style "scale" {
    engine "pixmap" {
        # Horizontal GtkScale
        image {
            function    = BOX
            detail      = "trough"
            file        = "scale-trough-horizontal.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function        = SLIDER
            state           = NORMAL
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-slider-normal.png"
            overlay_stretch = FALSE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            state           = PRELIGHT
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-slider-prelight.png"
            overlay_stretch = FALSE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            state           = INSENSITIVE
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-slider-insensitive.png"
            overlay_stretch = FALSE
            orientation     = HORIZONTAL
        }

        # Vertical GtkScale
        image {
            function    = BOX
            detail      = "trough"
            file        = "scale-trough-vertical.png"
            border      = { 2, 2, 2, 2 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function        = SLIDER
            state           = NORMAL
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-bar-vertical.png"
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }
        image {
            function        = SLIDER
            state           = PRELIGHT
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-bar-vertical.png"
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }
        image {
            function        = SLIDER
            state           = INSENSITIVE
            file            = "null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
            overlay_file    = "scale-bar-vertical.png"
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }

        # Function below removes ugly boxes
        image {
            function    = BOX
            file        = "null.png"
            border      = { 0, 0, 0, 0 }
            stretch     = TRUE
        }
    }
}

style "progressbar" {
    xthickness = 1
    ythickness = 1
    engine "pixmap" {
        image {
            function    = BOX
            detail      = "trough"
            file        = "progressbar-horizontal-trough.png"
            border      = { 3, 3, 2, 2 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
        image {
            function    = BOX
            detail      = "bar"
            file        = "progressbar-horizontal-bar.png"
            stretch     = TRUE
            border      = { 3, 3, 2, 2 }
            orientation = HORIZONTAL
        }
        image {
            function    = BOX
            detail      = "trough"
            file        = "progressbar-vertical-trough.png"
            border      = { 2, 2, 3, 3 }
            stretch     = TRUE
            orientation = VERTICAL
        }
        image {
            function    = BOX
            detail      = "bar"
            file        = "progressbar-vertical-bar.png"
            stretch     = TRUE
            border      = { 2, 2, 3, 3 }
            orientation = VERTICAL
        }
    }
}

style "treeview_header" {
    ythickness = 3
    fg[NORMAL] = @fg_color
    #font_name = "Bold"
    engine "pixmap" {
        image {
            function    = BOX
            file        = "tree-header.png"
            border      = { 1, 0, 0, 1  }
            stretch     = TRUE
        }
    }
}

style "scrolled_window" {
    xthickness = 0
    ythickness = 0
    engine "pixmap" {
        image {
            function    = SHADOW
            file        = "frame.png"
            border      = { 1, 1, 1, 1 }
            stretch     = TRUE
        }
    }
}

style "frame" {
    xthickness = 0
    ythickness = 0
    engine "pixmap" {
        image {
            function            = SHADOW
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            shadow              = IN
        }
        image {
            function            = SHADOW_GAP
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            gap_start_file      = "frame-gap.png"
            gap_start_border    = { 0, 0, 0, 0 }
            gap_end_file        = "frame-gap.png"
            gap_end_border      = { 0, 0, 0, 0 }
            shadow              = IN
        }
        image {
            function            = SHADOW
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            shadow              = OUT
        }
        image {
            function            = SHADOW_GAP
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            gap_start_file      = "frame-gap.png"
            gap_start_border    = { 0, 0, 0, 0 }
            gap_end_file        = "frame-gap.png"
            gap_end_border      = { 0, 0, 0, 0 }
            shadow              = OUT
        }
        image {
            function            = SHADOW
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            shadow              = ETCHED_IN
        }
        image {
            function            = SHADOW_GAP
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            gap_start_file      = "frame-gap.png"
            gap_start_border    = { 0, 0, 0, 0 }
            gap_end_file        = "frame-gap.png"
            gap_end_border      = { 0, 0, 0, 0 }
            shadow              = ETCHED_IN
        }
        image {
            function            = SHADOW
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            shadow              = ETCHED_OUT
        }
        image {
            function            = SHADOW_GAP
            file                = "frame.png"
            border              = { 1, 1, 1, 1 }
            stretch             = TRUE
            gap_start_file      = "frame-gap.png"
            gap_start_border    = { 0, 0, 0, 0 }
            gap_end_file        = "frame-gap.png"
            gap_end_border      = { 0, 0, 0, 0 }
            shadow              = ETCHED_OUT
        }
    }
}

style "toolbar" {
    engine "pixmap" {
        image {
            function = SHADOW
        }
    }
}

style "inline_toolbar" {
    GtkToolbar::button-relief = GTK_RELIEF_NORMAL
    engine "pixmap" {
        image {
            function    = BOX
            file        = "null.png"
            stretch     = TRUE
        }
    }
}

style "tooltips" {
    xthickness = 7
    ythickness = 7
    GtkWidget::tooltip-radius       = 3
    GtkWidget::tooltip-alpha        = 204
    GtkWidget::new-tooltip-style    = 1
    bg[NORMAL]      = @bg_color
    fg[NORMAL]      = @fg_color
    bg[SELECTED]    = @light_color
}

style "inactivetext"
{

engine "mist"
 	{
	}
}

class "GtkWidget"               style "default"
class "GtkScrollbar"            style "scrollbar"
class "GtkButton"               style "button"
class "GtkEntry"                style "entry"
class "GtkOldEditable"          style "entry"
class "GtkSpinButton"           style "spinbutton"
class "GtkNotebook"             style "notebook"
class "GtkScale"                style "scale"
class "GtkProgressBar"          style "progressbar"
class "GtkSeparatorMenuItem"    style "separator_menu_item"
class "GtkScrolledWindow"       style "scrolled_window"
class "GtkFrame"                style "frame"
class "GtkToolbar"              style "toolbar"
widget "gtk-tooltip*" style "tooltips"
widget_class "*<GtkMenuBar>*"                                       style "menubar"
widget_class "*<GtkMenu>*"                                          style "menu"
widget_class "*<GtkMenu>*"                                          style "menu_frame"
widget_class "*<GtkMenuItem>*"                                      style "menu_item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*"                         style "menubar_item"
widget_class "*<GtkCheckButton>*"                                   style "checkbutton"
widget_class "*<GtkComboBox>*<GtkButton>"                           style "combobox"
widget_class "*<GtkOptionMenu>"                                     style "optionmenu"
widget_class "*<GtkButton>*<GtkArrow>"                              style "button_arrow"
widget_class "*<GtkButton>*<GtkSeparator>"                          style "button_separator"
widget_class "*HandleBox"                                           style "handlebox"
widget_class "*<GtkTreeView>*<GtkButton>*"                          style "treeview_header"
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>"                style "inline_toolbar"
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>"    style "button"
widget_class "*<GtkCombo>*<GtkEntry>"                               style "combo_entry"
widget_class "*<GtkCombo>*<GtkButton>"                              style "combo_button"
widget_class "*<GtkComboBoxEntry>*<GtkEntry>"                       style "combo_entry"
widget_class "*<GtkComboBoxEntry>*<GtkButton>"                      style "combo_button"
widget_class "*<GtkInfoBar>*<GtkButton>"                            style "button"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>"     style "notebook_viewport"
widget_class "*<GtkNotebook>*<GtkLabel>"                            style "notebook_tab_label"
widget_class "*<GtkNotebook>*<GtkEntry>"                            style "notebook_entry"
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>"              style "entry"
widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>"         style "combo_entry"
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*"     style "combo_entry"
widget_class "*.<GtkLabel>"                                         style "inactivetext"
widget_class "*.<GtkCellLayout>"                                    style "inactivetext"
widget_class "*.<GtkMenuItem>.*"                                    style "inactivetext"
