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,612 @@
1
+ {%- if section.settings.section_margin_left != blank or section.settings.section_margin_right != blank or section.settings.section_margin_top != blank or section.settings.section_margin_bottom != blank or section.settings.section_border != blank -%}
2
+ {%- assign s_margin_top = section.settings.section_margin_top | remove: ' ' | join: ' ' -%}
3
+ {%- assign s_margin_bottom = section.settings.section_margin_bottom | remove: ' ' | join: ' ' -%}
4
+ {%- assign s_margin_left = section.settings.section_margin_left | remove: ' ' | join: ' ' -%}
5
+ {%- assign s_margin_right = section.settings.section_margin_right | remove: ' ' | join: ' ' -%}
6
+ {%- assign s_border = section.settings.section_border | remove: ' ' | split: '-' | join: ' ' -%}
7
+ {%- endif -%}
8
+ {%- capture style_block_section -%}
9
+ {%- if section.settings.section_margin_left != blank or section.settings.section_margin_right != blank or section.settings.section_margin_top != blank or section.settings.section_margin_bottom != blank or section.settings.section_padding_top != blank or section.settings.section_padding_right != blank or section.settings.section_padding_left != blank or section.settings.section_padding_bottom != blank or section.settings.section_bg_color != blank or section.settings.section_bg_image != blank or section.settings.section_border != blank -%}
10
+ <style type="text/css">.gl_custom_{{section.id}}{ {%- if section.settings.section_margin_top != blank -%} margin-top: {{s_margin_top}} !important;{%- endif -%}{%- if section.settings.section_margin_bottom != blank -%} margin-bottom: {{s_margin_bottom}} !important;{%- endif -%}{%- if s_margin_left != blank -%}margin-left: {{s_margin_left}} !important;{%- endif -%}{%- if s_margin_right != blank -%}margin-right: {{s_margin_right}} !important;{%- endif -%}{%- if section.settings.section_padding_top != blank -%}padding-top: {{section.settings.section_padding_top}} !important;{%- endif-%}{%- if section.settings.section_padding_right != blank -%}padding-right: {{section.settings.section_padding_right}} !important;{%- endif-%}{%- if section.settings.section_padding_bottom != blank -%}padding-bottom: {{section.settings.section_padding_bottom}} !important;{%- endif-%}{%- if section.settings.section_padding_left != blank -%}padding-left: {{section.settings.section_padding_left}} !important; {%- endif -%}{%- if section.settings.section_bg_color != blank -%}background-color: {{ section.settings.section_bg_color }} !important;{%- endif -%}{%- if section.settings.section_bg_image != blank -%}{%- assign image = section.settings.section_bg_image -%}{%- assign image_size = image.width | append:'x' -%} background-image: url({%-include 'gl_image_format',src: image , size: image_size -%}) !important; background-position: center !important; background-repeat: no-repeat !important; background-size: cover !important;{%- endif -%}{%- if section.settings.section_border != blank and section.settings.section_border_color != blank -%}border-width: {{ s_border }} !important; border-color: {{section.settings.section_border_color}} !important; border-style: {{section.settings.section_border_style}} !important{%- endif -%} }</style>
11
+ {%- endif -%}
12
+ {%- endcapture -%}
13
+ {%- capture data_section -%}
14
+ {%- if section.settings.row_stretch == 'stretch_row' -%}
15
+ {%- assign class_has_fill = 'gl_row-has-fill' -%}
16
+ data-gl='has_section_gl_js' data-gl-full-width='true' data-gl-full-width-init='true'
17
+ {%- elsif section.settings.row_stretch == 'stretch_row_content' or section.settings.row_stretch == 'stretch_row_content_no_spaces' -%}
18
+ {%- assign class_has_fill = 'gl_row-has-fill' -%}
19
+ data-gl='has_section_gl_js' data-gl-full-width='true' data-gl-full-width-init='true' data-gl-stretch-content='true'
20
+ {%- else -%}
21
+ {%- assign class_has_fill = '' -%}
22
+ {%- endif -%}
23
+ {%- endcapture -%}
24
+ {{ style_block_section }}
25
+ <div {{ data_section }}{%- if section.settings.use_video and section.settings.video_url != blank %} data-gl-video-bg="{{ section.settings.video_url }}"{%- endif %} class="gl_custom_{{section.id}} {% if section.settings.row_stretch == 'stretch_row_content_no_spaces' %}gl_row-no-padding{%- endif %}{%- if section.settings.use_parallax %} basel-parallax{%- endif %} gl_row spb_row gl_row-fluid {{class_has_fill}} {%- if section.settings.use_video and section.settings.video_url != blank %} opacity-video-bg gl_video-bg-container gl_has_youtube{%- endif %}{%- if section.settings.full_height %} gl_row-o-full-height gl_row-o-columns-{{section.settings.columns_position}}{%- endif %}{%- if section.settings.equal_height %} gl_row-o-equal-height{%- endif %}{%- unless section.settings.content_position == 'default' %} gl_row-o-content-{{section.settings.content_position}}{%- endunless %}{%- if section.settings.equal_height or section.settings.content_position != 'default' %} gl_row-flex{%- endif -%}">
26
+ {%- if section.settings.use_gradient and section.settings.color_gradient_one != blank and section.settings.color_gradient_two != blank -%}
27
+ {%- capture style_gradient_section -%}
28
+ style="
29
+ {%- assign color_gradient_one = section.settings.color_gradient_one -%}
30
+ {%- assign color_gradient_two = section.settings.color_gradient_two -%}
31
+ {%- assign color_gradient_three = section.settings.color_gradient_three -%}
32
+ {%- assign color_gradient_four = section.settings.color_gradient_four -%}
33
+ {%- assign color_opacity_one = section.settings.color_opacity_one | plus:0 -%}
34
+ {%- assign color_opacity_two = section.settings.color_opacity_two | plus:0 -%}
35
+ {%- assign color_opacity_three = section.settings.color_opacity_three | plus:0 -%}
36
+ {%- assign color_opacity_four = section.settings.color_opacity_four | plus:0 -%}
37
+ {%- assign color_percent_one = section.settings.color_percent_one | plus:0 -%}
38
+ {%- assign color_percent_two = section.settings.color_percent_two | plus:0 -%}
39
+ {%- assign color_percent_three = section.settings.color_percent_three | plus:0 -%}
40
+ {%- assign color_percent_four = section.settings.color_percent_four | plus:0 -%}
41
+ {%- if section.settings.gradient contains 'circle' -%}
42
+ {%- assign gradient_one = section.settings.gradient -%}
43
+ {%- assign arry_gradient = gradient_one | split: '_' -%}
44
+ background: {{ color_gradient_one }}; /* For browsers that do not support gradients */
45
+ background: -webkit-radial-gradient({{arry_gradient[1] }} {{arry_gradient[2] }},circle cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Safari 5.1 to 6.0 */
46
+ background: -o-radial-gradient({{arry_gradient[1] }} {{arry_gradient[2] }},circle cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Opera 11.1 to 12.0 */
47
+ background: -moz-radial-gradient({{arry_gradient[1] }} {{arry_gradient[2] }},circle cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Firefox 3.6 to 15 */
48
+ background: radial-gradient({{arry_gradient[1] }} {{arry_gradient[2] }},circle cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* Standard syntax */
49
+ {% elsif section.settings.gradient contains 'ellipse' %}
50
+ {%- assign gradient_two = section.settings.gradient -%}
51
+ {%- assign arry_gradient_two = gradient_two | split: '_' -%}
52
+ background: {{ color_gradient_one }}; /* For browsers that do not support gradients */
53
+ background: -webkit-radial-gradient({{arry_gradient_two[1] }} {{arry_gradient_two[2] }},ellipse cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Safari 5.1 to 6.0 */
54
+ background: -o-radial-gradient({{arry_gradient_two[1] }} {{arry_gradient_two[2] }},ellipse cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Opera 11.1 to 12.0 */
55
+ background: -moz-radial-gradient({{arry_gradient_two[1] }} {{arry_gradient_two[2] }},ellipse cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Firefox 3.6 to 15 */
56
+ background: radial-gradient({{arry_gradient_two[1] }} {{arry_gradient_two[2] }},ellipse cover, {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* Standard syntax */
57
+ {%- else -%}
58
+ background: {{ color_gradient_one }}; /* For browsers that do not support gradients */
59
+ background: -webkit-linear-gradient({{ section.settings.gradient }} , {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Safari 5.1 to 6.0 */
60
+ background: -o-linear-gradient({{ section.settings.gradient }} , {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Opera 11.1 to 12.0 */
61
+ background: -moz-linear-gradient({{ section.settings.gradient }} , {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* For Firefox 3.6 to 15 */
62
+ background: linear-gradient({{ section.settings.gradient }} , {{ color_gradient_one | color_modify: 'alpha', color_opacity_one }} {{ color_percent_one }}%, {{ color_gradient_two | color_modify: 'alpha', color_opacity_two }} {{ color_percent_two }}%{%- if section.settings.use_color_gradient_three and section.settings.color_gradient_three != blank and section.settings.color_opacity_three != blank and section.settings.color_percent_three != blank %}, {{ color_gradient_three | color_modify: 'alpha', color_opacity_three }} {{ color_percent_three }}%{%- endif -%}{%- if section.settings.use_color_gradient_four and section.settings.color_gradient_four != blank and section.settings.color_opacity_four != blank and section.settings.color_percent_four != blank %}, {{ color_gradient_four | color_modify: 'alpha', color_opacity_four }} {{ color_percent_four }}%{%- endif -%}); /* Standard syntax */
63
+ {%- endif -%}"
64
+ {%- endcapture -%}
65
+ <div class="basel-row-gradient" {{ style_gradient_section }}></div>
66
+ {%- endif -%}
67
+ <div class="spb_column gl_column_container gl_col-sm-3"><div class="gl_column-inner "><div class="spb_wrapper"></div></div></div>
68
+ <div class="spb_column gl_column_container gl_col-sm-6 color-scheme-light">
69
+ <div class="gl_column-inner ">
70
+ <div class="spb_wrapper">
71
+ {%- if section.settings.title != blank -%}<h2 style="" class="newsletter_pet_title gl_custom_heading title-alt gl_mt_20">{{ section.settings.title }}</h2>{%- endif -%}
72
+ {%- if section.settings.subtitle != blank -%}<h2 style="" class="newsletter_pet_sub_title gl_custom_heading font-title">{{ section.settings.subtitle }}</h2>{%- endif -%}
73
+ {%- if section.settings.subtext != blank -%}
74
+ <div class="spb_text_column spb_content_element gl_mb_30 color-scheme-light">
75
+ <div class="spb_wrapper">
76
+ <p style="" class="newsletter_pet_sub_text gl_custom_heading gl_mb_35">{{ section.settings.subtext }}</p>
77
+ </div>
78
+ </div>
79
+ {%- endif -%}
80
+ </div>
81
+ </div>
82
+ </div>
83
+ <div class="spb_column gl_column_container gl_col-sm-3"><div class="gl_column-inner "><div class="spb_wrapper"></div></div></div>
84
+ <div class="clear"></div>
85
+ <div class="spb_text_column spb_content_element gl_mb_0 color-scheme-light">
86
+ <div class="spb_wrapper">
87
+ {%- include 'gl_form_newlester' -%}
88
+ </div>
89
+ </div>
90
+ </div>
91
+ {%- unless section.settings.row_stretch == 'default' -%}
92
+ <div class="gl_row-full-width gl_clearfix"></div>
93
+ {%- endunless -%}
94
+ {%- schema -%}
95
+ {
96
+ "name": "Newsletter Pets",
97
+ "class": "index-section index-section--flush",
98
+ "settings": [
99
+ {
100
+ "type": "header",
101
+ "content": "== General Settings"
102
+ },
103
+ {
104
+ "type": "paragraph",
105
+ "content": "Use Default Shopify: Any customers who sign up will have an account created for them in Shopify. [View customers](/admin/customers?query=&accepts_marketing=1)"
106
+ },
107
+ {
108
+ "type": "checkbox",
109
+ "id": "use_mailchimp",
110
+ "label": "Use Mailchimp?",
111
+ "default": true
112
+ },
113
+ {
114
+ "type": "select",
115
+ "id": "row_stretch",
116
+ "options": [
117
+ {
118
+ "value": "default",
119
+ "label": "Default"
120
+ },
121
+ {
122
+ "value": "stretch_row",
123
+ "label": "Stretch row"
124
+ },
125
+ {
126
+ "value": "stretch_row_content",
127
+ "label": "Stretch row and content"
128
+ },
129
+ {
130
+ "value": "stretch_row_content_no_spaces",
131
+ "label": "Stretch row and content (no paddings)"
132
+ }
133
+ ],
134
+ "label": "___ Row stretch",
135
+ "info": "Select stretching options for row and content (Note: stretched may not work properly if parent container has 'overflow: hidden' CSS property).",
136
+ "default": "default"
137
+ },
138
+ {
139
+ "type": "checkbox",
140
+ "id": "full_height",
141
+ "label": "Full height row?",
142
+ "info": "if checked row will be set to full height.",
143
+ "default": false
144
+ },
145
+ {
146
+ "type": "select",
147
+ "id": "columns_position",
148
+ "options": [
149
+ {
150
+ "value": "middle",
151
+ "label": "Middle"
152
+ },
153
+ {
154
+ "value": "top",
155
+ "label": "Top"
156
+ },
157
+ {
158
+ "value": "bottom",
159
+ "label": "Bottom"
160
+ },
161
+ {
162
+ "value": "stretch",
163
+ "label": "Stretch"
164
+ }
165
+ ],
166
+ "label": "___ Columns position (only for full height)",
167
+ "info": "Select columns position within row.",
168
+ "default": "middle"
169
+ },
170
+ {
171
+ "type": "checkbox",
172
+ "id": "equal_height",
173
+ "label": "Equal height?",
174
+ "info": "If checked columns will be set to equal height.",
175
+ "default": false
176
+ },
177
+ {
178
+ "type": "select",
179
+ "id": "content_position",
180
+ "options": [
181
+ {
182
+ "value": "default",
183
+ "label": "Default"
184
+ },
185
+ {
186
+ "value": "middle",
187
+ "label": "Middle"
188
+ },
189
+ {
190
+ "value": "top",
191
+ "label": "Top"
192
+ },
193
+ {
194
+ "value": "bottom",
195
+ "label": "Bottom"
196
+ }
197
+ ],
198
+ "label": "___ Content position",
199
+ "info": "Select content position within columns.",
200
+ "default": "default"
201
+ },
202
+ {
203
+ "type": "checkbox",
204
+ "id": "use_video",
205
+ "label": "Use video background?",
206
+ "info": "If checked, video will be used as row background.",
207
+ "default": true
208
+ },
209
+ {
210
+ "id": "video_url",
211
+ "type": "video_url",
212
+ "label": "YouTube link",
213
+ "accept": ["youtube"],
214
+ "default": "https://www.youtube.com/watch?v=4GNBkO7IhZA"
215
+ },
216
+ {
217
+ "type": "header",
218
+ "content": "== Text settings"
219
+ },
220
+ {
221
+ "type": "text",
222
+ "id": "title",
223
+ "label": "Heading",
224
+ "default": "Subscribe to our newsletter"
225
+ },
226
+ {
227
+ "type": "text",
228
+ "id": "subtitle",
229
+ "label": "Subtitle",
230
+ "default": "Join Our Newsletter"
231
+ },
232
+ {
233
+ "type": "textarea",
234
+ "id": "subtext",
235
+ "label": "Subtext",
236
+ "default": "A short sentence describing what someone will receive by subscribing"
237
+ },
238
+ {
239
+ "type": "header",
240
+ "content": "== Design Options"
241
+ },
242
+ {
243
+ "type": "image_picker",
244
+ "id": "section_bg_image",
245
+ "label": "Background Image"
246
+ },
247
+ {
248
+ "type": "checkbox",
249
+ "id": "bg_img_center",
250
+ "label": "Background Image Center?",
251
+ "default": true
252
+ },
253
+ {
254
+ "type": "checkbox",
255
+ "id": "bg_size_cover",
256
+ "label": "Background size cover?",
257
+ "default": true
258
+ },
259
+ {
260
+ "type": "color",
261
+ "id": "section_bg_color",
262
+ "label": "Background color",
263
+ "default":"#3bc6bf"
264
+ },
265
+ {
266
+ "type": "color",
267
+ "id": "section_border_color",
268
+ "label": "Border color"
269
+ },
270
+ {
271
+ "type": "select",
272
+ "id": "section_border_style",
273
+ "options": [
274
+ {
275
+ "value": "solid",
276
+ "label": "Solid"
277
+ },
278
+ {
279
+ "value": "dotted",
280
+ "label": "Dotted"
281
+ },
282
+ {
283
+ "value": "dashed",
284
+ "label": "Dashed"
285
+ },
286
+ {
287
+ "value": "double",
288
+ "label": "Double"
289
+ },
290
+ {
291
+ "value": "groove",
292
+ "label": "Groove"
293
+ },
294
+ {
295
+ "value": "Ridge",
296
+ "label": "Ridge"
297
+ },
298
+ {
299
+ "value": "inset",
300
+ "label": "Inset"
301
+ },
302
+ {
303
+ "value": "outset",
304
+ "label": "Outset"
305
+ }
306
+ ],
307
+ "label": "Border style",
308
+ "default": "solid"
309
+ },
310
+ {
311
+ "type": "text",
312
+ "id": "section_border",
313
+ "label": "Borders Integer px ( top-right-bottom-left )",
314
+ "info": "0-0-1px-0"
315
+ },
316
+ {
317
+ "type": "text",
318
+ "id": "section_margin_top",
319
+ "label": "Margin top",
320
+ "info": "60px"
321
+ },
322
+ {
323
+ "type": "text",
324
+ "id": "section_margin_bottom",
325
+ "label": "Margin bottom",
326
+ "info": "60px"
327
+ },
328
+ {
329
+ "type": "text",
330
+ "id": "section_margin_left",
331
+ "label": "Margin left",
332
+ "info": "60px"
333
+ },
334
+ {
335
+ "type": "text",
336
+ "id": "section_margin_right",
337
+ "label": "Margin right",
338
+ "info": "60px"
339
+ },
340
+ {
341
+ "type": "text",
342
+ "id": "section_padding_top",
343
+ "label": "Padding top",
344
+ "info": "60px"
345
+ },
346
+ {
347
+ "type": "text",
348
+ "id": "section_padding_right",
349
+ "label": "Padding right",
350
+ "info": "60px"
351
+ },
352
+ {
353
+ "type": "text",
354
+ "id": "section_padding_bottom",
355
+ "label": "Padding bottom",
356
+ "info": "60px"
357
+ },
358
+ {
359
+ "type": "text",
360
+ "id": "section_padding_left",
361
+ "label": "Padding left",
362
+ "info": "60px"
363
+ },
364
+ {
365
+ "type": "header",
366
+ "content": "== Basel Extras"
367
+ },
368
+ {
369
+ "type": "checkbox",
370
+ "id": "use_parallax",
371
+ "label": "Use Basel parallax?",
372
+ "default": false
373
+ },
374
+ {
375
+ "type": "checkbox",
376
+ "id": "use_gradient",
377
+ "label": "Use Basel gradient?",
378
+ "default": false
379
+ },
380
+ {
381
+ "type": "header",
382
+ "content": "=== Gradient Options"
383
+ },
384
+ {
385
+ "type": "select",
386
+ "id": "gradient",
387
+ "options": [
388
+ {
389
+ "value": "left",
390
+ "label": "horizontal left",
391
+ "group": "Linear"
392
+ },
393
+ {
394
+ "value": "right",
395
+ "label": "horizontal right",
396
+ "group": "Linear"
397
+ },
398
+ {
399
+ "value": "top",
400
+ "label": "horizontal top",
401
+ "group": "Linear"
402
+ },
403
+ {
404
+ "value": "bottom",
405
+ "label": "horizontal bottom",
406
+ "group": "Linear"
407
+ },
408
+ {
409
+ "value": "circle_center_center",
410
+ "label": "horizontal center - vertical center",
411
+ "group": "Radial - Circle"
412
+ },
413
+ {
414
+ "value": "circle_center_top",
415
+ "label": "horizontal center - vertical top",
416
+ "group": "Radial - Circle"
417
+ },
418
+ {
419
+ "value": "circle_center_bottom",
420
+ "label": "horizontal center - vertical bottom",
421
+ "group": "Radial - Circle"
422
+ },
423
+ {
424
+ "value": "circle_left_center",
425
+ "label": "horizontal left - vertical center",
426
+ "group": "Radial - Circle"
427
+ },
428
+ {
429
+ "value": "circle_left_top",
430
+ "label": "horizontal left - vertical top",
431
+ "group": "Radial - Circle"
432
+ },
433
+ {
434
+ "value": "circle_left_bottom",
435
+ "label": "horizontal left - vertical bottom",
436
+ "group": "Radial - Circle"
437
+ },
438
+ {
439
+ "value": "circle_right_center",
440
+ "label": "horizontal right - vertical center",
441
+ "group": "Radial - Circle"
442
+ },
443
+ {
444
+ "value": "circle_right_top",
445
+ "label": "horizontal right - vertical top",
446
+ "group": "Radial - Circle"
447
+ },
448
+ {
449
+ "value": "circle_right_bottom",
450
+ "label": "horizontal right - vertical bottom",
451
+ "group": "Radial - Circle"
452
+ },
453
+ {
454
+ "value": "ellipse_center_center",
455
+ "label": "horizontal center - vertical center",
456
+ "group": "Radial - Ellipse"
457
+ },
458
+ {
459
+ "value": "ellipse_center_top",
460
+ "label": "horizontal center - vertical top",
461
+ "group": "Radial - Ellipse"
462
+ },
463
+ {
464
+ "value": "ellipse_center_bottom",
465
+ "label": "horizontal center - vertical bottom",
466
+ "group": "Radial - Ellipse"
467
+ },
468
+ {
469
+ "value": "ellipse_left_center",
470
+ "label": "horizontal left - vertical center",
471
+ "group": "Radial - Ellipse"
472
+ },
473
+ {
474
+ "value": "ellipse_left_top",
475
+ "label": "horizontal left - vertical top",
476
+ "group": "Radial - Ellipse"
477
+ },
478
+ {
479
+ "value": "ellipse_left_bottom",
480
+ "label": "horizontal left - vertical bottom",
481
+ "group": "Radial - Ellipse"
482
+ },
483
+ {
484
+ "value": "ellipse_right_center",
485
+ "label": "horizontal right - vertical center",
486
+ "group": "Radial - Ellipse"
487
+ },
488
+ {
489
+ "value": "ellipse_right_top",
490
+ "label": "horizontal right - vertical top",
491
+ "group": "Radial - Ellipse"
492
+ },
493
+ {
494
+ "value": "ellipse_right_bottom",
495
+ "label": "horizontal right - vertical bottom",
496
+ "group": "Radial - Ellipse"
497
+ }
498
+ ],
499
+ "label": "___ Gradient Style",
500
+ "default": "left"
501
+ },
502
+ {
503
+ "type": "header",
504
+ "content": "___ color gradient 1"
505
+ },
506
+ {
507
+ "type": "color",
508
+ "id": "color_gradient_one",
509
+ "label": "color gradient 1"
510
+ },
511
+ {
512
+ "type": "text",
513
+ "id": "color_opacity_one",
514
+ "label": "color opacity 1",
515
+ "info":"Note: Default value is 1, min value is 0.1",
516
+ "default": "1"
517
+ },
518
+ {
519
+ "type": "text",
520
+ "id": "color_percent_one",
521
+ "label": "color Location 1 (integer)",
522
+ "default": "1",
523
+ "info":"Note: min value is 1%, max value is 100%"
524
+ },
525
+ {
526
+ "type": "header",
527
+ "content": "___ color gradient 2"
528
+ },
529
+ {
530
+ "type": "color",
531
+ "id": "color_gradient_two",
532
+ "label": "color gradient 2"
533
+ },
534
+ {
535
+ "type": "text",
536
+ "id": "color_opacity_two",
537
+ "label": "color opacity 2",
538
+ "info":"Note: Default value is 1, min value is 0.1",
539
+ "default": "1"
540
+ },
541
+ {
542
+ "type": "text",
543
+ "id": "color_percent_two",
544
+ "label": "color Location 2 (integer)",
545
+ "default": "33",
546
+ "info":"Note: min value is 1%, max value is 100%"
547
+ },
548
+ {
549
+ "type": "header",
550
+ "content": "___ color gradient 3"
551
+ },
552
+ {
553
+ "type": "checkbox",
554
+ "id": "use_color_gradient_three",
555
+ "label": "Use color gradient 3?",
556
+ "default": false
557
+ },
558
+ {
559
+ "type": "color",
560
+ "id": "color_gradient_three",
561
+ "label": "color gradient 3"
562
+ },
563
+ {
564
+ "type": "text",
565
+ "id": "color_opacity_three",
566
+ "label": "color opacity 3",
567
+ "info":"Note: Default value is 1, min value is 0.1",
568
+ "default": "1"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "id": "color_percent_three",
573
+ "label": "color Location 3 (integer)",
574
+ "default": "66",
575
+ "info":"Note: min value is 1%, max value is 100%"
576
+ },
577
+ {
578
+ "type": "header",
579
+ "content": "___ color gradient 4"
580
+ },
581
+ {
582
+ "type": "checkbox",
583
+ "id": "use_color_gradient_four",
584
+ "label": "Use color gradient 4?",
585
+ "default": false
586
+ },
587
+ {
588
+ "type": "color",
589
+ "id": "color_gradient_four",
590
+ "label": "color gradient 4"
591
+ },
592
+ {
593
+ "type": "text",
594
+ "id": "color_opacity_four",
595
+ "label": "color opacity 4",
596
+ "info":"Note: Default value is 1, min value is 0.1",
597
+ "default": "1"
598
+ },
599
+ {
600
+ "type": "text",
601
+ "id": "color_percent_four",
602
+ "label": "color Location 4 (integer)",
603
+ "default": "100",
604
+ "info":"Note: min value is 1%, max value is 100%"
605
+ }
606
+ ],
607
+ "presets": [{
608
+ "name": "Newsletter signup Pets",
609
+ "category": "Promotional"
610
+ }]
611
+ }
612
+ {% endschema %}