#=======================================#
#			Bodhi Forum GTK2			#
#	    								#
#   Pixmap theme for E17 Bodhi Forum	#
#										#
#Made by Alberto "nerduma" Verdoja		#
#		pimpmylinux@email.it			#
#=======================================#

gtk_color_scheme = "fg_color:#000000\nbg_color:#DBE4B7\nbase_color:#ffffff\ntext_color:#000000\nselected_bg_color:#B1C75C\nselected_fg_color:#000000\ntooltip_bg_color:#DBE4B7\ntooltip_fg_color:#000000\nfg_tabcolor:#000000\nfg_selected_tabcolor:#000000"
gtk-toolbar-style   = GTK_TOOLBAR_BOTH_HORIZ
style "default"
{	
	GtkScrolledWindow	:: scrollbars-within-bevel	= 0
	GtkScrolledWindow	:: scrollbar-spacing		= 1
	GtkScrolledWindow	:: shadow_type			= GTK_SHADOW_OUT

	GtkNotebook	::tab-curvature		= 3
	GtkNotebook	::tab-overlap		= 0

	GtkToolBar	::shadow_type		= GTK_SHADOW_NONE

	GtkMenuBar	::shadow_type		= GTK_SHADOW_NONE

	GtkStatusbar	::shadow_type		= GTK_SHADOW_NONE

	GtkPaned	::handle-size		= 8

	GtkExpander	::expander-size		= 12
	GtkTreeView	::expander-size		= 12

	GtkMenu		::horizontal-offset	= 0

	GtkMenuItem	::toggle-spacing	= 10

	GtkRange	::slider-width		= 19
	
	GtkWidget	::new-tooltip-style	= 1
	
	bg[NORMAL]       	= @bg_color
	bg[ACTIVE]       	= shade (1.0233,@bg_color)
	bg[PRELIGHT]      	= @bg_color
	bg[SELECTED]      	= @selected_bg_color
	bg[INSENSITIVE]  	= shade (1.03,@bg_color)

	fg[NORMAL]       	= @fg_color
	fg[ACTIVE]       	= @fg_color
	fg[PRELIGHT]     	= @fg_color
	fg[SELECTED]     	= @selected_fg_color
	fg[INSENSITIVE]  	= mix (0.5, @fg_color, @bg_color)

	base[NORMAL]     	= @base_color
	base[ACTIVE]     	= @selected_bg_color
	base[PRELIGHT]   	= @base_color
	base[SELECTED]  	= @selected_bg_color
	base[INSENSITIVE]	= @base_color

	text[NORMAL]     	= @text_color
	text[ACTIVE]      	= @fg_color
	text[PRELIGHT]   	= @selected_fg_color
	text[SELECTED]   	= @selected_fg_color
	text[INSENSITIVE]	= mix (0.5, @fg_color, @bg_color)

	engine "pixmap"
	{
		image
		{
			function	= HLINE
			file		= "Images/Lines/hline.png"
			border		= {1,1,1,1}
			stretch		= TRUE
			recolorable	= TRUE
		}

		image
		{
			function	= FOCUS
			file		= "Images/null.png"
			border		= {5, 5, 5, 5}
			stretch		= TRUE
			recolorable	= TRUE
		}

		image
		{
			function	= VLINE
			file		= "Images/Lines/vline.png"
			border		= {1,1,1,1}
			stretch		= TRUE
			recolorable	= TRUE
		}
		image
		{	function	= HANDLE
			overlay_file	= "Images/handleV.png"
			overlay_stretch	= FALSE
			orientation	= VERTICAL
		}
		image
		{	function	= HANDLE
			overlay_file	= "Images/handleH.png"
			overlay_stretch	= FALSE
			orientation	= HORIZONTAL
		}	

		image
		{
			function	= RESIZE_GRIP
			recolorable	= TRUE
			overlay_file	= "Images/rgrip.png"
			overlay_border	= { 0, 0, 0, 0 }
			overlay_stretch	= TRUE
		}

		image
		{
			function	= SHADOW
			shadow		= IN
			file		= "Images/Shadows/frame-in.png"
			border		= {20, 20, 20, 20}
		}
		image
		{
			function	= SHADOW
			shadow		= ETCHED_IN
			file		= "Images/Shadows/frame-in.png"
			border		= {20, 20, 20, 20}
		}
		image
		{
			function	= SHADOW
			shadow		= OUT
			file		= "Images/Shadows/frame-out.png"
			border		= {4, 4, 4, 4}
		}
		image
		{
			function	= SHADOW
			shadow		= ETCHED_OUT
			file		= "Images/Shadows/frame-out.png"
			border		= {4, 4, 4, 4}
		}
		##Arrows
		#NORMAL	
		image
		{
			function	= ARROW
			recolorable	= TRUE
			overlay_file	= "Images/right.png"
			overlay_stretch	= FALSE
			state			= NORMAL
			arrow_direction	= RIGHT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= NORMAL
			overlay_file	= "Images/left1.png"
			overlay_stretch	= FALSE
			arrow_direction	= LEFT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= NORMAL
			overlay_file	= "Images/up1.png"
			overlay_stretch	= FALSE
			arrow_direction	= UP
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= NORMAL
			overlay_file	= "Images/down1.png"
			overlay_stretch	= FALSE
			arrow_direction	= DOWN
		}

		##Arrows
		#PRELIGHT	
		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= PRELIGHT
			overlay_file	= "Images/right.png"
			overlay_stretch	= FALSE
			arrow_direction	= RIGHT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= PRELIGHT
			overlay_file	= "Images/left2.png"
			overlay_stretch	= FALSE
			arrow_direction	= LEFT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= PRELIGHT
			overlay_file	= "Images/up2.png"
			overlay_stretch	= FALSE
			arrow_direction	= UP
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= PRELIGHT
			overlay_file	= "Images/down2.png"
			overlay_stretch	= FALSE
			arrow_direction	= DOWN
		}

		##Arrows
		#INSENSITIVE	
		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= INSENSITIVE
			overlay_file	= "Images/right0.png"
			overlay_stretch	= FALSE
			arrow_direction	= RIGHT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= INSENSITIVE
			overlay_file	= "Images/left0.png"
			overlay_stretch	= FALSE
			arrow_direction	= LEFT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= INSENSITIVE
			overlay_file	= "Images/up0.png"
			overlay_stretch	= FALSE
			arrow_direction	= UP
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= INSENSITIVE
			overlay_file	= "Images/down0.png"
			overlay_stretch	= FALSE
			arrow_direction	= DOWN
		}

		##Arrows
		#ACTIVE	
		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= ACTIVE
			overlay_file	= "Images/right.png"
			overlay_stretch	= FALSE
			arrow_direction	= RIGHT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= ACTIVE
			overlay_file	= "Images/left3.png"
			overlay_stretch	= FALSE
			arrow_direction	= LEFT
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= ACTIVE
			overlay_file	= "Images/up3.png"
			overlay_stretch	= FALSE
			arrow_direction	= UP
		}

		image
		{
			function	= ARROW
			recolorable	= TRUE
			state		= ACTIVE
			overlay_file	= "Images/down3.png"
			overlay_stretch	= FALSE
			arrow_direction	= DOWN
		}

		##Expanders
		#NORMAL

		image
		{
			function	= EXPANDER
			state		= NORMAL
			file		= "Images/Expanders/collapse1.png"
			expander_style	= COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= NORMAL
			file		= "Images/Expanders/scollapse1.png"
			expander_style	= SEMI_COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= NORMAL
			file		= "Images/Expanders/sexpanded1.png"
			expander_style	= SEMI_EXPANDED
		}
		image
		{
			function	= EXPANDER
			state		= NORMAL
			file		= "Images/Expanders/expanded1.png"
			expander_style	= EXPANDED
		}

		##Expanders
		#PRELIGHT
		image
		{
			function	= EXPANDER
			state		= PRELIGHT
			file		= "Images/Expanders/collapse2.png"
			expander_style	= COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= PRELIGHT
			file		= "Images/Expanders/scollapse2.png"
			expander_style	= SEMI_COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= PRELIGHT
			file		= "Images/Expanders/sexpanded2.png"
			expander_style	= SEMI_EXPANDED
		}
		image
		{
			function	= EXPANDER
			state		= PRELIGHT
			file		= "Images/Expanders/expanded2.png"
			expander_style	= EXPANDED
		}

		##Expanders
		#ACTIVE
		image
		{
			function	= EXPANDER
			state		= ACTIVE
			file		= "Images/Expanders/collapse3.png"
			expander_style	= COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= ACTIVE
			file		= "Images/Expanders/scollapse3.png"
			expander_style	= SEMI_COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= ACTIVE
			file		= "Images/Expanders/sexpanded3.png"
			expander_style	= SEMI_EXPANDED
		}
		image
		{
			function	= EXPANDER
			state		= ACTIVE
			file		= "Images/Expanders/expanded3.png"
			expander_style	= EXPANDED
		}

		##Expanders
		#INSENSITIVE
		image
		{
			function	= EXPANDER
			state		= INSENSITIVE
			file		= "Images/Expanders/collapse0.png"
			expander_style	= COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= INSENSITIVE
			file		= "Images/Expanders/scollapse0.png"
			expander_style	= SEMI_COLLAPSED
		}

		image
		{
			function	= EXPANDER
			state		= INSENSITIVE
			file		= "Images/Expanders/sexpanded0.png"
			expander_style	= SEMI_EXPANDED
		}
		image
		{
			function	= EXPANDER
			state		= INSENSITIVE
			file		= "Images/Expanders/expanded0.png"
			expander_style	= EXPANDED
		}
	}
}

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

