# Plastic Blend
# unified caption
# June 2009
# pixmap

gtk-icon-sizes = "gtk-large-toolbar=28,23:panel-menu=24,24:panel=22,22:gtk-dialog=28,23:gtk-button=16,16"

gtk-button-images = 0  #as of jaunty release, controls are now in gconf...
#gtk-menu-images = 0

include "icons/iconrc"
include "panel.rc"
include "scrollbar.rc"
include "nautilus-tweaks.rc"
include "thunar-tweaks.rc"

style "default"
{
  GtkWidget::focus_padding 		= 0

  GtkButton::focus-padding 		= 0 # set to "0"- more compact buttons  
  GtkButton::inner-border 		= { 1, 1, 0, 0 }
  GtkButton::default_border 		= { 0, 0, 0, 0 }
  GtkButton::default_outside_border 	= { 0, 0, 0, 0 }

  GtkDialog::button-spacing 		= 10
  GtkDialog::content-area-border 	= 11
  GtkDialog::action-area-border 	= 0
  GtkMessageDialog::message-border 	= 12

  GtkToolbar::space-size 		= 0
  GtkToolbar::internal-padding 	= 0

  GtkScrolledWindow::shadow_type 	= GTK_SHADOW_NONE
  GtkMenuBar::shadow_type 		= GTK_SHADOW_NONE
  GtkToolbar::shadow_type 		= GTK_SHADOW_OUT
  GtkStatusbar::shadow_type 		= GTK_SHADOW_NONE
  GtkFrame::shadow_type 		= GTK_SHADOW_NONE

  GtkTreeView::odd_row_color 		= "#ffffff"
  GtkTreeView::even_row_color 		= "#d4dde5"
  GtkTreeView::odd_col_color 		= "#d4dde5"
  GtkTreeView::even_col_color 		= "#ffffff"

  GtkScrollbar::has_secondary_backward_stepper	= 1
  GtkScrollbar::has_secondary_forward_stepper 	= 0
  GtkScrollbar::has-backward-stepper 		= 0

  GtkScrollbar::min_slider_length		= 30
  GtkScrolledWindow::scrollbar-spacing		= 1
  GtkScrolledWindow::scrollbars-within-bevel 	= 1

  GtkNotebook::tab-overlap 	= 0  #no tab overlap; default is 2
  GtkNotebook::tab-curvature 	= 3  #pixels between tab text and tab border


  fg[NORMAL]       	= "#000000"
  fg[ACTIVE]       	= "#000000"
  fg[PRELIGHT]     	= "#000000"
  fg[SELECTED]     	= "#FFFFFF"
  fg[INSENSITIVE]  	= "#747474"
  bg[NORMAL]	   	= "#afafaf"	#"#c8c8c8"
  bg[PRELIGHT]	   	= "#afafaf"	#"#c8c8c8"
  bg[ACTIVE]       	= "#a3a3a3"
  bg[SELECTED]     	= "#4285c7"
  bg[INSENSITIVE]  	= "#afafaf"	#"#c8c8c8"
  base[NORMAL]     	= "#FFFFFF"
  base[ACTIVE]     	= "#d4d4d4"
  base[PRELIGHT]   	= "#FFFFFF"
  base[INSENSITIVE]	= "#e8e8e8"
  base[SELECTED]   	= "#358cdb"
  text[INSENSITIVE]	= "#747474"
  text[SELECTED]   	= "#ffffff"
  text[ACTIVE]     	= "#000000"
  text[PRELIGHT]   	= "#000000"

  NautilusIconContainer::highlight_alpha	=160
  NautilusIconContainer::dark_info_color	="#000000"
  NautilusIconContainer::light_info_color	="#ffffff"
  GnomeHRef::link_color  			="#2f2e31"
  GtkIMHtmlr::hyperlink-color 			="#2f2e31"

    engine "pixmap"
    { 
    	image
      	{
        	function        = FOCUS
		recolorable     = TRUE
		overlay_file    = "transparent.png"
		overlay_border  = { 0, 0, 0, 0 }
		overlay_stretch = TRUE
      	}

	image 
      	{
       		function        = SHADOW
 		recolorable     = TRUE
		shadow          = IN
# 	        file		= "Shadows/frame-in.png"			
#	        border		= { 8, 8, 8, 8 } 
		file            = "Shadows/shadow-in.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      	}	


    	image 
      	{
       		function        = SHADOW
 		recolorable     = TRUE
		shadow          = OUT
		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		= { 0, 0, 0, 0 }
       		stretch		= TRUE
   	}

    	image
    	{
       		function	= SHADOW
       		shadow		= ETCHED_IN
       		recolorable	= TRUE
 	        file		= "Frame-Gap/frame.png"			
	        border		= { 8, 8, 8, 8 } 
#      		file		= "Shadows/etched-in.png"	
#	       	border		= { 2, 2, 2, 2 }
       		stretch		= TRUE
    	}

        image 
      	{
       		function        = SHADOW
 		recolorable     = TRUE
		shadow          = ETCHED_OUT
		file            = "Shadows/shadow-none.png"
		border          = { 0, 0, 0, 0 }
		stretch         = TRUE
      	}	

	   image
    	{
       		function	= SHADOW_GAP
       		recolorable	= TRUE
       		file		= "Frame-Gap/frame.png"
       		border		= { 8, 8, 8, 8 }
       		stretch		= TRUE
       		gap_start_file	= "Frame-Gap/frame-gap-start.png"
       		gap_start_border= { 8, 0, 8, 0 }
       		gap_end_file	= "Frame-Gap/frame-gap-end.png"
       		gap_end_border	= { 0, 8, 8, 0 }
       		gap_side	= TOP
    	}

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

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

	image 
	{
		function	= HANDLE
		recolorable	= TRUE
		file		= "Handles/handle-horz-back.png"
		border		= { 1,1,1,1 }
		stretch		= TRUE
		overlay_file	= "Handles/handle.png"
		overlay_border	= { 0,0,0,0 }
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
	}
	
		
	image
	{
	  	function 	= HANDLE
		recolorable 	= TRUE
		file            = "Handles/handle-vert-back.png"
		border          = { 1, 1, 1, 1 }
		stretch         = TRUE
		overlay_file 	= "Handles/handle2.png"
		overlay_border 	= {0,0,0,0}
		overlay_stretch = FALSE
		orientation 	= VERTICAL
	}

    	# Up arrow
    	image
    	{
		function	= ARROW
		recolorable	= TRUE
       		overlay_file	= "Spin/spin_button_up_arrow.png"
       		overlay_border	= { 0, 0, 0, 0 }
       		overlay_stretch	= FALSE
       		arrow_direction	= UP
    	}
    
    	# Down arrow
    	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		state		= NORMAL
      		overlay_file	= "Arrows/arrow-down-1.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= DOWN
    	}

    	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		state		= PRELIGHT
      		overlay_file	= "Arrows/arrow-down-2.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= DOWN
    	}

    	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		state		= ACTIVE
      		overlay_file	= "Arrows/arrow-down-2.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= DOWN
    	}

    	image
	{
      		function	= ARROW
      		recolorable	= TRUE
      		state		= INSENSITIVE
      		overlay_file	= "Arrows/arrow-down.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= DOWN
    	}

	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		state		= SELECTED
      		overlay_file	= "Arrows/arrow-down-2.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= DOWN
    	}
    
    	# Left arrow
    	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		overlay_file	= "Arrows/arrow-left.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= LEFT
    	}
    
    	# Right arrow
    	image
    	{
      		function	= ARROW
      		recolorable	= TRUE
      		overlay_file	= "Arrows/arrow-right.png"
      		overlay_border	= { 0, 0, 0, 0 }
      		overlay_stretch	= FALSE
      		arrow_direction	= RIGHT
    	}

     }

}
class "GtkWidget" 	style "default"

