"resource/layout/gamespage_details_communityfiles.layout"
{
	controls
	{
		communityfilesdetails { controlname="CGamesPage_Details_CommunityFiles" style="communityfilesdetails" }
		workshopdetails { controlname="CWorkshopDetailsPanel" }
		viewall	{ controlname="Button" labeltext="#steam_community_files_view_all" command="ViewWorkshop" }
	}

	colors
	{
		GameDetailsCommunityFiles.ExtraVerticalSpacing "60"
		GameDetailsCommunityFiles.PanelSpacing "25"
		RichText.InsetX "0"
		RichText.InsetY "3" 
	}

	styles
	{
		communityfilesdetails 
		{ 		
    render_bg
		{
			0="gradient( x0 + 1, y0 + 1, x1 - 1, y0+140, launch1, launch2  )"
			1="fill( x0 + 1 , y0 + 140, x1 - 1, y1 - 1, launch2  )"
		
			// lines around
		1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, launch1 )"  // top
		2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, launch1 )"  // bottom
		3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, launch1 )"  // left
		4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, launch1 )"  // right
		}
		}
		
		infolabel
		{
			font-size=16
			textcolor=Label
		}	
	}

	layout
	{
		region { name=body margin=10 width=max height=max }

		place
		{
			region=body
			width=max
			y=10
			control=workshopdetails,*communityfile
			dir=right
			spacing=8
			margin=0
		}		
		
		place { region=body control=viewall align=bottom margin-bottom=5 }

	}
}