style "frame"
{
	engine "pixmap"
	{
		image
		{
			function	= SHADOW_GAP
			shadow		= IN
	    	recolorable	= TRUE
	    	file		= "Images/Shadows/frame-in.png"
	    	border		= {16, 11, 16, 11}
	    	stretch		= TRUE
	    	gap_start_file	= "Images/Shadows/frame-in-gap-start.png"
	    	gap_start_border= { 10, 0, 10, 0}
	    	gap_end_file	= "Images/Shadows/frame-in-gap-end.png"
	    	gap_end_border	= { 10, 10,10, 10}
	    	gap_side	= TOP
		}

		image
		{
			function	= SHADOW_GAP
			shadow		= OUT
	    	recolorable	= TRUE
	    	file		= "Images/Shadows/frame-in.png"
	    	border		= {16, 11, 16, 11}
	    	stretch		= TRUE
	    	gap_start_file	= "Images/Shadows/frame-in-gap-start.png"
	    	gap_start_border= { 10, 0, 10, 0}
	    	gap_end_file	= "Images/Shadows/frame-in-gap-end.png"
	    	gap_end_border	= { 10, 10,10, 10}
	    	gap_side	= TOP
		}

		image
		{
			function	= SHADOW_GAP
			shadow		= ETCHED_OUT
	    	recolorable	= TRUE
	    	file		= "Images/Shadows/frame-in.png"
	    	border		= {16, 11, 16, 11}
	    	stretch		= TRUE
	    	gap_start_file	= "Images/Shadows/frame-in-gap-start.png"
	    	gap_start_border= { 10, 0, 10, 0}
	    	gap_end_file	= "Images/Shadows/frame-in-gap-end.png"
	    	gap_end_border	= { 10, 10,10, 10}
	    	gap_side	= TOP
		}

		image
		{
			function	= SHADOW_GAP
			shadow		= ETCHED_IN
	    	recolorable	= TRUE
	    	file		= "Images/Shadows/frame-in.png"
	    	border		= {16, 11, 16, 11}
	    	stretch		= TRUE
	    	gap_start_file	= "Images/Shadows/frame-in-gap-start.png"
	    	gap_start_border= { 10, 0, 10, 0}
	    	gap_end_file	= "Images/Shadows/frame-in-gap-end.png"
	    	gap_end_border	= { 10, 10,10, 10}
	    	gap_side	= TOP
		}

	}
}