#################### gradient ##########################

style "gradient" = "default"
{
    bg_pixmap[NORMAL] = "Others/grayscale.png"
}

class "GtkWindow" 	style "gradient"


############ buttons ###################################

style "button" = "default"
{
  xthickness 		= 4	#7
  ythickness 		= 4	#4

    engine "pixmap"
    {
	# Default button
	image
	{
	    	function	= BOX
		detail		= "buttondefault"
		recolorable	= TRUE
		file		= "Buttons/button-default.png"
		border		= { 6,6,6,6 }
		stretch		= TRUE
	}
		
	# Button (mouse over)
	image
	{
		function	= BOX
		state		= PRELIGHT
		recolorable	= TRUE
		file		= "Buttons/button_round_blue.png"
		border		= { 6,6,6,6 }
		stretch		= TRUE
	}
		
	# Button (pressed)
	image
	{
		function	= BOX
		state		= ACTIVE
		file		= "Buttons/button_round_blue_push.png"
		border		= { 6,6,6,6 }
		stretch		= TRUE
	}
			
	# Button (disabled = user can't click)
	image 
	{
		function	= BOX
		state		= INSENSITIVE
		file		= "Buttons/button_round_insens.png"
		border		= { 6,6,6,6 }
		stretch		= TRUE
	}
		
	# Button (normal)
	image 
	{
	    	function	= BOX
	    	file		= "Buttons/button_round.png"		
	    	border		= { 6,6,6,6 }
	    	stretch		= TRUE
	}	
    }
}

class "GtkButton" style "button"

################################################
# Paned Widgets: Windows divided into two or more sections, which can be
# resized by dragging handles.
################################################

