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,530 @@
1
+ <!-- Special offer area Start Here -->
2
+ <section class="special-offer-area" id="section-{{ section.id }}">
3
+ <div class="{% if section.settings.container_style == 'style_1' %}container {% else %} container-fluid{% endif %}">
4
+ <div class="row align-items-center special-offer-product">
5
+ <div class="col-md-6 text-{% if section.settings.section_text_align_2 == 'section_text_left' %}left{% elsif section.settings.section_text_align_2 == 'section_text_center' %}center{% elsif section.settings.section_text_align_2 == 'section_text_right' %}right{% endif %}">
6
+ <figure class="special-offer-product__image">
7
+ <img src="{% if section.settings.product_img %}{{ section.settings.product_img | img_url: 'master' }}{% else %}http:\/\/via.placeholder.com\/660x650{% endif %}" alt="{{ section.settings.product_img.alt }}">
8
+ </figure>
9
+ <div class="special-offer-product__badge">
10
+ {% if section.settings.discount != '' %}
11
+ <span class="discount-badge">{{ section.settings.discount }}</span>
12
+ {% endif %}
13
+ {% if section.settings.old_price != '' or section.settings.new_price != '' %}
14
+ <div class="price-box">
15
+ <span class="regular-price">{{ section.settings.old_price }}</span>
16
+ <span class="sale-price">{{ section.settings.new_price }}</span>
17
+ </div>
18
+ {% endif %}
19
+ </div>
20
+ </div>
21
+ <div class="col-md-6 text-{% if section.settings.section_text_align == 'section_text_left' %}left{% elsif section.settings.section_text_align == 'section_text_center' %}center{% elsif section.settings.section_text_align == 'section_text_right' %}right{% endif %}">
22
+ {% if section.settings.product_title != '' %}
23
+ <h3 class="special-offer-product__title mb--20">
24
+ <a href="{{ section.settings.product_title_url }}">{{ section.settings.product_title }}</a>
25
+ </h3>
26
+ {% endif %}
27
+ {% if section.settings.coundown_date != '' %}
28
+ <div class="special-offer-product__countdown mb--40 mb-md--30">
29
+ <div class="product-countdown" data-countdown="{{ section.settings.coundown_date }}">
30
+ </div>
31
+ </div>
32
+ {% endif %}
33
+ {% if section.settings.banner_button != '' %}
34
+ <a href="{{ section.settings.banner_button_url }}" class="btn btn-small btn-style-1">{{ section.settings.banner_button }}</a>
35
+ {% endif %}
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </section>
40
+ <!-- Special offer area End Here -->
41
+
42
+
43
+
44
+
45
+ {%- style -%}
46
+ #section-{{ section.id }}{
47
+ {%- for block in section.blocks -%}
48
+ {%- case block.type -%}
49
+ {%- when 'section_margin' -%}
50
+ margin-top: {{ block.settings.section_margin_top }}px;
51
+ margin-bottom: {{ block.settings.section_margin_bottom }}px;
52
+ {%- when 'section_padding' -%}
53
+ padding-top: {{ block.settings.section_padding_top }}px;
54
+ padding-bottom: {{ block.settings.section_padding_bottom }}px;
55
+ {%- when 'section_background' -%}
56
+ background: {{ block.settings.section_bg_color }}
57
+ {%- if block.settings.section_bg_image -%}url("{{ block.settings.section_bg_image | img_url: 'master' }}"){%- endif -%} no-repeat scroll center center / cover;
58
+ {%- endcase -%}
59
+ {%- endfor -%}
60
+ }
61
+ @media (min-width: 768px) and (max-width: 991px) {
62
+ #section-{{ section.id }}{
63
+ {%- for block in section.blocks -%}
64
+ {% case block.type %}
65
+ {%- when 'section_margin' -%}
66
+ margin-top: {{ block.settings.section_margin_top_md }}px;
67
+ margin-bottom: {{ block.settings.section_margin_bottom_md }}px;
68
+ {%- when 'section_padding' -%}
69
+ padding-top: {{ block.settings.section_padding_top_md }}px;
70
+ padding-bottom: {{ block.settings.section_padding_bottom_md }}px;
71
+ {%- endcase -%}
72
+ {%- endfor -%}
73
+ }
74
+ }
75
+ @media (max-width: 767px) {
76
+ #section-{{ section.id }}{
77
+ {%- for block in section.blocks -%}
78
+ {%- case block.type -%}
79
+ {%- when 'section_margin' -%}
80
+ margin-top: {{ block.settings.section_margin_top_xs }}px;
81
+ margin-bottom: {{ block.settings.section_margin_bottom_xs }}px;
82
+ {%- when 'section_padding' -%}
83
+ padding-top: {{ block.settings.section_padding_top_xs }}px;
84
+ padding-bottom: {{ block.settings.section_padding_bottom_xs }}px;
85
+ {%- endcase -%}
86
+ {%- endfor -%}
87
+ }
88
+ }
89
+
90
+ #section-{{ section.id }} .special-offer-product__title a{
91
+ color: {{ section.settings.title_color }};
92
+ }
93
+ #section-{{ section.id }} .special-offer-product__title a:hover{
94
+ color: {{ section.settings.title_hover_color }};
95
+ }
96
+
97
+ #section-{{ section.id }} .btn-style-1{
98
+ color: {{ section.settings.button_text_color }};
99
+ background-color: {{ section.settings.button_bg_color }};
100
+ border-color: {{ section.settings.button_border_color }};
101
+ }
102
+
103
+ #section-{{ section.id }} .btn-style-1:hover {
104
+ color: {{ section.settings.button_text_hover_color }}!important;
105
+ background-color: {{ section.settings.button_bg_hover_color }};
106
+ border-color: {{ section.settings.button_border_hover_color }};
107
+ }
108
+
109
+ #section-{{ section.id }} .special-offer-product__badge .discount-badge {
110
+ color: {{ section.settings.badge_text_color }};
111
+ background-color: {{ section.settings.badge_bg_color }};
112
+ }
113
+
114
+ #section-{{ section.id }} .special-offer-product__badge .price-box span{
115
+ color: {{ section.settings.price_color }};
116
+ }
117
+
118
+
119
+ {%- endstyle -%}
120
+
121
+
122
+
123
+ {% schema %}
124
+ {
125
+ "name": "Special Offer",
126
+ "settings": [
127
+ {
128
+ "type": "header",
129
+ "content": "Container Style"
130
+ },
131
+ {
132
+ "type": "radio",
133
+ "id": "container_style",
134
+ "label": "Container Style",
135
+ "options":[
136
+ {
137
+ "value":"style_1",
138
+ "label": "Container"
139
+ },
140
+ {
141
+ "value":"style_2",
142
+ "label": "Container Fluid"
143
+ }
144
+ ],
145
+
146
+ "default": "style_2"
147
+ },
148
+ {
149
+ "type": "header",
150
+ "content": "Image Area"
151
+ },
152
+ {
153
+ "type": "select",
154
+ "id": "section_text_align_2",
155
+ "label": "Button Text Align",
156
+ "options":[
157
+ {
158
+ "label": "Left",
159
+ "value": "section_text_left"
160
+ },
161
+ {
162
+ "label": "Center",
163
+ "value": "section_text_center"
164
+ },
165
+ {
166
+ "label": "Right",
167
+ "value": "section_text_right"
168
+ }
169
+ ],
170
+ "default": "section_text_center"
171
+ },
172
+ {
173
+ "type": "image_picker",
174
+ "id": "product_img",
175
+ "label": "Image",
176
+ "info": "Recommended Size: 660 x 650px"
177
+ },
178
+ {
179
+ "type": "header",
180
+ "content": "Discount"
181
+ },
182
+ {
183
+ "type": "text",
184
+ "id": "discount",
185
+ "label": "Discount",
186
+ "default": "-40%"
187
+ },
188
+ {
189
+ "type": "header",
190
+ "content": "Price New/Old"
191
+ },
192
+ {
193
+ "type": "text",
194
+ "id": "old_price",
195
+ "label": "Old Price",
196
+ "default": "$89.99"
197
+ },
198
+ {
199
+ "type": "text",
200
+ "id": "new_price",
201
+ "label": "New Price",
202
+ "default": "$53.99"
203
+ },
204
+ {
205
+ "type": "header",
206
+ "content": "Text Area"
207
+ },
208
+ {
209
+ "type": "select",
210
+ "id": "section_text_align",
211
+ "label": "Text Align",
212
+ "options":[
213
+ {
214
+ "label": "Left",
215
+ "value": "section_text_left"
216
+ },
217
+ {
218
+ "label": "Center",
219
+ "value": "section_text_center"
220
+ },
221
+ {
222
+ "label": "Right",
223
+ "value": "section_text_right"
224
+ }
225
+ ],
226
+ "default": "section_text_center"
227
+ },
228
+ {
229
+ "type": "text",
230
+ "id": "product_title",
231
+ "label": "Product Title",
232
+ "default": "Loose-Fiting Sweatshirt With Ribbed Trims"
233
+ },
234
+ {
235
+ "type": "url",
236
+ "id": "product_title_url",
237
+ "label": "URL"
238
+ },
239
+ {
240
+ "type": "header",
241
+ "content": "Coundown Date"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "id": "coundown_date",
246
+ "label": "Date",
247
+ "default": "2020/05/01"
248
+ },
249
+ {
250
+ "type": "text",
251
+ "id": "banner_button",
252
+ "label": "Button Title",
253
+ "default": "Shop Now"
254
+ },
255
+ {
256
+ "type": "url",
257
+ "id": "banner_button_url",
258
+ "label": "URL"
259
+ },
260
+ {
261
+ "type": "header",
262
+ "content": "Color"
263
+ },
264
+ {
265
+ "type": "color",
266
+ "id": "badge_text_color",
267
+ "label": "Badge Text Color",
268
+ "default": "#fff"
269
+ },
270
+ {
271
+ "type": "color",
272
+ "id": "badge_bg_color",
273
+ "label": "Badge BG Color",
274
+ "default": "#d0021b"
275
+ },
276
+ {
277
+ "type": "color",
278
+ "id": "price_color",
279
+ "label": "Price Color",
280
+ "default": "#282828"
281
+ },
282
+ {
283
+ "type": "color",
284
+ "id": "title_color",
285
+ "label": "Title Color",
286
+ "default": "#282828"
287
+ },
288
+ {
289
+ "type": "color",
290
+ "id": "title_hover_color",
291
+ "label": "Title Hover Color",
292
+ "default": "#cf987e"
293
+ },
294
+ {
295
+ "type": "color",
296
+ "id": "button_text_color",
297
+ "label": "Button Text Color",
298
+ "default": "#fff"
299
+ },
300
+ {
301
+ "type": "color",
302
+ "id": "button_bg_color",
303
+ "label": "Button BG Color",
304
+ "default": "#000"
305
+ },
306
+ {
307
+ "type": "color",
308
+ "id": "button_border_color",
309
+ "label": "Button Border Color",
310
+ "default": "#000"
311
+ },
312
+ {
313
+ "type": "color",
314
+ "id": "button_text_hover_color",
315
+ "label": "Button Text Hover Color",
316
+ "default": "#fff"
317
+ },
318
+ {
319
+ "type": "color",
320
+ "id": "button_bg_hover_color",
321
+ "label": "Button BG Hover Color",
322
+ "default": "#cf987e"
323
+ },
324
+ {
325
+ "type": "color",
326
+ "id": "button_border_hover_color",
327
+ "label": "Button Border Hover Color",
328
+ "default": "#cf987e"
329
+ }
330
+ ],
331
+ "blocks":[
332
+ {
333
+ "type": "section_padding",
334
+ "name": "Section Padding",
335
+ "limit": 1,
336
+ "settings": [
337
+ {
338
+ "type": "header",
339
+ "content": "Large/Desktop Device"
340
+ },
341
+ {
342
+ "type": "range",
343
+ "id": "section_padding_top",
344
+ "min": 0,
345
+ "max": 150,
346
+ "step": 5,
347
+ "label": "Padding Top",
348
+ "unit": "px",
349
+ "default": 0
350
+ },
351
+ {
352
+ "type": "range",
353
+ "id": "section_padding_bottom",
354
+ "min": 0,
355
+ "max": 150,
356
+ "step": 5,
357
+ "label": "Padding Bottom",
358
+ "unit": "px",
359
+ "default": 100
360
+ },
361
+ {
362
+ "type": "header",
363
+ "content": "Tablet Device"
364
+ },
365
+ {
366
+ "type": "range",
367
+ "id": "section_padding_top_md",
368
+ "min": 0,
369
+ "max": 150,
370
+ "step": 5,
371
+ "label": "Padding Top",
372
+ "unit": "px",
373
+ "default": 0
374
+ },
375
+ {
376
+ "type": "range",
377
+ "id": "section_padding_bottom_md",
378
+ "min": 0,
379
+ "max": 150,
380
+ "step": 5,
381
+ "label": "Padding Bottom",
382
+ "unit": "px",
383
+ "default": 80
384
+ },
385
+ {
386
+ "type": "header",
387
+ "content": "Mobile Device"
388
+ },
389
+ {
390
+ "type": "range",
391
+ "id": "section_padding_top_xs",
392
+ "min": 0,
393
+ "max": 150,
394
+ "step": 5,
395
+ "label": "Padding Top",
396
+ "unit": "px",
397
+ "default": 0
398
+ },
399
+ {
400
+ "type": "range",
401
+ "id": "section_padding_bottom_xs",
402
+ "min": 0,
403
+ "max": 150,
404
+ "step": 5,
405
+ "label": "Padding Bottom",
406
+ "unit": "px",
407
+ "default": 60
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "type": "section_margin",
413
+ "name": "Section Margin",
414
+ "limit": 1,
415
+ "settings": [
416
+ {
417
+ "type": "header",
418
+ "content": "Large/Desktop Device"
419
+ },
420
+ {
421
+ "type": "range",
422
+ "id": "section_margin_top",
423
+ "min": 0,
424
+ "max": 150,
425
+ "step": 5,
426
+ "label": "Margin Top",
427
+ "unit": "px",
428
+ "default": 0
429
+ },
430
+ {
431
+ "type": "range",
432
+ "id": "section_margin_bottom",
433
+ "min": 0,
434
+ "max": 150,
435
+ "step": 5,
436
+ "label": "Margin Bottom",
437
+ "unit": "px",
438
+ "default": 0
439
+ },
440
+ {
441
+ "type": "header",
442
+ "content": "Tablet Device"
443
+ },
444
+ {
445
+ "type": "range",
446
+ "id": "section_margin_top_md",
447
+ "min": 0,
448
+ "max": 150,
449
+ "step": 5,
450
+ "label": "Margin Top",
451
+ "unit": "px",
452
+ "default": 0
453
+ },
454
+ {
455
+ "type": "range",
456
+ "id": "section_margin_bottom_md",
457
+ "min": 0,
458
+ "max": 150,
459
+ "step": 5,
460
+ "label": "Margin Bottom",
461
+ "unit": "px",
462
+ "default": 0
463
+ },
464
+ {
465
+ "type": "header",
466
+ "content": "Mobile Device"
467
+ },
468
+ {
469
+ "type": "range",
470
+ "id": "section_margin_top_xs",
471
+ "min": 0,
472
+ "max": 150,
473
+ "step": 5,
474
+ "label": "Margin Top",
475
+ "unit": "px",
476
+ "default": 0
477
+ },
478
+ {
479
+ "type": "range",
480
+ "id": "section_margin_bottom_xs",
481
+ "min": 0,
482
+ "max": 150,
483
+ "step": 5,
484
+ "label": "Margin Bottom",
485
+ "unit": "px",
486
+ "default": 0
487
+ }
488
+ ]
489
+ },
490
+ {
491
+ "type": "section_background",
492
+ "name": "Section Background",
493
+ "limit": 1,
494
+ "settings": [
495
+ {
496
+ "type": "image_picker",
497
+ "id": "section_bg_image",
498
+ "label": "BG Image"
499
+ },
500
+ {
501
+ "type": "color",
502
+ "id": "section_bg_color",
503
+ "label": "BG Color",
504
+ "default": "#ffffff"
505
+ }
506
+ ]
507
+ }
508
+ ],
509
+ "presets": [
510
+ {
511
+ "name": "Special Offer",
512
+ "category": " about",
513
+ "blocks":[
514
+ {
515
+ "type": "section_padding"
516
+ },
517
+ {
518
+ "type": "section_background"
519
+ }
520
+ ]
521
+ }
522
+ ]
523
+ }
524
+ {% endschema %}
525
+
526
+ {% stylesheet %}
527
+ {% endstylesheet %}
528
+
529
+ {% javascript %}
530
+ {% endjavascript %}