| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly. |
| 4 |
} |
| 5 |
|
| 6 |
$option[]= array( |
| 7 |
"name" => __('Boxed Style','visual-slider'), |
| 8 |
"id" => $boxed."_boxed", |
| 9 |
"type" => "select", |
| 10 |
"group" => __('Box Style','visual-slider'), |
| 11 |
"options" => array( |
| 12 |
'boxed' => __('Boxed','visual-slider'), |
| 13 |
'none' => __('None Boxed','visual-slider'), |
| 14 |
), ); |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
$option[]= array( |
| 21 |
"name" => __('Padding','visual-slider'), |
| 22 |
"id" => $boxed."_boxed_padding", |
| 23 |
"group" => __('Box Style','visual-slider'), |
| 24 |
"fold" => array( |
| 25 |
'boxed' => $boxed.'_boxed', |
| 26 |
) , |
| 27 |
|
| 28 |
|
| 29 |
"type" => "multi_options", |
| 30 |
"width" => "100%", |
| 31 |
"options" => vs_multi_array_options('layer_padding') |
| 32 |
|
| 33 |
); |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
$option[]= array( |
| 41 |
"name" => __('Hover','visual-slider'), |
| 42 |
"id" => $boxed."_boxed_effects", |
| 43 |
"group" => __('Box Style','visual-slider'), |
| 44 |
"type" => "hover", |
| 45 |
"fold" => array( 'boxed' => $boxed.'_boxed') , |
| 46 |
"options" => array( |
| 47 |
'normal' => __('NORMAL','visual-slider'), |
| 48 |
'hover' => __('HOVER','visual-slider'), |
| 49 |
), |
| 50 |
); |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
$option[]= array( |
| 60 |
"name" => __('Background','visual-slider'), |
| 61 |
"id" => $boxed."_boxed_background", |
| 62 |
"group" => __('Box Style','visual-slider'), |
| 63 |
"fold" => array( |
| 64 |
'normal' => $boxed.'_boxed_effects', |
| 65 |
) , |
| 66 |
"type" => "multi_options", |
| 67 |
"default" => array('first'=>"rgb(2, 159, 253)"), |
| 68 |
"options" => array( |
| 69 |
array( "id" => "first", |
| 70 |
"type" => "color_rgba", |
| 71 |
), |
| 72 |
array( "id" => "second", |
| 73 |
"type" => "color_rgba", |
| 74 |
), |
| 75 |
array( |
| 76 |
"id" => "orientation", |
| 77 |
"type" => "select", |
| 78 |
"width" => "50px", |
| 79 |
"options" => array( |
| 80 |
"horizontal" => esc_html__('→','visual-slider'), |
| 81 |
"vertical" => esc_html__('↓','visual-slider'), |
| 82 |
"diagonal" => esc_html__('↘','visual-slider'), |
| 83 |
"diagonal-bottom" => esc_html__('↗','visual-slider'), |
| 84 |
"radial" => esc_html__('○','visual-slider'), |
| 85 |
|
| 86 |
), |
| 87 |
), |
| 88 |
), |
| 89 |
|
| 90 |
|
| 91 |
); |
| 92 |
|
| 93 |
|
| 94 |
$option[]= array( |
| 95 |
"name" => __('Border','visual-slider'), |
| 96 |
"id" => $boxed."_boxed_border", |
| 97 |
"group" => __('Box Style','visual-slider'), |
| 98 |
"type" => "multi_options", |
| 99 |
"width" => "100%", |
| 100 |
"fold" => array( |
| 101 |
'normal' => $boxed.'_boxed_effects', |
| 102 |
) , |
| 103 |
"options" => vs_multi_array_options('layer_border'), |
| 104 |
); |
| 105 |
|
| 106 |
$option[]= array( |
| 107 |
"name" => __('Shadow','visual-slider'), |
| 108 |
"id" => $boxed."_boxed_shadow", |
| 109 |
"group" => __('Box Style','visual-slider'), |
| 110 |
"type" => "multi_options", |
| 111 |
"width" => "100%", |
| 112 |
"fold" => array( |
| 113 |
'normal' => $boxed.'_boxed_effects', |
| 114 |
) , |
| 115 |
"options" => vs_multi_array_options('layer_shadow'), |
| 116 |
); |
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
//******* hover***********/ |
| 123 |
|
| 124 |
$option[]= array( |
| 125 |
"name" => __('Hover Background','visual-slider'), |
| 126 |
"id" => $boxed."_boxed_hover_background", |
| 127 |
"group" => __('Box Style','visual-slider'), |
| 128 |
"fold" => array( |
| 129 |
'hover' => $boxed.'_boxed_effects', |
| 130 |
) , |
| 131 |
"type" => "multi_options", |
| 132 |
|
| 133 |
"options" => array( |
| 134 |
array( "id" => "first", |
| 135 |
"type" => "color_rgba", |
| 136 |
), |
| 137 |
array( "id" => "second", |
| 138 |
"type" => "color_rgba", |
| 139 |
), |
| 140 |
array( |
| 141 |
"id" => "orientation", |
| 142 |
"type" => "select", |
| 143 |
"width" => "50px", |
| 144 |
|
| 145 |
"options" => array( |
| 146 |
"horizontal" => esc_html__('→','visual-slider'), |
| 147 |
"vertical" => esc_html__('↓','visual-slider'), |
| 148 |
"diagonal" => esc_html__('↘','visual-slider'), |
| 149 |
"diagonal-bottom" => esc_html__('↗','visual-slider'), |
| 150 |
"radial" => esc_html__('○','visual-slider'), |
| 151 |
|
| 152 |
), |
| 153 |
), |
| 154 |
), |
| 155 |
|
| 156 |
); |
| 157 |
|
| 158 |
|
| 159 |
$option[]= array( |
| 160 |
"name" => __('Border','visual-slider'), |
| 161 |
"id" => $boxed."_boxed_hover_border", |
| 162 |
"group" => __('Box Style','visual-slider'), |
| 163 |
"type" => "multi_options", |
| 164 |
"width" => "100%", |
| 165 |
"fold" => array( |
| 166 |
'hover' => $boxed.'_boxed_effects', |
| 167 |
) , |
| 168 |
"options" => vs_multi_array_options('layer_border'), |
| 169 |
); |
| 170 |
|
| 171 |
$option[]= array( |
| 172 |
"name" => __('Hover Shadow','visual-slider'), |
| 173 |
"id" => $boxed."_boxed_hover_shadow", |
| 174 |
"group" => __('Box Style','visual-slider'), |
| 175 |
"type" => "multi_options", |
| 176 |
"width" => "100%", |
| 177 |
"fold" => array( 'hover' => $boxed.'_boxed_effects') , |
| 178 |
|
| 179 |
"options" => vs_multi_array_options('layer_shadow'), |
| 180 |
); |
| 181 |
|
| 182 |
$option[]= array( |
| 183 |
"name" => __('Radius','visual-slider'), |
| 184 |
"id" => $boxed."_boxed_radius", |
| 185 |
"group" => __('Box Style','visual-slider'), |
| 186 |
"type" => "multi_options", |
| 187 |
"width" => "100%", |
| 188 |
"fold" => array( |
| 189 |
'boxed' => $boxed.'_boxed', |
| 190 |
) , |
| 191 |
"options" => vs_multi_array_options('layer_radius'), |
| 192 |
); |
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|