# Ghrome
# 
# Depends on GTK+ 2.x and pixmap engine
#
# Copyright (c) April 25, 2004 Marcus Petzoldt <m.petzoldt@gmx.de>
#
# The Ghrome theme is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# The Ghrome theme is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with the Ghrome theme; see the file LICENSE.  If
# not, write to the Free Software Foundation, Inc., 59 Temple Place -
# Suite 330, Boston, MA 02111-1307, USA.

include "iconrc"
style "Ghrome-default"
{
  GtkWidget::interior_focus         = 0
  GtkWidget::focus_padding          = 0
  GtkButton::default_border         = { 2, 0, 2, 0 }
  GtkButton::default_outside_border = { 2, 0, 2, 0 }
  GtkRange::trough_border           = 0
  GtkRange::slider_width            = 12
  GtkRange::stepper_size            = 12
  GtkPaned::handle_size             = 6
  GtkScrollbar::has_secondary_backward_stepper = 1
  GtkScrollbar::min_slider_length   = 30
  GtkCheckButton::indicator_size    = 12
  GtkMenuBar::internal_padding      = 2
  GtkOptionMenu::indicator_size     = { 12, 8 }
  GtkOptionMenu::indicator_spacing  = { 0, 4, 0, 0 }

  xthickness            = 2
  ythickness            = 2
    
  fg[NORMAL]            = "#000000"
  fg[PRELIGHT]          = "#000000"
  fg[ACTIVE]            = "#000000"
  fg[SELECTED]          = "#f3f4f5"
  fg[INSENSITIVE]       = "#a7aeaf"
  
  bg[NORMAL]            = "#dbe0e1"
  bg[PRELIGHT]          = "#dbe0e1"
  bg[ACTIVE]            = "#f5f6f6"
  bg[SELECTED]          = "#6079af"
  bg[INSENSITIVE]       = "#dbe0e1"

  base[NORMAL]          = "#f3f4f5"
  base[PRELIGHT]        = "#dbe0e1"
  base[ACTIVE]          = "#757f90"
  base[SELECTED]        = "#6079af"
  base[INSENSITIVE]     = "#dbe0e1"

  text[NORMAL]          = "#000000"
  text[PRELIGHT]        = "#000000"
  text[ACTIVE]          = "#f3f4f5"
  text[SELECTED]        = "#f3f4f5"
  text[INSENSITIVE]     = "#a7aeaf"


  engine "pixmap"
  {

    # Flat by default

    image
    {
      function          = BOX
      detail            = "toolbar"
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      shadow            = IN
      file              = "shadow-in.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      shadow            = OUT
      file              = "shadow-out.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }

    # handle
    
    image
    {
      function          = HANDLE
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-h.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
    image
    {
      function          = HANDLE
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-v.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }

    # shadow

    image
    {
      function          = SHADOW
      shadow            = IN
      file              = "shadow-in.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
    image
    {
      function         = SHADOW
      shadow           = OUT
      file             = "shadow-out.png"
      border           = { 5, 5, 5, 5 }
      stretch          = TRUE
    }
    image
    {
      function         = SHADOW
      shadow           = ETCHED_IN
      file             = "gap.png"
      border           = { 5, 5, 5, 5 }
      stretch          = TRUE
    }
    image
    {
      function         = SHADOW
      shadow           = ETCHED_OUT
      file             = "gap.png"
      border           = { 5, 5, 5, 5 }
      stretch          = TRUE
    }
    image
    {
      function         = SHADOW
      file             = "shadow-out.png"
      border           = { 5, 5, 5, 5 }
      stretch          = TRUE
    }
    image
    {
       function         = SHADOW_GAP
       file             = "gap.png"
       border           = { 5, 5, 5, 5 }
       stretch          = TRUE
       gap_start_file   = "gap-start.png"
       gap_start_border = { 5, 0, 5, 0 }
       gap_end_file     = "gap-end.png"
       gap_end_border   = { 0, 5, 5, 0 }
       gap_side         = TOP
    }
    image
    {
       function         = VLINE
       file             = "vline.png"
       border           = { 0, 0, 0, 0 }
       stretch          = TRUE
    }
    image
    {
      function         = HLINE
      file             = "hline.png"
      border           = { 0, 0, 0, 0 }
      stretch          = TRUE
    }

    # focus

    image
    {
      function          = FOCUS
      file              = "focus.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }

    # arrows

    image
    {
      function          = ARROW
      state             = INSENSITIVE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-up-i.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = UP
    }
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-up.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = UP
    }
    image
    {
      function          = ARROW
      state             = INSENSITIVE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-down-i.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = DOWN
    }
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-down.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = DOWN
    }
    image
    {
      function          = ARROW
      state             = INSENSITIVE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-left-i.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = LEFT
    }
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-left.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = LEFT
    }
    image
    {
      function          = ARROW
      state             = INSENSITIVE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-right-i.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-right.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
  }
}

style "Ghrome-button"    = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = FOCUS
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "buttondefault"
      file              = "default.png"
      border            = { 8, 0, 8, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      state             = PRELIGHT
      shadow            = IN
      file              = "button-in-pre.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      shadow            = IN
      file              = "button-in.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      state             = PRELIGHT
      file              = "button-out-pre.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      file              = "button-out.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-optionmenu"= "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      state             = PRELIGHT
      file              = "button-out-pre.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      file              = "button-out.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = TAB
      state             = INSENSITIVE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-down-i.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = TAB
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-down.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
  }
}

style "Ghrome-radiobutton"               = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = FOCUS
      file              = "focus.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }

    image
    {
      function          = OPTION
      state             = PRELIGHT
      shadow            = OUT
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "radio-n-pre.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = OPTION
      shadow            = OUT
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "radio-n.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = OPTION
      state             = PRELIGHT
      shadow            = IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "radio-s1-pre.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = OPTION
      shadow            = IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "radio-s1.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
  }
}

