rebly-sections 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,541 @@
1
+ <div class="rich-text" id="section-{{ section.id }}">
2
+ <div class="{% if section.settings.section_width == 'full_width' %}container-fluid {% elsif section.settings.section_width == 'box_width' %}container-fluid section-padding-1{% elsif section.settings.section_width == 'default' %}container default {% endif %}">
3
+
4
+ {% if section.settings.section_title != '' or section.settings.section_sub_title != '' %}
5
+ <div class="section-title {{ section.settings.title_align }} pb-60">
6
+ {% if section.settings.section_title != '' %}
7
+ <h2>{{ section.settings.section_title }}</h2>
8
+ {% endif %}
9
+
10
+ {% if section.settings.section_sub_title != '' %}
11
+ <p>{{ section.settings.section_sub_title }}</p>
12
+ {% endif %}
13
+ </div>
14
+ {% endif %}
15
+
16
+ <div class="row">
17
+ <div class="col-12">
18
+ <div class="rich-text">
19
+ {{ section.settings.rich_text_handle }}
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ </div>
25
+
26
+
27
+ {%- include 'section-style' -%}
28
+
29
+
30
+
31
+ {% if section.settings.section_title_custom_color %}
32
+ <style>
33
+
34
+ {%- assign section_title_font = section.settings.section_title_font -%}
35
+ {%- assign section_sub_title_font = section.settings.section_sub_title_font -%}
36
+ {{ section_title_font | font_face }}
37
+ {{ section_sub_title_font | font_face }}
38
+
39
+
40
+ #section-{{ section.id }} .section-title h2{
41
+ font-family: {{ section_title_font.family }}, {{ section_title_font.fallback_families }};
42
+ font-style: {{ section_title_font.style }};
43
+ font-weight: {{ section_title_font.weight }};
44
+ color: {{ section.settings.section_title_color }};
45
+ font-size:{{ section.settings.section_title_font_size }}px;
46
+ line-height: {{section.settings.section_title_line_height}}px;
47
+ margin-bottom: {{section.settings.section_title_margin_bottom}}px;
48
+ }
49
+
50
+ #section-{{ section.id }} .section-title p{
51
+ font-family: {{ section_sub_title_font.family }}, {{ section_sub_title_font.fallback_families }};
52
+ font-style: {{ section_sub_title_font.style }};
53
+ font-weight: {{ section_sub_title_font.weight }};
54
+ color: {{ section.settings.section_subtitle_color }};
55
+ font-size:{{ section.settings.section_des_font_size }}px;
56
+ line-height: {{section.settings.section_sub_title_line_height}}px;
57
+ margin-bottom: {{section.settings.section_sub_title_margin_bottom}}px;
58
+ }
59
+
60
+
61
+ @media (min-width: 768px) and (max-width: 1200px) {
62
+
63
+ #section-{{ section.id }} .section-title h2{
64
+ font-size:{{ section.settings.section_title_font_size_md }}px;
65
+ line-height: {{section.settings.section_title_line_height_md}}px;
66
+ }
67
+ #section-{{ section.id }} .section-title p{
68
+ font-size:{{ section.settings.section_des_font_size_md }}px;
69
+ line-height: {{section.settings.section_sub_title_line_height_md}}px;
70
+ }
71
+ }
72
+
73
+ @media (min-width: 300px) and (max-width: 767px) {
74
+
75
+ #section-{{ section.id }} .section-title h2{
76
+ font-size:{{ section.settings.section_title_font_size_sm }}px;
77
+ line-height: {{section.settings.section_title_line_height_sm}}px;
78
+ }
79
+ #section-{{ section.id }} .section-title p{
80
+ font-size:{{ section.settings.section_des_font_size_sm }}px;
81
+ line-height: {{section.settings.section_sub_title_line_height_sm}}px;
82
+ }
83
+ }
84
+
85
+ </style>
86
+ {% endif %}
87
+
88
+
89
+
90
+
91
+
92
+
93
+ {% schema %}
94
+ {
95
+ "name": "Rich Text",
96
+ "settings": [
97
+ {
98
+ "type": "select",
99
+ "id": "section_width",
100
+ "label": "Section Width",
101
+ "options":[
102
+ {
103
+ "label": "Full Width",
104
+ "value": "full_width"
105
+ },
106
+ {
107
+ "label": "Box Width",
108
+ "value": "box_width"
109
+ },
110
+ {
111
+ "label": "Default Width",
112
+ "value": "default"
113
+ }
114
+ ],
115
+ "default": "default"
116
+ },
117
+
118
+ {
119
+ "type": "header",
120
+ "content": "Section Title"
121
+ },
122
+
123
+ {
124
+ "type": "checkbox",
125
+ "id": "section_title_custom_color",
126
+ "label": "Section Title Custom Style Enable",
127
+ "default": false
128
+ },
129
+
130
+ {
131
+ "type": "text",
132
+ "id": "section_title",
133
+ "label": "Title",
134
+ "default": "New Arrivals"
135
+ },
136
+
137
+ {
138
+ "type": "color",
139
+ "id": "section_title_color",
140
+ "label": "Title Color",
141
+ "default": "#1f2226"
142
+ },
143
+ {
144
+ "type": "font_picker",
145
+ "id": "section_title_font",
146
+ "label": "Font Family: Section Title Font",
147
+ "default": "poppins_n6"
148
+ },
149
+ {
150
+ "type": "header",
151
+ "content": "Main Screen"
152
+ },
153
+ {
154
+ "type": "text",
155
+ "id": "section_title_font_size",
156
+ "label": "Font Size: Font Size",
157
+ "default": "30",
158
+ "info": "Section Title Font Size"
159
+ },
160
+ {
161
+ "type": "range",
162
+ "id": "section_title_line_height",
163
+ "min": 20,
164
+ "max": 150,
165
+ "step": 5,
166
+ "unit": "px",
167
+ "label": "Section Title Line Height",
168
+ "default": 40
169
+ },
170
+ {
171
+ "type": "header",
172
+ "content": "Medium Screen"
173
+ },
174
+ {
175
+ "type": "text",
176
+ "id": "section_title_font_size_md",
177
+ "label": "Font Size: Font Size (MD)",
178
+ "default": "24",
179
+ "info": "Section Title Font Size"
180
+ },
181
+ {
182
+ "type": "range",
183
+ "id": "section_title_line_height_md",
184
+ "min": 20,
185
+ "max": 150,
186
+ "step": 5,
187
+ "unit": "px",
188
+ "label": "Section Title Line Height (MD)",
189
+ "default": 35
190
+ },
191
+ {
192
+ "type": "header",
193
+ "content": "Small Screen"
194
+ },
195
+ {
196
+ "type": "text",
197
+ "id": "section_title_font_size_sm",
198
+ "label": "Font Size: Font Size (SM)",
199
+ "default": "20",
200
+ "info": "Section Title Font Size"
201
+ },
202
+ {
203
+ "type": "range",
204
+ "id": "section_title_line_height_sm",
205
+ "min": 20,
206
+ "max": 150,
207
+ "step": 5,
208
+ "unit": "px",
209
+ "label": "Section Title Line Height (SM)",
210
+ "default": 30
211
+ },
212
+ {
213
+ "type": "range",
214
+ "id": "section_title_margin_bottom",
215
+ "min": 0,
216
+ "max": 50,
217
+ "step": 1,
218
+ "unit": "px",
219
+ "label": "Section Title margin Bottom",
220
+ "default": 10
221
+ },
222
+
223
+
224
+ {
225
+ "type": "textarea",
226
+ "id": "section_sub_title",
227
+ "label": "Subtitle",
228
+ "default": "Contrary to popular belief, Lorem Ipsum is not simply random text."
229
+ },
230
+
231
+ {
232
+ "type": "color",
233
+ "id": "section_subtitle_color",
234
+ "label": "Subtitle Color",
235
+ "default": "#5a5a5a"
236
+ },
237
+ {
238
+ "type": "font_picker",
239
+ "id": "section_sub_title_font",
240
+ "label": "Font Family: Section Sub Title Font",
241
+ "default": "poppins_n6"
242
+ },
243
+ {
244
+ "type": "header",
245
+ "content": "Main Screen"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "id": "section_des_font_size",
250
+ "label": "Font Size: Font Size",
251
+ "default": "14",
252
+ "info": "Section Description Font Size"
253
+ },
254
+ {
255
+ "type": "range",
256
+ "id": "section_sub_title_line_height",
257
+ "min": 20,
258
+ "max": 100,
259
+ "step": 1,
260
+ "unit": "px",
261
+ "label": "Section Sub Title Line Height",
262
+ "default": 24
263
+ },
264
+ {
265
+ "type": "header",
266
+ "content": "Medium Screen"
267
+ },
268
+ {
269
+ "type": "text",
270
+ "id": "section_des_font_size_md",
271
+ "label": "Font Size: Font Size (MD)",
272
+ "default": "14",
273
+ "info": "Section Description Font Size (MD)"
274
+ },
275
+ {
276
+ "type": "range",
277
+ "id": "section_sub_title_line_height_md",
278
+ "min": 20,
279
+ "max": 100,
280
+ "step": 1,
281
+ "unit": "px",
282
+ "label": "Section Sub Title Line Height (MD)",
283
+ "default": 24
284
+ },
285
+
286
+ {
287
+ "type": "header",
288
+ "content": "Small Screen"
289
+ },
290
+ {
291
+ "type": "text",
292
+ "id": "section_des_font_size_sm",
293
+ "label": "Font Size: Font Size (SM)",
294
+ "default": "14",
295
+ "info": "Section Description Font Size (SM)"
296
+ },
297
+ {
298
+ "type": "range",
299
+ "id": "section_sub_title_line_height_sm",
300
+ "min": 20,
301
+ "max": 100,
302
+ "step": 1,
303
+ "unit": "px",
304
+ "label": "Section Sub Title Line Height (SM)",
305
+ "default": 24
306
+ },
307
+ {
308
+ "type": "range",
309
+ "id": "section_sub_title_margin_bottom",
310
+ "min": 0,
311
+ "max": 50,
312
+ "step": 1,
313
+ "unit": "px",
314
+ "label": "Section Sub Title margin Bottom",
315
+ "default": 10
316
+ },
317
+
318
+ {
319
+ "type": "select",
320
+ "id": "title_align",
321
+ "label": "Title Align",
322
+ "options":[
323
+ {
324
+ "label": "Text Left",
325
+ "value": "text-left"
326
+ },
327
+ {
328
+ "label": "Text Center",
329
+ "value": "text-center"
330
+ },
331
+ {
332
+ "label": "Text Right",
333
+ "value": "text-right"
334
+ }
335
+ ],
336
+ "default": "text-center"
337
+ },
338
+ {
339
+ "type": "header",
340
+ "content": "Rich Text"
341
+ },
342
+ {
343
+ "type": "richtext",
344
+ "id": "rich_text_handle",
345
+ "label": "Content",
346
+ "default": "<p>Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.</p>"
347
+ }
348
+ ],
349
+ "blocks":[
350
+ {
351
+ "type": "section_padding",
352
+ "name": "Section Padding",
353
+ "limit": 1,
354
+ "settings": [
355
+ {
356
+ "type": "header",
357
+ "content": "Large/Desktop Device"
358
+ },
359
+ {
360
+ "type": "range",
361
+ "id": "section_padding_top",
362
+ "min": 0,
363
+ "max": 150,
364
+ "step": 5,
365
+ "label": "Padding Top",
366
+ "unit": "px",
367
+ "default": 0
368
+ },
369
+ {
370
+ "type": "range",
371
+ "id": "section_padding_bottom",
372
+ "min": 0,
373
+ "max": 150,
374
+ "step": 5,
375
+ "label": "Padding Bottom",
376
+ "unit": "px",
377
+ "default": 100
378
+ },
379
+ {
380
+ "type": "header",
381
+ "content": "Tablet Device"
382
+ },
383
+ {
384
+ "type": "range",
385
+ "id": "section_padding_top_md",
386
+ "min": 0,
387
+ "max": 150,
388
+ "step": 5,
389
+ "label": "Padding Top",
390
+ "unit": "px",
391
+ "default": 0
392
+ },
393
+ {
394
+ "type": "range",
395
+ "id": "section_padding_bottom_md",
396
+ "min": 0,
397
+ "max": 150,
398
+ "step": 5,
399
+ "label": "Padding Bottom",
400
+ "unit": "px",
401
+ "default": 80
402
+ },
403
+ {
404
+ "type": "header",
405
+ "content": "Mobile Device"
406
+ },
407
+ {
408
+ "type": "range",
409
+ "id": "section_padding_top_xs",
410
+ "min": 0,
411
+ "max": 150,
412
+ "step": 5,
413
+ "label": "Padding Top",
414
+ "unit": "px",
415
+ "default": 0
416
+ },
417
+ {
418
+ "type": "range",
419
+ "id": "section_padding_bottom_xs",
420
+ "min": 0,
421
+ "max": 150,
422
+ "step": 5,
423
+ "label": "Padding Bottom",
424
+ "unit": "px",
425
+ "default": 60
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ "type": "section_margin",
431
+ "name": "Section Margin",
432
+ "limit": 1,
433
+ "settings": [
434
+ {
435
+ "type": "header",
436
+ "content": "Large/Desktop Device"
437
+ },
438
+ {
439
+ "type": "range",
440
+ "id": "section_margin_top",
441
+ "min": 0,
442
+ "max": 150,
443
+ "step": 5,
444
+ "label": "Margin Top",
445
+ "unit": "px",
446
+ "default": 0
447
+ },
448
+ {
449
+ "type": "range",
450
+ "id": "section_margin_bottom",
451
+ "min": 0,
452
+ "max": 150,
453
+ "step": 5,
454
+ "label": "Margin Bottom",
455
+ "unit": "px",
456
+ "default": 0
457
+ },
458
+ {
459
+ "type": "header",
460
+ "content": "Tablet Device"
461
+ },
462
+ {
463
+ "type": "range",
464
+ "id": "section_margin_top_md",
465
+ "min": 0,
466
+ "max": 150,
467
+ "step": 5,
468
+ "label": "Margin Top",
469
+ "unit": "px",
470
+ "default": 0
471
+ },
472
+ {
473
+ "type": "range",
474
+ "id": "section_margin_bottom_md",
475
+ "min": 0,
476
+ "max": 150,
477
+ "step": 5,
478
+ "label": "Margin Bottom",
479
+ "unit": "px",
480
+ "default": 0
481
+ },
482
+ {
483
+ "type": "header",
484
+ "content": "Mobile Device"
485
+ },
486
+ {
487
+ "type": "range",
488
+ "id": "section_margin_top_xs",
489
+ "min": 0,
490
+ "max": 150,
491
+ "step": 5,
492
+ "label": "Margin Top",
493
+ "unit": "px",
494
+ "default": 0
495
+ },
496
+ {
497
+ "type": "range",
498
+ "id": "section_margin_bottom_xs",
499
+ "min": 0,
500
+ "max": 150,
501
+ "step": 5,
502
+ "label": "Margin Bottom",
503
+ "unit": "px",
504
+ "default": 0
505
+ }
506
+ ]
507
+ },
508
+ {
509
+ "type": "section_background",
510
+ "name": "Section Background",
511
+ "limit": 1,
512
+ "settings": [
513
+ {
514
+ "type": "image_picker",
515
+ "id": "section_bg_image",
516
+ "label": "BG Image"
517
+ },
518
+ {
519
+ "type": "color",
520
+ "id": "section_bg_color",
521
+ "label": "BG Color",
522
+ "default": "#ffffff"
523
+ }
524
+ ]
525
+ }
526
+ ],
527
+ "presets": [
528
+ {
529
+ "name": "Rich Text",
530
+ "category": "others",
531
+ "blocks":[
532
+ {
533
+ "type": "section_padding"
534
+ }
535
+ ]
536
+ }
537
+ ]
538
+ }
539
+ {% endschema %}
540
+
541
+