<?php 
/**
 * Top Margin Control
 *
 * Outputs a jquery ui slider to allow the
 * user to control the top margin of an 
 * element.
 * 
 * @package   Easy_Google_Fonts
 * @author    Sunny Johal - Titanium Themes <support@titaniumthemes.com>
 * @license   GPL-2.0+
 * @link      http://wordpress.org/plugins/easy-google-fonts/
 * @copyright Copyright (c) 2015, Titanium Themes
 * @version   1.3.9
 * 
 */
?>
<#
	// Get settings and defaults.
	var egfPaddingTop = typeof egfSettings.padding_top !== "undefined" ? egfSettings.padding_top : data.egf_defaults.padding_top;
#>
<div class="egf-font-slider-control egf-padding-top-slider">
	<span class="egf-slider-title"><?php _e( 'Top', 'easy-google-fonts' ); ?></span>
	<div class="egf-font-slider-display">
		<span>{{ egfPaddingTop.amount }}{{ egfPaddingTop.unit }}</span> | <a class="egf-font-slider-reset" href="#"><?php _e( 'Reset', 'easy-google-fonts' ); ?></a>
	</div>
	<div class="egf-clear" ></div>
	
	<!-- Slider -->
	<div class="egf-slider" value="{{ egfPaddingTop.amount }}"></div>
	<div class="egf-clear"></div>
</div>