__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Form\Element\MixedField;
use Nextend\Framework\Form\AbstractField;
use Nextend\Framework\Form\Element\MixedField;
use Nextend\Framework\Form\Element\Text\Color;
use Nextend\Framework\Form\Element\Text\NumberAutoComplete;
class BoxShadow extends MixedField {
protected $rowClass = 'n2_field_mixed_box_shadow ';
public function __construct($insertAt, $name = '', $label = '', $default = '', $parameters = array()) {
parent::__construct($insertAt, $name, $label, $default, $parameters);
for ($i = 1; $i < 5; $i++) {
new NumberAutoComplete($this, $this->name . '-' . $i, false, 0, array(
'wide' => 3
));
}
new Color($this, $this->name . '-5', false, '', array(
'alpha' => true
));
}
/**
* @param AbstractField $element
*
* @return string
*/
public function decorateElement($element) {
$elementHtml = $element->render();
return $elementHtml[1];
}
protected function decorate($html) {
return '<div class="n2_field_mixed_box_shadow__container" style="' . $this->style . '">' . $html . '</div>';
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Border.php | File | 2.17 KB | 0664 |
|
| BoxShadow.php | File | 1.18 KB | 0664 |
|
| FontSize.php | File | 1.55 KB | 0664 |
|
| GeneratorOrder.php | File | 1.08 KB | 0664 |
|
| TextShadow.php | File | 1.18 KB | 0664 |
|