Gutenberg Blocks – ACF Blocks Suite - Version 1.8.0

Version Description

  • Added Business Hours (Free)
  • Added Highlighted Headline (Pro)
Download this release

Release Info

Developer munirkamal
Plugin Icon 128x128 Gutenberg Blocks – ACF Blocks Suite
Version 1.8.0
Comparing to
See all releases

Code changes from version 1.7.1 to 1.8.0

Files changed (72) hide show
  1. acf-blocks.php +1 -1
  2. acf-json/group_5e41243deaf30.json +124 -0
  3. acf-json/group_5e4264a59e5d4.json +625 -0
  4. acf-json/group_5e4a64dc6c677.json +150 -0
  5. acf-json/group_5e4bae0ee904c.json +175 -0
  6. acf-json/group_5e4e45f4d189d.json +676 -0
  7. acf-json/group_5e4fc1d5b0411.json +454 -0
  8. acf-json/group_5e50e811bbbf0.json +220 -0
  9. admin/class-acf-admin-page.php +1 -1
  10. block-templates/free/acfb-business-hours.php +185 -0
  11. block-templates/free/acfb-dual-button.php +111 -0
  12. css/acfblocks.css +251 -1
  13. css/animated-headline.css +1208 -0
  14. free-acf-blocks.php +46 -0
  15. img/is/style1.png +0 -0
  16. img/is/style10.png +0 -0
  17. img/is/style11.png +0 -0
  18. img/is/style12.png +0 -0
  19. img/is/style13.png +0 -0
  20. img/is/style14.png +0 -0
  21. img/is/style15.png +0 -0
  22. img/is/style16.png +0 -0
  23. img/is/style17.png +0 -0
  24. img/is/style18.png +0 -0
  25. img/is/style19.png +0 -0
  26. img/is/style2.png +0 -0
  27. img/is/style20.png +0 -0
  28. img/is/style21.png +0 -0
  29. img/is/style22.png +0 -0
  30. img/is/style23.png +0 -0
  31. img/is/style24.png +0 -0
  32. img/is/style25.png +0 -0
  33. img/is/style26.png +0 -0
  34. img/is/style27.png +0 -0
  35. img/is/style28.png +0 -0
  36. img/is/style29.png +0 -0
  37. img/is/style3.png +0 -0
  38. img/is/style30.png +0 -0
  39. img/is/style31.png +0 -0
  40. img/is/style32.png +0 -0
  41. img/is/style33.png +0 -0
  42. img/is/style34.png +0 -0
  43. img/is/style35.png +0 -0
  44. img/is/style36.png +0 -0
  45. img/is/style37.png +0 -0
  46. img/is/style38.png +0 -0
  47. img/is/style39.png +0 -0
  48. img/is/style4.png +0 -0
  49. img/is/style40.png +0 -0
  50. img/is/style41.png +0 -0
  51. img/is/style42.png +0 -0
  52. img/is/style43.png +0 -0
  53. img/is/style44.png +0 -0
  54. img/is/style45.png +0 -0
  55. img/is/style46.png +0 -0
  56. img/is/style47.png +0 -0
  57. img/is/style48.png +0 -0
  58. img/is/style49.png +0 -0
  59. img/is/style5.png +0 -0
  60. img/is/style50.png +0 -0
  61. img/is/style51.png +0 -0
  62. img/is/style52.png +0 -0
  63. img/is/style53.png +0 -0
  64. img/is/style6.png +0 -0
  65. img/is/style7.png +0 -0
  66. img/is/style8.png +0 -0
  67. img/is/style9.png +0 -0
  68. img/placeholder-vertical.jpg +0 -0
  69. img/pt-four-one.png +0 -0
  70. img/pt-four-two.png +0 -0
  71. js/animated-headline.js +186 -0
  72. readme.txt +9 -3
acf-blocks.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: ACF Blocks
5
  * Plugin URI: https://acfblocks.com/
6
  * Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
7
- * Version: 1.7.1
8
  * Author: munirkamal
9
  * Author URI: https://munirkamal.wordpress.com
10
  * License: GPL2
4
  * Plugin Name: ACF Blocks
5
  * Plugin URI: https://acfblocks.com/
6
  * Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
7
+ * Version: 1.8.0
8
  * Author: munirkamal
9
  * Author URI: https://munirkamal.wordpress.com
10
  * License: GPL2
