<?php
/**
 * @package DJ-Catalog2-Yootheme
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */
defined('_JEXEC') or die;
$el = $this->el('a', [
	'class' =>  $this->expr([
		'djc_website',
		'uk-panel',
		'uk-link-{website_hover_style}',
		'uk-{website_text_style}' => ['website_text_style' => $element['website_text_style']],
		'uk-{website_text_element} {@!website_text_style}' => ['website_text_element' => $element['website_text_element'], 'website_text_style' => $element['website_text_style']],
		'uk-text-{website_text_color}' => ['website_text_color' => $element['website_text_color']],
		'uk-font-{website_text_font_family}' => ['website_text_font_family' => $element['website_text_font_family']],
		'uk-heading-{website_text_decoration}' => ['website_text_decoration' => $element['website_text_decoration']],
		'uk-margin[-{website_margin}]-top {@!website_margin: remove}',
		'uk-margin-remove-top {@website_margin: remove}',
		'uk-margin-remove-bottom',
		'uk-inline {@position_inline_website}' => ['position_inline_website' => $element['position_inline_website']],
	], $element),
]);

//Style position && size of an element
$el->attr('style', [
	'position:{position_website};' => ['position_website' => $element['position_website']],
	'left: {position_left_website}px;' => ['position_left_website' => $element['position_left_website']],
	'right: {position_right_website}px;' => ['position_right_website' => $element['position_right_website']],
	'top: {position_top_website}px;' => ['position_top_website' => $element['position_top_website']],
	'bottom: {position_bottom_website}px;' => ['position_bottom_website' => $element['position_bottom_website']],
	'z-index:{position_z_index_website};' => ['position_z_index_website' => $element['position_z_index_website']],
	'width:{website_width};' => ['website_width' => $element['website_width']],
	'height:{website_height};' => ['website_height' => $element['website_height']],

], $element);

echo $el($props, $attrs, $props['website']);
