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.
- package/assets/data/block-patterns.csv +160 -0
- package/assets/data/component-library/GDPR-modal.liquid +183 -0
- package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
- package/assets/data/component-library/_index.csv +157 -19
- package/assets/data/component-library/about.liquid +1557 -0
- package/assets/data/component-library/adv-header.liquid +344 -0
- package/assets/data/component-library/adv-navigation.liquid +542 -0
- package/assets/data/component-library/announcement-bar.liquid +42 -60
- package/assets/data/component-library/article.liquid +242 -0
- package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
- package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
- package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
- package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
- package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
- package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
- package/assets/data/component-library/blog.liquid +371 -0
- package/assets/data/component-library/brands-page.liquid +114 -0
- package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
- package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
- package/assets/data/component-library/collection-template.liquid +146 -0
- package/assets/data/component-library/contact-us.liquid +663 -0
- package/assets/data/component-library/contact.liquid +256 -0
- package/assets/data/component-library/copyright_payment.liquid +95 -0
- package/assets/data/component-library/custom-content.liquid +832 -0
- package/assets/data/component-library/faq-template-3.liquid +1014 -0
- package/assets/data/component-library/footer-model-1.liquid +503 -0
- package/assets/data/component-library/footer-model-10.liquid +210 -0
- package/assets/data/component-library/footer-model-2.liquid +460 -0
- package/assets/data/component-library/footer-model-3.liquid +548 -0
- package/assets/data/component-library/footer-model-4.liquid +455 -0
- package/assets/data/component-library/footer-model-5.liquid +407 -0
- package/assets/data/component-library/footer-model-6.liquid +543 -0
- package/assets/data/component-library/footer-model-7.liquid +345 -0
- package/assets/data/component-library/footer-model-8.liquid +279 -0
- package/assets/data/component-library/footer-model-9.liquid +376 -0
- package/assets/data/component-library/gallery.liquid +236 -0
- package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
- package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/gp-logo-list.liquid +362 -0
- package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
- package/assets/data/component-library/header-model-1.liquid +427 -0
- package/assets/data/component-library/header-model-10.liquid +599 -0
- package/assets/data/component-library/header-model-2.liquid +633 -0
- package/assets/data/component-library/header-model-3.liquid +415 -0
- package/assets/data/component-library/header-model-4.liquid +754 -0
- package/assets/data/component-library/header-model-5.liquid +562 -0
- package/assets/data/component-library/header-model-6.liquid +713 -0
- package/assets/data/component-library/header-model-7.liquid +743 -0
- package/assets/data/component-library/header-model-8.liquid +500 -0
- package/assets/data/component-library/header-model-9.liquid +506 -0
- package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
- package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
- package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
- package/assets/data/component-library/home-brand-slider.liquid +224 -0
- package/assets/data/component-library/home-circled-block.liquid +332 -0
- package/assets/data/component-library/home-contact-block-1.liquid +395 -0
- package/assets/data/component-library/home-contact-block-2.liquid +372 -0
- package/assets/data/component-library/home-content-block-1.liquid +320 -0
- package/assets/data/component-library/home-donut-chart.liquid +335 -0
- package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
- package/assets/data/component-library/home-faq-model.liquid +323 -0
- package/assets/data/component-library/home-featured-blog.liquid +1462 -0
- package/assets/data/component-library/home-featured-collections.liquid +484 -0
- package/assets/data/component-library/home-gallery-block1.liquid +276 -0
- package/assets/data/component-library/home-gallery-block2.liquid +396 -0
- package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
- package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
- package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
- package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
- package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
- package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
- package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
- package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
- package/assets/data/component-library/home-image-gallery.liquid +1087 -0
- package/assets/data/component-library/home-instagram.liquid +356 -0
- package/assets/data/component-library/home-newsletter.liquid +246 -0
- package/assets/data/component-library/home-number-counter.liquid +790 -0
- package/assets/data/component-library/home-price-table.liquid +416 -0
- package/assets/data/component-library/home-pricing-table.liquid +1076 -0
- package/assets/data/component-library/home-product-grid.liquid +413 -0
- package/assets/data/component-library/home-product-tab-1.liquid +528 -0
- package/assets/data/component-library/home-product-tab-2.liquid +342 -0
- package/assets/data/component-library/home-product-tab-3.liquid +357 -0
- package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
- package/assets/data/component-library/home-quotes-1.liquid +274 -0
- package/assets/data/component-library/home-quotes-2.liquid +239 -0
- package/assets/data/component-library/home-quotes-3.liquid +244 -0
- package/assets/data/component-library/home-quotes-4.liquid +258 -0
- package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
- package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
- package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
- package/assets/data/component-library/home-specification-block-1.liquid +468 -0
- package/assets/data/component-library/home-specification-block-2.liquid +291 -0
- package/assets/data/component-library/home-specification-block-3.liquid +429 -0
- package/assets/data/component-library/home-support-block.liquid +392 -0
- package/assets/data/component-library/home-testimonial.liquid +1348 -0
- package/assets/data/component-library/home-video-banner.liquid +317 -0
- package/assets/data/component-library/home-wide-banner.liquid +327 -0
- package/assets/data/component-library/icon-with-content.liquid +478 -0
- package/assets/data/component-library/instafeed.liquid +1 -0
- package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
- package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
- package/assets/data/component-library/logo-bar.liquid +314 -0
- package/assets/data/component-library/lookbook.liquid +367 -0
- package/assets/data/component-library/manual_blog.liquid +724 -0
- package/assets/data/component-library/navigation-etc.liquid +642 -0
- package/assets/data/component-library/newsletter.liquid +246 -0
- package/assets/data/component-library/order-form.liquid +96 -0
- package/assets/data/component-library/page-catev1-template.liquid +344 -0
- package/assets/data/component-library/popup_video.liquid +396 -0
- package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
- package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
- package/assets/data/component-library/product-template-2.liquid +629 -0
- package/assets/data/component-library/product-template-3.liquid +670 -0
- package/assets/data/component-library/product-template-4.liquid +627 -0
- package/assets/data/component-library/product-template-5.liquid +652 -0
- package/assets/data/component-library/product-template.liquid +698 -0
- package/assets/data/component-library/rich-text.liquid +541 -0
- package/assets/data/component-library/section-countdown-v2.liquid +215 -0
- package/assets/data/component-library/services.liquid +596 -0
- package/assets/data/component-library/shipping_info.liquid +327 -0
- package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
- package/assets/data/component-library/sidebar-category.liquid +105 -0
- package/assets/data/component-library/sidebar-colors.liquid +104 -0
- package/assets/data/component-library/single_product_feature.liquid +1892 -0
- package/assets/data/component-library/social-links-menu.liquid +244 -0
- package/assets/data/component-library/someone-purchased.liquid +190 -0
- package/assets/data/component-library/special-offer-area.liquid +530 -0
- package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
- package/assets/data/component-library/top-bar-type-1.liquid +200 -0
- package/assets/data/component-library/top-bar-type-10.liquid +395 -0
- package/assets/data/component-library/top-bar-type-11.liquid +395 -0
- package/assets/data/component-library/top-bar-type-2.liquid +106 -0
- package/assets/data/component-library/top-bar-type-3.liquid +205 -0
- package/assets/data/component-library/top-countdown-bar.liquid +116 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
- package/assets/data/component-library/video.liquid +511 -0
- package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
- package/assets/data/design-tokens.csv +93 -57
- package/assets/data/schema-library.csv +48 -46
- package/assets/data/settings-profiles.csv +235 -0
- package/assets/data/shopify-best-practices.csv +58 -36
- package/assets/scripts/backfill-component-index.py +102 -0
- package/assets/scripts/core.py +30 -8
- package/assets/scripts/fix-schema-library.py +42 -0
- package/assets/scripts/kb-analyzer-helpers.py +136 -0
- package/assets/scripts/kb-analyzer.py +186 -0
- package/assets/scripts/kb-builder.py +32 -63
- package/assets/scripts/kb-constants.py +62 -0
- package/assets/scripts/kb-extractor-helpers.py +178 -0
- package/assets/scripts/kb-extractor.py +106 -170
- package/assets/scripts/kb-synthesizer.py +251 -0
- package/assets/scripts/quality-gate-checks.py +55 -0
- package/assets/scripts/quality-gate.py +56 -2
- package/assets/scripts/section-generator-helpers.py +74 -0
- package/assets/scripts/section-generator.py +59 -49
- package/assets/templates/generation-prompt.md +78 -14
- package/package.json +1 -1
|
@@ -0,0 +1,1087 @@
|
|
|
1
|
+
{% assign margin = section.settings.margin | split: ',' %}
|
|
2
|
+
{% assign margin_top = margin[0] %}
|
|
3
|
+
{% assign margin_bottom = margin[1] %}
|
|
4
|
+
{% assign padding = section.settings.padding | split: ',' %}
|
|
5
|
+
{% assign padding_top = padding[0] %}
|
|
6
|
+
{% assign padding_bottom = padding[1] %}
|
|
7
|
+
|
|
8
|
+
{% if section.settings.enable_overlay %}
|
|
9
|
+
{% assign section_overlay = 'dt-sc-overlay' %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
|
|
12
|
+
{% case section.settings.grid %}
|
|
13
|
+
{% when '1' %}
|
|
14
|
+
{%- assign column = 'one-column' -%}
|
|
15
|
+
{% when '2' %}
|
|
16
|
+
{%- assign column = 'two-column' -%}
|
|
17
|
+
{% when '3' %}
|
|
18
|
+
{%- assign column = 'three-column' -%}
|
|
19
|
+
{% when '4' %}
|
|
20
|
+
{%- assign column = 'four-column' -%}
|
|
21
|
+
{% when '5' %}
|
|
22
|
+
{%- assign column = 'five-column' -%}
|
|
23
|
+
{% when '6' %}
|
|
24
|
+
{%- assign column = 'six-column' -%}
|
|
25
|
+
{% else %}
|
|
26
|
+
{%- assign column = 'five-column' -%}
|
|
27
|
+
{% endcase %}
|
|
28
|
+
{% if section.settings.show_background_image %}
|
|
29
|
+
{% assign lazyScript = "lazyload" %}
|
|
30
|
+
{% endif %}
|
|
31
|
+
{% if section.settings.enable_slider %}
|
|
32
|
+
<div data-section-id="{{ section.id }}" data-section-type="home-image-gallery"
|
|
33
|
+
data-item-per-view="{{section.settings.items_per_view}}"
|
|
34
|
+
data-laptop-screen-items="{{section.settings.items_laptop_view}}"
|
|
35
|
+
data-tablet-screen-items ="{{section.settings.items_tablet_view}}"
|
|
36
|
+
data-small-screen-items="{{section.settings.items_mobile_view}}" data-autoplay="{{section.settings.slider_autoplay}}" data-blocks-limit="{{section.blocks.size}}" data-item-space="{{section.settings.column_gap}}" data-auto-height="{{section.settings.enable_auto_height}}">
|
|
37
|
+
{% endif %}
|
|
38
|
+
<div class="dt-sc-section-wrapper {{lazyScript}} {{ section_overlay }} {% if section.settings.background_style == 'parallax' %} parallax-initiated{% endif %}" {% if section.settings.background_style == 'parallax' %} data-speed="2" data-style="parallax"{% endif %} style="{% render 'bg-color-image-padding' %} background-size: {{- section.settings.background_size -}}; {% if section.settings.background_style == 'fixed' %}background-attachment: fixed;{% endif %} background-repeat:{% if section.settings.background_size == 'repeat' %}repeat{% else %}no-repeat;{% endif %}" {% include 'bg_image' %}>
|
|
39
|
+
<div class="{% render 'container-settings' %}">
|
|
40
|
+
<div class="row {{ section.settings.custom_class_name }} list-image">
|
|
41
|
+
{% render 'section-heading', class: section.id %}
|
|
42
|
+
<div class="image-bar__section">
|
|
43
|
+
{%- if section.blocks.size > 0 -%}
|
|
44
|
+
{% if section.settings.enable_slider %} <div class="dt-sc-swiper-slider swiper-container {% if section.settings.dots %} {{ section.settings.carousel_pagination_alignment }} {% endif %} {% if section.settings.arrows %} {{ section.settings.nav_arrow_position }} {{ section.settings.center_nav_arrow_alignment }} {% endif %}"> {% endif %}
|
|
45
|
+
{% if section.settings.enable_slider %} <div id="swiper-{{section.id}}-slider" class="{{section.settings.block_style}}"> {% endif %}
|
|
46
|
+
<ul class="image-bar__section-inner {% if section.settings.enable_slider %}swiper-wrapper{% endif %} {% unless section.settings.enable_slider %} dt-sc-column {{column}} {% endunless %}">
|
|
47
|
+
{%- for block in section.blocks -%}
|
|
48
|
+
<li class="image-bar__item {% if section.settings.enable_slider %}swiper-slide{% endif %} {{block.type}}-{{block.id}}" {{ block.shopify_attributes }} >
|
|
49
|
+
{%- if block.settings.link != blank -%}
|
|
50
|
+
<a href="{{ block.settings.link }}">
|
|
51
|
+
{%- endif -%}
|
|
52
|
+
{%- if block.settings.image != blank -%}
|
|
53
|
+
{%- assign img_url = block.settings.image | img_url: 'master' | replace: '_1x1.', '_{width}x.' -%}
|
|
54
|
+
<img class="lazyload"
|
|
55
|
+
src="{{ 'loading.gif' | asset_url }}"
|
|
56
|
+
data-src="{{ img_url }}"
|
|
57
|
+
data-widths="[180, 360, 470, 600, 770, 970, 1060, 1280, 1512, 1728, 2048]"
|
|
58
|
+
data-aspectratio="{{ block.settings.image.aspect_ratio }}"
|
|
59
|
+
data-sizes="auto"
|
|
60
|
+
alt="{{ block.settings.image.alt}}">
|
|
61
|
+
<noscript>
|
|
62
|
+
{{ block.settings.image | img_url: '480x480', scale: 2 | img_tag: block.settings.image.alt, 'dt-sc-noscript-image' }}
|
|
63
|
+
</noscript>
|
|
64
|
+
{%- else -%}
|
|
65
|
+
{{ 'image' | placeholder_svg_tag }}
|
|
66
|
+
{%- endif -%}
|
|
67
|
+
<div class="image-gallery-overlay">
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
{%- if block.settings.overlay_title != blank -%}
|
|
72
|
+
<h6 class="image-overlay-title">{{block.settings.overlay_title}}</h6>
|
|
73
|
+
{%- endif -%}
|
|
74
|
+
{%- if block.settings.icon_class != blank and block.settings.icon_link != blank -%}
|
|
75
|
+
<a href="{{block.settings.icon_link}}" class="link"><i class="{{block.settings.icon_class}}"></i></a>
|
|
76
|
+
{%- endif -%}
|
|
77
|
+
</div>
|
|
78
|
+
{%- if block.settings.link != blank -%}
|
|
79
|
+
</a>
|
|
80
|
+
{%- endif -%}
|
|
81
|
+
</li>
|
|
82
|
+
{%- endfor -%}
|
|
83
|
+
</ul>
|
|
84
|
+
{% if section.settings.enable_slider %} </div>{% endif %}
|
|
85
|
+
{% if section.settings.enable_slider %}
|
|
86
|
+
{% if section.settings.arrows %}
|
|
87
|
+
<div class="swiper-{{ section.id}}-arrows swiper-arrows">
|
|
88
|
+
<div id="swiper-{{ section.id}}-next" class="swiper-button-next dt-sc-btn"></div>
|
|
89
|
+
<div id="swiper-{{ section.id}}-prev" class="swiper-button-prev dt-sc-btn"></div>
|
|
90
|
+
</div>
|
|
91
|
+
{% endif %}
|
|
92
|
+
{% if section.settings.dots %}
|
|
93
|
+
<div id="swiper-{{ section.id}}-pagination" class="swiper-pagination"></div>
|
|
94
|
+
{% endif %}
|
|
95
|
+
{% endif %}
|
|
96
|
+
{% if section.settings.enable_slider %} </div>{% endif %}
|
|
97
|
+
{%- endif -%}
|
|
98
|
+
{% if section.settings.image_list_text != blank and section.settings.image_list_link != blank %}
|
|
99
|
+
<a href="{{section.settings.image_list_link}}" class="dt-sc-image-list-btn">{{section.settings.image_list_text}}<i class=" fa fa-chevron-circle-right"> </i></a>
|
|
100
|
+
{% endif %}
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
{% if section.settings.enable_slider %}
|
|
107
|
+
</div>
|
|
108
|
+
{% endif %}
|
|
109
|
+
|
|
110
|
+
<style>
|
|
111
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-heading .dt-sc-main-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_heading_color }}; }
|
|
112
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-heading .dt-sc-sub-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_sub_heading_color }}; }
|
|
113
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-heading .dt-sc-heading-description { color: var(--DTColor_Body); color:{{ section.settings.section_description_color }}; }
|
|
114
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-heading .dt-sc-btn {
|
|
115
|
+
background: var(--DT_Button_BG_Color); background:{{ section.settings.section_button_bg_color }};
|
|
116
|
+
color: var(--DT_Button_Text_Color); color:{{ section.settings.section_button_text_color }};
|
|
117
|
+
}
|
|
118
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-heading .dt-sc-btn:hover {
|
|
119
|
+
background: var(--DT_Button_BG_Hover_Color); background:{{ section.settings.section_button_hover_bg_color }};
|
|
120
|
+
color: var(--DT_Button_Text_Hover_Color); color:{{ section.settings.section_button_hover_text_color }};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-overlay:before {
|
|
124
|
+
color: var(--DTTertiaryColor);
|
|
125
|
+
color: {{ section.settings.background_color }};
|
|
126
|
+
background: currentcolor;
|
|
127
|
+
opacity: {{ section.settings.overlay_transparency }};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-wrap: wrap;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
text-align: center;
|
|
137
|
+
height: {{section.settings.item_height}}px;
|
|
138
|
+
position: relative;
|
|
139
|
+
overflow:hidden;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay {
|
|
143
|
+
position: absolute; height: 100%; width: 100%; display: grid; align-content: center; justify-content: center; top: 0; left: 0;
|
|
144
|
+
flex-direction: column; gap: 15px;opacity: 0; background: {{ section.settings.image_overlay_color | color_modify: 'alpha', 0.5 }}; transition:var(--DTBaseTransition);
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:hover .image-gallery-overlay {
|
|
151
|
+
opacity: 1;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay > * {
|
|
155
|
+
color: var(--DT_Button_Text_Color); color: {{ section.settings.image_overlay_icon_color }};
|
|
156
|
+
font-size: var(--DTFontSizeBase); font-size: {{ section.settings.icon_size }}px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay > * { margin: 0; }
|
|
160
|
+
|
|
161
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title { position: relative; }
|
|
162
|
+
|
|
163
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:before,
|
|
164
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:after {
|
|
165
|
+
content: ''; position: absolute; left: 0; bottom: 0; background-color: currentcolor; height: 2px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:before {
|
|
169
|
+
width: 0; transition: width ease 0.4s; -webkit-transition: width ease 0.4s;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:after {
|
|
173
|
+
width: 100%; transition: all ease 0.6s; -webkit-transition: all ease 0.6s;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:hover::before {
|
|
177
|
+
width: 100%;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title:hover::after {
|
|
181
|
+
left: 100%; width: 0; transition: all ease 0.2s; -webkit-transition: all ease 0.2s;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item a,
|
|
186
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item img { height: 100%;
|
|
187
|
+
width: 100%;
|
|
188
|
+
object-fit: cover;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item svg {
|
|
192
|
+
min-width: 150px;
|
|
193
|
+
height: auto;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
justify-content: center;
|
|
200
|
+
flex-wrap: wrap;
|
|
201
|
+
position: relative;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner { margin: 0; }
|
|
205
|
+
|
|
206
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn { position: absolute; padding: 10px 25px; border-radius: var(--DTRadius); bottom:-70px;
|
|
207
|
+
z-index: 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn {
|
|
211
|
+
background: var(--DT_Button_BG_Color); background-color: {{ section.settings.image_link_bg_color }};
|
|
212
|
+
color: var(--DT_Button_Text_Color); color: {{ section.settings.image_link_text_color }}; }
|
|
213
|
+
|
|
214
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn:hover { background: var(--DT_Button_BG_Hover_Color);
|
|
215
|
+
background-color: {{ section.settings.image_link_hover_bg_color }};
|
|
216
|
+
color: var(--DT_Button_Text_Hover_Color); color: {{ section.settings.image_link_hover_text_color }}; }
|
|
217
|
+
|
|
218
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section-inner { gap: var(--DTGutter_Width); gap: {{ section.settings.column_gap}}px; }
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
/* Carousel Styles */
|
|
222
|
+
|
|
223
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container { width: 100%; }
|
|
224
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container [class*="swiper-container"] { margin: 0; padding: 0; }
|
|
225
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container [class*="swiper-container"] .image-bar__section-inner { gap: 0; }
|
|
226
|
+
|
|
227
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-arrows > .dt-sc-btn[class*="swiper-button-"] {
|
|
228
|
+
background: var(--DT_Button_BG_Color);
|
|
229
|
+
background: {{ section.settings.navigation_button_color }};
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-arrows > .dt-sc-btn[class*="swiper-button-"]:after {
|
|
233
|
+
color: var(--DT_Button_Text_Color);
|
|
234
|
+
color: {{ section.settings.navigation_button_icon_color }};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-arrows > .dt-sc-btn:hover {
|
|
238
|
+
background: var(--DT_Button_BG_Hover_Color);
|
|
239
|
+
background: {{ section.settings.navigation_button_hover_color }};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-arrows > .dt-sc-btn:hover[class*="swiper-button-"]:after {
|
|
243
|
+
color: var(--DT_Button_Text_Hover_Color);
|
|
244
|
+
color: {{ section.settings.navigation_button_hover_icon_color }};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-pagination-bullet {
|
|
248
|
+
background: var(--DTSecondaryColor);
|
|
249
|
+
background: {{ section.settings.navigation_dot_color }};
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .swiper-container .swiper-pagination-bullet.swiper-pagination-bullet-active {
|
|
253
|
+
background: var(--DTPrimaryColor);
|
|
254
|
+
background: {{ section.settings.navigation_dot_active_color }};
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
@media (max-width:1540px) {
|
|
260
|
+
|
|
261
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item { height: {{section.settings.item_height_laptop}}px; }
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@media only screen and (min-width: 1200px) {
|
|
266
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-section-wrapper { margin-top:{{margin_top}}px; margin-bottom:{{margin_bottom}}px;padding-top:{{padding_top}}px; padding-bottom:{{padding_bottom}}px; }
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@media only screen and (max-width: 1199px) {
|
|
270
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-section-wrapper { margin-top:{{margin_top | divided_by: 2 }}px; margin-bottom:{{margin_bottom | divided_by: 2}}px;padding-top:{{padding_top | divided_by: 2}}px; padding-bottom:{{padding_bottom | divided_by: 2}}px;}
|
|
271
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item { height: {{section.settings.item_height_tab}}px; }
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@media (max-width:767px) {
|
|
275
|
+
|
|
276
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn { position: static; margin-top: 30px; }
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
{% if section.settings.remove_button_space %}
|
|
280
|
+
|
|
281
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn { margin-top: 0; }
|
|
282
|
+
|
|
283
|
+
{% endif %}
|
|
284
|
+
|
|
285
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item { height: {{section.settings.item_height_mobile}}px; }
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@media only screen and (min-width: 577px) and (max-width: 767px) {
|
|
290
|
+
|
|
291
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner { grid-template-columns: repeat(2,1fr); }
|
|
292
|
+
|
|
293
|
+
}
|
|
294
|
+
/* #shopify-section-{{section.id}}.home-image-gallery .image-bar__item:before{
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
content:" ";
|
|
298
|
+
position:absolute;
|
|
299
|
+
background-image:url({{ section.settings.mask_image | img_url: 'master' }});
|
|
300
|
+
width:100%;
|
|
301
|
+
height:100%;
|
|
302
|
+
background-size:cover;
|
|
303
|
+
background-position:center;
|
|
304
|
+
background-repeat:no-repeat;
|
|
305
|
+
z-index:1;
|
|
306
|
+
} */
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item{ clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
|
|
310
|
+
|
|
311
|
+
width: 381px;
|
|
312
|
+
height: 330px;
|
|
313
|
+
display:inline-block;
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(1){margin:auto; display:block; right:0; left:0;}
|
|
317
|
+
|
|
318
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner{
|
|
319
|
+
|
|
320
|
+
float: left;
|
|
321
|
+
clear: both;
|
|
322
|
+
width: 100%;
|
|
323
|
+
margin: 0px auto;
|
|
324
|
+
padding: 0px;
|
|
325
|
+
position: relative;
|
|
326
|
+
display:block;
|
|
327
|
+
}
|
|
328
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(2){
|
|
329
|
+
margin: -162px 0 0 104px;
|
|
330
|
+
float: left;
|
|
331
|
+
|
|
332
|
+
}
|
|
333
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(3){
|
|
334
|
+
|
|
335
|
+
margin: -164px 0px 0px 201px;
|
|
336
|
+
float: left;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(4){
|
|
340
|
+
|
|
341
|
+
margin: 174px 0px 0px -964px;
|
|
342
|
+
float: left;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(5){
|
|
346
|
+
|
|
347
|
+
margin: -160px 0px 0px -90px;
|
|
348
|
+
float: left;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(6){
|
|
352
|
+
|
|
353
|
+
margin: 7px 0px 0px -89px;
|
|
354
|
+
float: left;
|
|
355
|
+
}
|
|
356
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){
|
|
357
|
+
|
|
358
|
+
margin: -160px 0px 0px 395px;
|
|
359
|
+
float: left;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay a.link{
|
|
363
|
+
|
|
364
|
+
padding: 10px;
|
|
365
|
+
background: #fff;
|
|
366
|
+
color: #000;
|
|
367
|
+
width: 50px;
|
|
368
|
+
height: 40px;
|
|
369
|
+
margin: auto;
|
|
370
|
+
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
|
|
371
|
+
}
|
|
372
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay a.link:hover{ background: #ffb001;}
|
|
373
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .dt-sc-image-list-btn i.fa{margin-left:10px;}
|
|
374
|
+
|
|
375
|
+
/*responsible*/
|
|
376
|
+
@media screen and (max-width:1690px){
|
|
377
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(2){margin: -162px 0 0 54px;}
|
|
378
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){margin: -160px 0 0 345px;}
|
|
379
|
+
}
|
|
380
|
+
/* @media screen and (max-width:1230px){
|
|
381
|
+
|
|
382
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(2){margin: -164px 0 0 201px;}
|
|
383
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){margin: -160px 0 0 335px;}
|
|
384
|
+
}*/
|
|
385
|
+
|
|
386
|
+
/* @media screen and (max-width:1199px){
|
|
387
|
+
|
|
388
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(2){margin: -162px 0 0 43px;}
|
|
389
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){margin: -160px 0 0 318px;}
|
|
390
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-section-wrapper{padding-bottom:120px;}
|
|
391
|
+
} */
|
|
392
|
+
|
|
393
|
+
@media screen and (max-width:1199px){
|
|
394
|
+
|
|
395
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(2){margin: 0;}
|
|
396
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(3){margin:0;}
|
|
397
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(4){margin: 0;}
|
|
398
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(5){margin:0;}
|
|
399
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(6){margin:0;}
|
|
400
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){margin: 0;}
|
|
401
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item{display:grid;}
|
|
402
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner{display:grid; float:inherit; grid-gap:30px; grid-template-columns:repeat(3,1fr);}
|
|
403
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item{width:auto; height:280px;}
|
|
404
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){position:relative; transform:translateX(10%); -webkit-transform:translateX(10%); left:100%;}
|
|
405
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-section-wrapper{padding-bottom:125px;}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@media screen and (max-width:767px){
|
|
409
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner{display:grid; float:inherit; grid-gap:30px; grid-template-columns:repeat(2,1fr);}
|
|
410
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){position:relative; transform:translateX(-45%); -webkit-transform:translateX(-45%); left:100%;}
|
|
411
|
+
#shopify-section-{{section.id}}.home-image-gallery .dt-sc-section-wrapper{padding-bottom:70px;}
|
|
412
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item .image-gallery-overlay .image-overlay-title{font-size:18px;}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
@media screen and (max-width:576px){
|
|
418
|
+
|
|
419
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__section .image-bar__section-inner{grid-template-columns:repeat(1,1fr);}
|
|
420
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item:nth-child(7){position:static; transform:translateX(0); -webkit-transform:translateX(0); left:0;}
|
|
421
|
+
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
{% for block in section.blocks %}
|
|
425
|
+
|
|
426
|
+
#shopify-section-{{section.id}}.home-image-gallery .image-bar__item.{{block.type}}-{{block.id}} .image-gallery-overlay {
|
|
427
|
+
background: {{ block.settings.image_overlay_color | color_modify: 'alpha', 0.9 }}; transition:var(--DTBaseTransition);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
{% endfor %}
|
|
431
|
+
|
|
432
|
+
</style>
|
|
433
|
+
{% if section.settings.enable_slider %}
|
|
434
|
+
<script type="text/javascript">
|
|
435
|
+
function homeImageGallery(){
|
|
436
|
+
var dataSectionType = $('[data-section-type="home-image-gallery"]');
|
|
437
|
+
var id = dataSectionType.attr('data-section-id');
|
|
438
|
+
var ItemsPerView = +dataSectionType.attr('data-item-per-view');
|
|
439
|
+
// var ItemsRow = +dataSectionType.attr('data-item-row');
|
|
440
|
+
var ItemsSpace = +dataSectionType.attr('data-item-space');
|
|
441
|
+
var autoHeight = +dataSectionType.attr('data-auto-height') || false;
|
|
442
|
+
var ItemsLimit = +dataSectionType.attr('data-blocks-limit');
|
|
443
|
+
var Autoplay = +dataSectionType.attr('data-autoplay') * 1000;
|
|
444
|
+
var mobileSlides = +dataSectionType.attr('data-small-screen-items') || 1;
|
|
445
|
+
var initAutoplay = Autoplay ? { delay: Autoplay } : false;
|
|
446
|
+
var swiper = new Swiper('#swiper-' + id + '-slider', {
|
|
447
|
+
pagination: {
|
|
448
|
+
el: '#swiper-' + id + '-pagination',
|
|
449
|
+
clickable: true
|
|
450
|
+
},
|
|
451
|
+
navigation: {
|
|
452
|
+
nextEl: '#swiper-' + id + '-next',
|
|
453
|
+
prevEl: '#swiper-' + id + '-prev'
|
|
454
|
+
},
|
|
455
|
+
loop: false,
|
|
456
|
+
slidesPerView: ItemsPerView,
|
|
457
|
+
// slidesPerColumn: ItemsRow,
|
|
458
|
+
spaceBetween: ItemsSpace,
|
|
459
|
+
autoHeight: autoHeight,
|
|
460
|
+
simulateTouch: true,
|
|
461
|
+
autoplay: initAutoplay,
|
|
462
|
+
breakpoints: {
|
|
463
|
+
320: {
|
|
464
|
+
slidesPerView: mobileSlides,
|
|
465
|
+
spaceBetween: 20,
|
|
466
|
+
},
|
|
467
|
+
640: {
|
|
468
|
+
slidesPerView: 2,
|
|
469
|
+
spaceBetween: 20,
|
|
470
|
+
},
|
|
471
|
+
768: {
|
|
472
|
+
slidesPerView: 3,
|
|
473
|
+
spaceBetween: 40,
|
|
474
|
+
},
|
|
475
|
+
1024: {
|
|
476
|
+
slidesPerView: ItemsPerView,
|
|
477
|
+
spaceBetween: 50,
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
$(document).ready(function(){
|
|
483
|
+
homeImageGallery();
|
|
484
|
+
})
|
|
485
|
+
$(document)
|
|
486
|
+
.on('shopify:section:load', homeImageGallery)
|
|
487
|
+
.on('shopify:section:unload', homeImageGallery)
|
|
488
|
+
</script>
|
|
489
|
+
{% endif %}
|
|
490
|
+
{% schema %}
|
|
491
|
+
{
|
|
492
|
+
"name": "Image list",
|
|
493
|
+
"class": "index-section home-image-gallery",
|
|
494
|
+
"max_blocks": 10,
|
|
495
|
+
"settings": [
|
|
496
|
+
{
|
|
497
|
+
"type": "checkbox",
|
|
498
|
+
"id": "full",
|
|
499
|
+
"label": "Show Full width"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"type": "checkbox",
|
|
503
|
+
"id": "spacing_both_ends",
|
|
504
|
+
"label": "Enable Right & Left Spacing (Works only on Fullwidth)",
|
|
505
|
+
"default": false
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "text",
|
|
509
|
+
"id": "padding",
|
|
510
|
+
"label": "Style value (Padding)",
|
|
511
|
+
"default":"0,0",
|
|
512
|
+
"info":"Top(px),Bottom(px)"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"type": "text",
|
|
516
|
+
"id": "margin",
|
|
517
|
+
"label": "Style value (Margin)",
|
|
518
|
+
"default":"0,0",
|
|
519
|
+
"info":"Top(px),Bottom(px)"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"type": "image_picker",
|
|
523
|
+
"id": "background_image",
|
|
524
|
+
"label": "Background image",
|
|
525
|
+
"info": "Size: 1920x1280"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"type": "checkbox",
|
|
529
|
+
"id": "show_background_image",
|
|
530
|
+
"label": "Enable Background image"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"type": "select",
|
|
534
|
+
"id": "background_style",
|
|
535
|
+
"label": "Background Style",
|
|
536
|
+
"default": "none",
|
|
537
|
+
"options": [
|
|
538
|
+
{
|
|
539
|
+
"value": "fixed",
|
|
540
|
+
"label": "Fixed"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"value": "parallax",
|
|
544
|
+
"label": "Parallax"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"value": "none",
|
|
548
|
+
"label": "None"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"type": "select",
|
|
554
|
+
"id": "background_size",
|
|
555
|
+
"label": "Background Size",
|
|
556
|
+
"info": "This will not apply for parallax",
|
|
557
|
+
"default": "auto",
|
|
558
|
+
"options": [
|
|
559
|
+
{
|
|
560
|
+
"value": "auto",
|
|
561
|
+
"label": "Auto"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"value": "cover",
|
|
565
|
+
"label": "Cover"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"value": "contain",
|
|
569
|
+
"label": "Contain"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"value": "repeat",
|
|
573
|
+
"label": "Repeat"
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"type": "checkbox",
|
|
579
|
+
"id": "enable_overlay",
|
|
580
|
+
"label": "Enable Background Color (Used as Background Image Overlay Color too)"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "color",
|
|
584
|
+
"id": "background_color",
|
|
585
|
+
"label":"Background color"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "text",
|
|
589
|
+
"id": "overlay_transparency",
|
|
590
|
+
"label": "Overlay Transparency (0.01 to 1)",
|
|
591
|
+
"default": "0.5"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"type": "text",
|
|
595
|
+
"id": "section_heading",
|
|
596
|
+
"label": "Main Heading",
|
|
597
|
+
"default": "Image list"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"type": "text",
|
|
601
|
+
"id": "section_sub_heading",
|
|
602
|
+
"label": "Sub Heading",
|
|
603
|
+
"default": "Sub Heading"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"type": "image_picker",
|
|
607
|
+
"id": "header_image",
|
|
608
|
+
"label": "header image",
|
|
609
|
+
"info": "Size:120x30"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "text",
|
|
613
|
+
"id": "section_description",
|
|
614
|
+
"label": "Description",
|
|
615
|
+
"default": "Use this text to share the information which you like!."
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"type": "text",
|
|
619
|
+
"id": "section_button_text",
|
|
620
|
+
"label": "Link text"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"type": "url",
|
|
624
|
+
"id": "section_button_link",
|
|
625
|
+
"label": "Link URL"
|
|
626
|
+
},
|
|
627
|
+
|
|
628
|
+
{
|
|
629
|
+
"type": "header",
|
|
630
|
+
"content": "Section Color settings"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "color",
|
|
634
|
+
"id": "section_heading_color",
|
|
635
|
+
"label": "Heading color"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"type": "color",
|
|
639
|
+
"id": "section_sub_heading_color",
|
|
640
|
+
"label": "Sub heading color"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"type": "color",
|
|
644
|
+
"id": "section_description_color",
|
|
645
|
+
"label": "Description color"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "color",
|
|
649
|
+
"id": "section_button_bg_color",
|
|
650
|
+
"label": "Button bg color"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"type": "color",
|
|
654
|
+
"id": "section_button_text_color",
|
|
655
|
+
"label": "Button text color"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"type": "color",
|
|
659
|
+
"id": "section_button_hover_bg_color",
|
|
660
|
+
"label": "Button hover bg color"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"type": "color",
|
|
664
|
+
"id": "section_button_hover_text_color",
|
|
665
|
+
"label": "Button hover text color"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"type": "select",
|
|
669
|
+
"id": "heading_position",
|
|
670
|
+
"label": "Heading Position",
|
|
671
|
+
"options": [
|
|
672
|
+
{
|
|
673
|
+
"value": "text-center",
|
|
674
|
+
"label": "Center"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"value": "text-start",
|
|
678
|
+
"label": "Left"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"value": "text-end",
|
|
682
|
+
"label": "Right"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"type": "header",
|
|
688
|
+
"content": "Block Settings"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"type": "select",
|
|
692
|
+
"id": "grid",
|
|
693
|
+
"label": "Items per row",
|
|
694
|
+
"default": "5",
|
|
695
|
+
"options": [
|
|
696
|
+
{
|
|
697
|
+
"value": "1",
|
|
698
|
+
"label": "1"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"value": "2",
|
|
702
|
+
"label": "2"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"value": "3",
|
|
706
|
+
"label": "3"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"value": "4",
|
|
710
|
+
"label": "4"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"value": "5",
|
|
714
|
+
"label": "5"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"value": "6",
|
|
718
|
+
"label": "6"
|
|
719
|
+
}
|
|
720
|
+
]
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"type": "text",
|
|
724
|
+
"id": "column_gap",
|
|
725
|
+
"label": "Column Gap",
|
|
726
|
+
"default":"30",
|
|
727
|
+
"info": "Units not needed"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"type": "text",
|
|
731
|
+
"id": "image_list_text",
|
|
732
|
+
"label": "Gallery Link text"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"type": "url",
|
|
736
|
+
"id": "image_list_link",
|
|
737
|
+
"label": "Gallery Link URL"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"type": "header",
|
|
741
|
+
"content": "Item Height Settings"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "range",
|
|
745
|
+
"id": "item_height",
|
|
746
|
+
"label": "Item Height",
|
|
747
|
+
"min": 50,
|
|
748
|
+
"max": 1000,
|
|
749
|
+
"step": 10,
|
|
750
|
+
"default": 450,
|
|
751
|
+
"unit": "px"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"type": "range",
|
|
755
|
+
"id": "item_height_laptop",
|
|
756
|
+
"label": "Item Height - Laptop (Small Screens)",
|
|
757
|
+
"min": 50,
|
|
758
|
+
"max": 1000,
|
|
759
|
+
"step": 10,
|
|
760
|
+
"default": 400,
|
|
761
|
+
"unit": "px"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"type": "range",
|
|
765
|
+
"id": "item_height_tab",
|
|
766
|
+
"label": "Item Height - Tablet",
|
|
767
|
+
"min": 50,
|
|
768
|
+
"max": 1000,
|
|
769
|
+
"step": 10,
|
|
770
|
+
"default": 350,
|
|
771
|
+
"unit": "px"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "range",
|
|
775
|
+
"id": "item_height_mobile",
|
|
776
|
+
"label": "Item Height - Mobile",
|
|
777
|
+
"min": 50,
|
|
778
|
+
"max": 1000,
|
|
779
|
+
"step": 10,
|
|
780
|
+
"default": 300,
|
|
781
|
+
"unit": "px"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"type": "header",
|
|
785
|
+
"content": "Image Link Color settings"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "color",
|
|
789
|
+
"id": "image_link_bg_color",
|
|
790
|
+
"label": "Gallery Link bg color"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"type": "color",
|
|
794
|
+
"id": "image_link_text_color",
|
|
795
|
+
"label": "Gallery Link text color"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"type": "color",
|
|
799
|
+
"id": "image_link_hover_bg_color",
|
|
800
|
+
"label": "Gallery Link hover bg color"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"type": "color",
|
|
804
|
+
"id": "image_link_hover_text_color",
|
|
805
|
+
"label": "Gallery Link hover text color"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"type": "color",
|
|
809
|
+
"id": "image_overlay_icon_color",
|
|
810
|
+
"label": "Gallery icon color"
|
|
811
|
+
},
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
{
|
|
815
|
+
"type": "text",
|
|
816
|
+
"id": "icon_size",
|
|
817
|
+
"label": "Icon Size (in px)",
|
|
818
|
+
"default": "24"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"type": "header",
|
|
822
|
+
"content": "Carousel Settings"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "checkbox",
|
|
826
|
+
"id": "enable_slider",
|
|
827
|
+
"label": "Enable Carousel",
|
|
828
|
+
"default": false
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"type": "checkbox",
|
|
832
|
+
"id": "remove_button_space",
|
|
833
|
+
"label": "Adjust Space, If Paginations are Disabled",
|
|
834
|
+
"default": false
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"type": "checkbox",
|
|
838
|
+
"id": "enable_auto_height",
|
|
839
|
+
"label": "Enable auto height",
|
|
840
|
+
"default": true
|
|
841
|
+
},
|
|
842
|
+
|
|
843
|
+
{
|
|
844
|
+
"type": "range",
|
|
845
|
+
"id": "items_per_view",
|
|
846
|
+
"label": "Slide per row [Desktop]",
|
|
847
|
+
"min": 1,
|
|
848
|
+
"max": 6,
|
|
849
|
+
"step": 1,
|
|
850
|
+
"default": 4,
|
|
851
|
+
"info": "Maximum of 2 Slides, if List View is enabled"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"type": "range",
|
|
855
|
+
"id": "items_laptop_view",
|
|
856
|
+
"label": "Slide per row [Laptop]",
|
|
857
|
+
"min": 1,
|
|
858
|
+
"max": 5,
|
|
859
|
+
"step": 1,
|
|
860
|
+
"default": 3,
|
|
861
|
+
"info": "Maximum of 2 Slides, if List View is enabled"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"type": "range",
|
|
865
|
+
"id": "items_tablet_view",
|
|
866
|
+
"label": "Slide per row [Tablet]",
|
|
867
|
+
"min": 1,
|
|
868
|
+
"max": 4,
|
|
869
|
+
"step": 1,
|
|
870
|
+
"default": 2,
|
|
871
|
+
"info": "Maximum of 1 Slides, if List View is enabled"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"type": "range",
|
|
875
|
+
"id": "items_mobile_view",
|
|
876
|
+
"label": "Slide per row [Mobile]",
|
|
877
|
+
"min": 1,
|
|
878
|
+
"max": 3,
|
|
879
|
+
"step": 1,
|
|
880
|
+
"default": 1,
|
|
881
|
+
"info": "Maximum of 1 Slides, if List View is enabled"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"type": "range",
|
|
885
|
+
"id": "slider_autoplay",
|
|
886
|
+
"min": 0,
|
|
887
|
+
"max": 7,
|
|
888
|
+
"step": 1,
|
|
889
|
+
"label": "Autoplay timing",
|
|
890
|
+
"default": 0,
|
|
891
|
+
"unit": "sec",
|
|
892
|
+
"info": "Use 0 to stop auto rotate"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"type": "checkbox",
|
|
896
|
+
"id": "dots",
|
|
897
|
+
"label": "Enable Carousel Pagination",
|
|
898
|
+
"default": true
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"type": "select",
|
|
902
|
+
"id": "carousel_pagination_alignment",
|
|
903
|
+
"label": "Carousel Pagination Alignment (Only Bottom)",
|
|
904
|
+
"options": [
|
|
905
|
+
{
|
|
906
|
+
"value": "left_pagination",
|
|
907
|
+
"label": "Left Aligned"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"value": "center_pagination",
|
|
911
|
+
"label": "Center Aligned"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"value": "right_pagination",
|
|
915
|
+
"label": "Right Aligned"
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"default": "center_pagination"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"type": "checkbox",
|
|
922
|
+
"id": "arrows",
|
|
923
|
+
"label": "Enable Navigation Arrows",
|
|
924
|
+
"default": true
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"type": "select",
|
|
928
|
+
"id": "nav_arrow_position",
|
|
929
|
+
"label": "Navigation Arrows position",
|
|
930
|
+
"options": [
|
|
931
|
+
{
|
|
932
|
+
"value": "navigation-top-left",
|
|
933
|
+
"label": "Top Left"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"value": "navigation-top-center",
|
|
937
|
+
"label": "Top Center"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"value": "navigation-top-right",
|
|
941
|
+
"label": "Top Right"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"value": "center-navigation",
|
|
945
|
+
"label": "Center"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"value": "navigation-bottom-left",
|
|
949
|
+
"label": "Bottom left"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"value": "navigation-bottom-center",
|
|
953
|
+
"label": "Bottom center"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"value": "navigation-bottom-right",
|
|
957
|
+
"label": "Bottom right"
|
|
958
|
+
}
|
|
959
|
+
],
|
|
960
|
+
"default": "navigation-bottom-center"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"type": "select",
|
|
964
|
+
"id": "center_nav_arrow_alignment",
|
|
965
|
+
"label": "Center navigation alignment (Select 'Center', in the above dropdown)",
|
|
966
|
+
"options": [
|
|
967
|
+
{
|
|
968
|
+
"value": "outside_container",
|
|
969
|
+
"label": "Outside Container (not for Full width Section)"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"value": "along_with_container",
|
|
973
|
+
"label": "Along with Container"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"value": "inside_container",
|
|
977
|
+
"label": "Inside Container"
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"default": "outside_container"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"type": "color",
|
|
984
|
+
"id": "navigation_button_color",
|
|
985
|
+
"label": "Navigation Button Bg Color"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"type": "color",
|
|
989
|
+
"id": "navigation_button_icon_color",
|
|
990
|
+
"label": "Navigation Button Icon Color"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"type": "color",
|
|
994
|
+
"id": "navigation_button_hover_color",
|
|
995
|
+
"label": "Navigation Button Hover Bg Color"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"type": "color",
|
|
999
|
+
"id": "navigation_button_hover_icon_color",
|
|
1000
|
+
"label": "Navigation Button Hover Icon Color"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"type": "color",
|
|
1004
|
+
"id": "navigation_dot_color",
|
|
1005
|
+
"label": "Navigation Dot Color"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"type": "color",
|
|
1009
|
+
"id": "navigation_dot_active_color",
|
|
1010
|
+
"label": "Navigation Dot Active Color"
|
|
1011
|
+
},
|
|
1012
|
+
|
|
1013
|
+
{
|
|
1014
|
+
"type": "header",
|
|
1015
|
+
"content": "Custom class"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"type": "text",
|
|
1019
|
+
"id": "custom_class_name",
|
|
1020
|
+
"label": "Add your custom class name here"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
"blocks": [
|
|
1024
|
+
{
|
|
1025
|
+
"type": "image_image",
|
|
1026
|
+
"name": "Image",
|
|
1027
|
+
"settings": [
|
|
1028
|
+
{
|
|
1029
|
+
"type": "image_picker",
|
|
1030
|
+
"id": "image",
|
|
1031
|
+
"label": "Image"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"type": "text",
|
|
1035
|
+
"id": "icon_class",
|
|
1036
|
+
"label": "Font Awesome icon class",
|
|
1037
|
+
"default": "fa fa-instagram"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"type": "url",
|
|
1041
|
+
"id": "icon_link",
|
|
1042
|
+
"label": "Icon Link (Optional)"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"type": "text",
|
|
1046
|
+
"id": "overlay_title",
|
|
1047
|
+
"label": "Image Title",
|
|
1048
|
+
"default": "Shop the Look"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"type": "url",
|
|
1052
|
+
"id": "link",
|
|
1053
|
+
"label": "Link (Optional)"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"type": "color",
|
|
1057
|
+
"id": "image_overlay_color",
|
|
1058
|
+
"label": "Gallery overlay color"
|
|
1059
|
+
}
|
|
1060
|
+
]
|
|
1061
|
+
}
|
|
1062
|
+
],
|
|
1063
|
+
"presets": [
|
|
1064
|
+
{
|
|
1065
|
+
"name": "Image list",
|
|
1066
|
+
"category": "Image",
|
|
1067
|
+
"blocks": [
|
|
1068
|
+
{
|
|
1069
|
+
"type": "image_image"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"type": "image_image"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"type": "image_image"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"type": "image_image"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "image_image"
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
}
|
|
1087
|
+
{% endschema %}
|