"resource/layout/emailreminderbar.layout"
{
	controls
	{
		"emailreminderbar_nobutton"
		{
			"ControlName"		"URLLabel"
			"labelText"		"#steam_emailaddress_query_no"
			command="ChangeEmail"
			style=bright
		}
		"emailreminderbar_yesbutton"
		{
			"ControlName"		"URLLabel"
			"labelText"		"#steam_emailaddress_query_yes"
			command="SendVerificationEmail"
			style=bright
		}
		"emailreminderbaremail_email"
		{
			"ControlName"		"Label"
			"labelText"		"%emailaddress%"
			style=bright
		}		
		"emailreminderbarlabel"
		{
			"ControlName"		"Label"
			"labelText"		"#steam_emailaddress_query"
			style=soft
		}
		"emailreminderbar_info"
		{
			"ControlName"		"Label"
			"labelText"		"#steam_emailaddress_query_info"
			style=soft
		}
		"emailreminderbar_infolink"
		{
			"ControlName"		"URLLabel"
			"labelText"		"#steam_emailaddress_query_info_link"
			"urltext" "#steam_emailaddress_query_info_url"
			style=soft
		}
		"emailreminderbar_close"
		{
			"ControlName"		"Button"
			"labelText"		""
			"Command" "Close"
			
			style=CloseStyle
		}
	}
	
	styles
	{
		CEmailReminderBar
		{
			
			render {}
			render_bg {
				0="image_scale( x0+3, y0, x1-3, y1+1, graphics/emailreminder_center )"
				1="image( x0, y0, x0+3, y1, graphics/emailreminder_left )"
				2="image( x1-4, y0, x1, y1, graphics/emailreminder_right )"

				3="fill( x1-2, y1+1, x1-1, y1+2, outline_gray )"
				4="fill( x0, y1+1, x0+1, y1+2, outline_gray )"	
				4="fill( x0+1, y1+1, x0+2, y1+2, outline_dark )"	
			}
		}
		
		soft
		{
			
			font-size=15
		
			textcolor="209 242 133 255"
		}

		bright
		{
			
			font-size=15
		
			textcolor="255 255 255 255"
		}

		CloseStyle
		{
			render {}
			render_bg {}
			image="graphics/emailreminder_close"
	
		}

		CloseStyle:hover
		{
			render {}
			render_bg {}
			image="graphics/emailreminder_close_hover"

		}
	}
	
	colors
	{
		emailreminder_bar_green1 "92 126 16 255"
		emailreminder_bar_green2 "73 100 13 255"
		outline_gray "77 75 72 255"
		outline_dark "23 22 20 255"


	}
	
	layout
	{
		place { control="emailreminderbarlabel,emailreminderbaremail_email,emailreminderbar_yesbutton,emailreminderbar_nobutton" x=79 y=10 spacing=8 }
		place { control="emailreminderbar_info,emailreminderbar_infolink" x=79 y=28 spacing=8 }
		
		place { control="emailreminderbar_close"  align=right margin-right=4 margin-top=2 }
	}

}
