"resource/layout/friendpanel_compact.layout"
{
	// custom layout
	
	controls
	{
		MenuButton
		{style=menuButtonStyle	}
		AvatarOverlayImage { zpos=2 }
		
		AcceptLink { style="inviteLinkStyle" }
		IgnoreLink { style="inviteLinkStyle" }
		BlockLink { style="inviteLinkStyle" }
	}
	styles
	{
	 CFriendPanel:selected  //only used in non-avatar view for friends
	{
		render_bg {
			//0="fill(x0, y0, x1, y1, Menu.Hover)"
			//0="gradient_horizontal( x0 - 1, y0+ 1, x1, y0+2, focus3, none  )"
			//1="gradient_horizontal( x0 - 2, y0+2, x1, y1-2, focus3, none  )"
			//1="gradient_horizontal( x0 - 1, y1-2, x1, y1-1, focus3, none  )"
		}	
	}
		
		SelfPanel:hover
		{
			render_bg
			{
			}
		}		    
 
 		menuButtonStyle
		{
			minimum-width=14
			padding-top=3
			padding-bottom=3
			padding-right=2
			padding-left=1
		}
		
		downarrow:hover
		{
			image="graphics/Threshold/icons/down_hover"
		}
		
		inviteLinkStyle
		{
			font-style=""
			textcolor=DefaultText
			padding-left=2
		}
	
		inviteLinkStyle:hover
		{
			textcolor=DefaultText.Hover
			font-style=underline
		}
	}
	
	layout
	{
		place { control="ClanStatusImage,NameLabel,FriendsNameInstanceLabel,CompactSeparatorLabel,StatusLabel,GameLabel,AcceptLink,IgnoreLink,BlockLink,SuggestedImage,SuggestedLabel,SuggestedInvite,SuggestedIgnore,MenuButton" x=1 y=1 spacing=4 }
	}

}