style "paned" = "default"
{

  GtkPaned::handle_size 	= 6

    engine "pixmap"
    {    
	# The handle on vertical dividers
    	image
    	{
    		function 	= HANDLE
        	recolorable 	= TRUE
        	file            = "Handles/handle-vert-back.png"
        	border          = { 0, 0, 0, 0 }
        	stretch         = TRUE
        	overlay_file 	= "Handles/handle2.png"
        	overlay_border 	= {0,0,0,0}
        	overlay_stretch = FALSE
        	orientation 	= VERTICAL
    	}
    }
}

class "Gtk*Paned" style "paned"


################################################
# event-style
################################################
#style "event-style" = "panelbg2"
#{
#font_name = "Lucida Sans 10"
#  xthickness            = 2
#  ythickness            = 0
#  bg_pixmap[NORMAL] = "panel-bg2.png"
#}
#class "GtkEventBox" style "event-style"
class "GtkEventBox" style "default"

############ toolbars #######################################

style "toolbar"	=  "default"
{
  fg[NORMAL] 		= "#000000"
  text[NORMAL]		= "#000000"
  fg[PRELIGHT]		= "#000000"
  fg[ACTIVE]		= "#ffffff"

    xthickness		= 0
    ythickness		= 1

    engine "pixmap"
    {
	image
	{
		function	= BOX
		file		= "Toolbar/toolbarbg.png"
		border		= { 0, 0, 0, 0 }
		stretch		= FALSE
    	}
    }
}

#class "*BonoboDockItem"	style "toolbar"
#widget_class "*BonoboDockItem" style "toolbar"

class "*HandleBox"		style "toolbar"
widget_class "*HandleBox" 	style "toolbar"

class "*Toolbar" 		style "toolbar"
#widget_class "*Toolbar" 	style "toolbar"


############ toolbar buttons #######################################

style "toolbuttons" = "default"
{
    xthickness 		= 1
    ythickness 		= 1

    GtkWidget::focus_padding = 2

    engine "pixmap" 
    {

	image
	{
		function        = BOX
		recolorable     = TRUE
		state		= NORMAL
		file            = "Toolbar/button-normal.png"
		border          = { 5, 5, 5, 5 }
		stretch         = TRUE
	}
		
	image
	{
		function      	= BOX
		recolorable    	= TRUE
		state		= PRELIGHT
		file          	= "Toolbar/button-normal.png"
		border        	= { 5, 5, 5, 5 }
		stretch       	= TRUE
	}

	image
	{
		function        = BOX
		recolorable     = TRUE
		state		= ACTIVE
		file            = "Toolbar/toolbutton-active.png"
		border          = { 5, 5, 5, 5 }
		stretch         = TRUE
	}  
		
	image
	{
		function      	= BOX
		recolorable    	= TRUE
		state		= INSENSITIVE
		file          	= "Toolbar/button-normal.png"
		border        	= { 5, 5, 5, 5 }
		stretch       	= TRUE
	}  
    }
}

widget_class "*Tool*GtkButton" style "toolbuttons"

############ toolbar buttons 2 #######################################

style "toolbuttons2" = "default"
{
    xthickness 		= 1
    ythickness 		= 0

    GtkWidget::focus_padding = 0

    engine "pixmap" 
    {

	image
	{
		function        = BOX
		recolorable     = TRUE
		state		= NORMAL
		file            = "Toolbar/button-normal.png"
		border          = { 5, 5, 5, 5 }
		stretch         = TRUE
	}
		
	image
	{
		function      	= BOX
		recolorable    	= TRUE
		state		= PRELIGHT
		file          	= "Toolbar/button-prelight2.png"
		border        	= { 5, 5, 1, 1 }
		stretch       	= TRUE
	}

	image
	{
		function        = BOX
		recolorable     = TRUE
		state		= ACTIVE
		file            = "Toolbar/button-normal.png"
		border          = { 5, 5, 1, 1 }
		stretch         = TRUE
	}  
	
	image
	{
		function      	= BOX
		recolorable    	= TRUE
		state		= INSENSITIVE
		file          	= "Toolbar/button-normal.png"
		border        	= { 5, 5, 5, 5 }
		stretch       	= TRUE
	}  
    }
}

widget_class "*Tool*GtkToggleButton" style "toolbuttons2"

############ fonts #######################################

