Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/inc/panel-builder/footer/options.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 +
3 + $options = [
4 +
5 + 'footer_container_structure' => [
6 + 'label' => __( 'Container Structure', 'blocksy' ),
7 + 'type' => 'ct-radio',
8 + 'value' => 'fixed',
9 + 'view' => 'text',
10 + 'design' => 'block',
11 + 'choices' => [
12 + 'fixed' => __( 'Default', 'blocksy' ),
13 + 'boxed' => __( 'Boxed', 'blocksy' ),
14 + 'fluid' => __( 'Full Width', 'blocksy' ),
15 + ],
16 + ],
17 +
18 + blocksy_rand_md5() => [
19 + 'type' => 'ct-condition',
20 + 'condition' => [ 'footer_container_structure' => 'boxed' ],
21 + 'options' => [
22 +
23 + 'footer_boxed_offset' => [
24 + 'label' => __( 'Container Bottom Offset', 'blocksy' ),
25 + 'type' => 'ct-slider',
26 + 'min' => 0,
27 + 'max' => 300,
28 + 'value' => 50,
29 + 'responsive' => true,
30 + 'divider' => 'top',
31 + 'setting' => [ 'transport' => 'postMessage' ],
32 + ],
33 +
34 + ],
35 + ],
36 +
37 + 'has_reveal_effect' => [
38 + 'label' => __( 'Enable reveal effect on', 'blocksy' ),
39 + 'desc' => __('Enables a nice reveal effect as you scroll down.', 'blocksy'),
40 + 'type' => 'ct-visibility',
41 + 'design' => 'block',
42 + 'divider' => 'top:full',
43 + 'allow_empty' => true,
44 + 'setting' => ['transport' => 'postMessage'],
45 + 'value' => blocksy_default_responsive_value([
46 + 'desktop' => false,
47 + 'tablet' => false,
48 + 'mobile' => false,
49 + ]),
50 + 'choices' => blocksy_ordered_keys([
51 + 'desktop' => __('Desktop', 'blocksy'),
52 + 'tablet' => __('Tablet', 'blocksy'),
53 + 'mobile' => __('Mobile', 'blocksy'),
54 + ]),
55 + ],
56 +
57 + blocksy_rand_md5() => [
58 + 'type' => 'ct-condition',
59 + 'condition' => ['has_reveal_effect:visibility' => 'yes'],
60 + 'options' => [
61 +
62 + 'footerShadow' => [
63 + 'label' => __( 'Shadow', 'blocksy' ),
64 + 'type' => 'ct-box-shadow',
65 + 'responsive' => true,
66 + 'divider' => 'top',
67 + 'hide_shadow_placement' => true,
68 + 'value' => blocksy_box_shadow_value([
69 + 'enable' => true,
70 + 'h_offset' => 0,
71 + 'v_offset' => 30,
72 + 'blur' => 50,
73 + 'spread' => 0,
74 + 'inset' => false,
75 + 'color' => [
76 + 'color' => 'rgba(0, 0, 0, 0.1)',
77 + ],
78 + ])
79 + ],
80 +
81 + ],
82 + ],
83 +
84 + blocksy_rand_md5() => [
85 + 'type' => 'ct-divider',
86 + ],
87 +
88 + 'footerBackground' => [
89 + 'label' => __( 'Container Background', 'blocksy' ),
90 + 'type' => 'ct-background',
91 + 'design' => 'block:right',
92 + 'responsive' => true,
93 + 'setting' => [ 'transport' => 'postMessage' ],
94 + 'value' => blocksy_background_default_value([
95 + 'backgroundColor' => [
96 + 'default' => [
97 + 'color' => 'var(--theme-palette-color-6)'
98 + ],
99 + ],
100 + ]),
101 + 'desc' => __( 'Please note, you can also change the background color for each row individually.', 'blocksy' ),
102 + ],
103 +
104 + blocksy_rand_md5() => [
105 + 'type' => 'ct-condition',
106 + 'condition' => [ 'footer_container_structure' => '!boxed' ],
107 + 'options' => [
108 +
109 + 'footer_spacing' => [
110 + 'label' => __( 'Container Padding', 'blocksy' ),
111 + 'type' => 'ct-spacing',
112 + 'divider' => 'top',
113 + 'setting' => [ 'transport' => 'postMessage' ],
114 + 'value' => blocksy_spacing_value(),
115 + 'responsive' => true
116 + ],
117 +
118 + ],
119 + ],
120 +
121 + blocksy_rand_md5() => [
122 + 'type' => 'ct-condition',
123 + 'condition' => [ 'footer_container_structure' => 'boxed' ],
124 + 'options' => [
125 +
126 + 'footer_boxed_spacing' => [
127 + 'label' => __( 'Container Padding', 'blocksy' ),
128 + 'type' => 'ct-spacing',
129 + 'divider' => 'top',
130 + 'setting' => [ 'transport' => 'postMessage' ],
131 + 'value' => [
132 + 'desktop' => blocksy_spacing_value([
133 + 'top' => '0px',
134 + 'left' => '35px',
135 + 'right' => '35px',
136 + 'bottom' => '0px',
137 + ]),
138 + 'tablet' => blocksy_spacing_value([
139 + 'top' => '0vw',
140 + 'left' => '4vw',
141 + 'right' => '4vw',
142 + 'bottom' => '0vw',
143 + ]),
144 + 'mobile'=> blocksy_spacing_value([
145 + 'top' => '0vw',
146 + 'left' => '5vw',
147 + 'right' => '5vw',
148 + 'bottom' => '0vw',
149 + ]),
150 + ],
151 + 'min' => 0,
152 + 'responsive' => true
153 + ],
154 +
155 + 'footer_container_border_radius' => [
156 + 'label' => __( 'Container Border Radius', 'blocksy' ),
157 + 'type' => 'ct-spacing',
158 + 'divider' => 'top',
159 + 'setting' => [ 'transport' => 'postMessage' ],
160 + 'value' => blocksy_spacing_value(),
161 + 'min' => 0,
162 + 'responsive' => true
163 + ],
164 +
165 + ],
166 + ],
167 +
168 + ];
169 +