#cafe au lait
#
#dedicated to sara.
style "default"
{
  fg[NORMAL]      = "black" 
  fg[PRELIGHT]    = "white" 
  fg[ACTIVE]      = "darkgrey" 
  fg[SELECTED]    = "black" 
  fg[INSENSITIVE] = "black" 
  
  bg[NORMAL]      = "#e5e5dd" 
  bg[ACTIVE]      = "#e5e5dd"
  bg[INSENSITIVE] = "#e5e5dd" 
  bg[PRELIGHT]    = "#bfbcb3"
  bg[SELECTED]    = "#bfbcb3"
  
  
  base[NORMAL]    = "#ffffff"
  base[ACTIVE]    = "#e5e5dd"
  base[PRELIGHT]  = "#e5e5dd"
  base[SELECTED]  = "#bfbcb3"
  base[INSENSITIVE] = "#e5e5dd"
  
  text[NORMAL]    = "black"
  text[ACTIVE]    = "#bfbcb3"
  text[PRELIGHT]  =  "#bfbcb3"
  text[SELECTED]  = "white"
  text[INSENSITIVE] = "black"

  GtkRange::slider_width = 12
  GtkScrollbar::min_slider_length = 15
  GtkStatusbar::shadow_type = none

  engine "pixmap" 
  {
    image 
      {
        function        = FOCUS
	recolorable     = TRUE
	overlay_file    = "blank.png"
	overlay_border  = { 0,0,0,0 }
	overlay_stretch = TRUE
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "arrow_up1.png"
	stretch         = TRUE
	arrow_direction = UP
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "arrow_up1.png"
	stretch         = TRUE
	arrow_direction = UP
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "arrow_up1.png"
	stretch         = TRUE
	arrow_direction = UP
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "arrow_up2.png"
	stretch         = TRUE
	arrow_direction = UP
      }

    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "arrow_down1.png"
	stretch         = TRUE
	arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "arrow_down1.png"
	stretch         = TRUE
	arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "arrow_down1.png"
	stretch         = TRUE
	arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state		= INSENSITIVE
	file            = "arrow_down2.png"
	stretch         = TRUE
	arrow_direction = DOWN
      }

    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "arrow_left1.png"
	stretch         = TRUE
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "arrow_left1.png"
	stretch         = TRUE
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "arrow_left1.png"
	stretch         = TRUE
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "arrow_left2.png"
	stretch         = TRUE
	arrow_direction = LEFT
      }

    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "arrow_right1.png"
	stretch         = TRUE
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "arrow_right1.png"
	stretch         = TRUE
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "arrow_right1.png"
	stretch         = TRUE
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "arrow_right2.png"
	stretch         = TRUE
	arrow_direction = RIGHT
      }
    image 
      {
        function        = SHADOW
	recolorable     = TRUE
	shadow		= OUT
	file            = "up.png"
	border		= { 2,2,2,2 }
	stretch         = TRUE
      }


	image {
            function        = BOX
            recolorable     = TRUE
            detail          = "handlebox_bin"
            file            = "handlebox.png"
            border          = { 5, 5, 5, 5 }
            stretch         = TRUE
        }

	image {
            function        = HANDLE
            recolorable     = TRUE
            file            = "handle_bar.png"
            border          = { 10, 5, 5, 10 }
            stretch         = TRUE
            overlay_file    = "handle_vert_thumb.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }

	image {
            function        = BOX
            recolorable     = TRUE
            detail          = "paned"
            file            = "paned.png"
            border          = { 5, 5, 5, 5 }
            stretch         = TRUE
        }


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

                image {
            function        = HLINE
            recolorable     = TRUE
            file            = "horizontal_line.png"
            border          = { 0, 0, 1, 1 }
            stretch         = TRUE
        }
        image {
            function        = VLINE
            recolorable     = TRUE
            file            = "vertical_line.png"
            border          = { 1, 1, 0, 0 }
            stretch         = TRUE
        }


    image 
      {
        function        = SHADOW
	recolorable     = TRUE
	shadow		= IN
	file            = "in.png"
	border		= { 2,2,2,2 }
	stretch         = TRUE
      }
   }
}
# common default
widget_class "*" style "default"


style "checkradiobutton" {
  engine "pixmap" {
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	file            = "blank.png"
	border          = { 0,0,0,0 }
	stretch         = TRUE
      }
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "check1.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "check2.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "radio1.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "radio2.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
  }
}

class "*RadioButton*" style "checkradiobutton"
widget_class "*RadioButton*" style "checkradiobutton"
class "*CheckButton*" style "checkradiobutton"
widget_class "*CheckButton*" style "checkradiobutton"