style "fontbox" = "default"
{

    engine "pixmap"
    {
	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "Font/font-prelight.png"
		border		= { 5, 27, 10, 10}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
	    	state		= NORMAL
	    	file		= "Font/font-normal.png"
	    	border		= { 5, 27, 10, 10}
	    	stretch		= TRUE
	}

	image
	{
	    	function	= BOX
	    	recolorable	= TRUE
	    	state		= ACTIVE
	    	file		= "Font/font-pressed.png"
	    	border		= { 5, 27, 10, 10}
	    	stretch		= TRUE
	}

	image
	{
	    	function	= BOX
	    	recolorable	= TRUE
	    	state		= INSENSITIVE
	    	file		= "Font/font-inactive.png"
	    	border		= { 5, 27, 10, 10}
	    	stretch		= TRUE
	    }

	image
	{
	    	function	= TAB
	   	state		= INSENSITIVE
	    	recolorable	= TRUE
	    	overlay_file	= "Font/font-arrow-insens.png"
	    	overlay_stretch	= FALSE
	}

	image
	{
	    	function	= TAB
	    	recolorable	= TRUE
	    	state		= NORMAL
	    	overlay_file	= "Font/font-arrow.png"
	    	overlay_border	= { 0, 0, 0, 0 }
	    	overlay_stretch	= FALSE
	}

	image
	{
	    	function	= TAB
	    	recolorable	= TRUE
	    	state		= PRELIGHT
	    	overlay_file	= "Font/font-arrow-prelight.png"
	    	overlay_border	= { 0, 0, 0, 0 }
	    	overlay_stretch	= FALSE
	}
    }
}

class "*Font*"      		style "fontbox"

############ menubar #######################################

style "menubar"
{
  fg[PRELIGHT] 	= "#ffffff"
  fg[ACTIVE]   	= "#ffffff"
  bg_pixmap[NORMAL]  	= "Menu-Menubar/menubar2.png"

  xthickness 		= 4
  ythickness 		= 0

    engine "pixmap"
    {
	image
	{
		function 	= BOX
		recolorable 	= TRUE
		state 		= NORMAL
		file 		= "Menu-Menubar/menubar.png"
		border		= { 0, 0, 1,1}			
		stretch 	= TRUE
	}

	image
	{
		function 	= BOX
		recolorable 	= TRUE
		state 		= PRELIGHT
		file 		= "Menu-Menubar/menubar-item.png"
		stretch 	= TRUE
	}
    }
}

class "GtkMenuBar" 		style "menubar"
widget_class "*MenuBar.*" 	style "menubar"

############ menus #######################################

style "menu" = "default"
{

  xthickness 		= 0
  ythickness 		= 5
	
  text[PRELIGHT]	= "#ffffff"
  text[NORMAL]		= "#000000"
  text[ACTIVE]		= "#ffffff"
  fg[PRELIGHT] 	= "#ffffff"
  fg[NORMAL]   	= "#000000"
  fg[ACTIVE]   	= "#ffffff"

    engine "pixmap"
    {
	image
	{
		function 	= BOX
	    	recolorable 	= TRUE
		detail 		= "menu"
		file 		= "Menu-Menubar/menu.png"
		border 		= { 6, 6, 1, 6 }
		stretch 	= TRUE
	}
    }
}

class "GtkMenu" style "menu"

############ menu items #######################################

style "MenuItem"
{

  text[PRELIGHT] 	= "#ffffff"
  text[NORMAL]   	= "#000000"
  text[ACTIVE]   	= "#ffffff"
  fg[PRELIGHT] 	= "#ffffff"
  fg[NORMAL]   	= "#000000"
  fg[ACTIVE]   	= "#ffffff"

  xthickness 		= 3
  ythickness 		= 2

    engine "pixmap" 
    {

	image 
	{
              	function        = BOX
              	recolorable     = TRUE
              	file            = "Menu-Menubar/menuitem.png"
  		border		= { 2, 2, 2, 2 }
          	stretch         = TRUE
	}

    	image 
        {
        	function        = HLINE
 		recolorable     = TRUE
 		file            = "Menu-Menubar/menu-separator.png"
		border          = { 0, 0, 0, 0 }
		stretch         = TRUE
      	}

	image
	{
		function 	= ARROW
		recolorable 	= TRUE
		state 		= NORMAL
		overlay_file 	= "Menu-Menubar/menu-arrow.png"
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}
		
	image
	{
		function 	= ARROW
		recolorable 	= TRUE
		state 		= PRELIGHT
		overlay_file 	= "Menu-Menubar/menu-arrow-prelight.png"
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}
    }
}

widget_class "*MenuItem*" 	style "MenuItem"
widget_class "*.GtkAccelMenuItem.*"style "MenuItem"

class "GtkMenuItem"		style "MenuItem"
class "GtkItem"           	style "MenuItem"
class "GtkTearoffMenuItem"	style "MenuItem"
widget_class "*MenuBar.*MenuItem*" style "menubar"

############ combobox #######################################

