#Created by Sir Alaran (Brian S)
#Released under the GNU GPL2

#http://members.cox.net/brian-schott/themes.html

include "iconrc"

style "default"
{
	fg[NORMAL]				= "#000000"
	fg[ACTIVE]					= "#000000"
	fg[INSENSITIVE]			= "#202020"
	fg[PRELIGHT]         	= "#000000"
	fg[SELECTED]         	= "#000000"
	
	
	#The non-pixmap lines are for apps like OpenOffice
	#which don't support pixmap backgrounds.
	#It also helps the default firefox theme.
	#Though there are better themes for firefox
	#that actually pick up on the pixmap backgrounds.
	
	bg_pixmap[ACTIVE]		= "brushedmetal.png" 
	bg[ACTIVE]				= "#aaaaaa" 
	bg_pixmap[NORMAL]		= "brushedmetal.png"
	bg[NORMAL]				= "#b5b5b5"	
	bg_pixmap[INSENSITIVE]	= "brushedmetal.png"
	bg[INSENSITIVE]			= "#000000"
	bg_pixmap[PRELIGHT]		= "brushedmetal.png"
	bg[SELECTED]			= "#000000" 

	base[NORMAL]			= "#ffffff" 
	base[ACTIVE]			= "#808080"
	base[INSENSITIVE]		= "#000000"
	base[PRELIGHT]			= "#000000"
	base[SELECTED]			= "#808080"
        
	text[NORMAL]			= "#000000"
	text[ACTIVE]			= "#000000"
	text[INSENSITIVE]		= "#000000"
	text[PRELIGHT]			= "#000000"
	text[SELECTED]			= "#000000"
	
	GtkRange::slider_width = 15
	GtkRange::stepper_size = 15
	GtkScrollbar::min_slider_length = 30
	GtkRadioButton::indicator_size=16
	GtkRange::trough_border = 0
	GtkWidget::interior_focus         = 1
	GtkWidget::focus_padding          = 1
	GtkTreeView::odd_row_color = "#c0c0c0"
	
	engine "pixmap"
	{
		image
		{
			function		= FLAT_BOX
			recolorable		= TRUE
			detail			= "tooltip"
			file			= "white.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
		}
	}
}
class "GtkWidget" style "default"

style "frame"
{
	engine "pixmap"
	{
		#This will skin the GTKFrame widget.
		#It draws boxes around groups of widgets
		image
		{
			function		= SHADOW_GAP
			recolorable		= TRUE
			file			= "frame.png"
			border			= { 2, 2, 2, 2 }
			stretch			= TRUE
			gap_start_file	= "hline_start.png"
			gap_start_border = { 2, 0, 2, 0 }
			gap_end_file	= "hline.png"
			gap_end_border	= { 0, 2, 2, 0 }
			gap_side		= TOP
		}
		image
		{
			function		= HLINE
			recolorable		= TRUE
			file			= "hline.png"
			border			= { 0, 0, 1, 1 }
			stretch			= TRUE
		}
	}
}
class "GtkFrame" style "frame"

style "ProgressBar"
{
	engine "pixmap" 
	{
		image 
		{
			function        = BOX
			recolorable	= TRUE
			detail          = "bar"
			file            = "button.png"
			border          = { 2, 2, 2, 2 }
			stretch         = TRUE
		}
	}
}
class "GtkProgressBar" style "ProgressBar"

style "Label"
{
}
class "GtkLabel" style "Label"


style "Notebook" 
{
	#Draws tabs
	engine "pixmap" 
	{
		image 
		{
			function        = EXTENSION
			recolorable     = TRUE
			state           = ACTIVE
			file            = "tab.png"
			border          = { 3, 3, 3, 3 }
			stretch         = TRUE
		}
		image 
		{
			function        = EXTENSION
			recolorable     = TRUE
			file            = "tab_highlighted.png"
			border          = { 3, 3, 3, 3 }
			stretch         = TRUE
		}
	}
}
class "GtkNotebook" style "Notebook"

