PluginProbe
Visual Slider / trunk
Visual Slider vtrunk
visual-slider / layer / mini / boxed.php

boxed.php in Visual Slider trunk, at layer/mini/boxed.php

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