style "combobox"	= "default"
{
  xthickness  		= 2
  ythickness 		= 2

    engine "pixmap" {
    
	image
	{
      		function	= BOX
      		recolorable	= TRUE
      		state		= NORMAL
      		file		= "Combo/combo-button.png"
      		border		= { 5, 24, 1, 1}
      		stretch		= TRUE
    	}   
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "Combo/combo-button-hover.png"
      border			= { 5, 24, 1, 1}
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= ACTIVE
      file			= "Combo/combo-button.png"
      border			= { 5, 24, 1, 1}
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "Combo/combo-button-ins.png"
      border			= { 5, 24, 1, 1}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable		= TRUE
      state			= NORMAL
      file			= "Combo/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "Combo/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable		= TRUE
      state			= ACTIVE
      file			= "Combo/option-menu.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
image
    {
      function			= ARROW
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "Combo/option-menu-ins.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
  }
}
widget_class "*Combo*" style "combobox"

############ options menu #######################################

style "OptionMenu" 
{
  xthickness  = 2
  ythickness = 2

    engine "pixmap" 
   {
        image
        {
            function			= BOX
            recolorable			= TRUE
            state			= PRELIGHT
            file			= "Combo/option-button-hover.png"
            border			= { 10, 10, 1, 1}   
            stretch			= TRUE
        }
        image
        {
            function			= BOX
            recolorable			= TRUE
            state			= NORMAL
            file			= "Combo/option-button.png"
            border			= { 10, 10, 1, 1}
            stretch			= TRUE
        }
        image
        {
            function			= BOX
            recolorable			= TRUE
            state			= ACTIVE
            file			= "Combo/option-button.png"
            border			= { 10, 10, 1, 1}
            stretch			= TRUE
        }
        image
        {
            function			= BOX
            state			= INSENSITIVE
            recolorable			= TRUE
            file			= "Combo/option-button-ins.png"
            border			= { 10, 10, 1, 1}
            stretch			= TRUE
        }
        image
        {
            function			= TAB
            state			= INSENSITIVE
            recolorable			= TRUE
            overlay_file		= "Combo/option-menu-ins.png"
            overlay_stretch		= FALSE
        }
        image
        {
            function			= TAB
            recolorable			= TRUE
            overlay_file		= "Combo/option-menu2.png"
            overlay_border		= { 0, 0, 0, 0 }
            overlay_stretch		= FALSE
        }
   }
}

class "GtkOptionMenu" style "OptionMenu"

############ notebook/tabs #######################################

style "notebook"		= "default"
{

  xthickness            	= 3
  ythickness            	= 1

  engine "pixmap" 
    {
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "Tabs/tab.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "Tabs/tab-bottom.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "Tabs/tab-right.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= LEFT
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "Tabs/tab-left.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= RIGHT
      }	
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= NORMAL
	file			= "Tabs/tab-active.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= NORMAL
	file			= "Tabs/tab-active-bottom.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= NORMAL
	file			= "Tabs/tab-active-right.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= LEFT
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= NORMAL
	file			= "Tabs/tab-active-left.png"
	border			= { 5, 5, 6, 6}
	stretch			= TRUE
	gap_side		= RIGHT
      }
#
# 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_side		= TOP
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "Tabs/notebook.png"
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "Tabs/notebook.png"
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	gap_side		= LEFT
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "Tabs/notebook.png" 
	border			= { 10, 10, 10, 10 }
	stretch			= TRUE
	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
	
      }
  }
}
class "GtkNotebook" 			style "notebook"
widget_class "*<GtkNotebook>"    		style "notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook"
widget_class "*<GtkNotebook>.GtkLabel*" 	style "notebook" #for tabs

############ text entries #######################################

style "entry"		= "default"
{
  GtkWidget::interior_focus	= 0
  GtkEntry::inner-border 	= { 1, 1, 1, 1}

  xthickness            	= 2	#2
  ythickness            	= 1	#3


 
  engine "pixmap"
  {
    image
    {
      function			= FOCUS
      recolorable		= TRUE
      file			= "Shadows/text-entry-focus.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
    }	
    image
    {
      function			= BOX
      recolorable		= TRUE
      state			= NORMAL
      file			= "Shadows/text-entry.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
    }	
    image
    {
      function			= SHADOW
      detail			= "entry"
      shadow			= IN
      recolorable		= FALSE
      file			= "Shadows/text-entry-shadow.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
    }
  }
}

class "GtkEntry" style "entry"

############ list #######################################
# like the Rhythmbox playlist or Nautilus Listview