style "Ghrome-checkbutton"               = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = FOCUS
      file              = "focus.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }

    image
    {
      function          = CHECK
      shadow            = OUT
      state             = PRELIGHT
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-n-pre.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = CHECK
      shadow            = OUT
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-n.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = CHECK
      state             = PRELIGHT
      shadow            = IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-s1-pre.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = CHECK
      shadow            = IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-s1.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = CHECK
      state             = PRELIGHT
      shadow            = ETCHED_IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-3-pre.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
    image
    {
      function          = CHECK
      shadow            = ETCHED_IN
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "check-3.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
    }
  }
}

style "Ghrome-entry"     = "Ghrome-default"
{
  GtkWidget::interior_focus         = 1

  engine "pixmap"
  {
    image
    {
      function          = FOCUS
      file              = "shadow-in.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
    image
    {
      function          = FLAT_BOX
      state             = INSENSITIVE
      file              = "entry-insensitive.png"
      stretch           = FALSE
    }
  }
}

style "Ghrome-spinbutton"= "Ghrome-entry"
{
  engine "pixmap"
  {
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_up"
      state             = INSENSITIVE
      file              = "spin-up-inactive.png"
      border            = { 6, 5, 2, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_up"
      state             = PRELIGHT
      file              = "spin-up-pre.png"
      border            = { 6, 5, 2, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_up"
      file              = "spin-up.png"
      border            = { 6, 5, 2, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_down"
      state             = INSENSITIVE
      file              = "spin-down-inactive.png"
      border            = { 6, 5, 2, 5 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_down"
      state             = PRELIGHT
      file              = "spin-down-pre.png"
      border            = { 6, 5, 2, 5 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "spinbutton_down"
      file              = "spin-down.png"
      border            = { 6, 5, 2, 5 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-scrollbar"
{
  engine "pixmap" 
  {
    image 
    {
      function          = BOX
      detail            = "trough"
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image 
    {
      function          = SLIDER
      state             = PRELIGHT
      file              = "slider-h-pre.png"
      border            = { 8, 8, 3, 3 }
      stretch           = TRUE
      orientation       = HORIZONTAL
    }
    image 
    {
      function          = SLIDER
      file              = "slider-h.png"
      border            = { 8, 8, 3, 3 }
      stretch           = TRUE
      orientation       = HORIZONTAL
    }
    image 
    {
      function          = SLIDER
      state             = PRELIGHT
      file              = "slider-v-pre.png"
      border            = { 3, 3, 8, 8 }
      stretch           = TRUE
      orientation       = VERTICAL
    }
    image 
    {
      function          = SLIDER
      file              = "slider-v.png"
      border            = { 3, 3, 8, 8 }
      stretch           = TRUE
      orientation       = VERTICAL
    }
    image 
    {
      function          = STEPPER
      state             = PRELIGHT
      file              = "stepper-up-pre.png"
      border            = { 5, 5, 5, 1 }
      stretch           = TRUE
      arrow_direction   = UP
    }
    image 
    {
      function          = STEPPER
      file              = "stepper-up.png"
      border            = { 5, 5, 5, 1 }
      stretch           = TRUE
      arrow_direction   = UP
    }
    image 
    {
      function          = STEPPER
      state             = PRELIGHT
      file              = "stepper-down-pre.png"
      border            = { 5, 5, 1, 5 }
      stretch           = TRUE
      arrow_direction   = DOWN
    }
    image 
    {
      function          = STEPPER
      file              = "stepper-down.png"
      border            = { 5, 5, 1, 5 }
      stretch           = TRUE
      arrow_direction   = DOWN
    }
    image 
    {
      function          = STEPPER
      state             = PRELIGHT
      file              = "stepper-right-pre.png"
      border            = { 1, 5, 5, 5 }
      stretch           = TRUE
      arrow_direction   = RIGHT
    }
    image 
    {
      function          = STEPPER
      file              = "stepper-right.png"
      border            = { 1, 5, 5, 5 }
      stretch           = TRUE
      arrow_direction   = RIGHT
    }
    image 
    {
      function          = STEPPER
      state             = PRELIGHT
      file              = "stepper-left-pre.png"
      border            = { 5, 1, 5, 5 }
      stretch           = TRUE
      arrow_direction   = LEFT
    }
    image 
    {
      function          = STEPPER
      file              = "stepper-left.png"
      border            = { 5, 1, 5, 5 }
      stretch           = TRUE
      arrow_direction   = LEFT
    }
  }
}

style "Ghrome-progressbar"               = "Ghrome-default"
{
  engine "pixmap" 
  {
    image
    {
      function          = BOX
      detail            = "trough"
      file              = "progress-trough-h.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
      orientation       = HORIZONTAL
    }
    image
    {
      function          = BOX
      detail            = "trough"
      file              = "progress-trough-v.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
      orientation       = VERTICAL
    }
    image
    {
      function          = BOX
      detail            = "bar"
      file              = "progress-h.png"
      border            = { 4, 4, 4, 4 }
      stretch           = TRUE
      orientation       = HORIZONTAL
    } 
    image
    {
      function          = BOX
      detail            = "bar"
      file              = "progress-v.png"
      border            = { 4, 4, 4, 4 }
      stretch           = TRUE
      orientation       = VERTICAL
    } 
  }
}

style "Ghrome-range"     = "Ghrome-default"
{
  engine "pixmap" 
  {
    image 
    {
      function          = BOX
      detail            = "trough"
      file              = "trough-h.png"
      border            = { 5, 5, 0, 0 }
      stretch           = TRUE
      orientation       = HORIZONTAL
    }
    image 
    {
      function          = BOX
      detail            = "trough"
      file              = "trough-v.png"
      border            = { 0, 0, 5, 5 }
      stretch           = TRUE
      orientation       = VERTICAL
    }
    image 
    {
      function          = SLIDER
      state             = PRELIGHT
      file              = "slider-h-pre.png"
      border            = { 8, 8, 3, 3 }
      stretch           = TRUE
      overlay_file      = "thumb-grip-h.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }
    image 
    {
      function          = SLIDER
      file              = "slider-h.png"
      border            = { 8, 8, 3, 3 }
      stretch           = TRUE
      overlay_file      = "thumb-grip-h.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }
    image 
    {
      function          = SLIDER
      state             = PRELIGHT
      file              = "slider-v-pre.png"
      border            = { 3, 3, 8, 8 }
      stretch           = TRUE
      overlay_file      = "thumb-grip-v.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
    image 
    {
      function          = SLIDER
      file              = "slider-v.png"
      border            = { 3, 3, 8, 8 }
      stretch           = TRUE
      overlay_file      = "thumb-grip-v.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
  }
}

style "Ghrome-menu"      = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      detail            = "menu"
      file              = "shadow-menu.png"
      border            = { 1, 1, 1, 1 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-menubar"   = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      file              = "menubar.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-menuitem"  = "Ghrome-default"
{
  xthickness            = 4

  engine "pixmap"
  {
    image
    {
      function          = BOX
      file              = "button-out.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
    image
    {
      function          = ARROW
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "arrow-menu-right.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
  }
}

style "Ghrome-tearoffmenuitem"           = "Ghrome-menuitem"
{
  engine "pixmap"
  {
    image
    {
      function          = ARROW
      file              = "arrow-menu-left.png"
      border            = { 5, 1, 4, 4 }
      stretch           = TRUE
      arrow_direction   = LEFT
    }
    image
    {
      function          = HLINE
      file              = "cuthere.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-notebook"  = "Ghrome-default"
{
  engine "pixmap" 
  {
    image 
    {
      function          = EXTENSION
      state             = ACTIVE
      file              = "ext-in-top.png"
      border            = { 5, 6, 5, 1 }
      stretch           = TRUE
      gap_side          = BOTTOM
    }
    image 
    {
      function          = EXTENSION
      file              = "ext-out-top1.png"
      border            = { 10, 11, 8, 8 }
      stretch           = TRUE
      gap_side          = BOTTOM
    }
    image 
    {
      function          = EXTENSION
      state             = ACTIVE
      file              = "ext-in-bottom.png"
      border            = { 5, 6, 0, 5 }
      stretch           = TRUE
      gap_side          = TOP
    }
    image 
    {
      function          = EXTENSION
      file              = "ext-out-bottom1.png"
      border            = { 10, 11, 8, 9 }
      stretch           = TRUE
      gap_side          = TOP
    }
    image 
    {
      function          = EXTENSION
      state             = ACTIVE
      file              = "ext-in-left.png"
      border            = { 5, 1, 5, 5 }
      stretch           = TRUE
      gap_side          = RIGHT
    }
    image 
    {
      function          = EXTENSION
      file              = "ext-out-left1.png"
      border            = { 10, 8, 10, 10 }
      stretch           = TRUE
      gap_side          = RIGHT
    }
    image 
    {
      function          = EXTENSION
      state             = ACTIVE
      file              = "ext-in-right.png"
      border            = { 0, 6, 5, 5 }
      stretch           = TRUE
      gap_side          = LEFT
    }
    image 
    {
      function          = EXTENSION
      file              = "ext-out-right1.png"
      border            = { 8, 11, 10, 10 }
      stretch           = TRUE
      gap_side          = LEFT
    }
    image 
    {
      function          = BOX_GAP
      file              = "shadow-notebook-top.png"
      border            = { 5, 5, 0, 5 }
      stretch           = TRUE
      gap_file          = "trans.png"
      gap_border        = { 0, 0, 0, 0 }
      gap_start_file    = "light-start.png"
      gap_start_border  = { 1, 0, 0, 0 }
      gap_end_file      = "light-end.png"
      gap_end_border    = { 0, 1, 0, 0 }
	    gap_side          = TOP
    }
    image
    {
      function          = BOX_GAP
      file              = "shadow-notebook-bottom.png"
      border            = { 5, 5, 5, 0 }
      stretch           = TRUE
      gap_file          = "trans.png"
      gap_border        = { 0, 0, 0, 0 }
      gap_start_file    = "dark.png"
      gap_start_border  = { 0, 0, 0, 0 }
      gap_end_file      = "dark.png"
      gap_end_border    = { 0, 0, 0, 0 }
	    gap_side          = BOTTOM
    }
    image 
    {
      function          = BOX_GAP
      file              = "shadow-notebook-left.png"
      border            = { 0, 5, 5, 5 }
      stretch           = TRUE
      gap_file          = "trans.png"
      gap_border        = { 0, 0, 0, 0 }
      gap_start_file    = "light.png"
      gap_start_border  = { 0, 0, 0, 0 }
      gap_end_file      = "light.png"
      gap_end_border    = { 0, 0, 0, 0 }
      gap_side          = LEFT
    }
    image 
    {
      function          = BOX_GAP
      file              = "shadow-notebook-right.png"
      border            = { 5, 0, 5, 5 }
      stretch           = TRUE
      gap_file          = "trans.png"
      gap_border        = { 0, 0, 0, 0 }
      gap_start_file    = "dark.png"
      gap_start_border  = { 0, 0, 0, 0 }
      gap_end_file      = "dark.png"
      gap_end_border    = { 0, 0, 0, 0 }
      gap_side          = RIGHT
    }
  }
}

style "Ghrome-treeview"  = "Ghrome-default"
{
  engine "pixmap"
  {
    # don't draw the focus around listitems
    image
    {
      function          = FOCUS
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-textview"  = "Ghrome-default"
{
  bg[NORMAL]            = "#f3f4f5"

  engine "pixmap"
  {
    # don't draw focus around textview
    image
    {
      function          = FOCUS
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-tooltips"  = "Ghrome-default"
{
  bg[NORMAL]            = "#ffffee"
}

style "Ghrome-ruler"     = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      file              = "light.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-handlebox" = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = SHADOW
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = FOCUS
#     file              = "none.png"
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = HANDLE
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-v.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
    image
    {
      function          = HANDLE
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-h.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }
  }
}

style "Ghrome-flat" = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = SHADOW
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
    image
    {
      function          = FOCUS
#     file              = "none.png"
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-ecanvas"    = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = SHADOW
#      detail            = "entry"
      shadow            = IN
      file              = "shadow-entry.png"
      border            = { 4, 4, 4, 4 }
      stretch           = TRUE
    }
    image
    {
      function          = SHADOW
      file              = "evolution-highlight.png"
      border            = { 1, 1, 1, 1 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      detail            = "button"
      state             = NORMAL
      file              = "button-out.png"
      border            = { 5, 5, 5, 6 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-eshellfoldertitlebar" = "Ghrome-default"
{
  bg[ACTIVE] = "#dbe0e1"
}

# This prevents Sodipodi from crashing while opening the
# Object-Style dialog.

style "Ghrome-unstyle"
{
  engine ""
  {
  }
}

# recognizable pressed toggle buttons
# SPIcons seem to erase the background first. That's why I can't use
# the Ghrome-button style.

style "Ghrome-SPbutton"
{
  engine "pixmap"
  {
    image
    {
      function          = BOX
      shadow            = IN
      file              = "shadow-out.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
    image
    {
      function          = BOX
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }
  }
}

# Prevent Evolution 1.4.4 from crashing when opening the calendar.

style "Ghrome-ECalendar" = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = SHADOW
      file              = "shadow-out.png"
      border            = { 5, 5, 5, 5 }
      stretch           = TRUE
    }
  }
}

style "Ghrome-panel" = "Ghrome-default"
{
  engine "pixmap"
  {
    image
    {
      function          = HANDLE
      file              = "none.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-v.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
    image
    {
      function          = HANDLE
      file              = "transparent.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
      overlay_file      = "handle-h.png"
      overlay_border    = { 0, 0, 0, 0 }
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }
  }
}

class "GtkObject"          style "Ghrome-stock-icons"
class "GtkWidget"          style "Ghrome-default"
#class "GtkFrame"           style "Ghrome-frame"
class "GtkButton"          style "Ghrome-button"
class "GtkRadioButton"     style "Ghrome-radiobutton"
class "GtkCheckButton"     style "Ghrome-checkbutton"
class "GtkOptionMenu"      style "Ghrome-optionmenu"
class "GtkEntry"           style "Ghrome-entry"
class "GtkOldEditable"     style "Ghrome-entry"
class "GtkSpinButton"      style "Ghrome-spinbutton"
class "GtkRuler"           style "Ghrome-ruler"
class "GtkScrollbar"       style "Ghrome-scrollbar"
class "GtkProgressBar"     style "Ghrome-progressbar"
class "GtkRange"           style "Ghrome-range"
class "GtkMenu"            style "Ghrome-menu"
class "GtkMenuBar"         style "Ghrome-menubar"
class "GtkItem"            style "Ghrome-menuitem"
class "GtkTearoffMenuItem" style "Ghrome-tearoffmenuitem"
class "GtkNotebook"        style "Ghrome-notebook"
class "GtkTextView"        style "Ghrome-textview"
class "GtkTreeView"        style "Ghrome-treeview"
class "GtkHandleBox"       style "Ghrome-handlebox"
class "GtkEventBox"        style "Ghrome-flat"
#class "GtkToolbar"         style "Ghrome-flat"
class "GtkPaned"           style "Ghrome-handlebox"
#class "GtkScrolledWindow" style "Ghrome-scrolled_window"
class "SPButton"           style "Ghrome-SPbutton"
widget "gtk-tooltips"      style "Ghrome-tooltips"
# prevent Sodipodi from crashing
class "SPColorSlider"      style "Ghrome-unstyle"
# prevent Evolution 1.4.4 from crashing
class "ECalendar"          style "Ghrome-ECalendar"
class "ECanvas"            style "Ghrome-ecanvas"
class "EShellFolderTitleBar" style "Ghrome-eshellfoldertitlebar"
# Handleorientations on Gnome Panel are switched
class "PanelToplevel"      style "Ghrome-panel"
