<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;use Joomla\CMS\Language\Text;use Joomla\CMS\Factory;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\HTML\HTMLHelper;
	class YT_Shortcode_section_config {
	static function get_config() {
	        // Section
	        return array(
	        	'background' => array(
                    'type'    => 'color',
                    'default' => '#ffffff',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND_DESC'),
                    'child'		=> array(
                    	'color' => array(
                    	    'type'    => 'color',
                    	    'default' => '#333333',
                    	    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_COLOR'),
                    	    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_COLOR_DESC')
                    	)
                    )
                ),
                'image' => array(
                    'type'    => 'media',
                    'default' => '',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_DESC' ),
                    'child'		=> array(
                    	'parallax' => array(
                    	    'type'    => 'bool',
                    	    'default' => 'yes',
                    	    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PARALLAX'),
                    	    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PARALLAX_DESC')
                    	)
                    )
                ),
                'speed' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 12,
                    'step'    => 1,
                    'default' => 10,
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SPEED'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SPEED_DESC'),
                    'child'   => array(
                    	'max_width' => array(
		                    'type'    => 'slider',
		                    'min'     => 0,
		                    'max'     => 1600,
		                    'step'    => 10,
		                    'default' => 960,
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH_DESC')
		                ),
		                'font_size' => array(
		                	'default' => '12px',
		                	'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SECTION_FONT_SIZE'),
		                	'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SECTION_FONT_SIZE_DESC')
		                ),
                    ),
                ),
                
                'margin' => array(
                    'default' => '0px',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN_DESC'),
                    'child'		=> array(
                    	'padding' => array(
                    	    'default' => '0px',
                    	    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING'),
                    	    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING_DESC')
                    	),
                    	'text_align' => array(
                    	    'type'    => 'select',
                    	    'default' => 'left',
                    	    'values'  => array(
                    	        'left'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LEFT'),
                    	        'center' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CENTER'),
                    	        'right'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RIGHT')
                    	    ),
                    	    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN'),
                    	    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN_DESC')
                    	)
                    )
                ),
                'border' => array(
                    'type'    => 'border',
                    'default' => '1px solid #cccccc',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BORDER'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BORDER_DESC')
                ),
                'text_shadow' => array(
                    'type'    => 'shadow',
                    'default' => '0 1px 10px #ffffff',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW_DESC')
                ),
                'url_youtube' => array(
                    'default' => '',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_URL_YOUTUBE'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_URL_YOUTUBE_DESC'),
                    'child'   => array(
                    	'url_webm' => array(
		                    'default' => '',
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_URL_WEBM'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_URL_WEBM_DESC'),
		                    
		                ),
                    ),
                ),
                'content' => array(
                	'type' => 'textarea',
                	'name' => 'Content',
                	'default' => 'Add content here'
                ),
	        );
	    }
	}

?>