style "nautilus-sidebar"
{
	base[NORMAL]		= @bg_color
	text[NORMAL]		= @fg_color
	text[SELECTED]		= @selected_fg_color
	text[ACTIVE]		= @selected_fg_color
	engine "pixmap"
	{
		image
		{
			function	= FLAT_BOX
			state		= SELECTED
			recolorable	= TRUE
			file		= "Images/Menu/select.png"
			border		= {9, 13, 1, 1}
		}

		image
		{
			function	= FLAT_BOX
			state		= NORMAL
			recolorable	= TRUE
			file		= "Images/null.png"
			border		= {9, 13, 1, 1}
		}
		
		image
		{
			function	= SHADOW
			shadow		= IN
			file		= "Images/Shadows/shadow-etched-in.png"
			border		= {8, 8, 8, 8}
		}
		image
		{
			function	= SHADOW
			shadow		= ETCHED_IN
			file		= "Images/Shadows/shadow-etched-in.png"
			border		= {4, 4, 4, 4}
		}
	}
}

style "textview"
{
	xthickness	= 7
	ythickness	= 7

	engine "pixmap"
	{
		image
		{
			function	= SHADOW	
			file		= "Images/Shadows/shadow-etched-in.png"
			#shadow		= IN
		}
		
		image
		{
			function	= SHADOW
			shadow		= ETCHED_IN
			file		= "Images/Shadows/shadow-etched-in.png"
			border		= {8, 8, 8, 8}
		}
	}
}

style "midori-progress"
{
	engine "pixmap"
	{
		image
		{
			file		= "Images/Shadows/frame.png"
		}

		image
		{
			function	= SHADOW
			shadow		= ETCHED_OUT
			file		= "Images/Shadows/frame.png"
		}

		image
		{
			function	= SHADOW
			shadow		= OUT
			file		= "Images/Shadows/frame.png"
		}
	}
}

style "evolution-info" = "default"
{
	bg[ACTIVE]	= @bg_color
}