style "list-header"
{
   ythickness = 1
	GtkTreeView::odd_row_color = "#ffffff" 
	GtkTreeView::even_row_color = "#d4dde5"  

	#text[ACTIVE]   	= "#000000"
	fg[PRELIGHT]   	= "#000000"

   engine "pixmap" 
	{

    	image
      		{
        		function        = BOX
			recolorable     = TRUE
			shadow          = OUT
			state		= NORMAL
			file            = "List/list_header.png"
			border          = { 1,1,1,1 }
			stretch         = TRUE
      		}

    	image
      		{
        		function        = BOX
			recolorable     = TRUE
			shadow          = IN
			state		= ACTIVE
			file            = "List/list_header-pressed.png"
			border          = { 1,10,1,1 }
			stretch         = TRUE
      		}

	image
      		{
        		function        = BOX
			recolorable     = TRUE
			shadow	    	= OUT
			state		= PRELIGHT
			file            = "List/list_header-prelight.png"
			border          = { 1,1,1,1 }
			stretch         = TRUE
      		}

	image
      		{
        		function        = BOX
			recolorable     = TRUE
			shadow	    	= IN
			state		= SELECTED
			file            = "List/list_header-prelight.png"
			border          = { 1,1,1,1 }
			stretch         = TRUE
      		}
  	}
    	
}

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

###########################################################3

style "gtktreeview" 
{
  base[NORMAL]     	= "#d6dde5"	
  base[ACTIVE]     	= "#ACBACF"
  base[PRELIGHT]   	= "#FFFFFF"
  base[SELECTED]	= "#358CDB"
  text[ACTIVE]		= "#FFFFFF"
   
}
class "GtkTreeView" style "gtktreeview"

############ range #######################################
# The sliders used for volume, track position, etc.


style "Scales"
{
    GtkRange::trough_border = 0
    GtkRange::slider_width = 19

    engine "pixmap" 
    {
	
        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Range/trough-range-vert.png"
            border          = { 0, 18, 12, 12 }
            stretch         = TRUE
            orientation     = VERTICAL
        }

        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Range/trough-range-horiz.png"
            border          = { 12, 12, 0, 18 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= NORMAL
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-h.png"
            overlay_stretch		= FALSE
            orientation			= HORIZONTAL
        }
        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= PRELIGHT
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-h-prelight.png"
            overlay_stretch		= FALSE
            orientation			= HORIZONTAL
        }
        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= INSENSITIVE
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-h-insens.png"
            overlay_stretch		= FALSE
            orientation			= HORIZONTAL
        }
        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= NORMAL
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-v.png"
            overlay_stretch		= FALSE
            orientation			= VERTICAL
        }
        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= PRELIGHT
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-v-prelight.png"
            overlay_stretch		= FALSE
            orientation			= VERTICAL
        }
        image 
        {
            function			= SLIDER
            recolorable			= TRUE
            state           		= INSENSITIVE
            file			= "Range/slider.png"
            border			= { 6, 6, 6, 6 }
            stretch			= TRUE
            overlay_file		= "Range/thumb-grip-v-insens.png"
            overlay_stretch		= FALSE
            orientation			= VERTICAL
        }
    }
}

class "GtkScale" style "Scales"

############# spin #####################################
       
