<?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_icon_list_config {
	static function get_config() {
	        // Icon list
	        return array(
	        	'yt_title' => array(
                    'default' => 'Icon List Heading',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_DESC'),
                    'child'   => array(
                        'title_color' => array(
                            'type'    => 'color',
                            'default' => '#444444',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_COLOR_DESC')
                        ),
                        'title_size' => array(
                            'default' => '16px',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_SIZE'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_SIZE_DESC')
                        )
                    )
                ),      
                'icon' => array(
                    'type'    => 'icon',
                    'default' => 'icon: heart',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_DESC'),
                    'child'   => array(
                    	'color' => array(
		                    'type'    => 'color',
		                    'default' => '#333333',
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR_DESC')
		                ),
                    ),
                    
                ),
                'icon_color' => array(
                    'type'    => 'color',
                    'default' => '#333333',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_COLOR'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_COLOR_DESC'),
                    'child'   => array(
                        'icon_background' => array(
                            'type'    => 'color',
                            'default' => 'transparent',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BACKGROUND_DESC')  
                        ),
                        'icon_size' => array(
                            'type'    => 'slider',
                            'min'     => 4,
                            'max'     => 128,
                            'step'    => 4,
                            'default' => 24,
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SIZE'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SIZE_DESC')
                        )
                    )
                ),
                
                'icon_border' => array(
                    'type'    => 'border',
                    'default' => '0 solid #cccccc',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BORDER'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BORDER_DESC')
                ),
                'icon_shadow' => array(
                    'type'    => 'shadow',
                    'default' => '0 0 0 #444444',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW_DESC')
                ),
                'icon_padding' => array(
                    'default' => '20px',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING_DESC'),
                    'child'   => array(
                        'icon_radius' => array(
                            'default' => '0px',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RADIUS'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RADIUS_DESC')
                        )
                    )
                ),
                'icon_align' => array(
                    'type'    => 'select',
                    'default' => 'center',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN_DESC'),
                    'values'  => array(
                        'left'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LEFT'),
                        'right' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RIGHT'),
                        'top'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TOP'),
                        'title'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
                        'top_left'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TOP_LEFT'),
                        'top_right'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TOP_RIGHT')
                    ),
                    'child'   => array(
                        'connector' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONNECTOR'),
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONNECTOR_DESC'),
                            'description_gap' => array(
                                'type'    => 'bool',
                                'default' => 'no',
                                'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_GAP'),
                                'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DESCRIPTION_GAP_DESC')
                            )
                        ),
                        'icon_animation' => array(
		                    'type'   => 'select',
		                    'values' => array(
		                        '' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_NO_ANIMATION'),
		                        '1' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION1'),
		                        '2' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION2'),
		                        '3' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION3'),
		                        '4' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION4'),
		                        '5' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION5'),
		                        '6' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATION6')
		                    ),
		                    'default' => '',
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_ANIMATION'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_ANIMATION_DESC')
		                ),                      
                    )
                ), 
                'content' => array(
                	'type' => 'textarea',
                	'default' => 'Add content here',
                	'name' => 'Content',
                ),
	        );
	    }
	}

?>