style "evolution-toolbar" = "default"
{
	fg[PRELIGHT]	= @fg_color

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

style "gimp-viewport"
{
	fg[NORMAL]	= @fg_color
	fg[ACTIVE]	= @fg_color
	fg[PRELIGHT]	= @fg_color

	bg[PRELIGHT]	= mix(0.90, shade (1.1,@bg_color), @selected_bg_color)
}

style "combo"
{

	text[NORMAL]	= @fg_color
	text[ACTIVE]	= @fg_color
	text[PRELIGHT]	= @fg_color
	text[SELECTED]	= @selected_fg_color

	engine "pixmap"
	{
		image
		{
			function	= VLINE
			file		= "Images/null.png"
			border		= {8,8,1,1}
			stretch		= TRUE
			recolorable	= TRUE
		}
	}
}

style "tooltip"
{
	xthickness	= 4
	ythickness	= 4
	
	bg[NORMAL]				= @tooltip_bg_color
	bg[SELECTED]            = "#000"
	fg[NORMAL]				= @tooltip_fg_color
	
	engine "murrine"
	{
		roundness	=	6
		rgba = TRUE

	}
	
}


class "GtkWidget"	style "default"

include "RadioCheck.rc"
include "Button.rc"
include "Scrollbar.rc"
include "Progress.rc"
include "Menu.rc"
include "Tab.rc"
include "Scrolled.rc"
include "Entry.rc"
include "Range.rc"
include "Tree.rc"
include "Spin.rc"

##Flat Toolbar
widget_class "*GtkToolbar*"		style "noshdw"

##Shadow on entry on toolbar
widget_class "*GtkToolbar.*"	style "default"
widget_class "*GtkToolbar.*GtkEntry"	style "entry"

class "GtkNotebook"	style "tab"
class "GtkButton"	style "button"
class "GtkCheckButton"	style "radioCheck"
class "GtkRadioButton"	style "radioCheck"
class "GtkFrame"	style "frame"
class "GtkScrollbar"	style "scrollbar"
class "GtkProgressBar"	style "progress"
class "GtkMenu"		style "menu"
class "GtkMenuItem"	style "menuitem"
class "GtkEntry"	style "entry"
class "GtkRange"	style "range"
class "GtkItem"		style "menuitem"
class "GtkTreeView"	style "tree"
class "GtkHandleBox"	style "noshdw"
class "GtkTextView"	style "textview"
class "GtkStatusbar"	style "noshdw"
class "GtkCombo*"	style "combo"
class "GtkSpinButton"	style "spin"

widget "gtk-tooltip*" style "tooltip"

widget_class "*<GtkMenu>.<GtkMenuItem>*"			style "menuitem"
widget_class "*<GtkMenuBar>*"					style "menubar"

widget_class "*<GtkButton>.*"					style "button"
widget_class "*GtkComboBox.*"					style "combo"
widget_class "*.<GtkComboBox>.<GtkCellView>"			style "combo"
widget "*.gtk-combobox-popup-menu.*"				style "combo"

widget_class "*.<GtkTreeView>.<GtkButton>"			style:highest "listheader"
widget_class "*.<GtkTreeView>.<GtkButton>*"			style:highest "listheader"

#Nautilus Elementary
widget_class "*Nautilus*NautilusPane*"				style "nautilus-sidebar"
widget_class "*<NautilusPlacesSidebar>.GtkTreeView"		style "nautilus-sidebar"

##PcManFM
widget_class    "*FmPlacesView*"				style "nautilus-sidebar"
widget_class	"*FmFolderView*"				style "pcman"
widget_class    "*FmPathEntry*"					style "entry"

##Gedit
#inside scrolled number
widget_class	"*GeditWindow.*GtkScrolledWindow.*"		style "insidescrlld"

##Evolution
#Shadow Flat on menubars
widget_class	"EShellWindow.*BonoboDockBand*"			style "evolution-toolbar"
widget_class	"EShellWindow.*BonoboDockBand*.GtkMenuBar*"	style "menubar"
widget_class	"EShellWindow*.ECanvas"				style:highest "evolution-listheader"
#Infolabel with bg color
widget_class	"*EInfoLabel*"					style "evolution-info"
#inside scrolledwindow
widget_class	"*EMFolderBrowser*GtkScrolledWindow.*"		style "insidescrlld"
#fix for button on RSS view
widget_class	"*EMFolderBrowser*GtkScrolledWindow.*GtkButton*" style "default"

##Gimp
#White entry
widget_class	"GimpImageWindow*.GtkViewport.*"		style "gimp-viewport"
widget_class	"GimpImageWindow*.GtkViewport.*GtkCombo*.*"		style "combo"

##Midori
#Progressbar
widget_class 	"MidoriBrowser.*GtkAlignment.*GtkEntry"		style "midori-progress"
widget_class 	"MidoriBrowser.*<GtkTreeView>.<GtkButton>"	style "default"

##Emesene
#Fix for username and personal message Button
widget_class	"*GtkHBox.GtkHBox.GtkVBox.GtkHBox.GtkButton*"	style "combo"