acf-json/group_5e41243deaf30.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e41243deaf30",
3
+ "title": "Image Shape",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4137cdb89d7",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e414ac3a5e67",
23
+ "label": "Image Shapes",
24
+ "name": "acfb_is_image_shapes",
25
+ "type": "button_group",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "one": "1",
36
+ "two": "2",
37
+ "three": "3",
38
+ "four": "4",
39
+ "five": "5"
40
+ },
41
+ "allow_null": 0,
42
+ "default_value": 1,
43
+ "layout": "horizontal",
44
+ "return_format": "value"
45
+ },
46
+ {
47
+ "key": "field_5e413803b89d9",
48
+ "label": "Image",
49
+ "name": "acfb_is_image",
50
+ "type": "image",
51
+ "instructions": "",
52
+ "required": 0,
53
+ "conditional_logic": 0,
54
+ "wrapper": {
55
+ "width": "",
56
+ "class": "",
57
+ "id": ""
58
+ },
59
+ "return_format": "url",
60
+ "preview_size": "medium",
61
+ "library": "all",
62
+ "min_width": "",
63
+ "min_height": "",
64
+ "min_size": "",
65
+ "max_width": "",
66
+ "max_height": "",
67
+ "max_size": "",
68
+ "mime_types": ""
69
+ },
70
+ {
71
+ "key": "field_5e413829b89da",
72
+ "label": "Image Alt",
73
+ "name": "acfb_is_image_alt",
74
+ "type": "text",
75
+ "instructions": "",
76
+ "required": 0,
77
+ "conditional_logic": 0,
78
+ "wrapper": {
79
+ "width": "",
80
+ "class": "",
81
+ "id": ""
82
+ },
83
+ "default_value": "alt text",
84
+ "placeholder": "alt text",
85
+ "prepend": "",
86
+ "append": "",
87
+ "maxlength": ""
88
+ },
89
+ {
90
+ "key": "field_5e4137e7b89d8",
91
+ "label": "Design",
92
+ "name": "",
93
+ "type": "tab",
94
+ "instructions": "",
95
+ "required": 0,
96
+ "conditional_logic": 0,
97
+ "wrapper": {
98
+ "width": "",
99
+ "class": "",
100
+ "id": ""
101
+ },
102
+ "placement": "top",
103
+ "endpoint": 0
104
+ }
105
+ ],
106
+ "location": [
107
+ [
108
+ {
109
+ "param": "block",
110
+ "operator": "==",
111
+ "value": "acf\/acfb-image-shape"
112
+ }
113
+ ]
114
+ ],
115
+ "menu_order": 0,
116
+ "position": "normal",
117
+ "style": "default",
118
+ "label_placement": "top",
119
+ "instruction_placement": "label",
120
+ "hide_on_screen": "",
121
+ "active": 1,
122
+ "description": "",
123
+ "modified": 1582380565
124
+ }
acf-json/group_5e4264a59e5d4.json ADDED
@@ -0,0 +1,625 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e4264a59e5d4",
3
+ "title": "Business Hours",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4269bd2572e",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e4269e125730",
23
+ "label": "Monday",
24
+ "name": "acfb_bh_monday",
25
+ "type": "true_false",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "message": "",
35
+ "default_value": 0,
36
+ "ui": 1,
37
+ "ui_on_text": "",
38
+ "ui_off_text": ""
39
+ },
40
+ {
41
+ "key": "field_5e4274e5fcdea",
42
+ "label": "Open Hours",
43
+ "name": "acfb_bh_monday_oh",
44
+ "type": "time_picker",
45
+ "instructions": "",
46
+ "required": 0,
47
+ "conditional_logic": [
48
+ [
49
+ {
50
+ "field": "field_5e4269e125730",
51
+ "operator": "==",
52
+ "value": "1"
53
+ }
54
+ ]
55
+ ],
56
+ "wrapper": {
57
+ "width": "",
58
+ "class": "",
59
+ "id": ""
60
+ },
61
+ "display_format": "g:i a",
62
+ "return_format": "g:i a"
63
+ },
64
+ {
65
+ "key": "field_5e427506fcdeb",
66
+ "label": "Close Hours",
67
+ "name": "acfb_bh_monday_ch",
68
+ "type": "time_picker",
69
+ "instructions": "",
70
+ "required": 0,
71
+ "conditional_logic": [
72
+ [
73
+ {
74
+ "field": "field_5e4269e125730",
75
+ "operator": "==",
76
+ "value": "1"
77
+ }
78
+ ]
79
+ ],
80
+ "wrapper": {
81
+ "width": "",
82
+ "class": "",
83
+ "id": ""
84
+ },
85
+ "display_format": "g:i a",
86
+ "return_format": "g:i a"
87
+ },
88
+ {
89
+ "key": "field_5e426a0c25731",
90
+ "label": "Tuesday",
91
+ "name": "acfb_bh_tuesday",
92
+ "type": "true_false",
93
+ "instructions": "",
94
+ "required": 0,
95
+ "conditional_logic": 0,
96
+ "wrapper": {
97
+ "width": "",
98
+ "class": "",
99
+ "id": ""
100
+ },
101
+ "message": "",
102
+ "default_value": 0,
103
+ "ui": 1,
104
+ "ui_on_text": "",
105
+ "ui_off_text": ""
106
+ },
107
+ {
108
+ "key": "field_5e427593f47a2",
109
+ "label": "Open Hours",
110
+ "name": "acfb_bh_tuesday_oh",
111
+ "type": "time_picker",
112
+ "instructions": "",
113
+ "required": 0,
114
+ "conditional_logic": [
115
+ [
116
+ {
117
+ "field": "field_5e426a0c25731",
118
+ "operator": "==",
119
+ "value": "1"
120
+ }
121
+ ]
122
+ ],
123
+ "wrapper": {
124
+ "width": "",
125
+ "class": "",
126
+ "id": ""
127
+ },
128
+ "display_format": "g:i a",
129
+ "return_format": "g:i a"
130
+ },
131
+ {
132
+ "key": "field_5e427599f47a3",
133
+ "label": "Close Hours",
134
+ "name": "acfb_bh_tuesday_ch",
135
+ "type": "time_picker",
136
+ "instructions": "",
137
+ "required": 0,
138
+ "conditional_logic": [
139
+ [
140
+ {
141
+ "field": "field_5e426a0c25731",
142
+ "operator": "==",
143
+ "value": "1"
144
+ }
145
+ ]
146
+ ],
147
+ "wrapper": {
148
+ "width": "",
149
+ "class": "",
150
+ "id": ""
151
+ },
152
+ "display_format": "g:i a",
153
+ "return_format": "g:i a"
154
+ },
155
+ {
156
+ "key": "field_5e426a1625732",
157
+ "label": "Wednesday",
158
+ "name": "acfb_bh_wednesday",
159
+ "type": "true_false",
160
+ "instructions": "",
161
+ "required": 0,
162
+ "conditional_logic": 0,
163
+ "wrapper": {
164
+ "width": "",
165
+ "class": "",
166
+ "id": ""
167
+ },
168
+ "message": "",
169
+ "default_value": 0,
170
+ "ui": 1,
171
+ "ui_on_text": "",
172
+ "ui_off_text": ""
173
+ },
174
+ {
175
+ "key": "field_5e4275c5f47a4",
176
+ "label": "Open Hours",
177
+ "name": "acfb_bh_wednesday_oh",
178
+ "type": "time_picker",
179
+ "instructions": "",
180
+ "required": 0,
181
+ "conditional_logic": [
182
+ [
183
+ {
184
+ "field": "field_5e426a1625732",
185
+ "operator": "==",
186
+ "value": "1"
187
+ }
188
+ ]
189
+ ],
190
+ "wrapper": {
191
+ "width": "",
192
+ "class": "",
193
+ "id": ""
194
+ },
195
+ "display_format": "g:i a",
196
+ "return_format": "g:i a"
197
+ },
198
+ {
199
+ "key": "field_5e4275e9f47a5",
200
+ "label": "Close Hours",
201
+ "name": "acfb_bh_wednesday_ch",
202
+ "type": "time_picker",
203
+ "instructions": "",
204
+ "required": 0,
205
+ "conditional_logic": [
206
+ [
207
+ {
208
+ "field": "field_5e426a1625732",
209
+ "operator": "==",
210
+ "value": "1"
211
+ }
212
+ ]
213
+ ],
214
+ "wrapper": {
215
+ "width": "",
216
+ "class": "",
217
+ "id": ""
218
+ },
219
+ "display_format": "g:i a",
220
+ "return_format": "g:i a"
221
+ },
222
+ {
223
+ "key": "field_5e426a1c25733",
224
+ "label": "Thursday",
225
+ "name": "acfb_bh_thursday",
226
+ "type": "true_false",
227
+ "instructions": "",
228
+ "required": 0,
229
+ "conditional_logic": 0,
230
+ "wrapper": {
231
+ "width": "",
232
+ "class": "",
233
+ "id": ""
234
+ },
235
+ "message": "",
236
+ "default_value": 0,
237
+ "ui": 1,
238
+ "ui_on_text": "",
239
+ "ui_off_text": ""
240
+ },
241
+ {
242
+ "key": "field_5e427611f47a6",
243
+ "label": "Open Hours",
244
+ "name": "acfb_bh_thursday_oh",
245
+ "type": "time_picker",
246
+ "instructions": "",
247
+ "required": 0,
248
+ "conditional_logic": [
249
+ [
250
+ {
251
+ "field": "field_5e426a1c25733",
252
+ "operator": "==",
253
+ "value": "1"
254
+ }
255
+ ]
256
+ ],
257
+ "wrapper": {
258
+ "width": "",
259
+ "class": "",
260
+ "id": ""
261
+ },
262
+ "display_format": "g:i a",
263
+ "return_format": "g:i a"
264
+ },
265
+ {
266
+ "key": "field_5e42761cf47a7",
267
+ "label": "Close Hours",
268
+ "name": "acfb_bh_thursday_ch",
269
+ "type": "time_picker",
270
+ "instructions": "",
271
+ "required": 0,
272
+ "conditional_logic": [
273
+ [
274
+ {
275
+ "field": "field_5e426a1c25733",
276
+ "operator": "==",
277
+ "value": "1"
278
+ }
279
+ ]
280
+ ],
281
+ "wrapper": {
282
+ "width": "",
283
+ "class": "",
284
+ "id": ""
285
+ },
286
+ "display_format": "g:i a",
287
+ "return_format": "g:i a"
288
+ },
289
+ {
290
+ "key": "field_5e426a2825734",
291
+ "label": "Friday",
292
+ "name": "acfb_bh_friday",
293
+ "type": "true_false",
294
+ "instructions": "",
295
+ "required": 0,
296
+ "conditional_logic": 0,
297
+ "wrapper": {
298
+ "width": "",
299
+ "class": "",
300
+ "id": ""
301
+ },
302
+ "message": "",
303
+ "default_value": 0,
304
+ "ui": 1,
305
+ "ui_on_text": "",
306
+ "ui_off_text": ""
307
+ },
308
+ {
309
+ "key": "field_5e42764ff47a8",
310
+ "label": "Open Hours",
311
+ "name": "acfb_bh_friday_oh",
312
+ "type": "time_picker",
313
+ "instructions": "",
314
+ "required": 0,
315
+ "conditional_logic": [
316
+ [
317
+ {
318
+ "field": "field_5e426a2825734",
319
+ "operator": "==",
320
+ "value": "1"
321
+ }
322
+ ]
323
+ ],
324
+ "wrapper": {
325
+ "width": "",
326
+ "class": "",
327
+ "id": ""
328
+ },
329
+ "display_format": "g:i a",
330
+ "return_format": "g:i a"
331
+ },
332
+ {
333
+ "key": "field_5e42767ef47a9",
334
+ "label": "Close Hours",
335
+ "name": "acfb_bh_friday_ch",
336
+ "type": "time_picker",
337
+ "instructions": "",
338
+ "required": 0,
339
+ "conditional_logic": [
340
+ [
341
+ {
342
+ "field": "field_5e426a2825734",
343
+ "operator": "==",
344
+ "value": "1"
345
+ }
346
+ ]
347
+ ],
348
+ "wrapper": {
349
+ "width": "",
350
+ "class": "",
351
+ "id": ""
352
+ },
353
+ "display_format": "g:i a",
354
+ "return_format": "g:i a"
355
+ },
356
+ {
357
+ "key": "field_5e426a2d25735",
358
+ "label": "Saturday",
359
+ "name": "acfb_bh_saturday",
360
+ "type": "true_false",
361
+ "instructions": "",
362
+ "required": 0,
363
+ "conditional_logic": 0,
364
+ "wrapper": {
365
+ "width": "",
366
+ "class": "",
367
+ "id": ""
368
+ },
369
+ "message": "",
370
+ "default_value": 0,
371
+ "ui": 1,
372
+ "ui_on_text": "",
373
+ "ui_off_text": ""
374
+ },
375
+ {
376
+ "key": "field_5e42769ff47aa",
377
+ "label": "Open Hours",
378
+ "name": "acfb_bh_saturday_oh",
379
+ "type": "time_picker",
380
+ "instructions": "",
381
+ "required": 0,
382
+ "conditional_logic": [
383
+ [
384
+ {
385
+ "field": "field_5e426a2d25735",
386
+ "operator": "==",
387
+ "value": "1"
388
+ }
389
+ ]
390
+ ],
391
+ "wrapper": {
392
+ "width": "",
393
+ "class": "",
394
+ "id": ""
395
+ },
396
+ "display_format": "g:i a",
397
+ "return_format": "g:i a"
398
+ },
399
+ {
400
+ "key": "field_5e4276a6f47ab",
401
+ "label": "Close Hours",
402
+ "name": "acfb_bh_saturday_ch",
403
+ "type": "time_picker",
404
+ "instructions": "",
405
+ "required": 0,
406
+ "conditional_logic": [
407
+ [
408
+ {
409
+ "field": "field_5e426a2d25735",
410
+ "operator": "==",
411
+ "value": "1"
412
+ }
413
+ ]
414
+ ],
415
+ "wrapper": {
416
+ "width": "",
417
+ "class": "",
418
+ "id": ""
419
+ },
420
+ "display_format": "g:i a",
421
+ "return_format": "g:i a"
422
+ },
423
+ {
424
+ "key": "field_5e426a3525736",
425
+ "label": "Sunday",
426
+ "name": "acfb_bh_sunday",
427
+ "type": "true_false",
428
+ "instructions": "",
429
+ "required": 0,
430
+ "conditional_logic": 0,
431
+ "wrapper": {
432
+ "width": "",
433
+ "class": "",
434
+ "id": ""
435
+ },
436
+ "message": "",
437
+ "default_value": 0,
438
+ "ui": 1,
439
+ "ui_on_text": "",
440
+ "ui_off_text": ""
441
+ },
442
+ {
443
+ "key": "field_5e42770af47ac",
444
+ "label": "Open Hours",
445
+ "name": "acfb_bh_sunday_oh",
446
+ "type": "time_picker",
447
+ "instructions": "",
448
+ "required": 0,
449
+ "conditional_logic": [
450
+ [
451
+ {
452
+ "field": "field_5e426a3525736",
453
+ "operator": "==",
454
+ "value": "1"
455
+ }
456
+ ]
457
+ ],
458
+ "wrapper": {
459
+ "width": "",
460
+ "class": "",
461
+ "id": ""
462
+ },
463
+ "display_format": "g:i a",
464
+ "return_format": "g:i a"
465
+ },
466
+ {
467
+ "key": "field_5e42770ef47ad",
468
+ "label": "Close Hours",
469
+ "name": "acfb_bh_sunday_ch",
470
+ "type": "time_picker",
471
+ "instructions": "",
472
+ "required": 0,
473
+ "conditional_logic": [
474
+ [
475
+ {
476
+ "field": "field_5e426a3525736",
477
+ "operator": "==",
478
+ "value": "1"
479
+ }
480
+ ]
481
+ ],
482
+ "wrapper": {
483
+ "width": "",
484
+ "class": "",
485
+ "id": ""
486
+ },
487
+ "display_format": "g:i a",
488
+ "return_format": "g:i a"
489
+ },
490
+ {
491
+ "key": "field_5e4269d62572f",
492
+ "label": "Design",
493
+ "name": "",
494
+ "type": "tab",
495
+ "instructions": "",
496
+ "required": 0,
497
+ "conditional_logic": 0,
498
+ "wrapper": {
499
+ "width": "",
500
+ "class": "",
501
+ "id": ""
502
+ },
503
+ "placement": "top",
504
+ "endpoint": 0
505
+ },
506
+ {
507
+ "key": "field_5e42ac9c0051c",
508
+ "label": "Open Time Color",
509
+ "name": "acfb_bh_oh_color",
510
+ "type": "color_picker",
511
+ "instructions": "",
512
+ "required": 0,
513
+ "conditional_logic": 0,
514
+ "wrapper": {
515
+ "width": "",
516
+ "class": "",
517
+ "id": ""
518
+ },
519
+ "default_value": "#191e23"
520
+ },
521
+ {
522
+ "key": "field_5e43c40b466e2",
523
+ "label": "Close Time Color",
524
+ "name": "acfb_bh_ch_color",
525
+ "type": "color_picker",
526
+ "instructions": "",
527
+ "required": 0,
528
+ "conditional_logic": 0,
529
+ "wrapper": {
530
+ "width": "",
531
+ "class": "",
532
+ "id": ""
533
+ },
534
+ "default_value": "#191e23"
535
+ },
536
+ {
537
+ "key": "field_5e4a485cb9426",
538
+ "label": "Border Color",
539
+ "name": "acfb_bh_border_color",
540
+ "type": "color_picker",
541
+ "instructions": "",
542
+ "required": 0,
543
+ "conditional_logic": 0,
544
+ "wrapper": {
545
+ "width": "",
546
+ "class": "",
547
+ "id": ""
548
+ },
549
+ "default_value": "#eeeeee"
550
+ },
551
+ {
552
+ "key": "field_5e4a4895b9427",
553
+ "label": "Font Size",
554
+ "name": "acfb_bh_font_size",
555
+ "type": "range",
556
+ "instructions": "",
557
+ "required": 0,
558
+ "conditional_logic": 0,
559
+ "wrapper": {
560
+ "width": "",
561
+ "class": "",
562
+ "id": ""
563
+ },
564
+ "default_value": 18,
565
+ "min": "",
566
+ "max": 200,
567
+ "step": "",
568
+ "prepend": "",
569
+ "append": "px"
570
+ },
571
+ {
572
+ "key": "field_5e54f753ccfa8",
573
+ "label": "Background Color",
574
+ "name": "acfb_bh_background_color",
575
+ "type": "color_picker",
576
+ "instructions": "",
577
+ "required": 0,
578
+ "conditional_logic": 0,
579
+ "wrapper": {
580
+ "width": "",
581
+ "class": "",
582
+ "id": ""
583
+ },
584
+ "default_value": "#f3f4f5"
585
+ },
586
+ {
587
+ "key": "field_5e54f739ccfa7",
588
+ "label": "Padding",
589
+ "name": "acfb_bh_padding",
590
+ "type": "range",
591
+ "instructions": "",
592
+ "required": 0,
593
+ "conditional_logic": 0,
594
+ "wrapper": {
595
+ "width": "",
596
+ "class": "",
597
+ "id": ""
598
+ },
599
+ "default_value": 10,
600
+ "min": "",
601
+ "max": "",
602
+ "step": "",
603
+ "prepend": "",
604
+ "append": "px"
605
+ }
606
+ ],
607
+ "location": [
608
+ [
609
+ {
610
+ "param": "block",
611
+ "operator": "==",
612
+ "value": "acf\/acfb-business-hours"
613
+ }
614
+ ]
615
+ ],
616
+ "menu_order": 0,
617
+ "position": "normal",
618
+ "style": "default",
619
+ "label_placement": "top",
620
+ "instruction_placement": "label",
621
+ "hide_on_screen": "",
622
+ "active": 1,
623
+ "description": "",
624
+ "modified": 1582626873
625
+ }
acf-json/group_5e4a64dc6c677.json ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e4a64dc6c677",
3
+ "title": "Animated Headline",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4a64ff0eae9",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e4a68cf0eaeb",
23
+ "label": "Animations",
24
+ "name": "acfb_ah_animations",
25
+ "type": "select",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "rotate-1": "Rotate 1",
36
+ "letters type": "Letters Type",
37
+ "letters rotate-2": "Letters Rotate 2",
38
+ "loading-bar": "Loading Bar",
39
+ "slide": "Slide",
40
+ "clip is-full-width": "Clip",
41
+ "zoom": "Zoom",
42
+ "letters rotate-3": "Letters Rotate 3",
43
+ "letters scale": "Scale",
44
+ "push": "Push"
45
+ },
46
+ "default_value": [
47
+ "rotate-1"
48
+ ],
49
+ "allow_null": 0,
50
+ "multiple": 0,
51
+ "ui": 0,
52
+ "return_format": "value",
53
+ "ajax": 0,
54
+ "placeholder": ""
55
+ },
56
+ {
57
+ "key": "field_5e4a6ee67dd2d",
58
+ "label": "Before Text",
59
+ "name": "acfb_ah_before_text",
60
+ "type": "text",
61
+ "instructions": "",
62
+ "required": 0,
63
+ "conditional_logic": 0,
64
+ "wrapper": {
65
+ "width": "",
66
+ "class": "",
67
+ "id": ""
68
+ },
69
+ "default_value": "My favourite food is",
70
+ "placeholder": "My favourite food is",
71
+ "prepend": "",
72
+ "append": "",
73
+ "maxlength": ""
74
+ },
75
+ {
76
+ "key": "field_5e4a6f127dd2e",
77
+ "label": "Rotating Text",
78
+ "name": "acfb_ah_rotating_text",
79
+ "type": "repeater",
80
+ "instructions": "",
81
+ "required": 0,
82
+ "conditional_logic": 0,
83
+ "wrapper": {
84
+ "width": "",
85
+ "class": "",
86
+ "id": ""
87
+ },
88
+ "collapsed": "",
89
+ "min": 0,
90
+ "max": 0,
91
+ "layout": "table",
92
+ "button_label": "",
93
+ "sub_fields": [
94
+ {
95
+ "key": "field_5e4a6f787dd2f",
96
+ "label": "Rotating Item",
97
+ "name": "acfb_ah_rotating_item",
98
+ "type": "text",
99
+ "instructions": "",
100
+ "required": 0,
101
+ "conditional_logic": 0,
102
+ "wrapper": {
103
+ "width": "",
104
+ "class": "",
105
+ "id": ""
106
+ },
107
+ "default_value": "Pizza",
108
+ "placeholder": "Pizza",
109
+ "prepend": "",
110
+ "append": "",
111
+ "maxlength": ""
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "key": "field_5e4a68c30eaea",
117
+ "label": "Design",
118
+ "name": "",
119
+ "type": "tab",
120
+ "instructions": "",
121
+ "required": 0,
122
+ "conditional_logic": 0,
123
+ "wrapper": {
124
+ "width": "",
125
+ "class": "",
126
+ "id": ""
127
+ },
128
+ "placement": "top",
129
+ "endpoint": 0
130
+ }
131
+ ],
132
+ "location": [
133
+ [
134
+ {
135
+ "param": "block",
136
+ "operator": "==",
137
+ "value": "acf\/acfb-animated-headline"
138
+ }
139
+ ]
140
+ ],
141
+ "menu_order": 0,
142
+ "position": "normal",
143
+ "style": "default",
144
+ "label_placement": "top",
145
+ "instruction_placement": "label",
146
+ "hide_on_screen": "",
147
+ "active": 1,
148
+ "description": "",
149
+ "modified": 1581937308
150
+ }
acf-json/group_5e4bae0ee904c.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e4bae0ee904c",
3
+ "title": "Steps",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4bae2b27458",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e4ceda549f09",
23
+ "label": "Choose",
24
+ "name": "acfb_steps_text_img",
25
+ "type": "button_group",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "acfb_step_img": "Image",
36
+ "acfb_step_text": "Text"
37
+ },
38
+ "allow_null": 0,
39
+ "default_value": "acfb_step_img",
40
+ "layout": "horizontal",
41
+ "return_format": "value"
42
+ },
43
+ {
44
+ "key": "field_5e4cee1749f0a",
45
+ "label": "Circle Text",
46
+ "name": "acfb_steps_circle_text",
47
+ "type": "text",
48
+ "instructions": "",
49
+ "required": 0,
50
+ "conditional_logic": [
51
+ [
52
+ {
53
+ "field": "field_5e4ceda549f09",
54
+ "operator": "==",
55
+ "value": "acfb_step_text"
56
+ }
57
+ ]
58
+ ],
59
+ "wrapper": {
60
+ "width": "",
61
+ "class": "",
62
+ "id": ""
63
+ },
64
+ "default_value": "Circle Text",
65
+ "placeholder": "Circle Text",
66
+ "prepend": "",
67
+ "append": "",
68
+ "maxlength": ""
69
+ },
70
+ {
71
+ "key": "field_5e4cee5949f0b",
72
+ "label": "Circle Image",
73
+ "name": "acfb_steps_circle_img",
74
+ "type": "image",
75
+ "instructions": "",
76
+ "required": 0,
77
+ "conditional_logic": [
78
+ [
79
+ {
80
+ "field": "field_5e4ceda549f09",
81
+ "operator": "==",
82
+ "value": "acfb_step_img"
83
+ }
84
+ ]
85
+ ],
86
+ "wrapper": {
87
+ "width": "",
88
+ "class": "",
89
+ "id": ""
90
+ },
91
+ "return_format": "url",
92
+ "preview_size": "medium",
93
+ "library": "all",
94
+ "min_width": "",
95
+ "min_height": "",
96
+ "min_size": "",
97
+ "max_width": "",
98
+ "max_height": "",
99
+ "max_size": "",
100
+ "mime_types": ""
101
+ },
102
+ {
103
+ "key": "field_5e4cee7049f0c",
104
+ "label": "Title",
105
+ "name": "acfb_step_title",
106
+ "type": "text",
107
+ "instructions": "",
108
+ "required": 0,
109
+ "conditional_logic": 0,
110
+ "wrapper": {
111
+ "width": "",
112
+ "class": "",
113
+ "id": ""
114
+ },
115
+ "default_value": "Title",
116
+ "placeholder": "Title",
117
+ "prepend": "",
118
+ "append": "",
119
+ "maxlength": ""
120
+ },
121
+ {
122
+ "key": "field_5e4cee9149f0d",
123
+ "label": "Content",
124
+ "name": "acfb_step_content",
125
+ "type": "textarea",
126
+ "instructions": "",
127
+ "required": 0,
128
+ "conditional_logic": 0,
129
+ "wrapper": {
130
+ "width": "",
131
+ "class": "",
132
+ "id": ""
133
+ },
134
+ "default_value": "Step Content",
135
+ "placeholder": "Step Content",
136
+ "maxlength": "",
137
+ "rows": "",
138
+ "new_lines": ""
139
+ },
140
+ {
141
+ "key": "field_5e4bae3927459",
142
+ "label": "Design",
143
+ "name": "",
144
+ "type": "tab",
145
+ "instructions": "",
146
+ "required": 0,
147
+ "conditional_logic": 0,
148
+ "wrapper": {
149
+ "width": "",
150
+ "class": "",
151
+ "id": ""
152
+ },
153
+ "placement": "top",
154
+ "endpoint": 0
155
+ }
156
+ ],
157
+ "location": [
158
+ [
159
+ {
160
+ "param": "block",
161
+ "operator": "==",
162
+ "value": "acf\/acfb-steps"
163
+ }
164
+ ]
165
+ ],
166
+ "menu_order": 0,
167
+ "position": "normal",
168
+ "style": "default",
169
+ "label_placement": "top",
170
+ "instruction_placement": "label",
171
+ "hide_on_screen": "",
172
+ "active": 1,
173
+ "description": "",
174
+ "modified": 1582101178
175
+ }
acf-json/group_5e4e45f4d189d.json ADDED
@@ -0,0 +1,676 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e4e45f4d189d",
3
+ "title": "Dual Button",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4e45f553149",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e4e45f553531",
23
+ "label": "Left Button Text",
24
+ "name": "acfb_db_lb_text",
25
+ "type": "text",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "default_value": "Button Text",
35
+ "placeholder": "Button Text",
36
+ "prepend": "",
37
+ "append": "",
38
+ "maxlength": ""
39
+ },
40
+ {
41
+ "key": "field_5e4e51793ef49",
42
+ "label": "Left Button Url",
43
+ "name": "acfb_db_lb_url",
44
+ "type": "url",
45
+ "instructions": "",
46
+ "required": 0,
47
+ "conditional_logic": 0,
48
+ "wrapper": {
49
+ "width": "",
50
+ "class": "",
51
+ "id": ""
52
+ },
53
+ "default_value": "#",
54
+ "placeholder": "#"
55
+ },
56
+ {
57
+ "key": "field_5e4e51ad3ef4a",
58
+ "label": "Right Button Text",
59
+ "name": "acfb_db_rb_text",
60
+ "type": "text",
61
+ "instructions": "",
62
+ "required": 0,
63
+ "conditional_logic": 0,
64
+ "wrapper": {
65
+ "width": "",
66
+ "class": "",
67
+ "id": ""
68
+ },
69
+ "default_value": "Button Text",
70
+ "placeholder": "Button Text",
71
+ "prepend": "",
72
+ "append": "",
73
+ "maxlength": ""
74
+ },
75
+ {
76
+ "key": "field_5e4e51c13ef4b",
77
+ "label": "Right Button Url",
78
+ "name": "acfb_db_rb_url",
79
+ "type": "url",
80
+ "instructions": "",
81
+ "required": 0,
82
+ "conditional_logic": 0,
83
+ "wrapper": {
84
+ "width": "",
85
+ "class": "",
86
+ "id": ""
87
+ },
88
+ "default_value": "#",
89
+ "placeholder": "#"
90
+ },
91
+ {
92
+ "key": "field_5e4e51e53ef4d",
93
+ "label": "Button Connector",
94
+ "name": "acfb_db_bc",
95
+ "type": "true_false",
96
+ "instructions": "",
97
+ "required": 0,
98
+ "conditional_logic": 0,
99
+ "wrapper": {
100
+ "width": "",
101
+ "class": "",
102
+ "id": ""
103
+ },
104
+ "message": "",
105
+ "default_value": 1,
106
+ "ui": 1,
107
+ "ui_on_text": "",
108
+ "ui_off_text": ""
109
+ },
110
+ {
111
+ "key": "field_5e4e51e53ef4c",
112
+ "label": "Button Connector img or text",
113
+ "name": "acfb_db_bc_img_text",
114
+ "type": "button_group",
115
+ "instructions": "",
116
+ "required": 0,
117
+ "conditional_logic": [
118
+ [
119
+ {
120
+ "field": "field_5e4e51e53ef4d",
121
+ "operator": "==",
122
+ "value": "1"
123
+ }
124
+ ]
125
+ ],
126
+ "wrapper": {
127
+ "width": "",
128
+ "class": "",
129
+ "id": ""
130
+ },
131
+ "choices": {
132
+ "acfb_db_bc_img": "Image",
133
+ "acfb_db_bc_text": "Text"
134
+ },
135
+ "allow_null": 0,
136
+ "default_value": "acfb_db_bc_text",
137
+ "layout": "horizontal",
138
+ "return_format": "value"
139
+ },
140
+ {
141
+ "key": "field_5e4e52c43ef4e",
142
+ "label": "Button Connector Img",
143
+ "name": "acfb_db_bc_img",
144
+ "type": "image",
145
+ "instructions": "",
146
+ "required": 0,
147
+ "conditional_logic": [
148
+ [
149
+ {
150
+ "field": "field_5e4e51e53ef4c",
151
+ "operator": "==",
152
+ "value": "acfb_db_bc_img"
153
+ }
154
+ ]
155
+ ],
156
+ "wrapper": {
157
+ "width": "",
158
+ "class": "",
159
+ "id": ""
160
+ },
161
+ "return_format": "url",
162
+ "preview_size": "medium",
163
+ "library": "all",
164
+ "min_width": "",
165
+ "min_height": "",
166
+ "min_size": "",
167
+ "max_width": "",
168
+ "max_height": "",
169
+ "max_size": "",
170
+ "mime_types": ""
171
+ },
172
+ {
173
+ "key": "field_5e4e52ea3ef4f",
174
+ "label": "Button Connector Text",
175
+ "name": "acfb_db_bc_text",
176
+ "type": "text",
177
+ "instructions": "",
178
+ "required": 0,
179
+ "conditional_logic": [
180
+ [
181
+ {
182
+ "field": "field_5e4e51e53ef4c",
183
+ "operator": "==",
184
+ "value": "acfb_db_bc_text"
185
+ }
186
+ ]
187
+ ],
188
+ "wrapper": {
189
+ "width": "",
190
+ "class": "",
191
+ "id": ""
192
+ },
193
+ "default_value": "OR",
194
+ "placeholder": "OR",
195
+ "prepend": "",
196
+ "append": "",
197
+ "maxlength": ""
198
+ },
199
+ {
200
+ "key": "field_5e4e45f5540e9",
201
+ "label": "Design",
202
+ "name": "",
203
+ "type": "tab",
204
+ "instructions": "",
205
+ "required": 0,
206
+ "conditional_logic": 0,
207
+ "wrapper": {
208
+ "width": "",
209
+ "class": "",
210
+ "id": ""
211
+ },
212
+ "placement": "top",
213
+ "endpoint": 0
214
+ },
215
+ {
216
+ "key": "field_5e4e45f5544d1",
217
+ "label": "Left Button Background Color",
218
+ "name": "acfb_db_lb_bg_color",
219
+ "type": "color_picker",
220
+ "instructions": "",
221
+ "required": 0,
222
+ "conditional_logic": 0,
223
+ "wrapper": {
224
+ "width": "",
225
+ "class": "",
226
+ "id": ""
227
+ },
228
+ "default_value": "#818a91"
229
+ },
230
+ {
231
+ "key": "field_5e4e66860f08e",
232
+ "label": "Left Button Color",
233
+ "name": "acfb_db_lb_color",
234
+ "type": "color_picker",
235
+ "instructions": "",
236
+ "required": 0,
237
+ "conditional_logic": 0,
238
+ "wrapper": {
239
+ "width": "",
240
+ "class": "",
241
+ "id": ""
242
+ },
243
+ "default_value": "#ffffff"
244
+ },
245
+ {
246
+ "key": "field_5e4e6b649da28",
247
+ "label": "Left Button Hover Background Color",
248
+ "name": "acfb_db_lb_hover_bg_color",
249
+ "type": "color_picker",
250
+ "instructions": "",
251
+ "required": 0,
252
+ "conditional_logic": 0,
253
+ "wrapper": {
254
+ "width": "",
255
+ "class": "",
256
+ "id": ""
257
+ },
258
+ "default_value": "#818a91"
259
+ },
260
+ {
261
+ "key": "field_5e4e6b939da29",
262
+ "label": "Left Button Hover Color",
263
+ "name": "acfb_db_lb_hover_color",
264
+ "type": "color_picker",
265
+ "instructions": "",
266
+ "required": 0,
267
+ "conditional_logic": 0,
268
+ "wrapper": {
269
+ "width": "",
270
+ "class": "",
271
+ "id": ""
272
+ },
273
+ "default_value": "#ffffff"
274
+ },
275
+ {
276
+ "key": "field_5e4e66c20f090",
277
+ "label": "Right Button Background Color",
278
+ "name": "acfb_db_rb_bg_color",
279
+ "type": "color_picker",
280
+ "instructions": "",
281
+ "required": 0,
282
+ "conditional_logic": 0,
283
+ "wrapper": {
284
+ "width": "",
285
+ "class": "",
286
+ "id": ""
287
+ },
288
+ "default_value": "#1e87f0"
289
+ },
290
+ {
291
+ "key": "field_5e4e66fa0f091",
292
+ "label": "Right Button Color",
293
+ "name": "acfb_db_rb_color",
294
+ "type": "color_picker",
295
+ "instructions": "",
296
+ "required": 0,
297
+ "conditional_logic": 0,
298
+ "wrapper": {
299
+ "width": "",
300
+ "class": "",
301
+ "id": ""
302
+ },
303
+ "default_value": "#ffffff"
304
+ },
305
+ {
306
+ "key": "field_5e4e6c159da2b",
307
+ "label": "Right Button Hover Background Color",
308
+ "name": "acfb_db_rb_hover_bg_color",
309
+ "type": "color_picker",
310
+ "instructions": "",
311
+ "required": 0,
312
+ "conditional_logic": 0,
313
+ "wrapper": {
314
+ "width": "",
315
+ "class": "",
316
+ "id": ""
317
+ },
318
+ "default_value": "#1e87f0"
319
+ },
320
+ {
321
+ "key": "field_5e4e6c3c9da2c",
322
+ "label": "Right Button Hover Color",
323
+ "name": "acfb_db_rb_hover_color",
324
+ "type": "color_picker",
325
+ "instructions": "",
326
+ "required": 0,
327
+ "conditional_logic": 0,
328
+ "wrapper": {
329
+ "width": "",
330
+ "class": "",
331
+ "id": ""
332
+ },
333
+ "default_value": "#ffffff"
334
+ },
335
+ {
336
+ "key": "field_5e4e45f5548b9",
337
+ "label": "Buttons Text Size",
338
+ "name": "acfb_db_button_text_size",
339
+ "type": "range",
340
+ "instructions": "",
341
+ "required": 0,
342
+ "conditional_logic": 0,
343
+ "wrapper": {
344
+ "width": "",
345
+ "class": "",
346
+ "id": ""
347
+ },
348
+ "default_value": 18,
349
+ "min": "",
350
+ "max": "",
351
+ "step": "",
352
+ "prepend": "",
353
+ "append": "px"
354
+ },
355
+ {
356
+ "key": "field_5e4fac1d27e47",
357
+ "label": "Button Radius",
358
+ "name": "acfb_db_radius",
359
+ "type": "group",
360
+ "instructions": "",
361
+ "required": 0,
362
+ "conditional_logic": 0,
363
+ "wrapper": {
364
+ "width": "",
365
+ "class": "acfb_db_radius",
366
+ "id": ""
367
+ },
368
+ "layout": "block",
369
+ "sub_fields": [
370
+ {
371
+ "key": "field_5e4fac2a27e48",
372
+ "label": "Top Left",
373
+ "name": "acfb_db_tl_radius",
374
+ "type": "range",
375
+ "instructions": "",
376
+ "required": 0,
377
+ "conditional_logic": 0,
378
+ "wrapper": {
379
+ "width": "",
380
+ "class": "",
381
+ "id": ""
382
+ },
383
+ "default_value": "",
384
+ "min": "",
385
+ "max": "",
386
+ "step": "",
387
+ "prepend": "",
388
+ "append": "px"
389
+ },
390
+ {
391
+ "key": "field_5e4fac4927e49",
392
+ "label": "Top Right",
393
+ "name": "acfb_db_tr_radius",
394
+ "type": "range",
395
+ "instructions": "",
396
+ "required": 0,
397
+ "conditional_logic": 0,
398
+ "wrapper": {
399
+ "width": "",
400
+ "class": "",
401
+ "id": ""
402
+ },
403
+ "default_value": "",
404
+ "min": "",
405
+ "max": "",
406
+ "step": "",
407
+ "prepend": "",
408
+ "append": "px"
409
+ },
410
+ {
411
+ "key": "field_5e4fac5027e4b",
412
+ "label": "Bottom Left",
413
+ "name": "acfb_db_bl_radius",
414
+ "type": "range",
415
+ "instructions": "",
416
+ "required": 0,
417
+ "conditional_logic": 0,
418
+ "wrapper": {
419
+ "width": "",
420
+ "class": "",
421
+ "id": ""
422
+ },
423
+ "default_value": "",
424
+ "min": "",
425
+ "max": "",
426
+ "step": "",
427
+ "prepend": "",
428
+ "append": "px"
429
+ },
430
+ {
431
+ "key": "field_5e4fac8b8a471",
432
+ "label": "Bottom Right",
433
+ "name": "acfb_db_br_radius",
434
+ "type": "range",
435
+ "instructions": "",
436
+ "required": 0,
437
+ "conditional_logic": 0,
438
+ "wrapper": {
439
+ "width": "",
440
+ "class": "",
441
+ "id": ""
442
+ },
443
+ "default_value": "",
444
+ "min": "",
445
+ "max": "",
446
+ "step": "",
447
+ "prepend": "",
448
+ "append": "px"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "key": "field_5e4e739c930ba",
454
+ "label": "Button Connector Background Color",
455
+ "name": "acfb_db_bc_bg_color",
456
+ "type": "color_picker",
457
+ "instructions": "",
458
+ "required": 0,
459
+ "conditional_logic": [
460
+ [
461
+ {
462
+ "field": "field_5e4e51e53ef4d",
463
+ "operator": "==",
464
+ "value": "1"
465
+ }
466
+ ]
467
+ ],
468
+ "wrapper": {
469
+ "width": "",
470
+ "class": "",
471
+ "id": ""
472
+ },
473
+ "default_value": "#ffffff"
474
+ },
475
+ {
476
+ "key": "field_5e4e71f7e8f7c",
477
+ "label": "Button Connector Text Color",
478
+ "name": "acfb_db_bc_text_color",
479
+ "type": "color_picker",
480
+ "instructions": "",
481
+ "required": 0,
482
+ "conditional_logic": [
483
+ [
484
+ {
485
+ "field": "field_5e4e51e53ef4c",
486
+ "operator": "==",
487
+ "value": "acfb_db_bc_text"
488
+ }
489
+ ]
490
+ ],
491
+ "wrapper": {
492
+ "width": "",
493
+ "class": "",
494
+ "id": ""
495
+ },
496
+ "default_value": "#000000"
497
+ },
498
+ {
499
+ "key": "field_5e51132b70c3e",
500
+ "label": "Button Connector Radius",
501
+ "name": "acfb_db_bc_radius",
502
+ "type": "range",
503
+ "instructions": "",
504
+ "required": 0,
505
+ "conditional_logic": 0,
506
+ "wrapper": {
507
+ "width": "",
508
+ "class": "acfb_db_radius",
509
+ "id": ""
510
+ },
511
+ "default_value": 100,
512
+ "min": "",
513
+ "max": "",
514
+ "step": "",
515
+ "prepend": "",
516
+ "append": "%"
517
+ },
518
+ {
519
+ "key": "field_5e511840c7185",
520
+ "label": "Button Connector Box Shadow",
521
+ "name": "acfb_db_bc_box_shadow",
522
+ "type": "group",
523
+ "instructions": "",
524
+ "required": 0,
525
+ "conditional_logic": 0,
526
+ "wrapper": {
527
+ "width": "",
528
+ "class": "acfb_db_radius",
529
+ "id": ""
530
+ },
531
+ "layout": "block",
532
+ "sub_fields": [
533
+ {
534
+ "key": "field_5e511840c7186",
535
+ "label": "Horizontal",
536
+ "name": "acfb_db_bc_shadow_horizontal",
537
+ "type": "range",
538
+ "instructions": "",
539
+ "required": 0,
540
+ "conditional_logic": 0,
541
+ "wrapper": {
542
+ "width": "",
543
+ "class": "",
544
+ "id": ""
545
+ },
546
+ "default_value": 0,
547
+ "min": -100,
548
+ "max": "",
549
+ "step": "",
550
+ "prepend": "",
551
+ "append": "px"
552
+ },
553
+ {
554
+ "key": "field_5e5118d1c718a",
555
+ "label": "Vertical",
556
+ "name": "acfb_db_bc_shadow_vertical",
557
+ "type": "range",
558
+ "instructions": "",
559
+ "required": 0,
560
+ "conditional_logic": 0,
561
+ "wrapper": {
562
+ "width": "",
563
+ "class": "",
564
+ "id": ""
565
+ },
566
+ "default_value": 0,
567
+ "min": -100,
568
+ "max": "",
569
+ "step": "",
570
+ "prepend": "",
571
+ "append": "px"
572
+ },
573
+ {
574
+ "key": "field_5e5118eec718b",
575
+ "label": "Blur",
576
+ "name": "acfb_db_bc_shadow_blur",
577
+ "type": "range",
578
+ "instructions": "",
579
+ "required": 0,
580
+ "conditional_logic": 0,
581
+ "wrapper": {
582
+ "width": "",
583
+ "class": "",
584
+ "id": ""
585
+ },
586
+ "default_value": 10,
587
+ "min": 0,
588
+ "max": "",
589
+ "step": "",
590
+ "prepend": "",
591
+ "append": "px"
592
+ },
593
+ {
594
+ "key": "field_5e511968c718c",
595
+ "label": "Spread",
596
+ "name": "acfb_db_bc_shadow_spread",
597
+ "type": "range",
598
+ "instructions": "",
599
+ "required": 0,
600
+ "conditional_logic": 0,
601
+ "wrapper": {
602
+ "width": "",
603
+ "class": "",
604
+ "id": ""
605
+ },
606
+ "default_value": 0,
607
+ "min": -100,
608
+ "max": "",
609
+ "step": "",
610
+ "prepend": "",
611
+ "append": "px"
612
+ },
613
+ {
614
+ "key": "field_5e5119dca294c",
615
+ "label": "Color",
616
+ "name": "acfb_db_bc_shadow_color",
617
+ "type": "color_picker",
618
+ "instructions": "",
619
+ "required": 0,
620
+ "conditional_logic": 0,
621
+ "wrapper": {
622
+ "width": "",
623
+ "class": "",
624
+ "id": ""
625
+ },
626
+ "default_value": "#ffffff"
627
+ },
628
+ {
629
+ "key": "field_5e512578f6856",
630
+ "label": "Position",
631
+ "name": "acfb_db_bc_shadow_position",
632
+ "type": "select",
633
+ "instructions": "",
634
+ "required": 0,
635
+ "conditional_logic": 0,
636
+ "wrapper": {
637
+ "width": "",
638
+ "class": "",
639
+ "id": ""
640
+ },
641
+ "choices": {
642
+ "outline": "Outline",
643
+ "inset": "Inset"
644
+ },
645
+ "default_value": [
646
+ "outline"
647
+ ],
648
+ "allow_null": 0,
649
+ "multiple": 0,
650
+ "ui": 0,
651
+ "return_format": "value",
652
+ "ajax": 0,
653
+ "placeholder": ""
654
+ }
655
+ ]
656
+ }
657
+ ],
658
+ "location": [
659
+ [
660
+ {
661
+ "param": "block",
662
+ "operator": "==",
663
+ "value": "acf\/acfb-dual-button"
664
+ }
665
+ ]
666
+ ],
667
+ "menu_order": 0,
668
+ "position": "normal",
669
+ "style": "default",
670
+ "label_placement": "top",
671
+ "instruction_placement": "label",
672
+ "hide_on_screen": "",
673
+ "active": 1,
674
+ "description": "",
675
+ "modified": 1582381881
676
+ }
acf-json/group_5e4fc1d5b0411.json ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e4fc1d5b0411",
3
+ "title": "Global Fields",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e4fc1d61ccc8",
7
+ "label": "Border Radius",
8
+ "name": "acfb_global_radius",
9
+ "type": "group",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "acfb_db_radius",
16
+ "id": ""
17
+ },
18
+ "layout": "block",
19
+ "sub_fields": [
20
+ {
21
+ "key": "field_5e4fc1d8e0268",
22
+ "label": "Top Left",
23
+ "name": "acfb_global_tl_radius",
24
+ "type": "range",
25
+ "instructions": "",
26
+ "required": 0,
27
+ "conditional_logic": 0,
28
+ "wrapper": {
29
+ "width": "",
30
+ "class": "",
31
+ "id": ""
32
+ },
33
+ "default_value": "",
34
+ "min": "",
35
+ "max": "",
36
+ "step": "",
37
+ "prepend": "",
38
+ "append": "px"
39
+ },
40
+ {
41
+ "key": "field_5e4fc1d8e0650",
42
+ "label": "Top Right",
43
+ "name": "acfb_global_tr_radius",
44
+ "type": "range",
45
+ "instructions": "",
46
+ "required": 0,
47
+ "conditional_logic": 0,
48
+ "wrapper": {
49
+ "width": "",
50
+ "class": "",
51
+ "id": ""
52
+ },
53
+ "default_value": "",
54
+ "min": "",
55
+ "max": "",
56
+ "step": "",
57
+ "prepend": "",
58
+ "append": "px"
59
+ },
60
+ {
61
+ "key": "field_5e4fc1d8e0a38",
62
+ "label": "Bottom Left",
63
+ "name": "acfb_global_bl_radius",
64
+ "type": "range",
65
+ "instructions": "",
66
+ "required": 0,
67
+ "conditional_logic": 0,
68
+ "wrapper": {
69
+ "width": "",
70
+ "class": "",
71
+ "id": ""
72
+ },
73
+ "default_value": "",
74
+ "min": "",
75
+ "max": "",
76
+ "step": "",
77
+ "prepend": "",
78
+ "append": "px"
79
+ },
80
+ {
81
+ "key": "field_5e4fc1d8e0e20",
82
+ "label": "Bottom Right",
83
+ "name": "acfb_global_br_radius",
84
+ "type": "range",
85
+ "instructions": "",
86
+ "required": 0,
87
+ "conditional_logic": 0,
88
+ "wrapper": {
89
+ "width": "",
90
+ "class": "",
91
+ "id": ""
92
+ },
93
+ "default_value": "",
94
+ "min": "",
95
+ "max": "",
96
+ "step": "",
97
+ "prepend": "",
98
+ "append": "px"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "key": "field_5e4fc72dd9765",
104
+ "label": "Padding",
105
+ "name": "acfb_global_padding",
106
+ "type": "group",
107
+ "instructions": "",
108
+ "required": 0,
109
+ "conditional_logic": 0,
110
+ "wrapper": {
111
+ "width": "",
112
+ "class": "acfb_db_radius",
113
+ "id": ""
114
+ },
115
+ "layout": "block",
116
+ "sub_fields": [
117
+ {
118
+ "key": "field_5e4fc72dd9766",
119
+ "label": "Top Left",
120
+ "name": "acfb_global_tl_padding",
121
+ "type": "range",
122
+ "instructions": "",
123
+ "required": 0,
124
+ "conditional_logic": 0,
125
+ "wrapper": {
126
+ "width": "",
127
+ "class": "",
128
+ "id": ""
129
+ },
130
+ "default_value": "",
131
+ "min": "",
132
+ "max": "",
133
+ "step": "",
134
+ "prepend": "",
135
+ "append": "px"
136
+ },
137
+ {
138
+ "key": "field_5e4fc72dd9767",
139
+ "label": "Top Right",
140
+ "name": "acfb_global_tr_padding",
141
+ "type": "range",
142
+ "instructions": "",
143
+ "required": 0,
144
+ "conditional_logic": 0,
145
+ "wrapper": {
146
+ "width": "",
147
+ "class": "",
148
+ "id": ""
149
+ },
150
+ "default_value": "",
151
+ "min": "",
152
+ "max": "",
153
+ "step": "",
154
+ "prepend": "",
155
+ "append": "px"
156
+ },
157
+ {
158
+ "key": "field_5e4fc72dd9768",
159
+ "label": "Bottom Left",
160
+ "name": "acfb_global_bl_padding",
161
+ "type": "range",
162
+ "instructions": "",
163
+ "required": 0,
164
+ "conditional_logic": 0,
165
+ "wrapper": {
166
+ "width": "",
167
+ "class": "",
168
+ "id": ""
169
+ },
170
+ "default_value": "",
171
+ "min": "",
172
+ "max": "",
173
+ "step": "",
174
+ "prepend": "",
175
+ "append": "px"
176
+ },
177
+ {
178
+ "key": "field_5e4fc72dd9769",
179
+ "label": "Bottom Right",
180
+ "name": "acfb_global_br_padding",
181
+ "type": "range",
182
+ "instructions": "",
183
+ "required": 0,
184
+ "conditional_logic": 0,
185
+ "wrapper": {
186
+ "width": "",
187
+ "class": "",
188
+ "id": ""
189
+ },
190
+ "default_value": "",
191
+ "min": "",
192
+ "max": "",
193
+ "step": "",
194
+ "prepend": "",
195
+ "append": "px"
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "key": "field_5e512d8ec5d90",
201
+ "label": "Margin",
202
+ "name": "acfb_global_margin",
203
+ "type": "group",
204
+ "instructions": "",
205
+ "required": 0,
206
+ "conditional_logic": 0,
207
+ "wrapper": {
208
+ "width": "",
209
+ "class": "acfb_db_radius",
210
+ "id": ""
211
+ },
212
+ "layout": "block",
213
+ "sub_fields": [
214
+ {
215
+ "key": "field_5e512d8ec5d91",
216
+ "label": "Top Left",
217
+ "name": "acfb_global_tl_margin",
218
+ "type": "range",
219
+ "instructions": "",
220
+ "required": 0,
221
+ "conditional_logic": 0,
222
+ "wrapper": {
223
+ "width": "",
224
+ "class": "",
225
+ "id": ""
226
+ },
227
+ "default_value": "",
228
+ "min": "",
229
+ "max": "",
230
+ "step": "",
231
+ "prepend": "",
232
+ "append": "px"
233
+ },
234
+ {
235
+ "key": "field_5e512d8ec5d92",
236
+ "label": "Top Right",
237
+ "name": "acfb_global_tr_margin",
238
+ "type": "range",
239
+ "instructions": "",
240
+ "required": 0,
241
+ "conditional_logic": 0,
242
+ "wrapper": {
243
+ "width": "",
244
+ "class": "",
245
+ "id": ""
246
+ },
247
+ "default_value": "",
248
+ "min": "",
249
+ "max": "",
250
+ "step": "",
251
+ "prepend": "",
252
+ "append": "px"
253
+ },
254
+ {
255
+ "key": "field_5e512d8ec5d93",
256
+ "label": "Bottom Left",
257
+ "name": "acfb_global_bl_margin",
258
+ "type": "range",
259
+ "instructions": "",
260
+ "required": 0,
261
+ "conditional_logic": 0,
262
+ "wrapper": {
263
+ "width": "",
264
+ "class": "",
265
+ "id": ""
266
+ },
267
+ "default_value": "",
268
+ "min": "",
269
+ "max": "",
270
+ "step": "",
271
+ "prepend": "",
272
+ "append": "px"
273
+ },
274
+ {
275
+ "key": "field_5e512d8ec5d94",
276
+ "label": "Bottom Right",
277
+ "name": "acfb_global_br_margin",
278
+ "type": "range",
279
+ "instructions": "",
280
+ "required": 0,
281
+ "conditional_logic": 0,
282
+ "wrapper": {
283
+ "width": "",
284
+ "class": "",
285
+ "id": ""
286
+ },
287
+ "default_value": "",
288
+ "min": "",
289
+ "max": "",
290
+ "step": "",
291
+ "prepend": "",
292
+ "append": "px"
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "key": "field_5e512dddc5d95",
298
+ "label": "Box Shadow",
299
+ "name": "acfb_global_box_shadow",
300
+ "type": "group",
301
+ "instructions": "",
302
+ "required": 0,
303
+ "conditional_logic": 0,
304
+ "wrapper": {
305
+ "width": "",
306
+ "class": "",
307
+ "id": ""
308
+ },
309
+ "layout": "block",
310
+ "sub_fields": [
311
+ {
312
+ "key": "field_5e512e34c5d96",
313
+ "label": "Horizontal",
314
+ "name": "acfb_global_box_shadow_horizontal",
315
+ "type": "range",
316
+ "instructions": "",
317
+ "required": 0,
318
+ "conditional_logic": 0,
319
+ "wrapper": {
320
+ "width": "",
321
+ "class": "",
322
+ "id": ""
323
+ },
324
+ "default_value": 0,
325
+ "min": -100,
326
+ "max": "",
327
+ "step": "",
328
+ "prepend": "",
329
+ "append": "px"
330
+ },
331
+ {
332
+ "key": "field_5e512e5ac5d97",
333
+ "label": "Vertical",
334
+ "name": "acfb_global_box_shadow_vertical",
335
+ "type": "range",
336
+ "instructions": "",
337
+ "required": 0,
338
+ "conditional_logic": 0,
339
+ "wrapper": {
340
+ "width": "",
341
+ "class": "",
342
+ "id": ""
343
+ },
344
+ "default_value": 0,
345
+ "min": -100,
346
+ "max": "",
347
+ "step": "",
348
+ "prepend": "",
349
+ "append": "px"
350
+ },
351
+ {
352
+ "key": "field_5e512e74c5d98",
353
+ "label": "Blur",
354
+ "name": "acfb_global_box_shadow_blur",
355
+ "type": "range",
356
+ "instructions": "",
357
+ "required": 0,
358
+ "conditional_logic": 0,
359
+ "wrapper": {
360
+ "width": "",
361
+ "class": "",
362
+ "id": ""
363
+ },
364
+ "default_value": 10,
365
+ "min": "",
366
+ "max": "",
367
+ "step": "",
368
+ "prepend": "",
369
+ "append": "px"
370
+ },
371
+ {
372
+ "key": "field_5e512e98c5d99",
373
+ "label": "Spread",
374
+ "name": "acfb_global_box_shadow_spread",
375
+ "type": "range",
376
+ "instructions": "",
377
+ "required": 0,
378
+ "conditional_logic": 0,
379
+ "wrapper": {
380
+ "width": "",
381
+ "class": "",
382
+ "id": ""
383
+ },
384
+ "default_value": 0,
385
+ "min": -100,
386
+ "max": "",
387
+ "step": "",
388
+ "prepend": "",
389
+ "append": "px"
390
+ },
391
+ {
392
+ "key": "field_5e512ec5c5d9a",
393
+ "label": "Color",
394
+ "name": "acfb_global_box_shadow_color",
395
+ "type": "color_picker",
396
+ "instructions": "",
397
+ "required": 0,
398
+ "conditional_logic": 0,
399
+ "wrapper": {
400
+ "width": "",
401
+ "class": "",
402
+ "id": ""
403
+ },
404
+ "default_value": "#ffffff"
405
+ },
406
+ {
407
+ "key": "field_5e512eebc5d9b",
408
+ "label": "Position",
409
+ "name": "acfb_global_box_shadow_position",
410
+ "type": "select",
411
+ "instructions": "",
412
+ "required": 0,
413
+ "conditional_logic": 0,
414
+ "wrapper": {
415
+ "width": "",
416
+ "class": "",
417
+ "id": ""
418
+ },
419
+ "choices": {
420
+ "outline": "Outline",
421
+ "inset": "Inset"
422
+ },
423
+ "default_value": [
424
+ "outline"
425
+ ],
426
+ "allow_null": 0,
427
+ "multiple": 0,
428
+ "ui": 0,
429
+ "return_format": "value",
430
+ "ajax": 0,
431
+ "placeholder": ""
432
+ }
433
+ ]
434
+ }
435
+ ],
436
+ "location": [
437
+ [
438
+ {
439
+ "param": "block",
440
+ "operator": "!=",
441
+ "value": "all"
442
+ }
443
+ ]
444
+ ],
445
+ "menu_order": 0,
446
+ "position": "normal",
447
+ "style": "default",
448
+ "label_placement": "top",
449
+ "instruction_placement": "label",
450
+ "hide_on_screen": "",
451
+ "active": 1,
452
+ "description": "",
453
+ "modified": 1582379505
454
+ }
acf-json/group_5e50e811bbbf0.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5e50e811bbbf0",
3
+ "title": "Highlighted Headline",
4
+ "fields": [
5
+ {
6
+ "key": "field_5e50e81245585",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5e50e8124596d",
23
+ "label": "Animations",
24
+ "name": "acfb_hh_animations",
25
+ "type": "select",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "acfb_hh_circle": "Circle",
36
+ "acfb_hh_curly": "Curly",
37
+ "acfb_hh_underline": "Underline",
38
+ "acfb_hh_double": "Double",
39
+ "acfb_hh_double_underline": "Double Underline",
40
+ "acfb_hh_underline_zigzag": "Underline Zigzag",
41
+ "acfb_hh_strikethrough": "Strikethrough",
42
+ "acfb_hh_x": "X",
43
+ "acfb_hh_diagonal": "Diagonal"
44
+ },
45
+ "default_value": [
46
+ "acfb_hh_circle"
47
+ ],
48
+ "allow_null": 0,
49
+ "multiple": 0,
50
+ "ui": 0,
51
+ "return_format": "value",
52
+ "ajax": 0,
53
+ "placeholder": ""
54
+ },
55
+ {
56
+ "key": "field_5e50e81245d55",
57
+ "label": "Before Text",
58
+ "name": "acfb_hh_before_text",
59
+ "type": "text",
60
+ "instructions": "",
61
+ "required": 0,
62
+ "conditional_logic": 0,
63
+ "wrapper": {
64
+ "width": "",
65
+ "class": "",
66
+ "id": ""
67
+ },
68
+ "default_value": "Before Text",
69
+ "placeholder": "Before Text",
70
+ "prepend": "",
71
+ "append": "",
72
+ "maxlength": ""
73
+ },
74
+ {
75
+ "key": "field_5e50e8124613d",
76
+ "label": "Rotating Text",
77
+ "name": "acfb_hh_rotating_text",
78
+ "type": "text",
79
+ "instructions": "",
80
+ "required": 0,
81
+ "conditional_logic": 0,
82
+ "wrapper": {
83
+ "width": "",
84
+ "class": "",
85
+ "id": ""
86
+ },
87
+ "default_value": "Rotating",
88
+ "placeholder": "Rotating",
89
+ "prepend": "",
90
+ "append": "",
91
+ "maxlength": ""
92
+ },
93
+ {
94
+ "key": "field_5e50f88ed7860",
95
+ "label": "After Text",
96
+ "name": "acfb_hh_after_text",
97
+ "type": "text",
98
+ "instructions": "",
99
+ "required": 0,
100
+ "conditional_logic": 0,
101
+ "wrapper": {
102
+ "width": "",
103
+ "class": "",
104
+ "id": ""
105
+ },
106
+ "default_value": "After Text",
107
+ "placeholder": "After Text",
108
+ "prepend": "",
109
+ "append": "",
110
+ "maxlength": ""
111
+ },
112
+ {
113
+ "key": "field_5e54e920b0c53",
114
+ "label": "Alignment",
115
+ "name": "acfb_hh_alignment",
116
+ "type": "button_group",
117
+ "instructions": "",
118
+ "required": 0,
119
+ "conditional_logic": 0,
120
+ "wrapper": {
121
+ "width": "",
122
+ "class": "",
123
+ "id": ""
124
+ },
125
+ "choices": {
126
+ "left": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
127
+ "center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
128
+ "right": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
129
+ },
130
+ "allow_null": 0,
131
+ "default_value": "left",
132
+ "layout": "horizontal",
133
+ "return_format": "value"
134
+ },
135
+ {
136
+ "key": "field_5e50e81311992",
137
+ "label": "Design",
138
+ "name": "",
139
+ "type": "tab",
140
+ "instructions": "",
141
+ "required": 0,
142
+ "conditional_logic": 0,
143
+ "wrapper": {
144
+ "width": "",
145
+ "class": "",
146
+ "id": ""
147
+ },
148
+ "placement": "top",
149
+ "endpoint": 0
150
+ },
151
+ {
152
+ "key": "field_5e50fbd02ed3e",
153
+ "label": "Headline Color",
154
+ "name": "acfb_hh_color",
155
+ "type": "color_picker",
156
+ "instructions": "",
157
+ "required": 0,
158
+ "conditional_logic": 0,
159
+ "wrapper": {
160
+ "width": "",
161
+ "class": "",
162
+ "id": ""
163
+ },
164
+ "default_value": "#191e23"
165
+ },
166
+ {
167
+ "key": "field_5e50fbe62ed3f",
168
+ "label": "Headline Size",
169
+ "name": "acfb_hh_size",
170
+ "type": "range",
171
+ "instructions": "",
172
+ "required": 0,
173
+ "conditional_logic": 0,
174
+ "wrapper": {
175
+ "width": "",
176
+ "class": "",
177
+ "id": ""
178
+ },
179
+ "default_value": 32,
180
+ "min": "",
181
+ "max": 200,
182
+ "step": "",
183
+ "prepend": "",
184
+ "append": "px"
185
+ },
186
+ {
187
+ "key": "field_5e50fc002ed40",
188
+ "label": "Highlighted Color",
189
+ "name": "acfb_hh_highlighted_color",
190
+ "type": "color_picker",
191
+ "instructions": "",
192
+ "required": 0,
193
+ "conditional_logic": 0,
194
+ "wrapper": {
195
+ "width": "",
196
+ "class": "",
197
+ "id": ""
198
+ },
199
+ "default_value": "red"
200
+ }
201
+ ],
202
+ "location": [
203
+ [
204
+ {
205
+ "param": "block",
206
+ "operator": "==",
207
+ "value": "acf\/acfb-highlighted-headline"
208
+ }
209
+ ]
210
+ ],
211
+ "menu_order": 0,
212
+ "position": "normal",
213
+ "style": "default",
214
+ "label_placement": "top",
215
+ "instruction_placement": "label",
216
+ "hide_on_screen": "",
217
+ "active": 1,
218
+ "description": "",
219
+ "modified": 1582627379
220
+ }
admin/class-acf-admin-page.php CHANGED
@@ -21,7 +21,7 @@ class acfb_Settings_Page {
21
  <div class="components-panel">
22
  <div class="components-panel__body is-opened">
23
  <div class="components-panel__header">
24
- <h2>Getting Started with <strong>AcfBlocks</strong><code>1.7.0</code></h2>
25
  <p>Congratulations! You've just added awesome Gutenberg blocks. Check more information about the plugin below. ACF Blocks is built on top of ACF Pro, please make sure you have ACF Pro plugin installed & activated to use ACF Blocks Free.</p>
26
  <iframe width="650" height="380" src="https://www.youtube.com/embed/zupr0fl_qAw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
27
  <?php if(acfb_fs()->is_free_plan()){ ?>
21
  <div class="components-panel">
22
  <div class="components-panel__body is-opened">
23
  <div class="components-panel__header">
24
+ <h2>Getting Started with <strong>AcfBlocks</strong><code>1.8</code></h2>
25
  <p>Congratulations! You've just added awesome Gutenberg blocks. Check more information about the plugin below. ACF Blocks is built on top of ACF Pro, please make sure you have ACF Pro plugin installed & activated to use ACF Blocks Free.</p>
26
  <iframe width="650" height="380" src="https://www.youtube.com/embed/zupr0fl_qAw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
27
  <?php if(acfb_fs()->is_free_plan()){ ?>
block-templates/free/acfb-business-hours.php ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $uid = $block['id'];
3
+
4
+ $className = 'acfb_business_hours';
5
+ if( !empty($block['className']) ) {
6
+ $className .= ' ' . $block['className'];
7
+ }
8
+ if( !empty($block['align']) ) {
9
+ $className .= ' align' . $block['align'];
10
+ }
11
+
12
+ ?>
13
+ <div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
14
+ <style type="text/css">
15
+
16
+ .<?php echo $uid; ?> .acfb_bh_wrapper{
17
+ background: <?php the_field('acfb_bh_background_color'); ?>;
18
+ padding: <?php the_field('acfb_bh_padding'); ?>px;
19
+ }
20
+
21
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_op_time .acfb_bh_day,
22
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_op_time .acfb_bh_time_wrapper .acfb_bh_open_time,
23
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_op_time .acfb_bh_time_wrapper .acfb_bh_seprator,
24
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_op_time .acfb_bh_time_wrapper .acfb_bh_close_time{
25
+ color: <?php the_field('acfb_bh_oh_color'); ?>;
26
+ }
27
+
28
+
29
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_cl_time .acfb_bh_day,
30
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_cl_time .acfb_bh_close_wrapper{
31
+ color: <?php the_field('acfb_bh_ch_color'); ?>;
32
+ }
33
+
34
+
35
+ .<?php echo $uid; ?> .acfb_bh_wrapper .acfb_bh_item{
36
+ border-bottom: 1px solid <?php the_field('acfb_bh_border_color'); ?>;
37
+ font-size: <?php the_field('acfb_bh_font_size'); ?>px;
38
+ }
39
+
40
+ </style>
41
+
42
+ <?php
43
+
44
+ $acfb_bh_mon_oc = '';
45
+ if(get_field("acfb_bh_monday") == 'true'){
46
+ $acfb_bh_mon_oc = "acfb_bh_op_time";
47
+ } else{
48
+ $acfb_bh_mon_oc = "acfb_bh_cl_time";
49
+ }
50
+
51
+ if(get_field("acfb_bh_tuesday") == 'true'){
52
+ $acfb_bh_tue_oc = "acfb_bh_op_time";
53
+ } else{
54
+ $acfb_bh_tue_oc = "acfb_bh_cl_time";
55
+ }
56
+
57
+ if(get_field("acfb_bh_wednesday") == 'true'){
58
+ $acfb_bh_wed_oc = "acfb_bh_op_time";
59
+ } else{
60
+ $acfb_bh_wed_oc = "acfb_bh_cl_time";
61
+ }
62
+
63
+ if(get_field("acfb_bh_thursday") == 'true'){
64
+ $acfb_bh_thu_oc = "acfb_bh_op_time";
65
+ } else{
66
+ $acfb_bh_thu_oc = "acfb_bh_cl_time";
67
+ }
68
+
69
+ if(get_field("acfb_bh_friday") == 'true'){
70
+ $acfb_bh_fri_oc = "acfb_bh_op_time";
71
+ } else{
72
+ $acfb_bh_fri_oc = "acfb_bh_cl_time";
73
+ }
74
+
75
+ if(get_field("acfb_bh_saturday") == 'true'){
76
+ $acfb_bh_sat_oc = "acfb_bh_op_time";
77
+ } else{
78
+ $acfb_bh_sat_oc = "acfb_bh_cl_time";
79
+ }
80
+
81
+ if(get_field("acfb_bh_sunday") == 'true'){
82
+ $acfb_bh_sun_oc = "acfb_bh_op_time";
83
+ } else{
84
+ $acfb_bh_sun_oc = "acfb_bh_cl_time";
85
+ }
86
+ ?>
87
+
88
+ <div class="acfb_bh_wrapper">
89
+ <ul>
90
+
91
+ <li class="acfb_bh_item <?php echo $acfb_bh_mon_oc; ?>">
92
+ <span class="acfb_bh_day">Monday</span>
93
+ <?php if( get_field('acfb_bh_monday') == 'ture' ): ?>
94
+ <span class="acfb_bh_time_wrapper">
95
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_monday_oh'); ?></span>
96
+ <span class="acfb_bh_seprator"> - </span>
97
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_monday_ch'); ?></span>
98
+ </span>
99
+ <?php else: ?>
100
+ <span class="acfb_bh_close_wrapper">Closed</span>
101
+ <?php endif; ?>
102
+ </li>
103
+
104
+ <li class="acfb_bh_item <?php echo $acfb_bh_tue_oc; ?>">
105
+ <span class="acfb_bh_day">Tuesday</span>
106
+ <?php if( get_field('acfb_bh_tuesday') == 'ture' ): ?>
107
+ <span class="acfb_bh_time_wrapper">
108
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_tuesday_oh'); ?></span>
109
+ <span class="acfb_bh_seprator"> - </span>
110
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_tuesday_ch'); ?></span>
111
+ </span>
112
+ <?php else: ?>
113
+ <span class="acfb_bh_close_wrapper">Closed</span>
114
+ <?php endif; ?>
115
+ </li>
116
+
117
+ <li class="acfb_bh_item <?php echo $acfb_bh_wed_oc; ?>">
118
+ <span class="acfb_bh_day">Wednesday</span>
119
+ <?php if( get_field('acfb_bh_wednesday') == 'ture' ): ?>
120
+ <span class="acfb_bh_time_wrapper">
121
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_wednesday_oh'); ?></span>
122
+ <span class="acfb_bh_seprator"> - </span>
123
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_wednesday_ch'); ?></span>
124
+ </span>
125
+ <?php else: ?>
126
+ <span class="acfb_bh_close_wrapper">Closed</span>
127
+ <?php endif; ?>
128
+ </li>
129
+
130
+ <li class="acfb_bh_item <?php echo $acfb_bh_thu_oc; ?>">
131
+ <span class="acfb_bh_day">Thursday</span>
132
+ <?php if( get_field('acfb_bh_thursday') == 'ture' ): ?>
133
+ <span class="acfb_bh_time_wrapper">
134
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_thursday_oh'); ?></span>
135
+ <span class="acfb_bh_seprator"> - </span>
136
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_thursday_ch'); ?></span>
137
+ </span>
138
+ <?php else: ?>
139
+ <span class="acfb_bh_close_wrapper">Closed</span>
140
+ <?php endif; ?>
141
+ </li>
142
+
143
+ <li class="acfb_bh_item <?php echo $acfb_bh_fri_oc; ?>">
144
+ <span class="acfb_bh_day">Friday</span>
145
+ <?php if( get_field('acfb_bh_friday') == 'ture' ): ?>
146
+ <span class="acfb_bh_time_wrapper">
147
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_friday_oh'); ?></span>
148
+ <span class="acfb_bh_seprator"> - </span>
149
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_friday_ch'); ?></span>
150
+ </span>
151
+ <?php else: ?>
152
+ <span class="acfb_bh_close_wrapper">Closed</span>
153
+ <?php endif; ?>
154
+ </li>
155
+
156
+ <li class="acfb_bh_item <?php echo $acfb_bh_sat_oc; ?>">
157
+ <span class="acfb_bh_day">Saturday</span>
158
+ <?php if( get_field('acfb_bh_saturday') == 'ture' ): ?>
159
+ <span class="acfb_bh_time_wrapper">
160
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_saturday_oh'); ?></span>
161
+ <span class="acfb_bh_seprator"> - </span>
162
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_saturday_ch'); ?></span>
163
+ </span>
164
+ <?php else: ?>
165
+ <span class="acfb_bh_close_wrapper">Closed</span>
166
+ <?php endif; ?>
167
+ </li>
168
+
169
+ <li class="acfb_bh_item <?php echo $acfb_bh_sun_oc; ?>">
170
+ <span class="acfb_bh_day">Sunday</span>
171
+ <?php if( get_field('acfb_bh_sunday') == 'ture' ): ?>
172
+ <span class="acfb_bh_time_wrapper">
173
+ <span class="acfb_bh_open_time"><?php the_field('acfb_bh_sunday_oh'); ?></span>
174
+ <span class="acfb_bh_seprator"> - </span>
175
+ <span class="acfb_bh_close_time"><?php the_field('acfb_bh_sunday_ch'); ?></span>
176
+ </span>
177
+ <?php else: ?>
178
+ <span class="acfb_bh_close_wrapper">Closed</span>
179
+ <?php endif; ?>
180
+ </li>
181
+
182
+ </ul>
183
+ </div>
184
+
185
+ </div><!-- Uid -->
block-templates/free/acfb-dual-button.php ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $uid = $block['id'];
3
+
4
+ $className = 'acfb_dual_button_block';
5
+ if( !empty($block['className']) ) {
6
+ $className .= ' ' . $block['className'];
7
+ }
8
+ if( !empty($block['align']) ) {
9
+ $className .= ' align' . $block['align'];
10
+ }
11
+
12
+ $acfb_db_radius = get_field('acfb_db_radius');
13
+ $acfb_db_bc_box_shadow = get_field('acfb_db_bc_box_shadow');
14
+
15
+ ?>
16
+ <div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
17
+ <style type="text/css">
18
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_one{
19
+ background: <?php the_field('acfb_db_lb_bg_color'); ?>;
20
+ }
21
+
22
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_one:hover{
23
+ background: <?php the_field('acfb_db_lb_hover_bg_color'); ?>;
24
+ }
25
+
26
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_one .acfb_db{
27
+ color: <?php the_field('acfb_db_lb_color'); ?>;
28
+ }
29
+
30
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_one .acfb_db:hover{
31
+ color: <?php the_field('acfb_db_lb_hover_color'); ?>;
32
+ }
33
+
34
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_two{
35
+ background: <?php the_field('acfb_db_rb_bg_color'); ?>;
36
+ }
37
+
38
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_two:hover{
39
+ background: <?php the_field('acfb_db_rb_hover_bg_color'); ?>;
40
+ }
41
+
42
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_two .acfb_db{
43
+ color: <?php the_field('acfb_db_rb_color'); ?>;
44
+ }
45
+
46
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_two .acfb_db:hover{
47
+ color: <?php the_field('acfb_db_rb_hover_color'); ?>;
48
+ }
49
+
50
+
51
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db{
52
+ font-size: <?php the_field('acfb_db_button_text_size'); ?>px;
53
+ }
54
+
55
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_seprator{
56
+ background: <?php the_field('acfb_db_bc_bg_color'); ?>;
57
+ <?php if(get_field('acfb_db_bc_img_text') == 'acfb_db_bc_text'): ?>
58
+ color: <?php the_field('acfb_db_bc_text_color'); ?>;
59
+ <?php endif; ?>
60
+ border-radius: <?php the_field('acfb_db_bc_radius'); ?>%;
61
+ box-shadow: <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_horizontal']; ?>px <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_vertical']; ?>px <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_blur']; ?>px <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_spread']; ?>px <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_color']; ?> <?php if($acfb_db_bc_box_shadow['acfb_db_bc_shadow_position'] == 'inset'): ?> <?php echo $acfb_db_bc_box_shadow['acfb_db_bc_shadow_position']; ?><?php endif; ?>;
62
+ }
63
+
64
+
65
+ .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_one, .<?php echo $uid; ?> .acfb_db_wrapper .acfb_db_two{
66
+ border-top-left-radius: <?php echo $acfb_db_radius['acfb_db_tl_radius']; ?>px;
67
+ border-top-right-radius: <?php echo $acfb_db_radius['acfb_db_tr_radius']; ?>px;
68
+ border-bottom-left-radius: <?php echo $acfb_db_radius['acfb_db_bl_radius']; ?>px;
69
+ border-bottom-right-radius: <?php echo $acfb_db_radius['acfb_db_br_radius']; ?>px;
70
+ }
71
+
72
+ </style>
73
+
74
+ <?php
75
+ $acfb_image = '';
76
+ if(!get_field('acfb_db_bc_img')){
77
+ $acfb_image = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
78
+ } else{
79
+ $acfb_image = get_field('acfb_db_bc_img');
80
+ }
81
+
82
+ $acfb_db_bc_img_text = "";
83
+ if(get_field('acfb_db_bc_img_text') == 'acfb_db_bc_img'){
84
+ $acfb_db_bc_img_text = '<img src="' . $acfb_image . '">';
85
+ } else{
86
+ $acfb_db_bc_img_text = get_field('acfb_db_bc_text');
87
+ }
88
+
89
+ ?>
90
+
91
+ <div class="acfb_db_wrapper">
92
+
93
+ <div class="acfb_db_one">
94
+ <a class="acfb_db" href="<?php the_field('acfb_db_lb_url'); ?>">
95
+ <span class="btn-text"><?php the_field('acfb_db_lb_text'); ?></span>
96
+ </a>
97
+ <?php if(get_field('acfb_db_bc') == 'true'): ?>
98
+ <div class="acfb_db_seprator"><span><?php echo $acfb_db_bc_img_text; ?></span></div>
99
+ <?php endif; ?>
100
+ </div>
101
+
102
+ <div class="acfb_db_two">
103
+ <a class="acfb_db" href="<?php the_field('acfb_db_rb_url'); ?>">
104
+ <span class="btn-text"><?php the_field('acfb_db_rb_text'); ?></span>
105
+ </a>
106
+ </div>
107
+
108
+ </div>
109
+
110
+
111
+ </div><!-- Uid -->
css/acfblocks.css CHANGED
@@ -2826,6 +2826,252 @@ transition: all .3s .3s;
2826
  height: auto;
2827
  }
2828
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2829
  .editor-block-list-item-acf-acfb-flipbox .editor-block-types-list__item-title::after,
2830
  .editor-block-list-item-acf-acfb-content-timeline .editor-block-types-list__item-title::after,
2831
  .editor-block-list-item-acf-acfb-image-accordion .editor-block-types-list__item-title::after,
@@ -2838,7 +3084,11 @@ transition: all .3s .3s;
2838
  .editor-block-list-item-acf-acfb-post-slider .editor-block-types-list__item-title::after,
2839
  .editor-block-list-item-acf-acfb-post-tiled .editor-block-types-list__item-title::after,
2840
  .editor-block-list-item-acf-acfb-post-timeline .editor-block-types-list__item-title::after,
2841
- .editor-block-list-item-acf-acfb-before-after-image .editor-block-types-list__item-title::after{
 
 
 
 
2842
  content: " PRO";
2843
  color: #ffffff;
2844
  font-weight: bold;
2826
  height: auto;
2827
  }
2828
 
2829
+
2830
+
2831
+ /************ Image Shape CSS ************/
2832
+
2833
+
2834
+
2835
+
2836
+
2837
+
2838
+
2839
+ /************ Business Hours CSS ************/
2840
+ .acfb_bh_wrapper{}
2841
+
2842
+ .acfb_bh_wrapper ul{
2843
+ list-style-type: none;
2844
+ padding: 0 !important;
2845
+ margin: 0 !important;
2846
+ }
2847
+
2848
+ .acfb_bh_wrapper ul li{
2849
+ padding: 10px 0;
2850
+ display: -webkit-box;
2851
+ display: -webkit-flex;
2852
+ display: -ms-flexbox;
2853
+ display: flex;
2854
+ justify-content: space-between;
2855
+ }
2856
+
2857
+ .acfb_bh_wrapper ul li:last-child{
2858
+ border-bottom: none !important;
2859
+ }
2860
+
2861
+
2862
+
2863
+
2864
+
2865
+
2866
+
2867
+ /************ Dual Button CSS ************/
2868
+ /*.acfb_db_wrapper{
2869
+ display: -webkit-box;
2870
+ display: -ms-flexbox;
2871
+ display: flex;
2872
+ }
2873
+ .acfb_db_wrapper .acfb_db_one{
2874
+ position: relative;
2875
+ }
2876
+
2877
+ .acfb_db_wrapper .acfb_db{
2878
+ padding-top: 10px!important;
2879
+ padding-right: 45px!important;
2880
+ padding-bottom: 10px!important;
2881
+ padding-left: 45px!important;
2882
+ display: -webkit-box;
2883
+ display: -ms-flexbox;
2884
+ display: flex;
2885
+ }
2886
+ .acfb_db_wrapper .acfb_db_seprator{
2887
+ position: absolute;
2888
+ top: 50%;
2889
+ right: -18px;
2890
+ font-size: 16px;
2891
+ transform: translateY(-50%);
2892
+ z-index: 9999999;
2893
+ width: 35px;
2894
+ height: 35px;
2895
+ display: -webkit-box;
2896
+ display: -ms-flexbox;
2897
+ display: flex;
2898
+ -webkit-box-align: center;
2899
+ -ms-flex-align: center;
2900
+ align-items: center;
2901
+ -webkit-box-pack: center;
2902
+ -ms-flex-pack: center;
2903
+ justify-content: center;
2904
+ box-shadow: 0px 0px 0px 6px rgba(255,255,255,0.3);
2905
+ }
2906
+
2907
+ .acfb_db_wrapper .acfb_db_seprator span{
2908
+ display: flex;
2909
+ align-items: center;
2910
+ }
2911
+
2912
+ .acfb_db_wrapper .acfb_db_seprator img{
2913
+ padding: 5px;
2914
+ }
2915
+
2916
+
2917
+ @media only screen and (max-width: 767px) {
2918
+ .acfb_db_wrapper{
2919
+ flex-direction: column;
2920
+ }
2921
+
2922
+ .acfb_db_wrapper .acfb_db{
2923
+ justify-content: center;
2924
+ padding-top: 15px !important;
2925
+ padding-bottom: 15px !important;
2926
+ }
2927
+
2928
+ .acfb_db_wrapper .acfb_db_seprator{
2929
+ transform: none;
2930
+ top: calc(100% - 17.5px);
2931
+ left: calc(50% - 17.5px);
2932
+ }
2933
+
2934
+
2935
+ }
2936
+
2937
+ .acfb_db_radius .acf-fields{
2938
+ display: grid;
2939
+ grid-template-columns: 50% 50%;
2940
+ overflow: hidden;
2941
+ }
2942
+
2943
+ .acfb_db_radius .acf-fields .acf-field{
2944
+ padding: 10px !important;
2945
+ }
2946
+
2947
+ .acfb_db_radius .acf-fields input[type=range]{
2948
+ width: 100%;
2949
+ margin-bottom: 5px;
2950
+ }
2951
+
2952
+ .acfb_db_radius .acf-fields input[type=number]{
2953
+ margin-left: 0;
2954
+ }*/
2955
+
2956
+
2957
+
2958
+ /************ Steps CSS ************/
2959
+ /*.acfb_steps{
2960
+ display: flex;
2961
+ flex-direction: column;
2962
+ align-items: center;
2963
+ }
2964
+
2965
+ .acfb_steps:after{
2966
+ width: 100%;
2967
+ height: 2px;
2968
+ content: '';
2969
+ position: absolute;
2970
+ background-color: #7d7d7d;
2971
+ top: 7px;
2972
+ left: -50%;
2973
+ z-index: -1;
2974
+ transition: all .8s;
2975
+ }
2976
+
2977
+ .acfb_steps .acfb_ci{
2978
+ width: 150px;
2979
+ height: 150px;
2980
+ padding: 40px;
2981
+ background: #271c1c;
2982
+ border-radius: 100%;
2983
+ display: flex;
2984
+ align-items: center;
2985
+ }
2986
+
2987
+ .acfb_steps h3{
2988
+ margin: 10px 0;
2989
+ }
2990
+
2991
+
2992
+ .acfb_steps p{
2993
+ margin: 0;
2994
+ }
2995
+ */
2996
+
2997
+
2998
+
2999
+
3000
+
3001
+ /************ Highlighted Headline CSS ************/
3002
+ .acfb_highlighted_headline .acfb_animated_wrapper {
3003
+ overflow: visible;
3004
+ position: relative;
3005
+ }
3006
+
3007
+ .acfb_highlighted_headline .acfb_animated_wrapper .acfb_animated_text {
3008
+ z-index:1;
3009
+ position:relative;
3010
+ }
3011
+
3012
+ .acfb_highlighted_headline .acfb_animated_wrapper svg {
3013
+ position: absolute;
3014
+ top: 50%;
3015
+ left: 50%;
3016
+ width: calc( 100% + 0px);
3017
+ height: calc( 100% + 20px);
3018
+ -webkit-transform: translate(-50%, -50%);
3019
+ -ms-transform: translate(-50%, -50%);
3020
+ transform: translate(-50%, -50%);
3021
+ overflow: visible;
3022
+ }
3023
+
3024
+ .acfb_highlighted_headline .acfb_animated_wrapper svg path {
3025
+ stroke-width: 9;
3026
+ fill: none;
3027
+ stroke-dasharray: 1500;
3028
+ stroke-dashoffset: 1500;
3029
+ -webkit-animation-name : acfb-hh-dash;
3030
+ animation-name : acfb-hh-dash;
3031
+ -webkit-animation-iteration-count: infinite;
3032
+ animation-iteration-count: infinite;
3033
+ -webkit-animation-duration: 10s;
3034
+ animation-duration: 10s;
3035
+ }
3036
+
3037
+ .acfb_highlighted_headline .acfb_animated_wrapper svg path:nth-of-type(2) {
3038
+ -webkit-animation-delay: 0.6s;
3039
+ animation-delay: 0.6s;
3040
+ }
3041
+
3042
+ @-webkit-keyframes acfb-hh-dash {
3043
+ 0% { stroke-dashoffset: 1500; }
3044
+ 15% { stroke-dashoffset: 0; }
3045
+ 85% { opacity: 1; }
3046
+ 90% { stroke-dashoffset: 0; opacity: 0; }
3047
+ 100% { stroke-dashoffset: 1500; opacity: 0; }
3048
+ }
3049
+
3050
+ @keyframes acfb-hh-dash {
3051
+ 0% { stroke-dashoffset: 1500; }
3052
+ 15% { stroke-dashoffset: 0; }
3053
+ 85% { opacity: 1; }
3054
+ 90% { stroke-dashoffset: 0; opacity: 0; }
3055
+ 100% { stroke-dashoffset: 1500; opacity: 0; }
3056
+ }
3057
+
3058
+
3059
+
3060
+
3061
+
3062
+
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+
3069
+
3070
+
3071
+
3072
+
3073
+
3074
+
3075
  .editor-block-list-item-acf-acfb-flipbox .editor-block-types-list__item-title::after,
3076
  .editor-block-list-item-acf-acfb-content-timeline .editor-block-types-list__item-title::after,
3077
  .editor-block-list-item-acf-acfb-image-accordion .editor-block-types-list__item-title::after,
3084
  .editor-block-list-item-acf-acfb-post-slider .editor-block-types-list__item-title::after,
3085
  .editor-block-list-item-acf-acfb-post-tiled .editor-block-types-list__item-title::after,
3086
  .editor-block-list-item-acf-acfb-post-timeline .editor-block-types-list__item-title::after,
3087
+ .editor-block-list-item-acf-acfb-before-after-image .editor-block-types-list__item-title::after,
3088
+ .editor-block-list-item-acf-acfb-image-shape .editor-block-types-list__item-title::after,
3089
+ .editor-block-list-item-acf-acfb-animated-headline .editor-block-types-list__item-title::after,
3090
+ .editor-block-list-item-acf-acfb-steps .editor-block-types-list__item-title::after,
3091
+ .editor-block-list-item-acf-acfb-highlighted-headline .editor-block-types-list__item-title::after{
3092
  content: " PRO";
3093
  color: #ffffff;
3094
  font-weight: bold;
css/animated-headline.css ADDED
@@ -0,0 +1,1208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cd-title {
2
+ position: relative;
3
+ height: 160px;
4
+ line-height: 230px;
5
+ text-align: center;
6
+ }
7
+ .cd-title h1 {
8
+ font-size: 2.4rem;
9
+ font-weight: 700;
10
+ }
11
+ @media only screen and (min-width: 768px) {
12
+ .cd-title {
13
+ line-height: 250px;
14
+ }
15
+ }
16
+ @media only screen and (min-width: 1170px) {
17
+ .cd-title {
18
+ height: 200px;
19
+ line-height: 300px;
20
+ }
21
+ .cd-title h1 {
22
+ font-size: 3rem;
23
+ }
24
+ }
25
+ .cd-intro {
26
+ /*width: 90%;*/
27
+ /*max-width: 768px;*/
28
+ /*text-align: center;*/
29
+ }
30
+ .cd-intro {
31
+ /*margin: 4em auto;*/
32
+ }
33
+ @media only screen and (min-width: 768px) {
34
+ .cd-intro {
35
+ /*margin: 5em auto;*/
36
+ }
37
+ }
38
+ @media only screen and (min-width: 1170px) {
39
+ .cd-intro {
40
+ /*margin: 6em auto;*/
41
+ }
42
+ }
43
+ .cd-headline {
44
+ font-size: 3rem;
45
+ line-height: 1.2;
46
+ }
47
+ @media only screen and (min-width: 768px) {
48
+ .cd-headline {
49
+ font-size: 4.4rem;
50
+ font-weight: 300;
51
+ }
52
+ }
53
+ @media only screen and (min-width: 1170px) {
54
+ .cd-headline {
55
+ font-size: 6rem;
56
+ }
57
+ }
58
+ .cd-words-wrapper {
59
+ display: inline-block;
60
+ position: relative;
61
+ text-align: left;
62
+ }
63
+ .cd-words-wrapper b {
64
+ display: inline-block;
65
+ position: absolute;
66
+ white-space: nowrap;
67
+ left: 0;
68
+ top: 0;
69
+ }
70
+ .cd-words-wrapper b.is-visible {
71
+ position: relative;
72
+ }
73
+ .no-js .cd-words-wrapper b {
74
+ opacity: 0;
75
+ }
76
+ .no-js .cd-words-wrapper b.is-visible {
77
+ opacity: 1;
78
+ }
79
+ /* --------------------------------
80
+
81
+ xrotate-1
82
+
83
+ -------------------------------- */
84
+ .cd-headline.rotate-1 .cd-words-wrapper {
85
+ -webkit-perspective: 300px;
86
+ -moz-perspective: 300px;
87
+ perspective: 300px;
88
+ }
89
+ .cd-headline.rotate-1 b {
90
+ opacity: 0;
91
+ -webkit-transform-origin: 50% 100%;
92
+ -moz-transform-origin: 50% 100%;
93
+ -ms-transform-origin: 50% 100%;
94
+ -o-transform-origin: 50% 100%;
95
+ transform-origin: 50% 100%;
96
+ -webkit-transform: rotateX(180deg);
97
+ -moz-transform: rotateX(180deg);
98
+ -ms-transform: rotateX(180deg);
99
+ -o-transform: rotateX(180deg);
100
+ transform: rotateX(180deg);
101
+ }
102
+ .cd-headline.rotate-1 b.is-visible {
103
+ opacity: 1;
104
+ -webkit-transform: rotateX(0deg);
105
+ -moz-transform: rotateX(0deg);
106
+ -ms-transform: rotateX(0deg);
107
+ -o-transform: rotateX(0deg);
108
+ transform: rotateX(0deg);
109
+ -webkit-animation: cd-rotate-1-in 1.2s;
110
+ -moz-animation: cd-rotate-1-in 1.2s;
111
+ animation: cd-rotate-1-in 1.2s;
112
+ }
113
+ .cd-headline.rotate-1 b.is-hidden {
114
+ -webkit-transform: rotateX(180deg);
115
+ -moz-transform: rotateX(180deg);
116
+ -ms-transform: rotateX(180deg);
117
+ -o-transform: rotateX(180deg);
118
+ transform: rotateX(180deg);
119
+ -webkit-animation: cd-rotate-1-out 1.2s;
120
+ -moz-animation: cd-rotate-1-out 1.2s;
121
+ animation: cd-rotate-1-out 1.2s;
122
+ }
123
+ @-webkit-keyframes cd-rotate-1-in {
124
+ 0% {
125
+ -webkit-transform: rotateX(180deg);
126
+ opacity: 0;
127
+ }
128
+ 35% {
129
+ -webkit-transform: rotateX(120deg);
130
+ opacity: 0;
131
+ }
132
+ 65% {
133
+ opacity: 0;
134
+ }
135
+ 100% {
136
+ -webkit-transform: rotateX(360deg);
137
+ opacity: 1;
138
+ }
139
+ }
140
+ @-moz-keyframes cd-rotate-1-in {
141
+ 0% {
142
+ -moz-transform: rotateX(180deg);
143
+ opacity: 0;
144
+ }
145
+ 35% {
146
+ -moz-transform: rotateX(120deg);
147
+ opacity: 0;
148
+ }
149
+ 65% {
150
+ opacity: 0;
151
+ }
152
+ 100% {
153
+ -moz-transform: rotateX(360deg);
154
+ opacity: 1;
155
+ }
156
+ }
157
+ @keyframes cd-rotate-1-in {
158
+ 0% {
159
+ -webkit-transform: rotateX(180deg);
160
+ -moz-transform: rotateX(180deg);
161
+ -ms-transform: rotateX(180deg);
162
+ -o-transform: rotateX(180deg);
163
+ transform: rotateX(180deg);
164
+ opacity: 0;
165
+ }
166
+ 35% {
167
+ -webkit-transform: rotateX(120deg);
168
+ -moz-transform: rotateX(120deg);
169
+ -ms-transform: rotateX(120deg);
170
+ -o-transform: rotateX(120deg);
171
+ transform: rotateX(120deg);
172
+ opacity: 0;
173
+ }
174
+ 65% {
175
+ opacity: 0;
176
+ }
177
+ 100% {
178
+ -webkit-transform: rotateX(360deg);
179
+ -moz-transform: rotateX(360deg);
180
+ -ms-transform: rotateX(360deg);
181
+ -o-transform: rotateX(360deg);
182
+ transform: rotateX(360deg);
183
+ opacity: 1;
184
+ }
185
+ }
186
+ @-webkit-keyframes cd-rotate-1-out {
187
+ 0% {
188
+ -webkit-transform: rotateX(0deg);
189
+ opacity: 1;
190
+ }
191
+ 35% {
192
+ -webkit-transform: rotateX(-40deg);
193
+ opacity: 1;
194
+ }
195
+ 65% {
196
+ opacity: 0;
197
+ }
198
+ 100% {
199
+ -webkit-transform: rotateX(180deg);
200
+ opacity: 0;
201
+ }
202
+ }
203
+ @-moz-keyframes cd-rotate-1-out {
204
+ 0% {
205
+ -moz-transform: rotateX(0deg);
206
+ opacity: 1;
207
+ }
208
+ 35% {
209
+ -moz-transform: rotateX(-40deg);
210
+ opacity: 1;
211
+ }
212
+ 65% {
213
+ opacity: 0;
214
+ }
215
+ 100% {
216
+ -moz-transform: rotateX(180deg);
217
+ opacity: 0;
218
+ }
219
+ }
220
+ @keyframes cd-rotate-1-out {
221
+ 0% {
222
+ -webkit-transform: rotateX(0deg);
223
+ -moz-transform: rotateX(0deg);
224
+ -ms-transform: rotateX(0deg);
225
+ -o-transform: rotateX(0deg);
226
+ transform: rotateX(0deg);
227
+ opacity: 1;
228
+ }
229
+ 35% {
230
+ -webkit-transform: rotateX(-40deg);
231
+ -moz-transform: rotateX(-40deg);
232
+ -ms-transform: rotateX(-40deg);
233
+ -o-transform: rotateX(-40deg);
234
+ transform: rotateX(-40deg);
235
+ opacity: 1;
236
+ }
237
+ 65% {
238
+ opacity: 0;
239
+ }
240
+ 100% {
241
+ -webkit-transform: rotateX(180deg);
242
+ -moz-transform: rotateX(180deg);
243
+ -ms-transform: rotateX(180deg);
244
+ -o-transform: rotateX(180deg);
245
+ transform: rotateX(180deg);
246
+ opacity: 0;
247
+ }
248
+ }
249
+ /* --------------------------------
250
+
251
+ xtype
252
+
253
+ -------------------------------- */
254
+ .cd-headline.type .cd-words-wrapper {
255
+ vertical-align: top;
256
+ overflow: hidden;
257
+ }
258
+ .cd-headline.type .cd-words-wrapper::after {
259
+ /* vertical bar */
260
+ content:'';
261
+ position: absolute;
262
+ right: 0;
263
+ top: 50%;
264
+ bottom: auto;
265
+ -webkit-transform: translateY(-50%);
266
+ -moz-transform: translateY(-50%);
267
+ -ms-transform: translateY(-50%);
268
+ -o-transform: translateY(-50%);
269
+ transform: translateY(-50%);
270
+ height: 90%;
271
+ width: 1px;
272
+ background-color: #aebcb9;
273
+ }
274
+ .cd-headline.type .cd-words-wrapper.waiting::after {
275
+ -webkit-animation: cd-pulse 1s infinite;
276
+ -moz-animation: cd-pulse 1s infinite;
277
+ animation: cd-pulse 1s infinite;
278
+ }
279
+ .cd-headline.type .cd-words-wrapper.selected {
280
+ background-color: #aebcb9;
281
+ }
282
+ .cd-headline.type .cd-words-wrapper.selected::after {
283
+ visibility: hidden;
284
+ }
285
+ .cd-headline.type .cd-words-wrapper.selected b {
286
+ color: #0d0d0d;
287
+ }
288
+ .cd-headline.type b {
289
+ visibility: hidden;
290
+ }
291
+ .cd-headline.type b.is-visible {
292
+ visibility: visible;
293
+ }
294
+ .cd-headline.type i {
295
+ position: absolute;
296
+ visibility: hidden;
297
+ }
298
+ .cd-headline.type i.in {
299
+ position: relative;
300
+ visibility: visible;
301
+ }
302
+ @-webkit-keyframes cd-pulse {
303
+ 0% {
304
+ -webkit-transform: translateY(-50%) scale(1);
305
+ opacity: 1;
306
+ }
307
+ 40% {
308
+ -webkit-transform: translateY(-50%) scale(0.9);
309
+ opacity: 0;
310
+ }
311
+ 100% {
312
+ -webkit-transform: translateY(-50%) scale(0);
313
+ opacity: 0;
314
+ }
315
+ }
316
+ @-moz-keyframes cd-pulse {
317
+ 0% {
318
+ -moz-transform: translateY(-50%) scale(1);
319
+ opacity: 1;
320
+ }
321
+ 40% {
322
+ -moz-transform: translateY(-50%) scale(0.9);
323
+ opacity: 0;
324
+ }
325
+ 100% {
326
+ -moz-transform: translateY(-50%) scale(0);
327
+ opacity: 0;
328
+ }
329
+ }
330
+ @keyframes cd-pulse {
331
+ 0% {
332
+ -webkit-transform: translateY(-50%) scale(1);
333
+ -moz-transform: translateY(-50%) scale(1);
334
+ -ms-transform: translateY(-50%) scale(1);
335
+ -o-transform: translateY(-50%) scale(1);
336
+ transform: translateY(-50%) scale(1);
337
+ opacity: 1;
338
+ }
339
+ 40% {
340
+ -webkit-transform: translateY(-50%) scale(0.9);
341
+ -moz-transform: translateY(-50%) scale(0.9);
342
+ -ms-transform: translateY(-50%) scale(0.9);
343
+ -o-transform: translateY(-50%) scale(0.9);
344
+ transform: translateY(-50%) scale(0.9);
345
+ opacity: 0;
346
+ }
347
+ 100% {
348
+ -webkit-transform: translateY(-50%) scale(0);
349
+ -moz-transform: translateY(-50%) scale(0);
350
+ -ms-transform: translateY(-50%) scale(0);
351
+ -o-transform: translateY(-50%) scale(0);
352
+ transform: translateY(-50%) scale(0);
353
+ opacity: 0;
354
+ }
355
+ }
356
+ /* --------------------------------
357
+
358
+ xrotate-2
359
+
360
+ -------------------------------- */
361
+ .cd-headline.rotate-2 .cd-words-wrapper {
362
+ -webkit-perspective: 300px;
363
+ -moz-perspective: 300px;
364
+ perspective: 300px;
365
+ }
366
+ .cd-headline.rotate-2 i, .cd-headline.rotate-2 em {
367
+ display: inline-block;
368
+ -webkit-backface-visibility: hidden;
369
+ backface-visibility: hidden;
370
+ }
371
+ .cd-headline.rotate-2 i {
372
+ -webkit-transform-style: preserve-3d;
373
+ -moz-transform-style: preserve-3d;
374
+ -ms-transform-style: preserve-3d;
375
+ -o-transform-style: preserve-3d;
376
+ transform-style: preserve-3d;
377
+ -webkit-transform: translateZ(-20px) rotateX(90deg);
378
+ -moz-transform: translateZ(-20px) rotateX(90deg);
379
+ -ms-transform: translateZ(-20px) rotateX(90deg);
380
+ -o-transform: translateZ(-20px) rotateX(90deg);
381
+ transform: translateZ(-20px) rotateX(90deg);
382
+ opacity: 0;
383
+ }
384
+ .is-visible .cd-headline.rotate-2 i {
385
+ opacity: 1;
386
+ }
387
+ .cd-headline.rotate-2 i.in {
388
+ -webkit-animation: cd-rotate-2-in 0.4s forwards;
389
+ -moz-animation: cd-rotate-2-in 0.4s forwards;
390
+ animation: cd-rotate-2-in 0.4s forwards;
391
+ }
392
+ .cd-headline.rotate-2 i.out {
393
+ -webkit-animation: cd-rotate-2-out 0.4s forwards;
394
+ -moz-animation: cd-rotate-2-out 0.4s forwards;
395
+ animation: cd-rotate-2-out 0.4s forwards;
396
+ }
397
+ .cd-headline.rotate-2 em {
398
+ -webkit-transform: translateZ(20px);
399
+ -moz-transform: translateZ(20px);
400
+ -ms-transform: translateZ(20px);
401
+ -o-transform: translateZ(20px);
402
+ transform: translateZ(20px);
403
+ }
404
+ .no-csstransitions .cd-headline.rotate-2 i {
405
+ -webkit-transform: rotateX(0deg);
406
+ -moz-transform: rotateX(0deg);
407
+ -ms-transform: rotateX(0deg);
408
+ -o-transform: rotateX(0deg);
409
+ transform: rotateX(0deg);
410
+ opacity: 0;
411
+ }
412
+ .no-csstransitions .cd-headline.rotate-2 i em {
413
+ -webkit-transform: scale(1);
414
+ -moz-transform: scale(1);
415
+ -ms-transform: scale(1);
416
+ -o-transform: scale(1);
417
+ transform: scale(1);
418
+ }
419
+ .no-csstransitions .cd-headline.rotate-2 .is-visible i {
420
+ opacity: 1;
421
+ }
422
+ @-webkit-keyframes cd-rotate-2-in {
423
+ 0% {
424
+ opacity: 0;
425
+ -webkit-transform: translateZ(-20px) rotateX(90deg);
426
+ }
427
+ 60% {
428
+ opacity: 1;
429
+ -webkit-transform: translateZ(-20px) rotateX(-10deg);
430
+ }
431
+ 100% {
432
+ opacity: 1;
433
+ -webkit-transform: translateZ(-20px) rotateX(0deg);
434
+ }
435
+ }
436
+ @-moz-keyframes cd-rotate-2-in {
437
+ 0% {
438
+ opacity: 0;
439
+ -moz-transform: translateZ(-20px) rotateX(90deg);
440
+ }
441
+ 60% {
442
+ opacity: 1;
443
+ -moz-transform: translateZ(-20px) rotateX(-10deg);
444
+ }
445
+ 100% {
446
+ opacity: 1;
447
+ -moz-transform: translateZ(-20px) rotateX(0deg);
448
+ }
449
+ }
450
+ @keyframes cd-rotate-2-in {
451
+ 0% {
452
+ opacity: 0;
453
+ -webkit-transform: translateZ(-20px) rotateX(90deg);
454
+ -moz-transform: translateZ(-20px) rotateX(90deg);
455
+ -ms-transform: translateZ(-20px) rotateX(90deg);
456
+ -o-transform: translateZ(-20px) rotateX(90deg);
457
+ transform: translateZ(-20px) rotateX(90deg);
458
+ }
459
+ 60% {
460
+ opacity: 1;
461
+ -webkit-transform: translateZ(-20px) rotateX(-10deg);
462
+ -moz-transform: translateZ(-20px) rotateX(-10deg);
463
+ -ms-transform: translateZ(-20px) rotateX(-10deg);
464
+ -o-transform: translateZ(-20px) rotateX(-10deg);
465
+ transform: translateZ(-20px) rotateX(-10deg);
466
+ }
467
+ 100% {
468
+ opacity: 1;
469
+ -webkit-transform: translateZ(-20px) rotateX(0deg);
470
+ -moz-transform: translateZ(-20px) rotateX(0deg);
471
+ -ms-transform: translateZ(-20px) rotateX(0deg);
472
+ -o-transform: translateZ(-20px) rotateX(0deg);
473
+ transform: translateZ(-20px) rotateX(0deg);
474
+ }
475
+ }
476
+ @-webkit-keyframes cd-rotate-2-out {
477
+ 0% {
478
+ opacity: 1;
479
+ -webkit-transform: translateZ(-20px) rotateX(0);
480
+ }
481
+ 60% {
482
+ opacity: 0;
483
+ -webkit-transform: translateZ(-20px) rotateX(-100deg);
484
+ }
485
+ 100% {
486
+ opacity: 0;
487
+ -webkit-transform: translateZ(-20px) rotateX(-90deg);
488
+ }
489
+ }
490
+ @-moz-keyframes cd-rotate-2-out {
491
+ 0% {
492
+ opacity: 1;
493
+ -moz-transform: translateZ(-20px) rotateX(0);
494
+ }
495
+ 60% {
496
+ opacity: 0;
497
+ -moz-transform: translateZ(-20px) rotateX(-100deg);
498
+ }
499
+ 100% {
500
+ opacity: 0;
501
+ -moz-transform: translateZ(-20px) rotateX(-90deg);
502
+ }
503
+ }
504
+ @keyframes cd-rotate-2-out {
505
+ 0% {
506
+ opacity: 1;
507
+ -webkit-transform: translateZ(-20px) rotateX(0);
508
+ -moz-transform: translateZ(-20px) rotateX(0);
509
+ -ms-transform: translateZ(-20px) rotateX(0);
510
+ -o-transform: translateZ(-20px) rotateX(0);
511
+ transform: translateZ(-20px) rotateX(0);
512
+ }
513
+ 60% {
514
+ opacity: 0;
515
+ -webkit-transform: translateZ(-20px) rotateX(-100deg);
516
+ -moz-transform: translateZ(-20px) rotateX(-100deg);
517
+ -ms-transform: translateZ(-20px) rotateX(-100deg);
518
+ -o-transform: translateZ(-20px) rotateX(-100deg);
519
+ transform: translateZ(-20px) rotateX(-100deg);
520
+ }
521
+ 100% {
522
+ opacity: 0;
523
+ -webkit-transform: translateZ(-20px) rotateX(-90deg);
524
+ -moz-transform: translateZ(-20px) rotateX(-90deg);
525
+ -ms-transform: translateZ(-20px) rotateX(-90deg);
526
+ -o-transform: translateZ(-20px) rotateX(-90deg);
527
+ transform: translateZ(-20px) rotateX(-90deg);
528
+ }
529
+ }
530
+ /* --------------------------------
531
+
532
+ xloading-bar
533
+
534
+ -------------------------------- */
535
+ .cd-headline.loading-bar span {
536
+ display: inline-block;
537
+ padding: .2em 0;
538
+ }
539
+ .cd-headline.loading-bar .cd-words-wrapper {
540
+ overflow: hidden;
541
+ vertical-align: top;
542
+ }
543
+ .cd-headline.loading-bar .cd-words-wrapper::after {
544
+ /* loading bar */
545
+ content:'';
546
+ position: absolute;
547
+ left: 0;
548
+ bottom: 0;
549
+ height: 3px;
550
+ width: 0;
551
+ background: #0096a7;
552
+ z-index: 2;
553
+ -webkit-transition: width 0.3s -0.1s;
554
+ -moz-transition: width 0.3s -0.1s;
555
+ transition: width 0.3s -0.1s;
556
+ }
557
+ .cd-headline.loading-bar .cd-words-wrapper.is-loading::after {
558
+ width: 100%;
559
+ -webkit-transition: width 3s;
560
+ -moz-transition: width 3s;
561
+ transition: width 3s;
562
+ }
563
+ .cd-headline.loading-bar b {
564
+ top: .2em;
565
+ opacity: 0;
566
+ -webkit-transition: opacity 0.3s;
567
+ -moz-transition: opacity 0.3s;
568
+ transition: opacity 0.3s;
569
+ }
570
+ .cd-headline.loading-bar b.is-visible {
571
+ opacity: 1;
572
+ top: 0;
573
+ }
574
+ /* --------------------------------
575
+
576
+ xslide
577
+
578
+ -------------------------------- */
579
+ .cd-headline.slide span {
580
+ display: inline-block;
581
+ padding: .2em 0;
582
+ }
583
+ .cd-headline.slide .cd-words-wrapper {
584
+ overflow: hidden;
585
+ vertical-align: top;
586
+ }
587
+ .cd-headline.slide b {
588
+ opacity: 0;
589
+ top: .2em;
590
+ }
591
+ .cd-headline.slide b.is-visible {
592
+ top: 0;
593
+ opacity: 1;
594
+ -webkit-animation: slide-in 0.6s;
595
+ -moz-animation: slide-in 0.6s;
596
+ animation: slide-in 0.6s;
597
+ }
598
+ .cd-headline.slide b.is-hidden {
599
+ -webkit-animation: slide-out 0.6s;
600
+ -moz-animation: slide-out 0.6s;
601
+ animation: slide-out 0.6s;
602
+ }
603
+ @-webkit-keyframes slide-in {
604
+ 0% {
605
+ opacity: 0;
606
+ -webkit-transform: translateY(-100%);
607
+ }
608
+ 60% {
609
+ opacity: 1;
610
+ -webkit-transform: translateY(20%);
611
+ }
612
+ 100% {
613
+ opacity: 1;
614
+ -webkit-transform: translateY(0);
615
+ }
616
+ }
617
+ @-moz-keyframes slide-in {
618
+ 0% {
619
+ opacity: 0;
620
+ -moz-transform: translateY(-100%);
621
+ }
622
+ 60% {
623
+ opacity: 1;
624
+ -moz-transform: translateY(20%);
625
+ }
626
+ 100% {
627
+ opacity: 1;
628
+ -moz-transform: translateY(0);
629
+ }
630
+ }
631
+ @keyframes slide-in {
632
+ 0% {
633
+ opacity: 0;
634
+ -webkit-transform: translateY(-100%);
635
+ -moz-transform: translateY(-100%);
636
+ -ms-transform: translateY(-100%);
637
+ -o-transform: translateY(-100%);
638
+ transform: translateY(-100%);
639
+ }
640
+ 60% {
641
+ opacity: 1;
642
+ -webkit-transform: translateY(20%);
643
+ -moz-transform: translateY(20%);
644
+ -ms-transform: translateY(20%);
645
+ -o-transform: translateY(20%);
646
+ transform: translateY(20%);
647
+ }
648
+ 100% {
649
+ opacity: 1;
650
+ -webkit-transform: translateY(0);
651
+ -moz-transform: translateY(0);
652
+ -ms-transform: translateY(0);
653
+ -o-transform: translateY(0);
654
+ transform: translateY(0);
655
+ }
656
+ }
657
+ @-webkit-keyframes slide-out {
658
+ 0% {
659
+ opacity: 1;
660
+ -webkit-transform: translateY(0);
661
+ }
662
+ 60% {
663
+ opacity: 0;
664
+ -webkit-transform: translateY(120%);
665
+ }
666
+ 100% {
667
+ opacity: 0;
668
+ -webkit-transform: translateY(100%);
669
+ }
670
+ }
671
+ @-moz-keyframes slide-out {
672
+ 0% {
673
+ opacity: 1;
674
+ -moz-transform: translateY(0);
675
+ }
676
+ 60% {
677
+ opacity: 0;
678
+ -moz-transform: translateY(120%);
679
+ }
680
+ 100% {
681
+ opacity: 0;
682
+ -moz-transform: translateY(100%);
683
+ }
684
+ }
685
+ @keyframes slide-out {
686
+ 0% {
687
+ opacity: 1;
688
+ -webkit-transform: translateY(0);
689
+ -moz-transform: translateY(0);
690
+ -ms-transform: translateY(0);
691
+ -o-transform: translateY(0);
692
+ transform: translateY(0);
693
+ }
694
+ 60% {
695
+ opacity: 0;
696
+ -webkit-transform: translateY(120%);
697
+ -moz-transform: translateY(120%);
698
+ -ms-transform: translateY(120%);
699
+ -o-transform: translateY(120%);
700
+ transform: translateY(120%);
701
+ }
702
+ 100% {
703
+ opacity: 0;
704
+ -webkit-transform: translateY(100%);
705
+ -moz-transform: translateY(100%);
706
+ -ms-transform: translateY(100%);
707
+ -o-transform: translateY(100%);
708
+ transform: translateY(100%);
709
+ }
710
+ }
711
+ /* --------------------------------
712
+
713
+ xclip
714
+
715
+ -------------------------------- */
716
+ .cd-headline.clip span {
717
+ display: inline-block;
718
+ padding: .2em 0;
719
+ }
720
+ .cd-headline.clip .cd-words-wrapper {
721
+ overflow: hidden;
722
+ vertical-align: top;
723
+ }
724
+ .cd-headline.clip .cd-words-wrapper::after {
725
+ /* line */
726
+ content:'';
727
+ position: absolute;
728
+ top: 0;
729
+ right: 0;
730
+ width: 2px;
731
+ height: 100%;
732
+ background-color: #aebcb9;
733
+ }
734
+ .cd-headline.clip b {
735
+ opacity: 0;
736
+ }
737
+ .cd-headline.clip b.is-visible {
738
+ opacity: 1;
739
+ }
740
+ /* --------------------------------
741
+
742
+ xzoom
743
+
744
+ -------------------------------- */
745
+ .cd-headline.zoom .cd-words-wrapper {
746
+ -webkit-perspective: 300px;
747
+ -moz-perspective: 300px;
748
+ perspective: 300px;
749
+ }
750
+ .cd-headline.zoom b {
751
+ opacity: 0;
752
+ }
753
+ .cd-headline.zoom b.is-visible {
754
+ opacity: 1;
755
+ -webkit-animation: zoom-in 0.8s;
756
+ -moz-animation: zoom-in 0.8s;
757
+ animation: zoom-in 0.8s;
758
+ }
759
+ .cd-headline.zoom b.is-hidden {
760
+ -webkit-animation: zoom-out 0.8s;
761
+ -moz-animation: zoom-out 0.8s;
762
+ animation: zoom-out 0.8s;
763
+ }
764
+ @-webkit-keyframes zoom-in {
765
+ 0% {
766
+ opacity: 0;
767
+ -webkit-transform: translateZ(100px);
768
+ }
769
+ 100% {
770
+ opacity: 1;
771
+ -webkit-transform: translateZ(0);
772
+ }
773
+ }
774
+ @-moz-keyframes zoom-in {
775
+ 0% {
776
+ opacity: 0;
777
+ -moz-transform: translateZ(100px);
778
+ }
779
+ 100% {
780
+ opacity: 1;
781
+ -moz-transform: translateZ(0);
782
+ }
783
+ }
784
+ @keyframes zoom-in {
785
+ 0% {
786
+ opacity: 0;
787
+ -webkit-transform: translateZ(100px);
788
+ -moz-transform: translateZ(100px);
789
+ -ms-transform: translateZ(100px);
790
+ -o-transform: translateZ(100px);
791
+ transform: translateZ(100px);
792
+ }
793
+ 100% {
794
+ opacity: 1;
795
+ -webkit-transform: translateZ(0);
796
+ -moz-transform: translateZ(0);
797
+ -ms-transform: translateZ(0);
798
+ -o-transform: translateZ(0);
799
+ transform: translateZ(0);
800
+ }
801
+ }
802
+ @-webkit-keyframes zoom-out {
803
+ 0% {
804
+ opacity: 1;
805
+ -webkit-transform: translateZ(0);
806
+ }
807
+ 100% {
808
+ opacity: 0;
809
+ -webkit-transform: translateZ(-100px);
810
+ }
811
+ }
812
+ @-moz-keyframes zoom-out {
813
+ 0% {
814
+ opacity: 1;
815
+ -moz-transform: translateZ(0);
816
+ }
817
+ 100% {
818
+ opacity: 0;
819
+ -moz-transform: translateZ(-100px);
820
+ }
821
+ }
822
+ @keyframes zoom-out {
823
+ 0% {
824
+ opacity: 1;
825
+ -webkit-transform: translateZ(0);
826
+ -moz-transform: translateZ(0);
827
+ -ms-transform: translateZ(0);
828
+ -o-transform: translateZ(0);
829
+ transform: translateZ(0);
830
+ }
831
+ 100% {
832
+ opacity: 0;
833
+ -webkit-transform: translateZ(-100px);
834
+ -moz-transform: translateZ(-100px);
835
+ -ms-transform: translateZ(-100px);
836
+ -o-transform: translateZ(-100px);
837
+ transform: translateZ(-100px);
838
+ }
839
+ }
840
+ /* --------------------------------
841
+
842
+ xrotate-3
843
+
844
+ -------------------------------- */
845
+ .cd-headline.rotate-3 .cd-words-wrapper {
846
+ -webkit-perspective: 300px;
847
+ -moz-perspective: 300px;
848
+ perspective: 300px;
849
+ }
850
+ .cd-headline.rotate-3 i {
851
+ display: inline-block;
852
+ -webkit-transform: rotateY(180deg);
853
+ -moz-transform: rotateY(180deg);
854
+ -ms-transform: rotateY(180deg);
855
+ -o-transform: rotateY(180deg);
856
+ transform: rotateY(180deg);
857
+ -webkit-backface-visibility: hidden;
858
+ backface-visibility: hidden;
859
+ }
860
+ .is-visible .cd-headline.rotate-3 i {
861
+ -webkit-transform: rotateY(0deg);
862
+ -moz-transform: rotateY(0deg);
863
+ -ms-transform: rotateY(0deg);
864
+ -o-transform: rotateY(0deg);
865
+ transform: rotateY(0deg);
866
+ }
867
+ .cd-headline.rotate-3 i.in {
868
+ -webkit-animation: cd-rotate-3-in 0.6s forwards;
869
+ -moz-animation: cd-rotate-3-in 0.6s forwards;
870
+ animation: cd-rotate-3-in 0.6s forwards;
871
+ }
872
+ .cd-headline.rotate-3 i.out {
873
+ -webkit-animation: cd-rotate-3-out 0.6s forwards;
874
+ -moz-animation: cd-rotate-3-out 0.6s forwards;
875
+ animation: cd-rotate-3-out 0.6s forwards;
876
+ }
877
+ .no-csstransitions .cd-headline.rotate-3 i {
878
+ -webkit-transform: rotateY(0deg);
879
+ -moz-transform: rotateY(0deg);
880
+ -ms-transform: rotateY(0deg);
881
+ -o-transform: rotateY(0deg);
882
+ transform: rotateY(0deg);
883
+ opacity: 0;
884
+ }
885
+ .no-csstransitions .cd-headline.rotate-3 .is-visible i {
886
+ opacity: 1;
887
+ }
888
+ @-webkit-keyframes cd-rotate-3-in {
889
+ 0% {
890
+ -webkit-transform: rotateY(180deg);
891
+ }
892
+ 100% {
893
+ -webkit-transform: rotateY(0deg);
894
+ }
895
+ }
896
+ @-moz-keyframes cd-rotate-3-in {
897
+ 0% {
898
+ -moz-transform: rotateY(180deg);
899
+ }
900
+ 100% {
901
+ -moz-transform: rotateY(0deg);
902
+ }
903
+ }
904
+ @keyframes cd-rotate-3-in {
905
+ 0% {
906
+ -webkit-transform: rotateY(180deg);
907
+ -moz-transform: rotateY(180deg);
908
+ -ms-transform: rotateY(180deg);
909
+ -o-transform: rotateY(180deg);
910
+ transform: rotateY(180deg);
911
+ }
912
+ 100% {
913
+ -webkit-transform: rotateY(0deg);
914
+ -moz-transform: rotateY(0deg);
915
+ -ms-transform: rotateY(0deg);
916
+ -o-transform: rotateY(0deg);
917
+ transform: rotateY(0deg);
918
+ }
919
+ }
920
+ @-webkit-keyframes cd-rotate-3-out {
921
+ 0% {
922
+ -webkit-transform: rotateY(0);
923
+ }
924
+ 100% {
925
+ -webkit-transform: rotateY(-180deg);
926
+ }
927
+ }
928
+ @-moz-keyframes cd-rotate-3-out {
929
+ 0% {
930
+ -moz-transform: rotateY(0);
931
+ }
932
+ 100% {
933
+ -moz-transform: rotateY(-180deg);
934
+ }
935
+ }
936
+ @keyframes cd-rotate-3-out {
937
+ 0% {
938
+ -webkit-transform: rotateY(0);
939
+ -moz-transform: rotateY(0);
940
+ -ms-transform: rotateY(0);
941
+ -o-transform: rotateY(0);
942
+ transform: rotateY(0);
943
+ }
944
+ 100% {
945
+ -webkit-transform: rotateY(-180deg);
946
+ -moz-transform: rotateY(-180deg);
947
+ -ms-transform: rotateY(-180deg);
948
+ -o-transform: rotateY(-180deg);
949
+ transform: rotateY(-180deg);
950
+ }
951
+ }
952
+ /* --------------------------------
953
+
954
+ xscale
955
+
956
+ -------------------------------- */
957
+ .cd-headline.scale i {
958
+ display: inline-block;
959
+ opacity: 0;
960
+ -webkit-transform: scale(0);
961
+ -moz-transform: scale(0);
962
+ -ms-transform: scale(0);
963
+ -o-transform: scale(0);
964
+ transform: scale(0);
965
+ }
966
+ .is-visible .cd-headline.scale i {
967
+ opacity: 1;
968
+ }
969
+ .cd-headline.scale i.in {
970
+ -webkit-animation: scale-up 0.6s forwards;
971
+ -moz-animation: scale-up 0.6s forwards;
972
+ animation: scale-up 0.6s forwards;
973
+ }
974
+ .cd-headline.scale i.out {
975
+ -webkit-animation: scale-down 0.6s forwards;
976
+ -moz-animation: scale-down 0.6s forwards;
977
+ animation: scale-down 0.6s forwards;
978
+ }
979
+ .no-csstransitions .cd-headline.scale i {
980
+ -webkit-transform: scale(1);
981
+ -moz-transform: scale(1);
982
+ -ms-transform: scale(1);
983
+ -o-transform: scale(1);
984
+ transform: scale(1);
985
+ opacity: 0;
986
+ }
987
+ .no-csstransitions .cd-headline.scale .is-visible i {
988
+ opacity: 1;
989
+ }
990
+ @-webkit-keyframes scale-up {
991
+ 0% {
992
+ -webkit-transform: scale(0);
993
+ opacity: 0;
994
+ }
995
+ 60% {
996
+ -webkit-transform: scale(1.2);
997
+ opacity: 1;
998
+ }
999
+ 100% {
1000
+ -webkit-transform: scale(1);
1001
+ opacity: 1;
1002
+ }
1003
+ }
1004
+ @-moz-keyframes scale-up {
1005
+ 0% {
1006
+ -moz-transform: scale(0);
1007
+ opacity: 0;
1008
+ }
1009
+ 60% {
1010
+ -moz-transform: scale(1.2);
1011
+ opacity: 1;
1012
+ }
1013
+ 100% {
1014
+ -moz-transform: scale(1);
1015
+ opacity: 1;
1016
+ }
1017
+ }
1018
+ @keyframes scale-up {
1019
+ 0% {
1020
+ -webkit-transform: scale(0);
1021
+ -moz-transform: scale(0);
1022
+ -ms-transform: scale(0);
1023
+ -o-transform: scale(0);
1024
+ transform: scale(0);
1025
+ opacity: 0;
1026
+ }
1027
+ 60% {
1028
+ -webkit-transform: scale(1.2);
1029
+ -moz-transform: scale(1.2);
1030
+ -ms-transform: scale(1.2);
1031
+ -o-transform: scale(1.2);
1032
+ transform: scale(1.2);
1033
+ opacity: 1;
1034
+ }
1035
+ 100% {
1036
+ -webkit-transform: scale(1);
1037
+ -moz-transform: scale(1);
1038
+ -ms-transform: scale(1);
1039
+ -o-transform: scale(1);
1040
+ transform: scale(1);
1041
+ opacity: 1;
1042
+ }
1043
+ }
1044
+ @-webkit-keyframes scale-down {
1045
+ 0% {
1046
+ -webkit-transform: scale(1);
1047
+ opacity: 1;
1048
+ }
1049
+ 60% {
1050
+ -webkit-transform: scale(0);
1051
+ opacity: 0;
1052
+ }
1053
+ }
1054
+ @-moz-keyframes scale-down {
1055
+ 0% {
1056
+ -moz-transform: scale(1);
1057
+ opacity: 1;
1058
+ }
1059
+ 60% {
1060
+ -moz-transform: scale(0);
1061
+ opacity: 0;
1062
+ }
1063
+ }
1064
+ @keyframes scale-down {
1065
+ 0% {
1066
+ -webkit-transform: scale(1);
1067
+ -moz-transform: scale(1);
1068
+ -ms-transform: scale(1);
1069
+ -o-transform: scale(1);
1070
+ transform: scale(1);
1071
+ opacity: 1;
1072
+ }
1073
+ 60% {
1074
+ -webkit-transform: scale(0);
1075
+ -moz-transform: scale(0);
1076
+ -ms-transform: scale(0);
1077
+ -o-transform: scale(0);
1078
+ transform: scale(0);
1079
+ opacity: 0;
1080
+ }
1081
+ }
1082
+ /* --------------------------------
1083
+
1084
+ xpush
1085
+
1086
+ -------------------------------- */
1087
+ .cd-headline.push b {
1088
+ opacity: 0;
1089
+ }
1090
+ .cd-headline.push b.is-visible {
1091
+ opacity: 1;
1092
+ -webkit-animation: push-in 0.6s;
1093
+ -moz-animation: push-in 0.6s;
1094
+ animation: push-in 0.6s;
1095
+ }
1096
+ .cd-headline.push b.is-hidden {
1097
+ -webkit-animation: push-out 0.6s;
1098
+ -moz-animation: push-out 0.6s;
1099
+ animation: push-out 0.6s;
1100
+ }
1101
+ @-webkit-keyframes push-in {
1102
+ 0% {
1103
+ opacity: 0;
1104
+ -webkit-transform: translateX(-100%);
1105
+ }
1106
+ 60% {
1107
+ opacity: 1;
1108
+ -webkit-transform: translateX(10%);
1109
+ }
1110
+ 100% {
1111
+ opacity: 1;
1112
+ -webkit-transform: translateX(0);
1113
+ }
1114
+ }
1115
+ @-moz-keyframes push-in {
1116
+ 0% {
1117
+ opacity: 0;
1118
+ -moz-transform: translateX(-100%);
1119
+ }
1120
+ 60% {
1121
+ opacity: 1;
1122
+ -moz-transform: translateX(10%);
1123
+ }
1124
+ 100% {
1125
+ opacity: 1;
1126
+ -moz-transform: translateX(0);
1127
+ }
1128
+ }
1129
+ @keyframes push-in {
1130
+ 0% {
1131
+ opacity: 0;
1132
+ -webkit-transform: translateX(-100%);
1133
+ -moz-transform: translateX(-100%);
1134
+ -ms-transform: translateX(-100%);
1135
+ -o-transform: translateX(-100%);
1136
+ transform: translateX(-100%);
1137
+ }
1138
+ 60% {
1139
+ opacity: 1;
1140
+ -webkit-transform: translateX(10%);
1141
+ -moz-transform: translateX(10%);
1142
+ -ms-transform: translateX(10%);
1143
+ -o-transform: translateX(10%);
1144
+ transform: translateX(10%);
1145
+ }
1146
+ 100% {
1147
+ opacity: 1;
1148
+ -webkit-transform: translateX(0);
1149
+ -moz-transform: translateX(0);
1150
+ -ms-transform: translateX(0);
1151
+ -o-transform: translateX(0);
1152
+ transform: translateX(0);
1153
+ }
1154
+ }
1155
+ @-webkit-keyframes push-out {
1156
+ 0% {
1157
+ opacity: 1;
1158
+ -webkit-transform: translateX(0);
1159
+ }
1160
+ 60% {
1161
+ opacity: 0;
1162
+ -webkit-transform: translateX(110%);
1163
+ }
1164
+ 100% {
1165
+ opacity: 0;
1166
+ -webkit-transform: translateX(100%);
1167
+ }
1168
+ }
1169
+ @-moz-keyframes push-out {
1170
+ 0% {
1171
+ opacity: 1;
1172
+ -moz-transform: translateX(0);
1173
+ }
1174
+ 60% {
1175
+ opacity: 0;
1176
+ -moz-transform: translateX(110%);
1177
+ }
1178
+ 100% {
1179
+ opacity: 0;
1180
+ -moz-transform: translateX(100%);
1181
+ }
1182
+ }
1183
+ @keyframes push-out {
1184
+ 0% {
1185
+ opacity: 1;
1186
+ -webkit-transform: translateX(0);
1187
+ -moz-transform: translateX(0);
1188
+ -ms-transform: translateX(0);
1189
+ -o-transform: translateX(0);
1190
+ transform: translateX(0);
1191
+ }
1192
+ 60% {
1193
+ opacity: 0;
1194
+ -webkit-transform: translateX(110%);
1195
+ -moz-transform: translateX(110%);
1196
+ -ms-transform: translateX(110%);
1197
+ -o-transform: translateX(110%);
1198
+ transform: translateX(110%);
1199
+ }
1200
+ 100% {
1201
+ opacity: 0;
1202
+ -webkit-transform: translateX(100%);
1203
+ -moz-transform: translateX(100%);
1204
+ -ms-transform: translateX(100%);
1205
+ -o-transform: translateX(100%);
1206
+ transform: translateX(100%);
1207
+ }
1208
+ }
free-acf-blocks.php CHANGED
@@ -299,6 +299,52 @@ function acfb_blocks_free() {
299
  ));
300
 
301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
 
303
  }
