# This theme was written by hand, but if you want to make
# changes, then feel free.  This theme is protected under
# the GNU GPL version 2.0 license.  Please respect the
# terms under that license

# Default is the catch-all

pixmap_path "/usr/share/themes/metallic_plum/gtk"

style "default"
{
  font = "-*-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"

  fg[NORMAL]      = { 0.00, 0.00, 0.00 }
  bg[NORMAL]      = { 0.65, 0.59, 0.56 }

  fg[PRELIGHT]    = { 0.84, 0.81, 0.78 }
  bg[PRELIGHT]    = { 0.15, 0.28, 0.28 }

  fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
  bg[ACTIVE]      = { 0.65, 0.59, 0.56 }

  fg[SELECTED]    = { 0.84, 0.81, 0.78 }
  bg[SELECTED]    = { 0.15, 0.28, 0.28 }

  fg[INSENSITIVE] = { 0.30, 0.37, 0.72 }
  bg[INSENSITIVE] = { 0.65, 0.59, 0.56 }

  base[NORMAL]    = "#a89890"

  engine "pixmap"
  {
    # Trough
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "trough"
      file        = "button_ina_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Horizontal line
    image
    {
      function    = HLINE
      recolorable = TRUE
      file        = "hline.png"
      border      = { 0, 0, 1, 1 }
      stretch     = TRUE
    }

    # Vertical line
    image
    {
      function    = VLINE
      recolorable = TRUE
      file        = "vline.png"
      border      = { 1, 1, 0, 0 }
      stretch     = TRUE
    }

    # Sliders: Horizontal Prelight
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "slider"
      state       = PRELIGHT
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      orientation = HORIZONTAL
    }

    # Sliders: Horizontal Normal
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "slider"
      state       = NORMAL
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      orientation = HORIZONTAL
    }

    # Sliders: Vertical Prelight
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "slider"
      state       = PRELIGHT
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      orientation = VERTICAL
    }

    # Sliders: Vertical Normal
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "slider"
      state       = NORMAL
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      orientation = VERTICAL
    }

    # Handlebox
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "handlebox_bin"
      file        = "button_ina_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Paned widget
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "paned"
      file        = "button_def.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Text: selected insensitive
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      state       = INSENSITIVE
      detail      = "selected"
      file        = "button_sel_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Text: selected normal
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      detail      = "selected"
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Text: insensitive BG
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      state       = INSENSITIVE
      detail      = "text"
      file        = "button_sel_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Text normal BG
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      detail      = "text"
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      detail      = "viewportbin"
      file        = "noteback.png"
      stretch     = TRUE
    }

    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      state       = INSENSITIVE
      detail      = "entry_bg"
      file        = "button_ina_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      detail      = "entry_bg"
      file        = "button_ina_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }

    # Horizontal Slider
    image
    {
      function    = SLIDER
      recolorable = TRUE
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      orientation = HORIZONTAL
    }

    # Vertical Slider
    image
    {
      function    = SLIDER
      recolorable = TRUE
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      orientation = VERTICAL
    }

    # Arrows
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_un.png"
      stretch         = TRUE
      arrow_direction = UP
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_up.png"
      stretch         = TRUE
      arrow_direction = UP
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_ud.png"
      stretch         = TRUE
      arrow_direction = UP
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_dn.png"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_dp.png"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_dd.png"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_ln.png"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_lp.png"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_ld.png"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_rn.png"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_rp.png"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image
    {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_rd.png"
      stretch         = TRUE
      arrow_direction = RIGHT
    }

    # Check marks
    image
    {
      function        = CHECK
      recolorable     = TRUE
      shadow          = OUT
      overlay_file    = "check_u.png"
      overlay_stretch = FALSE
    }
    image
    {
      function        = CHECK
      recolorable     = TRUE
      shadow          = IN
      overlay_file    = "check_d.png"
      overlay_stretch = FALSE
    }

    # Option marks
    image
    {
      function        = OPTION
      recolorable     = TRUE
      shadow          = OUT
      overlay_file    = "option_u.png"
      overlay_stretch = FALSE
    }
    image
    {
      function        = OPTION
      recolorable     = TRUE
      shadow          = IN
      overlay_file    = "option_d.png"
      overlay_stretch = FALSE
    }

    # Option menu tab
    image
    {
      function        = TAB
      recolorable     = TRUE
      overlay_file    = "option_menu.png"
      overlay_stretch  = FALSE
    }

    # Handlebox
    image
    {
      function        = HANDLE
      recolorable     = TRUE
      file            = "button_def.png"
      border          = { 1, 1, 1, 1 }
      stretch         = TRUE
      overlay_file    = "handle_vert_thumb.png"
      overlay_stretch = FALSE
      orientation     = VERTICAL
    }

    # Focus
    image
    {
      function        = FOCUS
      recolorable     = TRUE
      overlay_file    = "focus.png"
      overlay_border  = { 1, 1, 1, 1 }
      overlay_stretch = TRUE
    }

    # Shadows
    image
    {
      function    = SHADOW
      recolorable = TRUE
      shadow      = IN
      file        = "shadow_in.png"
      border      = { 2, 2, 2, 2 }
      stretch     = TRUE
    }
    image
    {
      function    = SHADOW
      recolorable = TRUE
      shadow      = OUT
      file        = "shadow_out.png"
      border      = { 2, 2, 2, 2 }
      stretch     = TRUE
    }
    image
    {
      function    = SHADOW
      recolorable = TRUE
      shadow      = ETCHED_IN
      file        = "etched_in.png"
      border      = { 2, 2, 2, 2 }
      stretch     = TRUE
    }
    image
    {
      function    = SHADOW
      recolorable = TRUE
      shadow      = ETCHED_OUT
      file        = "etched_out.png"
      border      = { 2, 2, 2, 2 }
      stretch     = TRUE
    }

    # Shadow gap
    image
    {
      function    = SHADOW_GAP
      recolorable = TRUE
      file        = "etched_out.png"
      border      = { 2, 2, 2, 2 }
      stretch     = TRUE
      gap_start_file   = "hline.png"
      gap_start_border = { 0, 0, 1, 1 }
      gap_end_file     = "hline.png"
      gap_end_border   = { 0, 0, 1, 1 }
      gap_side         = TOP
    }

    # box defaults
    image
    {
      function    = BOX
      recolorable = TRUE
      shadow      = IN
      file        = "button_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkWidget" style "default"

# The GtkCList is what you see in the file selection dialog

style "clist"
{
  font = "-*-courier-medium-r-normal--*-100-*-*-*-*-*-*"
  bg[PRELIGHT] = "#284848"
  fg[PRELIGHT] = "#d8d0c8"
  base[NORMAL] = "#a89890"
}

class "GtkCList" style "clist"

style "eventbox"
{
  bg_pixmap[NORMAL]      = "<parent>"
  bg_pixmap[INSENSITIVE] = "<parent>"
  bg_pixmap[PRELIGHT]    = "<parent>"
  bg_pixmap[SELECTED]    = "<parent>"
  bg_pixmap[ACTIVE]      = "<parent>"
}

class "GtkEventBox" style "eventbox"

# Toggle buttons (no prelights and such)

style "togglebutton"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      shadow      = IN
      file        = "button_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      shadow      = OUT
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkToggleButton" style "togglebutton"

# Check/Radio Button (when you hover...)

style "checkradiobutton"
{
  engine "pixmap"
  {
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"

# Normal Button

style "button"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = NORMAL
      detail      = "buttondefault"
      shadow      = IN
      file        = "button_def.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = NORMAL
      shadow      = OUT
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = NORMAL
      shadow      = IN
      file        = "button_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = PRELIGHT
      shadow      = OUT
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = SELECTED
      shadow      = IN
      file        = "button_sel_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = INSENSITIVE
      shadow      = IN
      file        = "button_ina_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = INSENSITIVE
      shadow      = OUT
      file        = "button_ina_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = ACTIVE
      shadow      = IN
      file        = "button_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkButton" style "button"

# Menu background

style "menu"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "menu.png"
      stretch     = TRUE
    }
  }
}

