#######################################################################
# MENUS AND MENUBAR
#######################################################################

###########
# Menus
###########

style "menu"
{
	bg[NORMAL]							= "#FFFFFF"
	fg[PRELIGHT]							= "#FFFFFF"

	xthickness							= 1

	engine "experience" 
	{

###Menu shadows

		group "menu_shadow" = "shadow_in_normal"
		{
			function 						= BOX
			shadow						= OUT
			detail						= "menu"
			padding = {0, 0, 0, 0}
		}
		
		group "menu_gap"
		{
			function					= BOX_GAP
			gap_side					= TOP, BOTTOM 
			gap_size					= 1
			padding					= { 1, 1, 0, 0 }
			
			
			fill 0 {	color			= base[NORMAL] }
			
		}
		
		
		group "menu_hline"
		{	function					= LINE
			orientation				= HORIZONTAL
		
			fill 1 {	color			= base[selected]
						opacity		= 0.5
						padding		= { 0, 0, 0, 1 } }
		}


### Menuitem

		group "menuitem_selected" = "listitem_focus"
		{
			state						= PRELIGHT
			property "has-focus"			= TRUE, FALSE
			function						= BOX
			detail						= "menuitem"
		}
		
### Menu Arrow
		
		group "menuarrow_prelight"="arrow_right_prelight"
		{
			image 10 {	recolor "#ff0000"	= base[NORMAL]
						opacity			= 1
						brightness		= 1
						saturation		= 1 }				
		}
		
	}
}


###########
# Menubar
###########

style "menubar" = "default"
{

	engine "experience" 
	{
 
		group "shadow_menubar" = "shadow_out_horizontal"
		
		group "menubar_item" = "shadow_in_normal"
		{
			function						= BOX
			state						= PRELIGHT
			detail						= "menuitem"
			shadow						= NONE
			dont_clip						= TRUE
			
			fill 0 {		dont_inherit		= TRUE
						color			= base[normal] }
			
			image 1 {		padding				=  {0,0,0,0} }
		}
	}	
}