304
 
299
  ));
300
 
301
 
302
+ // register a Business Hours Block.
303
+ acf_register_block(array(
304
+ 'name' => 'acfb-business-hours',
305
+ 'mode' => 'preview',
306
+ 'title' => __('Business Hours'),
307
+ 'description' => __('Add Business Hours in your pages/posts.'),
308
+ 'render_callback' => 'acf_blocks_template',
309
+ // 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/scrollable-image.php',
310
+ 'category' => 'acfb-blocks',
311
+ 'icon' => '<svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
312
+ <circle cx="386" cy="210" r="20"/>
313
+ <path d="m432 40h-26v-20c0-11.046-8.954-20-20-20s-20 8.954-20 20v20h-91v-20c0-11.046-8.954-20-20-20s-20 8.954-20 20v20h-90v-20c0-11.046-8.954-20-20-20s-20 8.954-20 20v20h-25c-44.112 0-80 35.888-80 80v312c0 44.112 35.888 80 80 80h153c11.046 0 20-8.954 20-20s-8.954-20-20-20h-153c-22.056 0-40-17.944-40-40v-312c0-22.056 17.944-40 40-40h25v20c0 11.046 8.954 20 20 20s20-8.954 20-20v-20h90v20c0 11.046 8.954 20 20 20s20-8.954 20-20v-20h91v20c0 11.046 8.954 20 20 20s20-8.954 20-20v-20h26c22.056 0 40 17.944 40 40v114c0 11.046 8.954 20 20 20s20-8.954 20-20v-114c0-44.112-35.888-80-80-80z"/>
314
+ <path d="m391 270c-66.72 0-121 54.28-121 121s54.28 121 121 121 121-54.28 121-121-54.28-121-121-121zm0 202c-44.663 0-81-36.336-81-81s36.337-81 81-81 81 36.336 81 81-36.337 81-81 81z"/>
315
+ <path d="m420 371h-9v-21c0-11.046-8.954-20-20-20s-20 8.954-20 20v41c0 11.046 8.954 20 20 20h29c11.046 0 20-8.954 20-20s-8.954-20-20-20z"/>
316
+ <circle cx="299" cy="210" r="20"/>
317
+ <circle cx="212" cy="297" r="20"/>
318
+ <circle cx="125" cy="210" r="20"/>
319
+ <circle cx="125" cy="297" r="20"/>
320
+ <circle cx="125" cy="384" r="20"/>
321
+ <circle cx="212" cy="384" r="20"/>
322
+ <circle cx="212" cy="210" r="20"/>
323
+ </svg>',
324
+ 'enqueue_assets' => function(){
325
+ wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
326
+ },
327
+ ));
328
+
329
+
330
+
331
+ // register a Dual Button Block.
332
+ // acf_register_block(array(
333
+ // 'name' => 'acfb-dual-button',
334
+ // 'mode' => 'preview',
335
+ // 'title' => __('Dual Button'),
336
+ // 'description' => __('Add Dual Button in your pages/posts.'),
337
+ // 'render_callback' => 'acf_blocks_template',
338
+ // // 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/scrollable-image.php',
339
+ // 'category' => 'acfb-blocks',
340
+ // 'icon' => '<svg viewBox="0 -62 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m203.640625 24.574219h-79.988281c-5.65625 0-10.246094 4.589843-10.246094 10.246093s4.589844 10.246094 10.246094 10.246094h69.742187v281.945313h-172.90625v-281.945313h24.007813c5.65625 0 10.246094-4.589844 10.246094-10.246094s-4.589844-10.246093-10.246094-10.246093h-34.25c-5.660156 0-10.246094 4.589843-10.246094 10.246093v302.433594c0 5.65625 4.585938 10.246094 10.246094 10.246094h193.394531c5.65625 0 10.242187-4.589844 10.242187-10.246094v-302.433594c0-5.65625-4.585937-10.246093-10.242187-10.246093zm0 0"/><path d="m29.007812 64.199219v243.675781c0 5.660156 4.585938 10.246094 10.246094 10.246094h135.375c5.660156 0 10.246094-4.585938 10.246094-10.246094v-243.675781c0-5.65625-4.585938-10.246094-10.246094-10.246094h-135.375c-5.660156 0-10.246094 4.585937-10.246094 10.246094zm20.488282 10.242187h114.890625v223.191406h-114.890625zm0 0"/><path d="m501.753906 24.574219h-193.394531c-5.65625 0-10.242187 4.589843-10.242187 10.246093v302.433594c0 5.65625 4.585937 10.246094 10.242187 10.246094h41.964844c8.777343 21.621094 29.996093 36.917969 54.734375 36.917969 24.734375 0 45.957031-15.296875 54.734375-36.917969h41.960937c5.660156 0 10.246094-4.589844 10.246094-10.246094v-302.433594c0-5.65625-4.585938-10.246093-10.246094-10.246093zm-96.695312 339.355469c-21.265625 0-38.566406-17.300782-38.566406-38.566407s17.300781-38.566406 38.566406-38.566406 38.566406 17.300781 38.566406 38.566406-17.300781 38.566407-38.566406 38.566407zm57.441406-66.296876h-5.324219c-9.945312-18.621093-29.574219-31.324218-52.117187-31.324218-22.542969 0-42.171875 12.703125-52.121094 31.324218h-5.324219v-223.191406h114.890625v223.191406zm29.011719 29.378907h-27.441407c.015626-.550781.042969-1.09375.042969-1.648438 0-2.453125-.167969-4.867187-.460937-7.242187h9.09375c5.65625 0 10.246094-4.585938 10.246094-10.242188v-243.679687c0-5.65625-4.589844-10.246094-10.246094-10.246094h-135.378906c-5.65625 0-10.242188 4.589844-10.242188 10.246094v243.675781c0 5.660156 4.585938 10.246094 10.242188 10.246094h9.09375c-.289063 2.375-.457032 4.789062-.457032 7.242187 0 .550781.027344 1.097657.039063 1.644531h-27.4375v-281.941406h172.90625zm0 0"/><path d="m255.125 307.335938c-5.660156 0-10.246094 4.585937-10.246094 10.246093v21.8125c0 5.65625 4.585938 10.246094 10.246094 10.246094 5.65625 0 10.242188-4.589844 10.242188-10.246094v-21.8125c0-5.660156-4.585938-10.246093-10.242188-10.246093zm0 0"/><path d="m255.125 0c-5.660156 0-10.246094 4.585938-10.246094 10.246094v51.222656c0 5.65625 4.585938 10.242188 10.246094 10.242188 5.65625 0 10.242188-4.585938 10.242188-10.242188v-51.222656c0-5.660156-4.585938-10.246094-10.242188-10.246094zm0 0"/><path d="m255.125 204.890625c-5.660156 0-10.246094 4.585937-10.246094 10.246094v51.222656c0 5.65625 4.585938 10.242187 10.246094 10.242187 5.65625 0 10.242188-4.585937 10.242188-10.242187v-51.222656c0-5.660157-4.585938-10.246094-10.242188-10.246094zm0 0"/><path d="m255.125 102.445312c-5.660156 0-10.246094 4.585938-10.246094 10.246094v51.222656c0 5.65625 4.585938 10.242188 10.246094 10.242188 5.65625 0 10.242188-4.585938 10.242188-10.242188v-51.222656c0-5.660156-4.585938-10.246094-10.242188-10.246094zm0 0"/><path d="m120.96875 137.875c-1.476562-4.523438-7.515625-6.71875-13.6875-6.71875-6.175781 0-12.214844 2.195312-13.691406 6.71875l-24.964844 78.839844c-.132812.515625-.269531 1.035156-.269531 1.421875 0 4.78125 7.652343 8.269531 13.421875 8.269531 3.355468 0 6.039062-1.03125 6.847656-3.746094l4.5625-16.15625h28.320312l4.5625 16.15625c.804688 2.714844 3.488282 3.746094 6.847657 3.746094 5.769531 0 13.421875-3.488281 13.421875-8.269531 0-.386719-.136719-.90625-.269532-1.421875zm-23.488281 53.121094 9.796875-34.640625 9.800781 34.640625zm0 0"/><path d="m383.847656 226.40625h29.796875c15.164063 0 26.976563-7.363281 26.976563-27.785156v-2.714844c0-12.921875-5.636719-17.707031-13.824219-20.679688 7.113281-2.972656 11.40625-9.824218 11.40625-20.292968 0-18.351563-13.421875-23.003906-26.84375-23.003906h-27.511719c-4.5625 0-9.128906 2.070312-9.128906 6.203124v82.199219c0 3.230469 3.492188 6.074219 9.128906 6.074219zm11.675782-76.898438h14.09375c5.101562 0 7.648437 4.523438 7.648437 9.046876 0 4.394531-2.546875 8.917968-7.648437 8.917968h-14.09375zm0 33.472657h13.421874c6.710938 0 10.738282 3.101562 10.738282 11.890625v2.070312c0 8.269532-4.027344 11.890625-10.738282 11.890625h-13.421874zm0 0"/><path d="m414.449219 308.660156-16.765625 16.179688-2.398438-2.53125c-3.890625-4.109375-10.375-4.289063-14.484375-.398438s-4.285156 10.375-.398437 14.484375l9.507812 10.042969c1.878906 1.984375 4.476563 3.136719 7.210938 3.199219.078125 0 .152344.003906.230468.003906 2.652344 0 5.203126-1.027344 7.113282-2.875l24.214844-23.359375c4.070312-3.929688 4.183593-10.417969.257812-14.488281-3.929688-4.070313-10.414062-4.183594-14.488281-.257813zm0 0"/><path d="m83.457031 45.449219c.195313.011719.390625.015625.582031.015625 5.398438 0 9.921876-4.257813 10.230469-9.710938.320313-5.648437-4-10.488281-9.648437-10.808594-5.652344-.308593-10.488282 4-10.808594 9.648438l-.003906.097656c-.320313 5.648438 4 10.4375 9.648437 10.757813zm0 0"/><path d="m255.707031 366.96875c-5.660156-.320312-10.488281 4-10.808593 9.648438l-.003907.097656c-.320312 5.652344 4 10.441406 9.648438 10.761718.195312.011719.390625.015626.582031.015626 5.394531 0 9.921875-4.257813 10.230469-9.710938.320312-5.652344-4-10.492188-9.648438-10.8125zm0 0"/></svg>',
341
+ // 'enqueue_assets' => function(){
342
+ // wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
343
+ // },
344
+ // ));
345
+
346
+
347
+
348
 