style "spin"
{
    engine "pixmap" 
    {

    	    image
    	    {
     		function		= ARROW
    	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= NORMAL
		detail			= "spinbutton_up"
		file            	= "Spin/spin_button_up.png"
		border          	= { 0,0,0,0 }	#{ 7,7,6,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_up_arrow.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= NORMAL
		detail			= "spinbutton_down"
		file            	= "Spin/spin_button_down.png"
		border          	= {  0,0,0,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_down_arrow.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= INSENSITIVE
		detail			= "spinbutton_up"
		file            	= "Spin/spin_button_up_inactive.png"
		border          	= { 0,0,0,0 }	
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_up_arrow_ins.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= INSENSITIVE
		detail			= "spinbutton_down"
		file            	= "Spin/spin_button_down_inactive.png"
		border          	= {  0,0,0,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_down_arrow_ins.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable  		= TRUE
		state			= PRELIGHT
		detail			= "spinbutton_up"
		file            	= "Spin/spin_button_up_prelight.png"
		border          	= {  0,0,0,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_up_arrow.png"
		overlay_stretch		= FALSE

	    }

	    image 
	    {
	        function        	= BOX
		recolorable  		= TRUE
		state			= PRELIGHT
		detail			= "spinbutton_down"
		file            	= "Spin/spin_button_down_prelight.png"
		border          	= {  0,0,0,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_down_arrow.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= ACTIVE
		detail			= "spinbutton_up"
		file            	= "Spin/spin_button_up_active.png"
		border          	= {  0,0,0,0}
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_up_arrow.png"
		overlay_stretch		= FALSE
	    }

	    image 
	    {
	        function        	= BOX
		recolorable     	= TRUE
		state			= ACTIVE
		detail			= "spinbutton_down"
		file            	= "Spin/spin_button_down_active.png"
		border          	= {  0,0,0,0 }
		stretch         	= TRUE
		overlay_file		= "Spin/spin_button_down_arrow.png"
		overlay_stretch		= FALSE
	    }

#	    image 
#	    {
#		function		= ARROW
#		recolorable		= TRUE
#		overlay_file		= "Spin/spin_button_up_arrow.png"
#		overlay_border		= { 0, 0, 0, 0 }
#		overlay_stretch		= FALSE
#		arrow_direction		= UP
#      	    }

#	    image 
#	    {
#		function		= ARROW
#		recolorable		= TRUE
#		state			= INSENSITIVE
#		overlay_file		= "Spin/spin_button_up_arrow_ins.png"
#		overlay_border		= { 0, 0, 0, 0 }
#		overlay_stretch		= FALSE
#		arrow_direction		= UP
#     	    }

#	    image 
#	    {
#		function		= ARROW
#		recolorable		= TRUE
#		overlay_file		= "Spin/spin_button_down_arrow.png"
#		overlay_border		= { 0, 0, 0, 0 }
#		overlay_stretch		= FALSE
#		arrow_direction		= DOWN
#     	    }

#	    image 
#	    {
#		function		= ARROW
#		recolorable		= TRUE
#		state			= INSENSITIVE
#		overlay_file		= "Spin/spin_button_down_arrow_ins.png"
#		overlay_border		= { 0, 0, 0, 0 }
#		overlay_stretch		= FALSE
#		arrow_direction		= DOWN
#      	    }
      }
}
	
class "GtkSpin*" style "spin"


############# RADIOBUTTONS AND CHECKBUTTONS HIGHLIGHT ###########


style "checkradiobutton" = "default"
{
    engine "pixmap" 
    {
	image 
	{
		function 		= FLAT_BOX
		recolorable 		= TRUE
		file 			= "Check-Radio/highlight.png"
		border 			= { 2, 5, 2, 5 }
		stretch 		= TRUE
	}
    }
}

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


############ check box #######################################

style "CheckBox" 
{
	#bg[PRELIGHT]	   	= "#e8e8e8"
	#bg_pixmap[PRELIGHT] 	= "transparent.png"

    engine "pixmap" 
    {
 	image 
	{
            function        	= CHECK
            recolorable     	= TRUE
            state 		= PRELIGHT
            shadow          	= OUT
            overlay_file    	= "Check-Radio/check-hover.png"
            overlay_stretch 	= FALSE
        }
 	image 
	{
            function        	= CHECK
            recolorable     	= TRUE
            state 		= ACTIVE
            shadow          	= OUT
            overlay_file    	= "Check-Radio/check-hover.png"
            overlay_stretch 	= FALSE
        }
 	image 
	{
            function        	= CHECK
            recolorable     	= TRUE
            state 		= INSENSITIVE
            shadow          	= OUT
            overlay_file    	= "Check-Radio/check-disable.png"
            overlay_stretch 	= FALSE
        }
  	image 
	{
            function        	= CHECK
            recolorable     	= TRUE
	    state 		= PRELIGHT
            shadow          	= IN
            overlay_file    	= "Check-Radio/check-on.png"
            overlay_stretch 	= FALSE
        }
    	image 
	{
            function        	= CHECK
            recolorable     	= TRUE
	    state 		= ACTIVE
            shadow          	= IN
            overlay_file    	= "Check-Radio/check-on.png"
            overlay_stretch 	= FALSE
        }
    	image 
    	{
    	    function        	= CHECK
    	    recolorable     	= TRUE
       	    state 		= INSENSITIVE
       	    shadow          	= IN
       	    overlay_file   	= "Check-Radio/check-on-disable.png"
       	    overlay_stretch 	= FALSE
    	}
        image 
	{
            function        	= CHECK
            state		= NORMAL
            recolorable     	= TRUE
            shadow          	= OUT
            overlay_file    	= "Check-Radio/check-normal.png"
            overlay_stretch 	= FALSE
        }

        image 
	{
            function        	= CHECK
            recolorable     	= TRUE
	    state 		= NORMAL
            shadow          	= IN
            overlay_file    	= "Check-Radio/check-on.png"
            overlay_stretch 	= FALSE
        }
    }
}

class "GtkCheckButton" style "CheckBox"

############ radio buttons #######################################

style "RadioButton" 
{

    engine "pixmap" 
    {
        image 
	{
            function        	= OPTION
            recolorable     	= TRUE
            state 		= PRELIGHT
            shadow          	= OUT
            overlay_file    	= "Check-Radio/radio-hover.png"
            overlay_stretch 	= FALSE
        }
        image 
	{
            function        	= OPTION
            recolorable     	= TRUE
            state 		= ACTIVE
            shadow          	= OUT
            overlay_file    	= "Check-Radio/radio-hover.png"
            overlay_stretch 	= FALSE
        }
 	image 
	{
            function        	= OPTION
            recolorable     	= TRUE
            state 		= INSENSITIVE
            shadow         	= OUT
            overlay_file    	= "Check-Radio/radio-off-disable.png"
            overlay_stretch 	= FALSE
        }
  	image 
	{
            function        	= OPTION
            recolorable     	= TRUE
	    state 		= PRELIGHT
            shadow          	= IN
            overlay_file    	= "Check-Radio/radio-on.png"
            overlay_stretch 	= FALSE
        }
 	image 
	{
            function        	= OPTION
            recolorable     	= TRUE
	    state 		= ACTIVE
            shadow          	= IN
            overlay_file    	= "Check-Radio/radio-on.png"
            overlay_stretch 	= FALSE
        }
 	image 
	{
            function        	= OPTION
            recolorable     	= TRUE
	    state 		= INSENSITIVE
            shadow          	= IN
            overlay_file    	= "Check-Radio/radio-on-disable.png"
            overlay_stretch 	= FALSE
        }
	image 
	{
            function    	= OPTION
            recolorable     	= TRUE
            state 		= NORMAL
            shadow          	= OUT
            overlay_file    	= "Check-Radio/radio-off.png"
            overlay_stretch 	= FALSE
        }

        image 
	{
            function        	= OPTION
            recolorable     	= TRUE
            shadow          	= IN
	    state 		= NORMAL
            overlay_file    	= "Check-Radio/radio-on.png"
            overlay_stretch 	= FALSE
        }
    }
}

class "GtkRadioButton" style "RadioButton"

############ statusbar #######################################

style "Statusbar"
{
	xthickness = 4
        ythickness = 4

  #bg_pixmap[NORMAL]  = "Others/statusbar.png"

      engine "pixmap" 
     {
	    image
	    {
	     	function	= RESIZE_GRIP
		recolorable	= TRUE
		detail		= "statusbar"
		#file		= "Others/statusbar.png"
		#border		= {1,1,2,1 }
		#stretch	= TRUE
		overlay_file	= "Handles/resize_grip.png"
		overlay_border	= {1,1,1,1 }
		overlay_stretch	= FALSE
	    }
      }
}

#class "GtkStatusbar"	style "Statusbar"
widget_class "*Statusbar*" style "Statusbar"

############ progressbar #######################################

style "ProgressBar"
{
  	xthickness = 1
        ythickness = 1

	#bg[NORMAL] = "e8e8e8"

  engine "pixmap" 
  {

        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-h.png"
            border          = { 1, 1, 3, 3 }
            stretch         = FALSE
            orientation     = HORIZONTAL
        }

        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-h.png"
            border          = { 1, 1, 3, 3 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-v.png"
            border          = { 3,3,1,1 }
            stretch         = FALSE
            orientation     = VERTICAL
        }

        image 
	{
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-v.png"
            border          = { 3, 3, 1, 1 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
    }
}

widget_class "*ProgressBar*" style "ProgressBar"

###########################################
#Text Boxes in Notebooks	
###########################################

style "DarkTextEntry"
{

  base[NORMAL]     = "#E8E8E8"
  base[INSENSITIVE] = "#E8E8E8"

}
widget_class "*Notebook*Entry" style "DarkTextEntry"
widget_class "*Notebook*SpinButton" style "DarkTextEntry"

class "GtkWidget" style "default"

############ tooltips #######################################

style "tooltips" = "default"
{
   xthickness = 6
   ythickness = 4
   
#   bg[NORMAL]	= "#fefbe8" 	# yellowish

    engine "pixmap"
    {
	image
	{
		function 	= FLAT_BOX
     		detail		= "tooltip"
     		recolorable	= TRUE
		border   	= {1,1,1,1}
		file     	= "Others/tooltip-bg.png"
      		stretch		= TRUE
	}
    }
}


class 		"*GtkTooltips*"		style "tooltips"
widget 		"gtk-tooltips" 		style "tooltips"
widget 		"gtk-tooltip*" 		style "tooltips"
widget 		"gtk-tooltips"  		style "tooltips"
widget_class 	"*Tooltips*"		style "tooltips"

############ Xfce #######################################

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 0

  fg[NORMAL]       = "#FFFFFF"
  fg[ACTIVE]       = "#d4d4d4"
  fg[SELECTED]     = "#d4d4d4"
  base[NORMAL]     = "#FFFFFF"
  base[ACTIVE]     = "#d4d4d4"
  base[SELECTED]   = "#d4d4d4"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

####################### more toolbar icons ################
#style "icons"
#{
#   stock["gtk-home"] =
#   {
#      {"arrow_up.png", *, *, "gtk-menu"},
#      {"Home.png", *, *, "gtk-large-toolbar"}
#   }
#
#}
#widget "Nautilus*" style "icons"

