# AquaExtreme Sunken By roberTO
# Original author Max Rudberg http://www.maxthemes.com


include "icons/iconrc" 
gtk-icon-sizes = "panel-menu=24,24:gtk-menu=16,16:panel=24,24"
gtk-menu-drop-shadow = 0
gtk-menu-shadow-delay = 0

style "default"
{
  GtkScrollbar::has_secondary_backward_stepper = 0
  GtkScrollbar::has_secondary_forward_stepper = 0
  GtkWidget::interior_focus			= 0
  GtkWidget::focus_padding			= 0
  GtkButton::default_border			= { 1, 1, 1, 1 }
  GtkButton::default_outside_border	= { 2, 0, 2, 0 }

  GtkRange::trough_border			= 0
  GtkRange::slider_width			= 15
  GtkRange::stepper_size			= 15
  GtkPaned::handle_size				= 6
  GtkScrollbar::min_slider_length		= 30

  GtkCheckButton::indicator_size		= 17
  GtkCheckButton::indicator_spacing	= 3
  GtkMenuBar::internal_padding		= 1
  GtkOptionMenu::indicator_size		= { 24, 8 }
  GtkOptionMenu::indicator_spacing	= { 24, 2, 0, 0 }
  GtkEntry::padding = 0
  GtkStatusbar::shadow_type = GTK_SHADOW_NONE
  GtkVScale::slider_length = 16
  GtkVScale::slider_width = 19
  GtkHScale::slider_length = 17
  GtkHScale::slider_width = 19
  GtkTreeView::odd_row_color = "#e4ebf5"

 # xthickness            			= 3
  #ythickness            			= 2
    
  fg[NORMAL]			= "#000000"
 # fg[PRELIGHT]			= "#000000"
  fg[ACTIVE]				= "#000000"
  fg[SELECTED]			= "#000000"
  fg[INSENSITIVE]			= "#a8a8a8"
  
  bg[NORMAL]			= "#d9d9d9"
  bg[PRELIGHT]			= "#d9d9d9"
  bg[ACTIVE]				= "#d9d9d9"
  bg[SELECTED]			= "#d9d9d9"
  bg[INSENSITIVE]		= "#d9d9d9"

  base[NORMAL]			= "#ffffff"	
  base[PRELIGHT]			= "#3165b5"
  base[ACTIVE]			= "#3165b5"
  base[SELECTED]			= "#3165b5"
  base[INSENSITIVE]		= "#e7e7e7"	

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

#app backgrouds
  bg_pixmap[NORMAL]	= "Bgs/appbg.png"
  bg_pixmap[PRELIGHT]	= "Bgs/appbg.png"

  engine "pixmap"
  {
  
    # Flat by default

#    image
#    {
#      function				= BOX
#    }

	

    # handle
    
    image
    {
      function			= HANDLE
      recolorable			= TRUE
      overlay_file		= "Handles/handle-v.png"
      overlay_stretch		= FALSE
      orientation			= HORIZONTAL
    }
    image
    {
      function			= HANDLE
      recolorable			= TRUE
      overlay_file		= "Handles/handle-h.png"
      overlay_stretch		= FALSE
      orientation			= VERTICAL
    }

    # shadow

    image
    {
      function			= SHADOW
      shadow			= IN
      recolorable			= FALSE
      file				= "Shadows/shadow-in.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= OUT
       recolorable		= TRUE
#       file				= "menubar.png"
       file				= "Shadows/shadow-out.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
  image
    {
       function			= SHADOW
       shadow			= NONE
       recolorable		= TRUE
       file				= "Shadows/shadow-none.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= ETCHED_IN
       recolorable		= TRUE
       file				= "Shadows/shadow-out.png"				
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= ETCHED_OUT
       recolorable		= TRUE
       file				= "Frames/frame2.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW_GAP
       recolorable		= TRUE
       file				= "Frames/frame1.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
       gap_start_file		= "Frames/frame-gap-start.png"
       gap_start_border	= { 2, 0, 2, 0 }
       gap_end_file		= "Frames/frame-gap-end.png"
       gap_end_border	= { 0, 2, 2, 0 }
       gap_side			= TOP
    }
    image
    {
       function			= VLINE
       recolorable		= TRUE
       file				= "Lines/line-v.png"
       border			= { 1, 1, 0, 0 }
       stretch			= TRUE
    }
    image
    {
      function			= HLINE
      recolorable			= TRUE
      file				= "Lines/line-h.png"
      border			= { 0, 0, 1, 1 }
      stretch			= TRUE
    }

    # focus

    image
    {
      function			= FOCUS
      recolorable			= TRUE
      file				= "Others/focus.png"
      border			= { 6, 0, 6, 0 }
      stretch			= TRUE
    }	

    # arrows

    image
    {
      function			= ARROW
      recolorable			= TRUE
      overlay_file		= "Arrows/arrow-up.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction	= UP
    }
    image
    {
      function			= ARROW
      recolorable			= TRUE
      overlay_file		= "Arrows/arrow-down.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction	= DOWN
    }
    image
    {
      function			= ARROW
      recolorable			= TRUE
      overlay_file		= "Arrows/arrow-left.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction	= LEFT
    }
    image
    {
      function			= ARROW
      recolorable			= TRUE
      overlay_file		= "Arrows/arrow-right.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction	= RIGHT
    }
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file        			= "Others/null.png"
	border      		= { 2, 2, 2, 2 }
	stretch         		= TRUE
      }
  }
}