349
  }
350
 
img/is/style1.png ADDED
Binary file
img/is/style10.png ADDED
Binary file
img/is/style11.png ADDED
Binary file
img/is/style12.png ADDED
Binary file
img/is/style13.png ADDED
Binary file
img/is/style14.png ADDED
Binary file
img/is/style15.png ADDED
Binary file
img/is/style16.png ADDED
Binary file
img/is/style17.png ADDED
Binary file
img/is/style18.png ADDED
Binary file
img/is/style19.png ADDED
Binary file
img/is/style2.png ADDED
Binary file
img/is/style20.png ADDED
Binary file
img/is/style21.png ADDED
Binary file
img/is/style22.png ADDED
Binary file
img/is/style23.png ADDED
Binary file
img/is/style24.png ADDED
Binary file
img/is/style25.png ADDED
Binary file
img/is/style26.png ADDED
Binary file
img/is/style27.png ADDED
Binary file
img/is/style28.png ADDED
Binary file
img/is/style29.png ADDED
Binary file
img/is/style3.png ADDED
Binary file
img/is/style30.png ADDED
Binary file
img/is/style31.png ADDED
Binary file
img/is/style32.png ADDED
Binary file
img/is/style33.png ADDED
Binary file
img/is/style34.png ADDED
Binary file
img/is/style35.png ADDED
Binary file
img/is/style36.png ADDED
Binary file
img/is/style37.png ADDED
Binary file
img/is/style38.png ADDED
Binary file
img/is/style39.png ADDED
Binary file
img/is/style4.png ADDED
Binary file
img/is/style40.png ADDED
Binary file
img/is/style41.png ADDED
Binary file
img/is/style42.png ADDED
Binary file
img/is/style43.png ADDED
Binary file
img/is/style44.png ADDED
Binary file
img/is/style45.png ADDED
Binary file
img/is/style46.png ADDED
Binary file
img/is/style47.png ADDED
Binary file
img/is/style48.png ADDED
Binary file
img/is/style49.png ADDED
Binary file
img/is/style5.png ADDED
Binary file
img/is/style50.png ADDED
Binary file
img/is/style51.png ADDED
Binary file
img/is/style52.png ADDED
Binary file
img/is/style53.png ADDED
Binary file
img/is/style6.png ADDED
Binary file
img/is/style7.png ADDED
Binary file
img/is/style8.png ADDED
Binary file
img/is/style9.png ADDED
Binary file
img/placeholder-vertical.jpg CHANGED
Binary file
img/pt-four-one.png CHANGED
Binary file
img/pt-four-two.png CHANGED
Binary file
js/animated-headline.js ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function ($) {
2
+ //set animation timing
3
+ var animationDelay = 2500,
4
+ //loading bar effect
5
+ barAnimationDelay = 3800,
6
+ barWaiting = barAnimationDelay - 3000, //3000 is the duration of the transition on the loading bar - set in the scss/css file
7
+ //letters effect
8
+ lettersDelay = 50,
9
+ //type effect
10
+ typeLettersDelay = 150,
11
+ selectionDuration = 500,
12
+ typeAnimationDelay = selectionDuration + 800,
13
+ //clip effect
14
+ revealDuration = 600,
15
+ revealAnimationDelay = 1500;
16
+
17
+ initHeadline();
18
+
19
+
20
+ function initHeadline() {
21
+ //insert <i> element for each letter of a changing word
22
+ singleLetters($('.cd-headline.letters').find('b'));
23
+ //initialise headline animation
24
+ animateHeadline($('.cd-headline'));
25
+ }
26
+
27
+ function singleLetters($words) {
28
+ $words.each(function () {
29
+ var word = $(this),
30
+ letters = word.text().split(''),
31
+ selected = word.hasClass('is-visible');
32
+ for (i in letters) {
33
+ if (word.parents('.rotate-2').length > 0) letters[i] = '<em>' + letters[i] + '</em>';
34
+ letters[i] = (selected) ? '<i class="in">' + letters[i] + '</i>' : '<i>' + letters[i] + '</i>';
35
+ }
36
+ var newLetters = letters.join('');
37
+ word.html(newLetters);
38
+ });
39
+ }
40
+
41
+ function animateHeadline($headlines) {
42
+ var duration = animationDelay;
43
+ $headlines.each(function () {
44
+ var headline = $(this);
45
+
46
+ if (headline.hasClass('loading-bar')) {
47
+ duration = barAnimationDelay;
48
+ setTimeout(function () {
49
+ headline.find('.cd-words-wrapper').addClass('is-loading')
50
+ }, barWaiting);
51
+ } else if (headline.hasClass('clip')) {
52
+ var spanWrapper = headline.find('.cd-words-wrapper'),
53
+ newWidth = spanWrapper.width() + 10
54
+ spanWrapper.css('width', newWidth);
55
+ } else if (!headline.hasClass('type')) {
56
+ //assign to .cd-words-wrapper the width of its longest word
57
+ var words = headline.find('.cd-words-wrapper b'),
58
+ width = 0;
59
+ words.each(function () {
60
+ var wordWidth = $(this).width();
61
+ if (wordWidth > width) width = wordWidth;
62
+ });
63
+ headline.find('.cd-words-wrapper').css('width', width);
64
+ };
65
+
66
+ //trigger animation
67
+ setTimeout(function () {
68
+ hideWord(headline.find('.is-visible').eq(0))
69
+ }, duration);
70
+ });
71
+ }
72
+
73
+ function hideWord($word) {
74
+ var nextWord = takeNext($word);
75
+
76
+ if ($word.parents('.cd-headline').hasClass('type')) {
77
+ var parentSpan = $word.parent('.cd-words-wrapper');
78
+ parentSpan.addClass('selected').removeClass('waiting');
79
+ setTimeout(function () {
80
+ parentSpan.removeClass('selected');
81
+ $word.removeClass('is-visible').addClass('is-hidden').children('i').removeClass('in').addClass('out');
82
+ }, selectionDuration);
83
+ setTimeout(function () {
84
+ showWord(nextWord, typeLettersDelay)
85
+ }, typeAnimationDelay);
86
+
87
+ } else if ($word.parents('.cd-headline').hasClass('letters')) {
88
+ var bool = ($word.children('i').length >= nextWord.children('i').length) ? true : false;
89
+ hideLetter($word.find('i').eq(0), $word, bool, lettersDelay);
90
+ showLetter(nextWord.find('i').eq(0), nextWord, bool, lettersDelay);
91
+
92
+ } else if ($word.parents('.cd-headline').hasClass('clip')) {
93
+ $word.parents('.cd-words-wrapper').animate({
94
+ width: '2px'
95
+ }, revealDuration, function () {
96
+ switchWord($word, nextWord);
97
+ showWord(nextWord);
98
+ });
99
+
100
+ } else if ($word.parents('.cd-headline').hasClass('loading-bar')) {
101
+ $word.parents('.cd-words-wrapper').removeClass('is-loading');
102
+ switchWord($word, nextWord);
103
+ setTimeout(function () {
104
+ hideWord(nextWord)
105
+ }, barAnimationDelay);
106
+ setTimeout(function () {
107
+ $word.parents('.cd-words-wrapper').addClass('is-loading')
108
+ }, barWaiting);
109
+
110
+ } else {
111
+ switchWord($word, nextWord);
112
+ setTimeout(function () {
113
+ hideWord(nextWord)
114
+ }, animationDelay);
115
+ }
116
+ }
117
+
118
+ function showWord($word, $duration) {
119
+ if ($word.parents('.cd-headline').hasClass('type')) {
120
+ showLetter($word.find('i').eq(0), $word, false, $duration);
121
+ $word.addClass('is-visible').removeClass('is-hidden');
122
+
123
+ } else if ($word.parents('.cd-headline').hasClass('clip')) {
124
+ $word.parents('.cd-words-wrapper').animate({
125
+ 'width': $word.width() + 10
126
+ }, revealDuration, function () {
127
+ setTimeout(function () {
128
+ hideWord($word)
129
+ }, revealAnimationDelay);
130
+ });
131
+ }
132
+ }
133
+
134
+ function hideLetter($letter, $word, $bool, $duration) {
135
+ $letter.removeClass('in').addClass('out');
136
+
137
+ if (!$letter.is(':last-child')) {
138
+ setTimeout(function () {
139
+ hideLetter($letter.next(), $word, $bool, $duration);
140
+ }, $duration);
141
+ } else if ($bool) {
142
+ setTimeout(function () {
143
+ hideWord(takeNext($word))
144
+ }, animationDelay);
145
+ }
146
+
147
+ if ($letter.is(':last-child') && $('html').hasClass('no-csstransitions')) {
148
+ var nextWord = takeNext($word);
149
+ switchWord($word, nextWord);
150
+ }
151
+ }
152
+
153
+ function showLetter($letter, $word, $bool, $duration) {
154
+ $letter.addClass('in').removeClass('out');
155
+
156
+ if (!$letter.is(':last-child')) {
157
+ setTimeout(function () {
158
+ showLetter($letter.next(), $word, $bool, $duration);
159
+ }, $duration);
160
+ } else {
161
+ if ($word.parents('.cd-headline').hasClass('type')) {
162
+ setTimeout(function () {
163
+ $word.parents('.cd-words-wrapper').addClass('waiting');
164
+ }, 200);
165
+ }
166
+ if (!$bool) {
167
+ setTimeout(function () {
168
+ hideWord($word)
169
+ }, animationDelay)
170
+ }
171
+ }
172
+ }
173
+
174
+ function takeNext($word) {
175
+ return (!$word.is(':last-child')) ? $word.next() : $word.parent().children().eq(0);
176
+ }
177
+
178
+ function takePrev($word) {
179
+ return (!$word.is(':first-child')) ? $word.prev() : $word.parent().children().last();
180
+ }
181
+
182
+ function switchWord($oldWord, $newWord) {
183
+ $oldWord.removeClass('is-visible').addClass('is-hidden');
184
+ $newWord.removeClass('is-hidden').addClass('is-visible');
185
+ }
186
+ });
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Gutenberg Blocks - ACF Blocks Suite ===
2
- Contributors: munirkamal
3
  Tags: block, gutenberg block, acf block, gutenberg, acf, editor
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
- Tested up to: 5.3
7
- Stable tag: 1.7.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -37,6 +37,7 @@ ACF Blocks is a collection of ready-to-use Gutenberg Blocks for WordPress. Super
37
  <li>Progress Bar Block</li>