class "GtkMenu" style "menu"

# Menu item selection

style "menuitem"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkMenuItem" style "menuitem"

# Menu bar

style "menubar"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "menubar.png"
      stretch     = TRUE
    }
  }
}

class "GtkMenuBar" style "menubar"

# Progress Bar

style "progressbar"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "bar"
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkProgressBar" style "progressbar"

# Option menu

style "optionmenu"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      state       = PRELIGHT
      file        = "button_sel_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkOptionMenu" style "optionmenu"

# Window background

style "window"
{
  engine "pixmap"
  {
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      file        = "background.png"
      stretch     = TRUE
    }
  }
}

class "GtkWindow" style "window"

# item stuff

style "item"
{
  engine "pixmap"
  {
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      state       = INSENSITIVE
      file        = "button_ina_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = FLAT_BOX
      recolorable = TRUE
      file        = "button_sel_in.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkTreeItem" style "item"
class "GtkListItem" style "item"

# Ruler definition

style "ruler"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "vruler"
      file        = "button_ina_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "hruler"
      file        = "button_ina_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
  }
}

class "GtkRuler" style "ruler"

# Curve background

style "curve"
{
  engine "pixmap"
  {
    image
    {
      function    = BOX
      recolorable = TRUE
      detail      = "curve_bg"
      file        = "curve.png"
      stretch     = TRUE
    }
  }
}

class "GtkCurve" style "curve"

# Notebook info

style "notebook"
{
  engine "pixmap"
  {
    image
    {
      function    = EXTENSION
      recolorable = TRUE
      state       = ACTIVE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
    }
    image
    {
      function    = EXTENSION
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      gap_side    = BOTTOM
    }
    image
    {
      function    = EXTENSION
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      gap_side    = TOP
    }
    image
    {
      function    = EXTENSION
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      gap_side    = RIGHT
    }
    image
    {
      function    = EXTENSION
      recolorable = TRUE
      file        = "button_out.png"
      border      = { 1, 1, 1, 1 }
      stretch     = TRUE
      gap_side    = LEFT
    }

    image
    {
      function    = BOX_GAP
      recolorable = TRUE
      file        = "noteback.png"
      stretch     = TRUE
      gap_file       = "hline.png"
      gap_start_file = "hline.png"
      gap_end_file   = "hline.png"
      gap_side       = TOP
    }
    image
    {
      function    = BOX_GAP
      recolorable = TRUE
      file        = "noteback.png"
      stretch     = TRUE
      gap_file       = "hline.png"
      gap_start_file = "hline.png"
      gap_end_file   = "hline.png"
      gap_side       = BOTTOM
    }
    image
    {
      function    = BOX_GAP
      recolorable = TRUE
      file        = "noteback.png"
      stretch     = TRUE
      gap_file       = "vline.png"
      gap_start_file = "vline.png"
      gap_end_file   = "vline.png"
      gap_side       = RIGHT
    }
    image
    {
      function    = BOX_GAP
      recolorable = TRUE
      file        = "noteback.png"
      stretch     = TRUE
      gap_file       = "vline.png"
      gap_start_file = "vline.png"
      gap_end_file   = "vline.png"
      gap_side       = LEFT
    }

    image
    {
      function    = BOX
      recolorable = TRUE
      file        = "noteback.png"
      stretch     = TRUE
      gap_side    = TOP
    }
  }
}

class "GtkNotebook" style "notebook"