class "GtkWidget"          style "default"


#######################################################################

style "panelbuttons" = "default"
{


 
 xthickness            			= 2
  ythickness            			= 1

	GtkWidget::focus_padding = 2

	engine "pixmap" {
      
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= NORMAL
			file            						= "Panel/panel-bg.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
		}
		
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= PRELIGHT
			file            						= "Panel/panelbutton2.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
		}

		image
		{
			function        			= BOX
			recolorable     		= TRUE
			shadow							= OUT
			state										= PRELIGHT
			file            						= "Panel/panelbutton1.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
			#overlay_file   			= "panelbutton2.png"
			#overlay_border	= { 4, 4, 4, 4 }
			#overlay_stretch	= TRUE
		}
		
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			shadow							= IN
			state										= PRELIGHT
			file            						= "Panel/panelbutton3.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
			#overlay_file     		= "panelbutton2.png"
			#overlay_border	= { 4, 4, 4, 4 }
			#overlay_stretch	= TRUE
		}
		
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= ACTIVE
			file            						= "Panel/panelbutton3.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
		}  
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= INSENSITIVE
			file            						= "Panel/panelbutton2.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= FALSE
		}  

	}

}
widget_class "*Panel*GtkToggleButton" style "panelbuttons"
widget_class "*Panel*GtkButton" style "panelbuttons"



#######################################################################

style "toolbarbuttons" = "default"
{
  xthickness            			= 2
  ythickness            			= 0

	GtkWidget::focus_padding = 0
 bg_pixmap[NORMAL]					= "Toolbar/toolbar-bg.png"

	engine "pixmap" {
      
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= NORMAL
			file            						= "Toolbar/toolbutton_normal.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
		}
		
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= PRELIGHT
			file            						= "Toolbar/toolbutton_prelight.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
		}

		image
		{
			function        			= BOX
			recolorable     		= TRUE
			shadow							= OUT
			state										= PRELIGHT
			file            						= "Toolbar/toolbutton_prelight.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
			
		}
		
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			shadow							= IN
			state										= PRELIGHT
			file            						= "Toolbar/toolbutton_prelight.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
			
		}
		
		image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= ACTIVE
			file            						= "Toolbar/toolbutton_togle.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
		}  
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state										= INSENSITIVE
			file            						= "Toolbar/toolbutton_normal.png"
			border          			= { 4, 4, 4, 4 }
			stretch         				= TRUE
		}  

	}

}
widget_class "*Toolbar*GtkToggleButton" style "toolbarbuttons"
widget_class "*Toolbar*GtkButton" style "toolbarbuttons"


####################################################



style "panelbg"
{
  xthickness            			= 0
  ythickness            			= 1
 bg_pixmap[NORMAL]					= "Panel/panel-bg.png"
 


}
class "*Panel*" style "panelbg"


#######################################################################

####################################################