38
  <li>Counter Number Block</li>
39
  <li>Click to tweet Block</li>
 
40
  </ol>
41
 
42
  == ACF Blocks Pro Brings More Power ==
@@ -58,6 +59,7 @@ Have a Sneak-peek to ACF Pro Blocks.
58
  <li>Post Tiled Block</li>
59
  <li>Post Timeline Block</li>
60
  <li>Post Slider Block</li>
 
61
  <li>Many more to come...</li>
62
  </ol>
63
 
@@ -133,6 +135,10 @@ Absolutely! You can definitely use the ACF Blocks on yours as well as your clien
133
 
134
  == Changelog ==
135
 
 
 
 
 
136
  = 1.7.1 =
137
  * Quick Fix to Star Rating Block
138
 
1
  === Gutenberg Blocks - ACF Blocks Suite ===
2
+ Contributors: munirkamal, freemius
3
  Tags: block, gutenberg block, acf block, gutenberg, acf, editor
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
+ Tested up to: 5.4
7
+ Stable tag: 1.8.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
37
  <li>Progress Bar Block</li>
38
  <li>Counter Number Block</li>
39
  <li>Click to tweet Block</li>
40
+ <li>Business Hours Block</li>
41
  </ol>
42
 
43
  == ACF Blocks Pro Brings More Power ==
59
  <li>Post Tiled Block</li>
60
  <li>Post Timeline Block</li>
61
  <li>Post Slider Block</li>
62
+ <li>Highlighted Headline Block</li>
63
  <li>Many more to come...</li>
64
  </ol>
65
 
135
 
136
  == Changelog ==
137
 
138
+ = 1.8.0 =
139
+ * Added Business Hours (Free)
140
+ * Added Highlighted Headline (Pro)
141
+
142
  = 1.7.1 =
143
  * Quick Fix to Star Rating Block
144