# Theme Name  : ArchLinux-small
# Author(s)   : Tobias Kieslich <tobias@archlinux.org>
# Description : An Xfce4 theme for ArchLinux - small edition
#

style "default"
{
    GtkButton::default_border                    = {1, 1, 1, 1}
    GtkButton::default_outside_border            = {1, 1, 1, 1}
    GtkButton::default_spacing                   = 3
    GtkButton::focus-line-width                  = 1
    GtkButton::focus-padding                     = 0
    GtkCheckButton::indicator_size               = 15
    GtkRadioButton::indicator_size               = 15
    GtkMenuBar::shadow_type                      = none
    GtkMenuItem::selected_shadow_type            = out
    GtkPaned::handle_full_size                   = 1
    GtkRange::slider_width                       = 12
    GtkRange::stepper_size                       = 12
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 1
    GtkScrollbar::min_slider_length              = 20
    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::has_secondary_backward_stepper = 1
    GtkScrollbar::min_slider_length              = 20
    GtkWidget::interior_focus                    = 1
    GtkWidget::internal-padding                  = 2

    xthickness = 1
    ythickness = 1

    fg[NORMAL]       = "#000000"
    fg[ACTIVE]       = "#000000"
    fg[SELECTED]     = "#edf4ff"
    fg[PRELIGHT]     = "#000000"
    fg[INSENSITIVE]  = "#3d434d"

    bg[NORMAL]       = "#c9cfd1"
    bg[ACTIVE]       = "#a9aeb0"
    bg[SELECTED]     = "#759fbf"
    bg[PRELIGHT]     = "#759fbf"
    bg[INSENSITIVE]  = "#aab2be"

    base[NORMAL]     = "#f9fbfc"
    base[ACTIVE]     = "#9bb0bf"
    base[SELECTED]   = "#759fbf"
    base[PRELIGHT]   = "#9bb0bf"
    base[INSENSITIVE]= "#e6eaec"

    text[NORMAL]     = "#000000"
    text[ACTIVE]     = "#000000"
    text[SELECTED]   = "#ffffff"
    text[PRELIGHT]   = "#596a7c"
    text[INSENSITIVE]= "#747474"

    engine "xfce" 
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = plain
        }
    }
}
widget_class "*"                   style "default"

# override the menues so that they have grips
style "menustyle" = "default"
{
    xthickness = 1
    ythickness = 1
    engine "xfce" 
    {
        smooth_edge = true
    }
}
widget_class "*BonoboDockItem"     style "menustyle"
class "*BonoboDockItem"            style "menustyle"
widget_class "*HandleBox"          style "menustyle"
class "*HandleBox"                 style "menustyle"
widget_class "*ToolBar"            style "menustyle"
class "*ToolBar"                   style "menustyle"
widget_class "*MenuBar"            style "menustyle"
class "*MenuBar"                   style "menustyle"

# override the buttons
style "buttonstyle" = "default"
{
    xthickness = 1
    ythickness = 1
    engine "xfce" 
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.1
            shade_end = 0.9
        }
    }
}
widget_class "*Button*"            style "buttonstyle"
class "*Button*"                   style "buttonstyle"

# override scrollbars
# no plain style here
style "sbstyle" = "default"
{
    xthickness = 1
    ythickness = 1
    engine "xfce" 
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = auto
            shade_start = 1.1
            shade_end = 0.9
        }
    }
}
widget_class "*Scrollbar*"         style "sbstyle"
class "*Scrollbar*"                style "sbstyle"
widget_class "*Scale*"             style "sbstyle"
class "*Scale*"                    style "sbstyle"

## Override the menues fills
# we like the shaded withj gradients
style "menu" = "default"
{
    xthickness = 1
    ythickness = 1
    engine "xfce" 
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.1
            shade_end = 0.9
        }
    }
}
class "GtkMenuItem*" style "menu"

## Last but not least the progressbars
style "progress" = "default"
{
    xthickness = 1
    ythickness = 1
    engine "xfce" 
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = auto
            shade_start = 1.1
            shade_end = 0.9
        }
    }
}
widget_class "*Progress*"          style "progress" 
class "*Progress*"                 style "progress" 



# This is for the window borders (xfwm4 & metacity)
# 
style "titlebar"
{
    bg[SELECTED]      = "#6fa3cc"
    fg[SELECTED]      = "#ecf2f5"
    bg[INSENSITIVE]   = "#718899"
    fg[INSENSITIVE]   = "#3d4b56"
}
widget "xfwm"                      style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"