style "optionmenu"
{
	engine "pixmap" 
	{
		image 
		{
			function		= BOX
			recolorable		= TRUE
			state			= NORMAL
			file			= "button.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image 
		{
			function		= BOX
			recolorable		= TRUE
			state			= INSENSITIVE
			file			= "button_clicked.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
      	}
        image
        {
            function		= BOX
            recolorable		= TRUE
            state      		= PRELIGHT
			file			= "button_highlighted.png"
            border			= {2, 2, 2, 2}
            stretch			= TRUE
		}
	}
}
class "GtkOptionMenu" style "optionmenu"
	

style "Scrollbar" 
{
	engine "pixmap" 
	{
		image 
		{
			function   		= BOX
			recolorable 	= FALSE
			detail      	= "trough"
			file        	= "vertical_trough.png"
			border      	= { 1, 1, 15, 15 }
			stretch     	= TRUE
			orientation 	= VERTICAL
		}
		image
		{
			function		= SLIDER
			recolorable		= FALSE
			file			= "scrollbar_vertical.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
			overlay_file	= "grip_vertical.png"
			overlay_border	= {1, 1, 1, 1}
			overlay_stretch	= FALSE
			orientation		= VERTICAL
		}
		image
		{
			function    	= BOX
			detail     		= "trough"
			file        	= "horizontal_trough.png"
			border      	= { 15, 15, 1, 1 }
			stretch     	= TRUE
			orientation 	= HORIZONTAL
		}
		image
		{
			function		= SLIDER
			recolorable		= FALSE
			file			= "button.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
			overlay_file	= "grip_horizontal.png"
			overlay_border	= {1, 1, 1, 1}
			overlay_stretch = FALSE
			orientation		= HORIZONTAL
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			file			= "clear.png"
			border			= { 0, 0, 0, 0 }
			stretch			= TRUE
			orientation		= VERTICAL
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			file			= "clear.png"
			border			= { 0, 0, 0, 0 }
			stretch			= TRUE
			orientation		= HORIZONTAL
		}		
	}
}
class "GtkScrollbar" style "Scrollbar"

style "Button"
{
	engine "pixmap"
	{
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= NORMAL
			shadow 			= OUT
			file			= "button.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= INSENSITIVE
			shadow 			= OUT
			file			= "button.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= ACTIVE
			shadow 			= OUT
			file			= "button.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= PRELIGHT
			shadow 			= OUT
			file			= "button_highlighted.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= ACTIVE
			shadow 			= IN
			file			= "button_clicked.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= PRELIGHT
			shadow 			= IN
			file			= "button_clicked.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image
		{
			function		= BOX
			recolorable		= FALSE
			state			= INSENSITIVE
			shadow 			= IN
			file			= "button_clicked.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
		image 
		{
			function        = CHECK
			recolorable     = TRUE
			shadow          = OUT
			overlay_file    = "checkbox_unchecked.png"
			overlay_border  = { 1, 1, 1, 1 }
			overlay_stretch = FALSE
        }
        image 
		{
			function        = CHECK
			recolorable     = TRUE
			shadow          = IN
			overlay_file    = "checkbox_checked.png"
			overlay_border  = { 1, 1, 1, 1 }
			overlay_stretch = FALSE
        }
		image
		{
			function		= OPTION
			recolorable		= FALSE
			shadow			= OUT
			overlay_file	= "radiobutton_unchecked.png"
			overlay_border	= { 3, 3, 3, 3 }
			overlay_stretch	= FALSE
		}
		image
		{
			function		= OPTION
			recolorable		= FALSE
			shadow			= IN
			overlay_file	= "radiobutton_checked.png"
			overlay_border	= { 3, 3, 3, 3 }
			overlay_stretch	= FALSE
		}
	}
}
class "GtkButton" style "Button"

style "Spinner"
{
	engine "pixmap"
	{
		image
		{
			function		= BOX
			state			= NORMAL
			detail			= "spinbutton_up"
			file			= "button.png"
			border			= { 1, 1, 1, 1 }
			stretch 		= TRUE
		}
		image
		{
			function		= BOX
			state			= NORMAL
			detail			= "spinbutton_down"
			file			= "button.png"
			border			= { 1, 1, 1, 1 }
			stretch 		= TRUE
		}
		image
		{
			function		= BOX
			state			= PRELIGHT
			detail			= "spinbutton_up"
			file			= "button_highlighted.png"
			border			= { 1, 1, 1, 1 }
			stretch 		= TRUE
		}
		image
		{
			function		= BOX
			state			= PRELIGHT
			detail			= "spinbutton_down"
			file			= "button_highlighted.png"
			border			= { 1, 1, 1, 1 }
			stretch 		= TRUE
		}
		image
		{
			function		= BOX
			state			= INSENSITIVE
			detail			= "spinbutton_up"
			file			= "button_clicked.png"
			border			= { 1, 1, 1, 1 }
			stretch 		= TRUE
		}
		image
		{
			function			= BOX
			state				= INSENSITIVE
			detail			= "spinbutton_down"
			file				= "button_clicked.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
		}
		image
		{
			function			= BOX
			detail			= "spinbutton_up"
			file				= "button_clicked.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
		}
		image
		{
			function			= BOX
			detail			= "spinbutton_down"
			file				= "button_clicked.png"
			border			= { 1, 1, 1, 1 }
			stretch			= TRUE
		}
	}
}
class "GtkSpin*" style "Spinner"


style "MenuItem" 
{
	engine "pixmap" 
	{
		image 
		{
			function			= BOX
			recolorable	= FALSE
			file				= "button_highlighted.png"
			border			= {2, 2, 2, 2}
			stretch			= TRUE
		}
	}
}
class "GtkMenuItem" style "MenuItem"

style "Scale" 
{
	engine "pixmap" 
	{
		image {
			function        = BOX
			recolorable     = TRUE
			detail          = "trough"
			file            = "slider_trough.png"
			border          = { 1, 1, 1, 1 }
			stretch         = TRUE
			orientation     = HORIZONTAL
		}
		image 
		{
			function        = SLIDER
			recolorable     = TRUE
			file            = "button.png"
			border          = { 1, 1, 1, 1 }
			stretch         = TRUE
			overlay_file	= "grip_horizontal.png"
			overlay_border	= {1, 1, 1, 1}
			overlay_stretch = FALSE
			orientation     = HORIZONTAL
		}   
		image {
			function        = BOX
			recolorable     = TRUE
			detail          = "trough"
			file            = "slider_trough_vertical.png"
			border          = { 1, 1, 1, 1 }
			stretch         = TRUE
			orientation     = VERTICAL
		}
		image 
		{
			function        = SLIDER
			recolorable     = TRUE
			file            = "scrollbar_vertical.png"
			border          = { 1, 1, 1, 1 }
			stretch         = TRUE
			overlay_file	= "grip_horizontal.png"
			overlay_border	= {1, 1, 1, 1}
			overlay_stretch = FALSE
			orientation     = VERTICAL
		}   

	}
}
class "GtkScale" style "Scale"