style "toolbar" = "default"
{
  xthickness            			= 1
  ythickness            			= 2
 
 engine "pixmap"
	{
		image
		{
			function	= BOX
			file		= "Toolbar/toolbar-bg.png"
			border	= { 3, 3, 3, 3 }
			stretch	= TRUE
    		}
 	}


}
class "*GtkToolbar*" style "toolbar"
class "GtkToolbar" style "toolbar"


#######################################################################

style "button"			= "default"
{

  engine "pixmap"
  {
    image
    {
      function			= BOX
      detail				= "buttondefault"
      recolorable			= TRUE
      file				= "Buttons/button-default.png"
      border			= { 8, 8, 8, 8 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state				= PRELIGHT
      recolorable			= TRUE
      file				= "Buttons/button-prelight.png"
      border			= { 8, 8, 8, 8}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state				= ACTIVE
      file				= "Buttons/button-pressed.png"
      border			= { 8, 8, 8, 8 }
      stretch			= TRUE
    }	
    image 
   {
     function			= BOX
     state				= INSENSITIVE
     file				= "Buttons/button-insensitive.png"
     border				= { 8	, 8, 8, 8  }
     stretch			= TRUE
    }
    image 
    {
      function			= BOX
      file				= "Buttons/button-normal.png"		
      border			= { 8, 8, 8, 8 }
      stretch			= TRUE
    }	
  }
}

##########################################################################################################

#################################################################################################################

style "checkradiobutton" {
  engine "pixmap" {
    image 
	{
	function			= FLAT_BOX
	recolorable		= TRUE
	file				= "Others/highlight.png"
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
       }
    }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"
############################################
style "combobox"		= "default"
{

engine "pixmap" {
    
 image
    {
      function			= BOX
      recolorable			= TRUE
      state				= NORMAL
      file				= "OptionCheck/option-button-normal.png"
      border			= { 10, 24, 10, 10}
      stretch			= TRUE
    }   
image
    {
      function			= BOX
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "OptionCheck/option-button-prelight.png"
      border			= { 10, 24, 10, 10}
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable			= TRUE
      state				= ACTIVE
      file				= "OptionCheck/option-button-active.png"
      border			= { 10, 24, 10, 10}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable			= TRUE
      state				= NORMAL
      file				= "OptionCheck/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "OptionCheck/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable			= TRUE
      state				= ACTIVE
      file				= "OptionCheck/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= VLINE
      recolorable			= TRUE

      file				= "OptionCheck/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }


    }

}
widget_class "*Combo*" style "combobox"


############################################

style "optionmenu"		= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "OptionCheck/option-button-prelight.png"
      border			= { 10, 24, 10, 10}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      recolorable			= TRUE
      file				= "OptionCheck/option-button-normal.png"
      border			= { 10, 24, 10, 10}
      stretch			= TRUE
    }
    image
    {
      function			= TAB
      state				= INSENSITIVE
      recolorable			= TRUE
      overlay_file		= "OptionCheck/option-menu.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= TAB
      recolorable			= TRUE
      overlay_file		= "OptionCheck/option-menu.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  }
}


style "radiobutton"		= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= OPTION
      shadow			= OUT
      recolorable			= TRUE
      overlay_file		= "OptionCheck/option1.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
    image
    {
      function			= OPTION
      shadow			= IN
      recolorable			= TRUE
      overlay_file		= "OptionCheck/option2.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  }
}


style "checkbutton"		= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= CHECK
      shadow			= OUT
      recolorable			= TRUE
      overlay_file		= "OptionCheck/check1.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
    image
    {
      function			= CHECK
      shadow			= IN
      recolorable			= TRUE
      overlay_file		= "OptionCheck/check2.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  image
    {
     function			= CHECK
     shadow			= ETCHED_IN
     recolorable			= TRUE
     overlay_file		= "OptionCheck/check3.png"
     overlay_border		= { 0, 0, 0, 0 }
     overlay_stretch	= FALSE
 }
  }
}


style "entry"			= "default"
{
  GtkWidget::interior_focus	= 0
 #GtkEntry::shadow_type = GTK_SHADOW_NONE
  engine "pixmap"
  {
    image
    {
      function			= FOCUS
      recolorable			= TRUE
      file				= "Shadows/entry-shadow-in.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
    }	
 image
    {
      function			= BOX
      recolorable			= TRUE
      state				= NORMAL
      file				= "Shadows/entry-shadow-in.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
    }	
  }
}


style "spinbutton"		= "entry"
{
  engine "pixmap"
  {
    image
    {
      function			= ARROW
    }
    image
    {
      function			= BOX
      detail				= "spinbutton_up"
      recolorable			= TRUE
state					= NORMAL
      file				= "Spinbuttons/spin-up.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-up.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }

  image
    {
      function			= BOX
      detail				= "spinbutton_up"
      recolorable			= TRUE
state					= PRELIGHT
      file				= "Spinbuttons/spin-up-prelight.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-up.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  image
    {
      function			= BOX
      detail				= "spinbutton_up"
      recolorable			= TRUE
state					= ACTIVE
      file				= "Spinbuttons/spin-up-active.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-up.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  image
    {
      function			= BOX
      detail				= "spinbutton_up"
      recolorable			= TRUE
state					= INSENSITIVE
      file				= "Spinbuttons/spin-up-insensitive.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-up-insensitive.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    } 
    image
    {
      function			= BOX
      detail				= "spinbutton_down"
      recolorable			= TRUE
state					= NORMAL
      file				= "Spinbuttons/spin-down.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-down.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  image
    {
      function			= BOX
      detail				= "spinbutton_down"
      recolorable			= TRUE
state					= PRELIGHT
      file				= "Spinbuttons/spin-down-prelight.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-down.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
 image
    {
      function			= BOX
      detail				= "spinbutton_down"
      recolorable			= TRUE
state					= ACTIVE
      file				= "Spinbuttons/spin-down-active.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-down.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
 image
    {
      function			= BOX
      detail				= "spinbutton_down"
      recolorable			= TRUE
state					= INSENSITIVE
      file				= "Spinbuttons/spin-down-insensitive.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      overlay_file		= "Spinbuttons/spin-arrow-down-insensitive.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  }
}


style "scrollbar"
{
  engine "pixmap" 
  {

    image 
    {
      function			= BOX
      recolorable			= TRUE
	
      detail				= "trough"
      file				= "Scrollbars/horizontal-trough.png"
      border			= { 30, 30, 7, 7 }
      stretch			= TRUE
      orientation			= HORIZONTAL
    }

    image 
    {
      function			= BOX
      recolorable			= TRUE
      detail				= "trough"
      file				= "Scrollbars/vertical-trough.png"
      border			= { 7, 7, 30, 30 }
      stretch			= TRUE
      orientation			= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= NORMAL
      file				= "Scrollbars/scrollbar-horizontal.png" 
      border			= { 10, 10, 6, 6 }
      stretch			= TRUE
      orientation			= HORIZONTAL
      #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= PRELIGHT
      file				= "Scrollbars/scrollbar-horizontal-prelight.png" 
      border			= { 10, 10, 6, 6 }
      stretch			= TRUE
      orientation			= HORIZONTAL
      #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= HORIZONTAL
    }
  image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= INSENSITIVE
      file				= "Scrollbars/scrollbar-horizontal-insensitive.png" 
      border			= { 10, 10, 6, 6 }
      stretch			= TRUE
      orientation			= HORIZONTAL
      #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= HORIZONTAL
    }

#vertical   


 image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= NORMAL
      file				= "Scrollbars/scrollbar-vertical.png" 
      border			= { 6, 6, 10, 10 }
      stretch			= TRUE
      orientation			= VERTICAL
      #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= PRELIGHT
      file				= "Scrollbars/scrollbar-vertical-prelight.png" 
      border			= { 6, 6, 10, 10 }
      stretch			= TRUE
      orientation			= VERTICAL
     #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= VERTICAL
    }
 image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= INSENSITIVE
      file				= "Scrollbars/scrollbar-vertical-insensitive.png" 
      border			= { 6, 6, 10, 10 }
      stretch			= TRUE
      orientation			= VERTICAL
     #overlay_file		= "thumb-grip-h.png"
      #overlay_stretch		= FALSE
      #orientation			= VERTICAL
    }
 
#####  Stepper NORMAL ######################################

 image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= NORMAL
      file				= "Scrollbars/stepper-up.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= NORMAL
      file				= "Scrollbars/stepper-down.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= NORMAL
      file				= "Scrollbars/stepper-right.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= NORMAL
      file				= "Scrollbars/stepper-left.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
#####  Stepper PRELIGHT ######################################
image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "Scrollbars/stepper-up-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "Scrollbars/stepper-down-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "Scrollbars/stepper-right-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= PRELIGHT
      file				= "Scrollbars/stepper-left-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }

#####  Stepper PUSH ######################################
image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= ACTIVE
      file				= "Scrollbars/stepper-up-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= ACTIVE
      file				= "Scrollbars/stepper-down-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= ACTIVE
      file				= "Scrollbars/stepper-right-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable			= TRUE
      state				= ACTIVE
      file				= "Scrollbars/stepper-left-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }

  }
}


style "progressbar"		= "default"
{
  engine "pixmap" 
  {
    image
    {
      function			= BOX
      detail				= "trough"
      recolorable			= TRUE
      file				= "Progress/trough-progressbar.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      detail				= "bar"
      recolorable			= TRUE
      file				= "Progress/progressbar.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
    } 
  }
}


style "range"			= "default"
{	
  engine "pixmap" 
  {
    image 
    {
      function			= BOX
      recolorable			= TRUE
      detail				= "trough"
      file				= "Sliders/trough-range-horiz.png"
      border			= { 7, 7, 0, 0 }
      stretch			= TRUE
      orientation			= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      recolorable			= TRUE
      detail				= "trough"
      file				= "Sliders/trough-range-vert.png"
      border			= { 0, 0, 7, 7 }
      stretch			= TRUE
      orientation			= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= NORMAL
      file				= "Sliders/slider.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-h.png"
      overlay_stretch		= FALSE
      orientation			= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
     state           		= PRELIGHT
      file				= "Sliders/slider.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-h.png"
      overlay_stretch		= FALSE
      orientation			= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= INSENSITIVE
      file				= "Sliders/slider.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-h-insens.png"
      overlay_stretch		= FALSE
      orientation			= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= NORMAL
      file				= "Sliders/slider.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-v.png"
      overlay_stretch		= FALSE
      orientation			= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
     state           		= PRELIGHT
      file				= "Sliders/slider-prelight.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-v.png"
      overlay_stretch		= FALSE
      orientation			= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable			= TRUE
      state           		= INSENSITIVE
      file				= "Sliders/slider.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      overlay_file		= "Sliders/thumb-grip-v-insens.png"
      overlay_stretch		= FALSE
      orientation			= VERTICAL
    }
  }
}


style "menu"			= "default"
{

bg_pixmap[NORMAL]       = "Menus/menu-overlay.png"
	xthickness = 1
	ythickness = 0
  	
 	 fg[PRELIGHT]  = "#ffffff"

 xthickness            			= 1
  ythickness            			= 0
  engine "pixmap"
  {
    image
    {
      function			= BOX
     recolorable    		= TRUE
      detail				= "menu"
      file				= "Menus/menu.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE

    }
image
    {
      function		= HLINE
      recolorable     = TRUE
      file			= "Menus/menuline.png"
      border		= { 0, 0, 0, 0 }
      stretch		= TRUE
    }
  }
}


style "menubar"		= "default"
{
 xthickness            			= 1
  ythickness            			= 0
	engine "pixmap"
	{
		image
		{
			function	= BOX
			file		= "Menubar/menubar.png"
			border	= { 1, 1, 1, 1 }
			stretch	= TRUE
    		}
 	}
}


style "menuitem"		= "default"
{
  xthickness			= 4
  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable			= TRUE
      file				= "Menus/menuitem.png"
      border			= { 2, 2, 2, 2 }
      stretch			= FALSE
    }
    image
    {
      function			= ARROW
      recolorable			= TRUE
      overlay_file		= "Arrows/arrow-right.png"
      overlay_stretch		= FALSE
      arrow_direction	= RIGHT
    }
  }
}


style "tearoffmenuitem"	= "menuitem"
{
  engine "pixmap"
  {
    image
    {
      function			= ARROW
      file				= "Arrows/arrow-left.png"
      stretch			= TRUE
      arrow_direction	= LEFT
    }
#    image
#    {
#      function		= HLINE
#      file			= "cuthere.png"
#      border		= { 0, 0, 0, 0 }
#      stretch		= TRUE
#    }
  }
}


style "notebook"		= "default"
{
#  xthickness            			= 5
  ythickness            			= 2
  engine "pixmap" 
    {
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/extension-inactive.png"
	border			= { 10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/extension-inactive.png"
	border			= {  10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/extension-inactive.png"
	border			= {  10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= LEFT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/extension-inactive.png"
	border			= { 10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= RIGHT
      }	
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "Tabs/extension-active.png"
	border			= { 10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "Tabs/extension-active.png"
	border			= { 10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "Tabs/extension-active.png"
	border			= {  10, 10 ,10, 10 }
	stretch			= TRUE
	gap_side			= RIGHT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "Tabs/extension-active.png"
	border			= {  10, 10, 10, 10 }
	stretch			= TRUE
	gap_side			= LEFT
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png" 
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_file			= "Tabs/null.png"
	gap_border     	= { 1, 0, 2, 0 }
	gap_start_file		= "Tabs/null.png"
	gap_start_border	= { 2, 0, 0, 0 }
	gap_end_file		= "Tabs/null.png"
	gap_end_border	= { 0, 2, 0, 0 }
	gap_side			= TOP
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_file			= "Tabs/null.png"
	gap_border		= { 10, 10,5, 5 }
	gap_start_file		= "Tabs/null.png"
	gap_start_border	= { 10, 10, 5, 5 }
	gap_end_file		= "Tabs/null.png"
	gap_end_border	= { 10, 10, 5, 5 }
	gap_side			= BOTTOM
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_file			= "Tabs/null.png"
	gap_border		= { 0, 1, 0, 0 }
	gap_start_file		= "Tabs/null.png"
	gap_start_border	= { 0, 0, 2, 0 }
	gap_end_file		= "Tabs/null.png"
	gap_end_border	= { 0, 2, 1, 0 }
	gap_side			= LEFT
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png" 
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_file			= "Tabs/null.png"
	gap_border		= { 0, 0, 1, 0 }
	gap_start_file		= "Tabs/null.png"
	gap_start_border	= { 2, 0, 2, 0 }
	gap_end_file		= "Tabs/null.png"
	gap_end_border	= { 0, 0, 0, 2 }
	gap_side			= RIGHT
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 9, 9, 9, 9 }
	stretch			= TRUE
	#gap_side			= TOP
      }
  }
}


style "treeview"		= "default"
{	
  engine "pixmap"
  {
    # don't draw the focus around listitems
    image
    {
      function			= FOCUS
    }
  }
}


style "textview"		= "default"
{
  bg[NORMAL]		= "#ffffff"

  engine "pixmap"
  {
    # don't draw focus around textview
    image
    {
      function			= FOCUS
    }
  }
}


style "tooltips"		= "default"
{
  bg[NORMAL]		= "#fffcdb"
  #bg_pixmap[NORMAL]	= "Tooltips/tooltips.png"
  #bg_pixmap[PRELIGHT]	= "Tooltips/tooltips.png"

engine "pixmap" {
    image 
      {
        function			= FLAT_BOX
	recolorable		= TRUE
	
	file				= "Tooltips/tooltips.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
}

}


style "ruler"			= "default"
{
  engine "pixmap" {
    image 
      {
        function			= BOX
	recolorable		= TRUE
	detail			= "vruler"
	file				= "Others/ruler.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
    image 
      {
        function			= BOX
	recolorable		= TRUE
	detail			= "hruler"
	file				= "Others/ruler.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
  }
}


style "handlebox"		= "default"
{
  engine "pixmap"
  {
    image
    {
      #function		= SHADOW
    }

    image
    {
      function			= HANDLE
      recolorable			= TRUE
      overlay_file		= "Handles/handle-v.png"
      overlay_stretch		= FALSE
      orientation			= VERTICAL
    }
    image
    {
      function			= HANDLE
      overlay_file		= "Handles/handle-h.png"
      overlay_stretch 	= FALSE
      orientation			= HORIZONTAL
    }
  }
}


style "flat" 		= "default"
{
  engine "pixmap"
  {
    image
    {
      function		= SHADOW
    }
  }
}


style "layout"		= "default"
{
#xthickness            			= 15
 #ythickness            			= 1
  engine "pixmap"
  {
   image
   {
     function		= SHADOW
     detail			= "entry"
     shadow		= IN
     recolorable		= FALSE
     file			= "Shadows/shadow-in.png"
     border			= { 2, 2, 2, 2 }
     stretch		= TRUE
   }
    image
    {
      function		= BOX
      detail			= "button"
      state			= NORMAL
      file			= "Buttons/square-button-normal.png"
      recolorable		= TRUE
      border		= { 12,12,12,12}
      stretch		= TRUE
    }
  }
}

style "list-header"
{
   #Comment out the ythickness setting below for thicker column headers.
   #ythickness = 0
   GtkTreeView::odd_row_color = "#e4ebf5"
   GtkTreeView::even_row_color = "#ffffff"

   engine "pixmap" 
	{

	#This image is used to draw the headers of columns in list views when they are
	#not selected.
    	image
      		{
        		function        	= BOX
			recolorable     	= TRUE
			state			= NORMAL
			file            	= "Listheaders/list-header.png"
			border          	= { 3, 3, 3, 3 }
			stretch         	= TRUE
      		}


	#This image is used to draw the column headers in list views when they are
	#clicked.
    	image
      		{
        		function        	= BOX
			recolorable     	= TRUE
			state			= ACTIVE
			file            	= "Listheaders/list-header-pressed.png"
			border          	= { 3,3,3,3 }
			stretch         	= TRUE
      		}

	#Does this do anything?
	image
      		{
        		function        	= BOX
			recolorable     	= TRUE
			state		= PRELIGHT
			file			= "Listheaders/list-header-pressed.png"
			border          	= { 3,3,3,3 }
			stretch         	= TRUE
      		}
	image
      		{
        		function        	= BOX
			recolorable     	= TRUE
			state		= SELECTED
			file			= "Listheaders/list-header-pressed.png"
			border          	= { 3,3,3,3 }
			stretch         	= TRUE
      		}
  	}
    	
}

widget_class "*List" style "list-header"
widget_class "*Tree*" style "list-header"
widget_class "GtkCList" style "list-header"


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


style "unstyle"
{
  engine ""
  {
  }
}

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


style "SPbutton"
{
  engine "pixmap"
  {
    image
    {
      function		= BOX
      shadow		= IN
      recolorable		= TRUE
      file			= "Shadows/shadow-out.png"
      border		= { 2, 2, 2, 2 }
      stretch		= TRUE
    }
    image
    {
      function		= BOX
    }
  }
}



class "GtkButton"          			style "button"
class "GtkRadioButton"     		style "radiobutton"
class "GtkRadioMenuItem"    	style "radiobutton"
class "GtkCheckButton"     		style "checkbutton"
class "GtkCheckMenuItem"   		style "checkbutton"
class "GtkOptionMenu"      		style "optionmenu"

class "GtkEntry"           			style "entry"
class "GtkOldEditable" 			style "entry"
class "GtkSpinButton"   	 		style "spinbutton"
class "GtkRuler"           			style "ruler"
class "GtkScrollbar"       			style "scrollbar"
class "GtkProgressBar"     		style "progressbar"
class "GtkRange"         			style "range"
class "GtkMenu"       			style "menu"
class "GtkMenuBar" 		        style "menubar"
class "GtkItem"           			style "menuitem"
class "GtkTearoffMenuItem"		style "tearoffmenuitem"
class "GtkNotebook"      			style "notebook"
class "GtkTextView"     			style "textview"
class "GtkTreeView"    			style "treeview"
#class "GtkToolbar"       			style "toolbar"					
class "GtkHandleBox"    		style "handlebox"
class "GtkEventBox"    			style "flat"
class "GtkPaned"       			style "handlebox"
class "GtkLayout"     			style "layout"
class "SPButton"         			style "SPbutton"
widget "gtk-tooltips"  			style "tooltips"

# prevent Sodipodi from crashing
class "SPColorSlider" 			style "unstyle"