style "button"
{

  engine "pixmap" 
    {

    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = IN
	file            = "default.png"
	border          = { 7,7,7,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= INSENSITIVE
	file            = "button3.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= PRELIGHT
	file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= ACTIVE
	file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	shadow 		= IN
	state		= SELECTED
	file            = "button1.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	shadow 		= OUT
	state		= SELECTED
	file            = "button1.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }

    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "button1.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
   }
}

class "GtkButton" style "button"
widget_class "GtkButton" style "button"


style "menubar" {
    ythickness=0
    GtkContainer::border_width=0
    bg[NORMAL]              = "#e5e5dd"
}

class "GtkMenuBar"      style "menubar"
widget_class "GtkMenuBar"      style "menubar"


style "notebook"
{
 ythickness=0
 GtkContainer::border_width=0
 bg[NORMAL]              = "#e5e5dd"
 
  engine "pixmap" 
    {
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	state		= ACTIVE
	file            = "button1.png"
	border          = {2, 2, 2, 2}
	stretch         = TRUE
      }

    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "button2.png"
	border          = {2, 2, 2, 2}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "up.png"
	border          = {2, 2, 2, 2}
	stretch         = TRUE
	gap_file        = "blank.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "blank.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "blank.png"
	gap_end_border  = { 0, 0, 0, 0 }
      }
  }
}

class "*Notebook" style "notebook"
widget_class "*Notebook" style "notebook"

style "menuitem"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= NORMAL
        file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
  }
}

class "GtkMenuItem" style "menuitem"
widget_class "GtkMenuItem" style "menuitem"

style "optionmenu"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "obutton2.png"
	border          = { 6,20,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "obutton1.png"
	border          = { 6,20,6,6 }
	stretch         = TRUE
      }
    image 
      {
	state		= INSENSITIVE
        function        = TAB
	recolorable     = TRUE
	overlay_file    = "option2.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = TAB
	recolorable     = TRUE
	overlay_file    = "option1.png"
	overlay_stretch = FALSE
      }
  }
}

class "GtkOptionMenu" style "optionmenu"
widget_class "GtkOptionMenu" style "optionmenu"

style "scrollbar"
{
  GtkRange::slider-width = 12
  GtkRange::stepper-size = 15
  engine "pixmap" 
   {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail		= "trough"
	file            = "trough.png"
	border          = { 7,7,7,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = SLIDER
	recolorable     = TRUE
	state		= INSENSITIVE
	file            = "button4.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = SLIDER
	recolorable     = TRUE
	file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }

    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= INSENSITIVE
	file            = "button3.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= PRELIGHT
	file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	shadow          = IN
	file            = "button2.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "button1.png"
	border          = { 6,6,6,6 }
	stretch         = TRUE
      }
    }
}

class "*Scrollbar" style "scrollbar"
widget_class "*Scrollbar" style "scrollbar"
class "*Range" style "scrollbar"
widget_class "*Range" style "scrollbar"



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

class "GtkProgressBar" style "progressbar"


style "Window" 
{
  engine "pixmap" {
    image 
      {
        function        = FLAT_BOX
        recolorable     = TRUE
        file            = "window_background.png"
        stretch         = FALSE
      }
  }
}

class "GtkWindow" style "Window"



style "spin"
{
  engine "pixmap" 
   {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= PRELIGHT
	file            = "spin2.png"
	border          = { 4,5,4,5 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	shadow          = IN
	file            = "spin2.png"
	border          = { 4,5,4,5 }
	stretch         = TRUE
      }

    image 
      {
        function        = BOX
	recolorable     = TRUE
	state		= INSENSITIVE
	file            = "spin3.png"
	border          = { 4,5,4,5 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "spin1.png"
	border          = { 4,5,4,5 }
	stretch         = TRUE
      }
    }
}

class "GtkSpin*" style "spin"

style "metacity-frame"
{

        # Normal base color
        #bg[NORMAL]     = "#bbbbbb"

        # Unfocused title background color
        #bg[INSENSITIVE]        = { 0.8, 0.8, 0.8 }

        # Unfocused title text color
        #fg[INSENSITIVE]        = { 1.55, 1.55, 1.55 }

        # Focused icon color
        #fg[NORMAL]     = { 0.2, 0.2, 0.2 }

        # Focused title background color
        #bg[SELECTED]   = { 0.5, 0.8, 0.5 }
        
        # Focused title text color
#        fg[SELECTED]   = "white"
}

#class "MetaFrames" style "metacity-frame"


