style "tree"
{	
	GtkTreeView	::row-ending-details	= 1
	GtkTreeView	::indent-expanders	= TRUE
	GtkTreeView	::allow-rules		= 1
	GtkTreeView	::vertical-separator	= 0

	fg[SELECTED]	= @fg_selected_tabcolor
	fg[ACTIVE]	= @fg_selected_tabcolor
	text[SELECTED]	= @tooltip_bg_color 
	text[ACTIVE]	= @tooltip_bg_color 
	bg[NORMAL]	= "#030351"
	base[NORMAL]	= @base_color
	engine "pixmap"
	{
		# Active Rows
		#========================================================
		
		# Start Selected images
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}		

		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_sorted_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_sorted_start"
			border          = {3, 0, 2, 2}
			file            = "Images/Tree/selected-s.png"
			stretch		= TRUE
		}
		
		# Middle Selected images
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}

		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_sorted_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_sorted_middle"
			border          = {0, 0, 2, 2}
			file            = "Images/Tree/selected-m.png"
			stretch		= TRUE
		}
		
		# End Selected images
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_even_ruled_sorted_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			detail		= "cell_odd_ruled_sorted_end"
			border          = {0, 3, 2, 2}
			file            = "Images/Tree/selected-e.png"
			stretch		= TRUE
		}
		
		# Normal Rows
		#========================================================
		
		# Start Normal images
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/pari-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/dispari-s.png"
			stretch		= TRUE
		}		
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/pari-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/dispari-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_sorted_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/pari-s.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_sorted_start"
			border          = {7, 2, 2, 2}
			file            = "Images/Tree/dispari-s.png"
			stretch		= TRUE
		}
		
		# Middle Normal images
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/pari-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/dispari-m.png"
			stretch		= TRUE
		}

		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/pari-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/dispari-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_sorted_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/pari-m.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_sorted_middle"
			border          = {0, 0, 0, 0}
			file            = "Images/Tree/dispari-m.png"
			stretch		= TRUE
		}
		# End Normal images
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/pari-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/dispari-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/pari-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/dispari-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even_ruled_sorted_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/pari-e.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd_ruled_sorted_end"
			border          = {2, 4, 2, 2}
			file            = "Images/Tree/dispari-e.png"
			stretch		= TRUE
		}
				
		image
		{
			function        = BOX
			state           = ACTIVE
			border          = {3,3,3,3}
			file            = "Images/Tree/selected.png"
			stretch		= TRUE
		}
		
		# This is for treeviews with only one column
		image
		{
			function        = FLAT_BOX
			state           = SELECTED
			border          = {3, 3, 3, 3}
			file            = "Images/Tree/selected.png"
			stretch		= TRUE
		}
		
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_odd"
			border          = {8, 7, 2, 2}
			file            = "Images/Tree/pari.png"
			stretch		= TRUE
		}
		image
		{
			function        = FLAT_BOX
			state           = NORMAL
			detail 		= "cell_even"
			border          = {8, 7, 2, 2}
			file            = "Images/Tree/dispari.png"
			stretch		= TRUE
		}



		# this is needed for the progressbars inside treeviews (e.g. Transmission, System Info)
	        image
		{
			function        = BOX
			state           = SELECTED
			border          = {3,3,3,3}
			file            = "Images/Tree/selected.png"
			stretch		= TRUE
		}
	}
}

style "listheader"
{	GtkButton	::inner-border		= {0,0,0,0}
	font_name = "Bold"

	bg[NORMAL]	= "#ececec"

	fg[NORMAL]	= @tooltip_bg_color 
	fg[PRELIGHT]	= @fg_selected_tabcolor
	fg[ACTIVE]	= @fg_selected_tabcolor

	engine "pixmap"
	{
		image
		{
			function	= BOX
		}
	}
}
