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,1425 @@
|
|
|
1
|
+
{% assign ColumnWidth = section.settings.content_width | split: '/' %}
|
|
2
|
+
{% assign leftColumn = ColumnWidth[0] %}
|
|
3
|
+
{% assign rightColumn = ColumnWidth[1] %}
|
|
4
|
+
|
|
5
|
+
{% if section.blocks.size > 0 %}
|
|
6
|
+
{% case section.settings.grid %}
|
|
7
|
+
{% when '1' %}
|
|
8
|
+
{% when '2' %}
|
|
9
|
+
{%- assign column = 'two-column' -%}
|
|
10
|
+
{% when '3' %}
|
|
11
|
+
{%- assign column = 'three-column' -%}
|
|
12
|
+
{% when '4' %}
|
|
13
|
+
{%- assign column = 'four-column' -%}
|
|
14
|
+
{% when '5' %}
|
|
15
|
+
{%- assign column = 'five-column' -%}
|
|
16
|
+
{% when '6' %}
|
|
17
|
+
{%- assign column = 'six-column' -%}
|
|
18
|
+
{% else %}
|
|
19
|
+
{%- assign column = 'three-column' -%}
|
|
20
|
+
{% endcase %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{% case section.settings.icon_format == 'numbered' %}
|
|
24
|
+
{% when 'numbered' %}
|
|
25
|
+
{%- assign icon_format = 'numbered' %}
|
|
26
|
+
{% when 'alphabets' %}
|
|
27
|
+
{%- assign icon_format = 'alphabets' %}
|
|
28
|
+
{% when 'simple-round' %}
|
|
29
|
+
{%- assign icon_format = 'simple-round' %}
|
|
30
|
+
{% when 'icon' %}
|
|
31
|
+
{%- assign icon_format = 'icon' %}
|
|
32
|
+
{% endcase %}
|
|
33
|
+
|
|
34
|
+
{% if section.settings.enable_overlay %}
|
|
35
|
+
{% assign overlay = 'dt-sc-overlay' %}
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
{% if section.settings.hotspot_overlay %}
|
|
39
|
+
{% assign hotspot_overlay = 'with-overlay' %}
|
|
40
|
+
{% endif %}
|
|
41
|
+
|
|
42
|
+
{% case section.settings.background_style %}
|
|
43
|
+
{% when 'default' %}
|
|
44
|
+
{% when 'parallax' %}
|
|
45
|
+
{%- assign background_style = 'data-speed="2"' %}
|
|
46
|
+
{% when 'fixed' %}
|
|
47
|
+
{%- assign background_style = 'data-speed="1"' %}
|
|
48
|
+
{% endcase %}
|
|
49
|
+
|
|
50
|
+
{% if section.settings.show_background_image %}
|
|
51
|
+
{% assign lazyScript = "lazyload" %}
|
|
52
|
+
{% endif %}
|
|
53
|
+
{%- assign collection = collections[section.settings.collection] -%}
|
|
54
|
+
<div class="dt-sc-section-wrapper {{lazyScript}} {{overlay}} {% if section.settings.background_style == 'parallax' %} parallax-initiated{% endif %}" style="{% render 'bg-color-image-padding' %}" data-style="parallax" {{background_style}} {% include 'bg_image' %}>
|
|
55
|
+
<div class="{% render 'container-settings' %}">
|
|
56
|
+
<div class="row">
|
|
57
|
+
{% render 'section-heading', class: section.id %}
|
|
58
|
+
{% if section.settings.enable_product_block %} <div class="grouped-content">{% endif %}
|
|
59
|
+
|
|
60
|
+
{% if section.settings.enable_product_block %}
|
|
61
|
+
<div class="additional-block">
|
|
62
|
+
{% endif %}
|
|
63
|
+
<div class="dt-sc-hotspot {{icon_format}} {{section.settings.hotspot_tooltip_style}} {{hotspot_overlay}}{{ section.settings.custom_class_name }}">
|
|
64
|
+
{%- assign img_url = section.settings.spot_image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
|
|
65
|
+
<img class="dt-sc-hotspot-image lazyload"
|
|
66
|
+
data-src="{{ img_url }}"
|
|
67
|
+
data-widths="[180, 360, 470, 600, 770, 970, 1060, 1280, 1512, 1728, 2048]"
|
|
68
|
+
data-aspectratio="{{ section.settings.block_image.aspect_ratio }}"
|
|
69
|
+
data-sizes="auto"
|
|
70
|
+
alt="{{ section.settings.title }}">
|
|
71
|
+
<noscript>
|
|
72
|
+
{{ section.settings.spot_image | img_url: '480x480', scale: 2 | img_tag: section.settings.spot_image.alt, 'dt-sc-noscript-image' }}
|
|
73
|
+
</noscript>
|
|
74
|
+
|
|
75
|
+
{% for block in section.blocks %}
|
|
76
|
+
|
|
77
|
+
{% if block.type == 'product' %}
|
|
78
|
+
{% if block.settings.product != blank %}
|
|
79
|
+
{% assign product = all_products[block.settings.product] %}
|
|
80
|
+
<div class="dt-sc-hotspot-item dt-sc-hotspot-item{{forloop.index}} block-type-{{block.type}}">
|
|
81
|
+
<a class="open-popup-link{{forloop.index}} dt-sc-hotspot-marker dt-sc-hotspot-marker{{forloop.index}}" href="#dt-sc-hotspot-marker{{forloop.index}}"></a>
|
|
82
|
+
<div id="dt-sc-hotspot-marker{{forloop.index}}" class="dt-sc-hotspot-popup {{block.settings.text_position}}">
|
|
83
|
+
<div class="dt-sc-hotspot-content {{ block.settings.content_alignment}}">
|
|
84
|
+
<h4 class="dt-sc-hotspot-content-title"><a href="{{product.url}}" title="{{ product.title}}">{{ product.title}}</a></h4>
|
|
85
|
+
<a href="{{block.settings.link}}" title="{{ block.settings.title}}">
|
|
86
|
+
{%- assign featured_img_url = product.featured_image.src | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
|
|
87
|
+
<img class="lazyload"
|
|
88
|
+
data-src="{{ featured_img_url }}"
|
|
89
|
+
data-widths="[180, 360, 470, 600, 770, 970, 1060, 1280, 1512, 1728, 2048]"
|
|
90
|
+
data-aspectratio="{{ product.featured_image.aspect_ratio }}"
|
|
91
|
+
data-sizes="auto"
|
|
92
|
+
alt="{{ featured_image.alt | escape }}">
|
|
93
|
+
<noscript>
|
|
94
|
+
{{ product.featured_image.src | img_url: '480x480', scale: 2 | img_tag: product.title, 'dt-sc-noscript-image' }}
|
|
95
|
+
</noscript>
|
|
96
|
+
</a>
|
|
97
|
+
<span>{{product.price | money }}</span>
|
|
98
|
+
{% if block.settings.link_text != blank and product.url != blank %}
|
|
99
|
+
<a class="dt-sc-btn" href="{{product.url}}">{{block.settings.link_text}}</a>
|
|
100
|
+
{% endif %}
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="dt-sc-hotspot-icon {{section.settings.hotspot_style}}"><span class="{{ section.settings.icon }}"></span></div>
|
|
104
|
+
</div>
|
|
105
|
+
{% endif %}
|
|
106
|
+
{% endif %}
|
|
107
|
+
|
|
108
|
+
{% if block.type == 'content' %}
|
|
109
|
+
<div class="dt-sc-hotspot-item dt-sc-hotspot-item{{forloop.index}} block-type-{{block.type}}">
|
|
110
|
+
<a class="open-popup-link{{forloop.index}} dt-sc-hotspot-marker dt-sc-hotspot-marker{{forloop.index}}" href="#dt-sc-hotspot-marker{{forloop.index}} "></a>
|
|
111
|
+
{% if block.settings.title != blank or block.settings.text != blank or block.settings.link_text != blank %}
|
|
112
|
+
<div id="dt-sc-hotspot-marker{{forloop.index}}" class="dt-sc-hotspot-popup {{block.settings.text_position}}">
|
|
113
|
+
<div class="dt-sc-hotspot-content {{ block.settings.content_alignment}}">
|
|
114
|
+
{% if block.settings.title != blank %}
|
|
115
|
+
<h4 class="dt-sc-hotspot-content-title"><a href="{{block.settings.link}}" title="{{ block.settings.title}}">{{ block.settings.title}}</a></h4>
|
|
116
|
+
{% endif %}
|
|
117
|
+
{% if block.settings.text != blank %}
|
|
118
|
+
<p>{{block.settings.text }}</p>
|
|
119
|
+
{% endif %}
|
|
120
|
+
{% if block.settings.link_text != blank and block.settings.link != blank %}
|
|
121
|
+
<a class="dt-sc-btn" href="{{block.settings.link}}">{{block.settings.link_text}}</a>
|
|
122
|
+
{% endif %}
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
{% endif %}
|
|
127
|
+
<div class="dt-sc-hotspot-icon {{section.settings.hotspot_style}}"><span class="{{ section.settings.icon }}"></span></div>
|
|
128
|
+
</div>
|
|
129
|
+
{% endif %}
|
|
130
|
+
{% endfor %}
|
|
131
|
+
</div>
|
|
132
|
+
{% if section.settings.enable_product_block %}
|
|
133
|
+
</div>
|
|
134
|
+
{% endif %}
|
|
135
|
+
{% if section.settings.enable_product_block %}
|
|
136
|
+
<div class="main-block">
|
|
137
|
+
{% unless section.settings.enable_slider %}
|
|
138
|
+
<div data-section-id="blockCarousel" data-section-type="home-blockCarousel-section">
|
|
139
|
+
<div class="dT_VProdWrapperHot">
|
|
140
|
+
<ul class="grid product-collection dt-sc-column {{column}} {% if section.settings.enable_list_view %}product-list-style{% endif %}">
|
|
141
|
+
{% for product in collection.products limit: section.settings.post_limit %}
|
|
142
|
+
{% include 'product-grid-item', product: product %}
|
|
143
|
+
{% else %}
|
|
144
|
+
{% for i in (1..4) %}
|
|
145
|
+
{% include 'empty-row' %}
|
|
146
|
+
{% endfor %}
|
|
147
|
+
{% endfor %}
|
|
148
|
+
</ul>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
{% endunless %}
|
|
152
|
+
|
|
153
|
+
{% if section.settings.enable_slider %}
|
|
154
|
+
<div data-section-id="{{ section.id }}" data-section-type="home-product-carousel-section" data-item-per-view="{{section.settings.items_per_view}}" data-autoplay="{{section.settings.slider_autoplay}}" data-small-screen-items="1" data-blocks-limit="{{section.blocks.size}}" data-item-space="{{section.settings.column_gap}}" data-item-row="{{ section.settings.rows }}" >
|
|
155
|
+
<div class="dt-sc-swiper-slider swiper-container {% if section.settings.dots %} {{ section.settings.carousel_pagination_bottom_alignment }} {{ section.settings.carousel_pagination_alignment }} {% endif %} {% if section.settings.arrows %} {{ section.settings.nav_arrow_position }} {{ section.settings.center_nav_arrow_alignment }} {% endif %}">
|
|
156
|
+
<div id="swiper-{{section.id}}-slider" class="dT_VProdWrapperHot">
|
|
157
|
+
<ul class="swiper-wrapper {% if section.settings.enable_list_view %}product-list-style{% endif %}">
|
|
158
|
+
{% for product in collection.products %}
|
|
159
|
+
{% include 'product-grid-item', product: product, swiperSlideClass: 'swiper-slide' %}
|
|
160
|
+
{% else %}
|
|
161
|
+
{% for i in (1..4) %}
|
|
162
|
+
{% include 'empty-row' %}
|
|
163
|
+
{% endfor %}
|
|
164
|
+
{% endfor %}
|
|
165
|
+
</ul>
|
|
166
|
+
</div>
|
|
167
|
+
{% if section.settings.arrows %}
|
|
168
|
+
<div class="swiper-{{ section.id}}-arrows swiper-arrows">
|
|
169
|
+
<div id="swiper-{{ section.id}}-next" class="swiper-button-next dt-sc-btn"></div>
|
|
170
|
+
<div id="swiper-{{ section.id}}-prev" class="swiper-button-prev dt-sc-btn"></div>
|
|
171
|
+
</div>
|
|
172
|
+
{% endif %}
|
|
173
|
+
{% if section.settings.dots %}
|
|
174
|
+
<div id="swiper-{{ section.id}}-pagination" class="swiper-pagination"></div>
|
|
175
|
+
{% endif %}
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
{% endif %}
|
|
179
|
+
|
|
180
|
+
</div>
|
|
181
|
+
{% endif %}
|
|
182
|
+
|
|
183
|
+
{% if section.settings.enable_product_block %} </div>{% endif %}
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<script>
|
|
189
|
+
|
|
190
|
+
window.onload = function(){
|
|
191
|
+
|
|
192
|
+
if($(window).width() > 769)
|
|
193
|
+
{
|
|
194
|
+
jQuery(function($) {
|
|
195
|
+
var pop = $('.dt-sc-hotspot-popup');
|
|
196
|
+
pop.click(function(e) {
|
|
197
|
+
e.stopPropagation();
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
$('a.dt-sc-hotspot-marker').click(function(e) {
|
|
201
|
+
e.preventDefault();
|
|
202
|
+
e.stopPropagation();
|
|
203
|
+
$(this).next('.dt-sc-hotspot-popup').toggleClass('dt-sc-popup-open');
|
|
204
|
+
$(this).parent().siblings().children('.dt-sc-hotspot-popup').removeClass('dt-sc-popup-open');
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
$(document).click(function() {
|
|
208
|
+
pop.removeClass('dt-sc-popup-open');
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if($(window).width() < 769) {
|
|
214
|
+
$('.dt-sc-hotspot-popup').addClass('mfp-hide');
|
|
215
|
+
$('.dt-sc-hotspot-marker').each(function() {
|
|
216
|
+
$(this).magnificPopup({
|
|
217
|
+
type: 'inline'
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
</script>
|
|
223
|
+
|
|
224
|
+
<style>
|
|
225
|
+
{% for block in section.blocks %}
|
|
226
|
+
.dt-sc-hotspot-item{{forloop.index}} {
|
|
227
|
+
top: {{ block.settings.top_position }}%;
|
|
228
|
+
left: {{ block.settings.left_position }}%;
|
|
229
|
+
transform: translate(-{{ block.settings.top_position }}%, -{{ block.settings.left_position }}%); }
|
|
230
|
+
{% endfor %}
|
|
231
|
+
|
|
232
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-heading .dt-sc-main-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_heading_color }}; }
|
|
233
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-heading .dt-sc-sub-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_sub_heading_color }}; }
|
|
234
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-heading .dt-sc-heading-description { color: var(--DTColor_Body); color:{{ section.settings.section_description_color }}; }
|
|
235
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-heading .dt-sc-btn {
|
|
236
|
+
background: var(--DT_Button_BG_Color); background:{{ section.settings.section_button_bg_color }};
|
|
237
|
+
color: var(--DT_Button_Text_Color); color:{{ section.settings.section_button_text_color }}; }
|
|
238
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-heading .dt-sc-btn:hover {
|
|
239
|
+
background: var(--DT_Button_BG_Hover_Color); background:{{ section.settings.section_button_hover_bg_color }};
|
|
240
|
+
color: var(--DT_Button_Text_Hover_Color); color:{{ section.settings.section_button_hover_text_color }}; }
|
|
241
|
+
|
|
242
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-overlay:before {
|
|
243
|
+
color: var(--DTTertiaryColor);
|
|
244
|
+
color: {{ section.settings.background_color }};
|
|
245
|
+
background: currentcolor;
|
|
246
|
+
opacity: {{ section.settings.overlay_transparency }}; }
|
|
247
|
+
|
|
248
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot.with-overlay:before {
|
|
249
|
+
|
|
250
|
+
color: var(--DTTertiaryColor);
|
|
251
|
+
color: {{ section.settings.hotspot_overlay_color }};
|
|
252
|
+
background: currentcolor;
|
|
253
|
+
opacity: {{ section.settings.hotspot_overlay_transparency }}; }
|
|
254
|
+
|
|
255
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup,
|
|
256
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .mfp-content .dt-sc-hotspot-popup {
|
|
257
|
+
background: var(--DTTertiaryColor);
|
|
258
|
+
background: {{ section.settings.hotspot_content_bg_color }};
|
|
259
|
+
{% if section.settings.enable_box_shadow %} box-shadow: var(--DTboxShadow); {% endif %} border-radius: var(--DTRadius);
|
|
260
|
+
border-radius: {{ section.settings.border_radius}}px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup.on-right:before {
|
|
264
|
+
color: var(--DTTertiaryColor);
|
|
265
|
+
color: {{ section.settings.hotspot_content_bg_color }};
|
|
266
|
+
border-color: transparent currentcolor transparent transparent;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup.on-left:before {
|
|
270
|
+
color: var(--DTTertiaryColor);
|
|
271
|
+
color: {{ section.settings.hotspot_content_bg_color }};
|
|
272
|
+
border-color: transparent transparent transparent currentcolor; }
|
|
273
|
+
|
|
274
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup.on-bottom:before {
|
|
275
|
+
color: var(--DTTertiaryColor);
|
|
276
|
+
color: {{ section.settings.hotspot_content_bg_color }};
|
|
277
|
+
border-color: transparent transparent currentcolor transparent;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup.on-top:before {
|
|
281
|
+
color: var(--DTTertiaryColor);
|
|
282
|
+
color: {{ section.settings.hotspot_content_bg_color }};
|
|
283
|
+
border-color: currentcolor transparent transparent transparent; }
|
|
284
|
+
|
|
285
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content {
|
|
286
|
+
color: var(--DTPrimaryColor);
|
|
287
|
+
color: {{ section.settings.hotspot_content_description_color }}; }
|
|
288
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content .dt-sc-hotspot-content-title a {
|
|
289
|
+
color: var(--DTLinkColor);
|
|
290
|
+
color: {{ section.settings.hotspot_content_title_color }}; }
|
|
291
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content .dt-sc-hotspot-content-title a:hover {
|
|
292
|
+
color: var(--DTLinkHoverColor);
|
|
293
|
+
color: {{ section.settings.hotspot_content_title_hover_color }}; }
|
|
294
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content a.dt-sc-btn {
|
|
295
|
+
background: var(--DT_Button_BG_Color);
|
|
296
|
+
color: var(--DT_Button_Text_Color);
|
|
297
|
+
background: {{ section.settings.hotspot_content_button_bg_color }};
|
|
298
|
+
color: {{ section.settings.hotspot_content_button_text_color }};
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content a.dt-sc-btn:empty { display: none; }
|
|
302
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-content a.dt-sc-btn:hover {
|
|
303
|
+
background: var(--DT_Button_BG_Hover_Color);
|
|
304
|
+
color: var(--DT_Button_Text_Hover_Color);
|
|
305
|
+
|
|
306
|
+
background: {{ section.settings.hotspot_content_button_bg_hover_color }};
|
|
307
|
+
color: {{ section.settings.hotspot_content_button_text_hover_color }};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item { width: {{ section.settings.hotspot_size }}px; height: {{ section.settings.hotspot_size }}px; }
|
|
311
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-marker,
|
|
312
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-icon span { width: {{ section.settings.hotspot_size }}px;
|
|
313
|
+
height: {{ section.settings.hotspot_size }}px; line-height: {{ section.settings.hotspot_size }}px; font-size: {{ section.settings.hotspot_icon_text_size }}px; }
|
|
314
|
+
|
|
315
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-popup-open + .dt-sc-hotspot-icon span,
|
|
316
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-icon:hover span {
|
|
317
|
+
background: var(--DT_Button_BG_Hover_Color);
|
|
318
|
+
color: var(--DT_Button_Text_Hover_Color);
|
|
319
|
+
background: {{ section.settings.dots_hoverbg_color_1 }};
|
|
320
|
+
color: {{ section.settings.dots_hovercolor_1 }};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-icon span {
|
|
324
|
+
background: var(--DT_Button_BG_Color);
|
|
325
|
+
color: var(--DT_Button_Text_Color);
|
|
326
|
+
background-color: {{ section.settings.dots_bg_color_1 }};
|
|
327
|
+
color: {{ section.settings.dots_color_1 }};
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item .dt-sc-hotspot-icon span:after { width: {{ section.settings.hotspot_size | plus: 4 }}px;
|
|
331
|
+
height: {{ section.settings.hotspot_size | plus: 4 }}px;
|
|
332
|
+
border: {{ section.settings.hotspot_outer_size }}px solid;
|
|
333
|
+
border: {{ section.settings.hotspot_outer_size }}px solid;
|
|
334
|
+
color: var(--DTPrimaryColor);
|
|
335
|
+
color: {{ section.settings.hotspot_outer_color }};
|
|
336
|
+
|
|
337
|
+
margin: -{{ section.settings.hotspot_size | plus: 4 | divided_by: 2 }}px auto auto -{{ section.settings.hotspot_size | plus: 4 | divided_by: 2 }}px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item .dt-sc-hotspot-icon.style-2 span:after { width: {{ section.settings.hotspot_size | plus: 8 }}px;
|
|
341
|
+
border: {{ section.settings.hotspot_outer_size }}px dashed var(--DTPrimaryColor); height: {{ section.settings.hotspot_size | plus: 8 }}px;
|
|
342
|
+
border: {{ section.settings.hotspot_outer_size }}px dashed {{ section.settings.hotspot_outer_color }}; height: {{ section.settings.hotspot_size | plus: 8 }}px;
|
|
343
|
+
margin: -{{ section.settings.hotspot_size | plus: 8 | divided_by: 2 }}px auto auto -{{ section.settings.hotspot_size | plus: 8 | divided_by: 2 }}px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item .dt-sc-hotspot-icon.style-3 span {
|
|
347
|
+
box-shadow: 0 0 0 {{ section.settings.hotspot_outer_size }}px var(--DTPrimaryColor);
|
|
348
|
+
box-shadow: 0 0 0 {{ section.settings.hotspot_outer_size }}px {{ section.settings.hotspot_outer_color }};
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-icon span {
|
|
352
|
+
|
|
353
|
+
background: var(--DT_Button_BG_Hover_Color);
|
|
354
|
+
color: var(--DT_Button_Text_Hover_Color);
|
|
355
|
+
|
|
356
|
+
background: {{ section.settings.dots_hoverbg_color_1 }};
|
|
357
|
+
color: {{ section.settings.dots_hovercolor_1 }};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .grouped-content .additional-block {
|
|
362
|
+
width:calc({{leftColumn}}% - {{ section.settings.grouped_column_gap }}px)
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .grouped-content .main-block {
|
|
366
|
+
{% if section.settings.enable_product_block %}width:{{rightColumn}}% {% endif %}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup { width: {{ section.settings.hotspot_content_size }}px; }
|
|
371
|
+
|
|
372
|
+
@media (max-width: 1540px) {
|
|
373
|
+
|
|
374
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup { width: {{ section.settings.hotspot_content_size_laptop }}px; padding: 1.5em; }
|
|
375
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup .dt-sc-hotspot-content-title { font-size: var(--DTFontSize_H5); }
|
|
376
|
+
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
@media (max-width: 1199px) {
|
|
381
|
+
|
|
382
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup { width: {{ section.settings.hotspot_content_size_tablet }}px; padding: 1.25em; }
|
|
383
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-popup .dt-sc-hotspot-content-title { font-size: var(--DTFontSize_H6); }
|
|
384
|
+
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
@media (max-width: 767px) {
|
|
389
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item {
|
|
390
|
+
width: calc(.75 * {{ section.settings.hotspot_size }}px); height: calc(.75 * {{ section.settings.hotspot_size }}px);
|
|
391
|
+
}
|
|
392
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-marker,
|
|
393
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-icon span { width: 100%; height: 100%;
|
|
394
|
+
font-size: calc(.75* {{ section.settings.hotspot_icon_text_size }}px); }
|
|
395
|
+
|
|
396
|
+
#shopify-section-{{section.id}}.home-hotspot-product-carousel-section .dt-sc-hotspot-item .dt-sc-hotspot-icon span:after {
|
|
397
|
+
width: calc(.65* {{ section.settings.hotspot_size | plus: 4 }}px); height: calc(.65* {{ section.settings.hotspot_size | plus: 4 }}px);
|
|
398
|
+
margin: calc(.65* -{{ section.settings.hotspot_size | plus: 4 | divided_by: 2 }}px) auto auto calc(.65* -{{ section.settings.hotspot_size | plus: 4 | divided_by: 2 }}px);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.mfp-content .dt-sc-hotspot-popup { opacity: 1; visibility: visible; width: 50%; }
|
|
402
|
+
.mfp-content .dt-sc-hotspot-popup[class*="on-"] { left: 0; right: 0; top: auto; bottom: auto; transform: none; margin: 0 auto;
|
|
403
|
+
background: var(--DTTertiaryColor);
|
|
404
|
+
background: {{ section.settings.hotspot_content_bg_color }};
|
|
405
|
+
{% if section.settings.enable_box_shadow %} box-shadow: var(--DTboxShadow); {% endif %} border-radius: var(--DTRadius);
|
|
406
|
+
border-radius: {{ section.settings.border_radius}}px;
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
@media (max-width: 576px) {
|
|
413
|
+
|
|
414
|
+
.mfp-content .dt-sc-hotspot-popup { width: {{ section.settings.hotspot_content_size_mobile }}px; padding: 1.75em; }
|
|
415
|
+
|
|
416
|
+
.dt-sc-hotspot-content-title { font-size: var(--DTFontSize_H5); }
|
|
417
|
+
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* Hotspot */
|
|
421
|
+
|
|
422
|
+
.dt-sc-hotspot { position: relative; max-width: 100%; margin: auto; float: left; margin-bottom: 50px; }
|
|
423
|
+
|
|
424
|
+
.dt-sc-hotspot-heading { position: absolute; height: 100%; width: 100%; left: 0; top: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 30px;
|
|
425
|
+
flex-wrap: wrap; }
|
|
426
|
+
.dt-sc-hotspot-heading *, .dt-sc-hotspot-heading *:not(:only-child) { margin: 0; }
|
|
427
|
+
.dt-sc-hotspot-heading *:not(:last-child) { margin: 0 0 20px 0; }
|
|
428
|
+
|
|
429
|
+
.dt-sc-hotspot-heading.text-center { align-items: center; align-content: flex-start; }
|
|
430
|
+
.dt-sc-hotspot-heading.text-end { align-items: flex-end; align-content: flex-start; }
|
|
431
|
+
.dt-sc-hotspot-heading.top-left { align-items: flex-end; }
|
|
432
|
+
|
|
433
|
+
.dt-sc-hotspot-heading.top-center, .dt-sc-hotspot-heading.center, .dt-sc-hotspot-heading.bottom-center { align-items: center; }
|
|
434
|
+
.dt-sc-hotspot-heading.center { justify-content: center; }
|
|
435
|
+
|
|
436
|
+
.dt-sc-hotspot-heading.top-right, .dt-sc-hotspot-heading.center-right, .dt-sc-hotspot-heading.bottom-right { align-items: flex-end; }
|
|
437
|
+
|
|
438
|
+
.dt-sc-hotspot.with-overlay:before { content: ""; display: block; width: 100%; height: 100%; position: absolute; }
|
|
439
|
+
|
|
440
|
+
.dt-sc-hotspot img.dt-sc-hotspot-image { float: left; width: 100%; }
|
|
441
|
+
|
|
442
|
+
.dt-sc-hotspot-item { position: absolute; }
|
|
443
|
+
.dt-sc-hotspot-item .dt-sc-hotspot-marker { top: auto; left: auto; }
|
|
444
|
+
|
|
445
|
+
.dt-sc-hotspot.numbered, .dt-sc-hotspot.alphabets { counter-reset: dt-sc-hotspot-counter; }
|
|
446
|
+
.dt-sc-hotspot.numbered .dt-sc-hotspot-item, .dt-sc-hotspot.alphabets .dt-sc-hotspot-item { counter-increment: dt-sc-hotspot-counter; }
|
|
447
|
+
.dt-sc-hotspot.numbered .dt-sc-hotspot-item .dt-sc-hotspot-icon span,
|
|
448
|
+
.dt-sc-hotspot.alphabets .dt-sc-hotspot-item .dt-sc-hotspot-icon span { font-family: inherit; transform: none; font-weight: 700; }
|
|
449
|
+
|
|
450
|
+
.dt-sc-hotspot.numbered .dt-sc-hotspot-item .dt-sc-hotspot-icon span:before { content: counter(dt-sc-hotspot-counter, decimal); }
|
|
451
|
+
.dt-sc-hotspot.alphabets .dt-sc-hotspot-item .dt-sc-hotspot-icon span:before { content: counter(dt-sc-hotspot-counter, upper-alpha); }
|
|
452
|
+
|
|
453
|
+
.dt-sc-hotspot-popup { position: absolute; padding: 2em; transition: var(--DTBaseTransition); opacity: 0; visibility: hidden; z-index: 2; }
|
|
454
|
+
|
|
455
|
+
.dt-sc-hotspot-popup:before { content: ""; position: absolute; width: 0; height: 0; border-style: solid; }
|
|
456
|
+
|
|
457
|
+
.dt-sc-hotspot-popup.on-right { left: 48px; top: 50%; transform: translateY(-50%); }
|
|
458
|
+
.dt-sc-hotspot-popup.on-right:before { left: -10px; border-width: 10px 10px 10px 0; top: 50%; transform: translateY(-50%); }
|
|
459
|
+
.dt-sc-hotspot-popup.on-right.dt-sc-popup-open { left: 58px; }
|
|
460
|
+
|
|
461
|
+
.dt-sc-hotspot-popup.on-left { right: 48px; top: 50%; transform: translateY(-50%); }
|
|
462
|
+
.dt-sc-hotspot-popup.on-left:before { right: -10px; border-width: 10px 0 10px 10px; top: 50%; transform: translateY(-50%); }
|
|
463
|
+
.dt-sc-hotspot-popup.on-left.dt-sc-popup-open { right: 58px; }
|
|
464
|
+
|
|
465
|
+
.dt-sc-hotspot-popup.on-bottom { top: 48px; left: 50%; transform: translateX(-50%); }
|
|
466
|
+
.dt-sc-hotspot-popup.on-bottom:before { top: -10px; border-width: 0 10px 10px 10px; left: 50%; transform: translateX(-50%); }
|
|
467
|
+
.dt-sc-hotspot-popup.on-bottom.dt-sc-popup-open { top: 58px; }
|
|
468
|
+
|
|
469
|
+
.dt-sc-hotspot-popup.on-top { bottom: 48px; left: 50%; transform: translateX(-50%); }
|
|
470
|
+
.dt-sc-hotspot-popup.on-top:before { bottom: -10px; border-width: 10px 10px 0 10px; left: 50%; transform: translateX(-50%); }
|
|
471
|
+
.dt-sc-hotspot-popup.on-top.dt-sc-popup-open { bottom: 58px; }
|
|
472
|
+
|
|
473
|
+
.dt-sc-hotspot-content * { display: inline-block; }
|
|
474
|
+
.dt-sc-hotspot-content *, .dt-sc-hotspot-content *:not(:only-child) { margin: 0; }
|
|
475
|
+
.dt-sc-hotspot-content *:not(:last-child) { margin: 0 0 15px 0; }
|
|
476
|
+
.dt-sc-hotspot-content *:not(.dt-sc-btn) { width: 100%; }
|
|
477
|
+
|
|
478
|
+
.dt-sc-hotspot-popup.dt-sc-popup-open { opacity: 1; visibility: visible; }
|
|
479
|
+
|
|
480
|
+
.dt-sc-hotspot-marker, .dt-sc-hotspot-icon span { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; }
|
|
481
|
+
.dt-sc-hotspot-icon { height: 100%; }
|
|
482
|
+
.dt-sc-hotspot-icon span { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; border-radius: 50%; transition: var(--DTBaseTransition); }
|
|
483
|
+
|
|
484
|
+
.dt-sc-hotspot.simple-round .dt-sc-hotspot-icon span:before { display: none; }
|
|
485
|
+
|
|
486
|
+
.dt-sc-popup-open + .dt-sc-hotspot-icon span[class*="fa-plus"],
|
|
487
|
+
.dt-sc-hotspot-icon:hover span[class*="fa-plus"] { transform: rotate(45deg); }
|
|
488
|
+
|
|
489
|
+
.dt-sc-hotspot-item .dt-sc-hotspot-icon span:after { display: block; position: absolute; top: 50%; left: 50%; border-radius: 50%; opacity: 0;transform-origin: 50% 50%;
|
|
490
|
+
-webkit-animation: pulsate-animation 3s ease-out infinite; animation: pulsate-animation 3s ease-out infinite; content: ""; transition: var(--DTBaseTransition);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.dt-sc-hotspot-item .dt-sc-hotspot-icon.style-2 span:after { opacity: 1; -webkit-animation: rotate-animation 10s ease-out infinite;
|
|
494
|
+
animation: rotate-animation 10s ease-out infinite; }
|
|
495
|
+
|
|
496
|
+
.dt-sc-hotspot-item .dt-sc-hotspot-icon.style-3 span:after,
|
|
497
|
+
.dt-sc-hotspot-item .dt-sc-hotspot-icon.style-4 span:after { display: none; }
|
|
498
|
+
|
|
499
|
+
.dt-sc-hotspot-item:hover .dt-sc-hotspot-icon span:after, .dt-sc-popup-open + .dt-sc-hotspot-icon span:after,
|
|
500
|
+
.dt-sc-hotspot-item:hover .dt-sc-hotspot-icon.style-2 span:after, .dt-sc-popup-open + .dt-sc-hotspot-icon.style-2 span:after {
|
|
501
|
+
animation-play-state: paused; -webkit-animation-play-state: paused; }
|
|
502
|
+
|
|
503
|
+
/* Animation */
|
|
504
|
+
|
|
505
|
+
@keyframes pulsate-animation {
|
|
506
|
+
0% { transform: scale(1); opacity: 0.8; }
|
|
507
|
+
45% { transform: scale(1.75); opacity: 0; border-width: {{ section.settings.hotspot_outer_size | times: 5 }}; }
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
@keyframes rotate-animation {
|
|
511
|
+
from { transform: rotate(0); }
|
|
512
|
+
to { transform: rotate(360deg); }
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-right { left: 58px; }
|
|
516
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-left { right: 58px; }
|
|
517
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-bottom { top: 58px; }
|
|
518
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-top { bottom: 58px; }
|
|
519
|
+
|
|
520
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-popup { opacity: 1; visibility: visible; }
|
|
521
|
+
|
|
522
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-right { left: 48px; }
|
|
523
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-left { right: 48px; }
|
|
524
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-bottom { top: 48px; }
|
|
525
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item .dt-sc-hotspot-popup.on-top { bottom: 48px; }
|
|
526
|
+
|
|
527
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-popup.on-right { left: 58px; }
|
|
528
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-popup.on-left { right: 58px; }
|
|
529
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-popup.on-bottom { top: 58px; }
|
|
530
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-popup.on-top { bottom: 58px; }
|
|
531
|
+
|
|
532
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item:hover .dt-sc-hotspot-popup { opacity: 1; visibility: visible; }
|
|
533
|
+
.dt-sc-hotspot.style-3.icon .dt-sc-hotspot-item:hover .dt-sc-hotspot-icon span[class*="fa-plus"] { transform: rotate(45deg); }
|
|
534
|
+
|
|
535
|
+
.dt-sc-hotspot.style-2 .dt-sc-hotspot-item .dt-sc-hotspot-marker, .dt-sc-hotspot.style-2 .dt-sc-hotspot-icon,
|
|
536
|
+
.dt-sc-hotspot.style-3 .dt-sc-hotspot-item .dt-sc-hotspot-marker, .dt-sc-hotspot.style-3 .dt-sc-hotspot-icon { pointer-events: none; }
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</style>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
{% schema %}
|
|
544
|
+
{
|
|
545
|
+
"name": "Hotspots + Carousel",
|
|
546
|
+
"class": "index-section home-hotspot-product-carousel-section",
|
|
547
|
+
"settings": [
|
|
548
|
+
{
|
|
549
|
+
"type": "checkbox",
|
|
550
|
+
"id": "full",
|
|
551
|
+
"label": "Show Full width"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"type": "checkbox",
|
|
555
|
+
"id": "spacing_both_ends",
|
|
556
|
+
"label": "Enable Right & Left Spacing (Works only on Fullwidth)",
|
|
557
|
+
"default": false
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"type": "text",
|
|
561
|
+
"id": "padding",
|
|
562
|
+
"label": "Style value (Padding)",
|
|
563
|
+
"default":"0,0",
|
|
564
|
+
"info":"Top(px),Bottom(px)"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"type": "text",
|
|
568
|
+
"id": "margin",
|
|
569
|
+
"label": "Style value (Margin)",
|
|
570
|
+
"default":"0,0",
|
|
571
|
+
"info":"Top(px),Bottom(px)"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"type": "checkbox",
|
|
575
|
+
"id": "show_background_image",
|
|
576
|
+
"label": "Enable Background image"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "image_picker",
|
|
580
|
+
"id": "background_image",
|
|
581
|
+
"label": "Background image",
|
|
582
|
+
"info": "Size: 1920x1280"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": "select",
|
|
586
|
+
"id": "background_style",
|
|
587
|
+
"label": "Background Style",
|
|
588
|
+
"default": "default",
|
|
589
|
+
"options": [
|
|
590
|
+
{
|
|
591
|
+
"value": "default",
|
|
592
|
+
"label": "Default"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"value": "parallax",
|
|
596
|
+
"label": "Parallax"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"value": "fixed",
|
|
600
|
+
"label": "Fixed"
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"type": "checkbox",
|
|
606
|
+
"id": "enable_overlay",
|
|
607
|
+
"label": "Enable Background Color (Used as Background Image Overlay Color too)"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"type": "color",
|
|
611
|
+
"id": "background_color",
|
|
612
|
+
"label":"Background color"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"type": "text",
|
|
616
|
+
"id": "overlay_transparency",
|
|
617
|
+
"label": "Overlay Transparency (0.01 to 1)",
|
|
618
|
+
"default": "0.5"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"type": "text",
|
|
622
|
+
"id": "section_heading",
|
|
623
|
+
"label": "Main Heading",
|
|
624
|
+
"default": "Hotspot - Style1 (Tooltip On Click)"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"type": "text",
|
|
628
|
+
"id": "section_sub_heading",
|
|
629
|
+
"label": "Sub Heading",
|
|
630
|
+
"default": "Sub Heading"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "text",
|
|
634
|
+
"id": "section_description",
|
|
635
|
+
"label": "Description",
|
|
636
|
+
"default": "Use this text to share the information which you like!."
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"type": "text",
|
|
640
|
+
"id": "section_button_text",
|
|
641
|
+
"label": "Link text"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"type": "url",
|
|
645
|
+
"id": "section_button_link",
|
|
646
|
+
"label": "Link URL"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"type": "header",
|
|
650
|
+
"content": "Section Color settings"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"type": "color",
|
|
654
|
+
"id": "section_heading_color",
|
|
655
|
+
"label": "Heading color"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"type": "color",
|
|
659
|
+
"id": "section_sub_heading_color",
|
|
660
|
+
"label": "Sub heading color"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"type": "color",
|
|
664
|
+
"id": "section_description_color",
|
|
665
|
+
"label": "Description color"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"type": "color",
|
|
669
|
+
"id": "section_button_bg_color",
|
|
670
|
+
"label": "Button bg color"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"type": "color",
|
|
674
|
+
"id": "section_button_text_color",
|
|
675
|
+
"label": "Button text color"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"type": "color",
|
|
679
|
+
"id": "section_button_hover_bg_color",
|
|
680
|
+
"label": "Button hover bg color"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"type": "color",
|
|
684
|
+
"id": "section_button_hover_text_color",
|
|
685
|
+
"label": "Button hover text color"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"type": "select",
|
|
689
|
+
"id": "heading_position",
|
|
690
|
+
"label": "Heading Position",
|
|
691
|
+
"options": [
|
|
692
|
+
{
|
|
693
|
+
"value": "text-center",
|
|
694
|
+
"label": "Center"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"value": "text-start",
|
|
698
|
+
"label": "Left"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"value": "text-end",
|
|
702
|
+
"label": "right"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"type": "header",
|
|
708
|
+
"content": "Hotspot settings",
|
|
709
|
+
"info": "Add the Blocks from the top of this section"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"type": "image_picker",
|
|
713
|
+
"id": "spot_image",
|
|
714
|
+
"label": "Hotspot image",
|
|
715
|
+
"info": "Size: 1920x1280"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"type": "checkbox",
|
|
719
|
+
"id": "hotspot_overlay",
|
|
720
|
+
"label": "Enable Hotspot Overlay"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"type": "color",
|
|
724
|
+
"id": "hotspot_overlay_color",
|
|
725
|
+
"label":"Hotspot Overlay color"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"type": "text",
|
|
729
|
+
"id": "hotspot_overlay_transparency",
|
|
730
|
+
"label": "Overlay Transparency (0.01 to 1)",
|
|
731
|
+
"default": "0.5"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"type": "select",
|
|
735
|
+
"id": "hotspot_tooltip_style",
|
|
736
|
+
"label": "Hotspot Tooltip Style",
|
|
737
|
+
"options": [
|
|
738
|
+
{
|
|
739
|
+
"value": "style-1",
|
|
740
|
+
"label": "Style 1 (Displayed on Icon Click)"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"value": "style-2",
|
|
744
|
+
"label": "Style 2 (Displayed by Default)"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"value": "style-3",
|
|
748
|
+
"label": "Style 3 (Displayed on Icon Hover)"
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"type": "select",
|
|
754
|
+
"id": "hotspot_style",
|
|
755
|
+
"label": "Hotspot Outer Style",
|
|
756
|
+
"options": [
|
|
757
|
+
{
|
|
758
|
+
"value": "style-1",
|
|
759
|
+
"label": "Ripple"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"value": "style-2",
|
|
763
|
+
"label": "Spin"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"value": "style-3",
|
|
767
|
+
"label": "Fixed Border"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"value": "style-4",
|
|
771
|
+
"label": "Blank"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"type" : "color",
|
|
777
|
+
"id" : "dots_color_1",
|
|
778
|
+
"label" : "Hotspot Icon/Text Color"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"type" : "color",
|
|
782
|
+
"id" : "dots_bg_color_1",
|
|
783
|
+
"label" : "Hotspot Icon/Text Background color"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"type" : "color",
|
|
787
|
+
"id" : "dots_hovercolor_1",
|
|
788
|
+
"label" : "Hotspot Icon/Text Hover Color"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"type" : "color",
|
|
792
|
+
"id" : "dots_hoverbg_color_1",
|
|
793
|
+
"label" : "Hotspot Icon/Text Hover Background color"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"type" : "color",
|
|
797
|
+
"id" : "hotspot_outer_color",
|
|
798
|
+
"label" : "Hotspot Outer color"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"type": "radio",
|
|
802
|
+
"id": "icon_format",
|
|
803
|
+
"label": "Hotspot format",
|
|
804
|
+
"options": [
|
|
805
|
+
{
|
|
806
|
+
"value": "numbered",
|
|
807
|
+
"label": "Numbered"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"value": "alphabets",
|
|
811
|
+
"label": "Alphabet"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"value": "simple-round",
|
|
815
|
+
"label": "Simple"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"value": "icon",
|
|
819
|
+
"label": "Icon"
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"default": "numbered"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "text",
|
|
826
|
+
"id": "icon",
|
|
827
|
+
"label": "Icon class (Select Icon Option above for viewing the icon)",
|
|
828
|
+
"default":"fa fa-plus"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"type": "checkbox",
|
|
832
|
+
"id": "enable_box_shadow",
|
|
833
|
+
"label": "Enable Box Shadow",
|
|
834
|
+
"default": false
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"type": "text",
|
|
838
|
+
"id": "border_radius",
|
|
839
|
+
"label": "Hotspot Border Radius(Leave empty for Theme Default Border Radius)",
|
|
840
|
+
"default":"0",
|
|
841
|
+
"info": "Units not needed"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"type": "header",
|
|
845
|
+
"content": "Hotspot Font Size Settings"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"type": "range",
|
|
849
|
+
"id": "hotspot_icon_text_size",
|
|
850
|
+
"label": "Hotspot Icon/Text Size",
|
|
851
|
+
"min": 12,
|
|
852
|
+
"max": 24,
|
|
853
|
+
"step": 1,
|
|
854
|
+
"default": 16,
|
|
855
|
+
"unit": "px"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"type": "range",
|
|
859
|
+
"id": "hotspot_size",
|
|
860
|
+
"label": "Hotspot Icon/Text Circle Size",
|
|
861
|
+
"min": 25,
|
|
862
|
+
"max": 50,
|
|
863
|
+
"step": 1,
|
|
864
|
+
"default": 36,
|
|
865
|
+
"unit": "px"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"type": "range",
|
|
869
|
+
"id": "hotspot_outer_size",
|
|
870
|
+
"label": "Hotspot Icon/Text Outer Circle Size",
|
|
871
|
+
"min": 1,
|
|
872
|
+
"max": 20,
|
|
873
|
+
"step": 1,
|
|
874
|
+
"default": 2,
|
|
875
|
+
"unit": "px"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"type": "header",
|
|
879
|
+
"content": "Hotspot Content Size Settings"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"type": "range",
|
|
883
|
+
"id": "hotspot_content_size",
|
|
884
|
+
"label": "Hotspot Content Size",
|
|
885
|
+
"min": 200,
|
|
886
|
+
"max": 400,
|
|
887
|
+
"step": 5,
|
|
888
|
+
"default": 300,
|
|
889
|
+
"unit": "px"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"type": "range",
|
|
893
|
+
"id": "hotspot_content_size_laptop",
|
|
894
|
+
"label": "Hotspot Content Size - Laptop (Small Screen)",
|
|
895
|
+
"min": 200,
|
|
896
|
+
"max": 400,
|
|
897
|
+
"step": 5,
|
|
898
|
+
"default": 300,
|
|
899
|
+
"unit": "px"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "range",
|
|
903
|
+
"id": "hotspot_content_size_tablet",
|
|
904
|
+
"label": "Hotspot Content Size - Tablet",
|
|
905
|
+
"min": 200,
|
|
906
|
+
"max": 400,
|
|
907
|
+
"step": 5,
|
|
908
|
+
"default": 275,
|
|
909
|
+
"unit": "px"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"type": "range",
|
|
913
|
+
"id": "hotspot_content_size_mobile",
|
|
914
|
+
"label": "Hotspot Content Size - Mobile",
|
|
915
|
+
"min": 200,
|
|
916
|
+
"max": 400,
|
|
917
|
+
"step": 5,
|
|
918
|
+
"default": 250,
|
|
919
|
+
"unit": "px"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"type": "header",
|
|
923
|
+
"content": "Hotspot Content Color Settings"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"type" : "color",
|
|
927
|
+
"id" : "hotspot_content_bg_color",
|
|
928
|
+
"label" : "Hotspot Content Bg color"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"type" : "color",
|
|
932
|
+
"id" : "hotspot_content_title_color",
|
|
933
|
+
"label" : "Hotspot Content Title color"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"type" : "color",
|
|
937
|
+
"id" : "hotspot_content_title_hover_color",
|
|
938
|
+
"label" : "Hotspot Content Title Hover color"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"type" : "color",
|
|
942
|
+
"id" : "hotspot_content_description_color",
|
|
943
|
+
"label" : "Hotspot Content Description color"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"type" : "color",
|
|
947
|
+
"id" : "hotspot_content_button_bg_color",
|
|
948
|
+
"label" : "Hotspot Content Button Bg color"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"type" : "color",
|
|
952
|
+
"id" : "hotspot_content_button_text_color",
|
|
953
|
+
"label" : "Hotspot Content Button text color"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type" : "color",
|
|
957
|
+
"id" : "hotspot_content_button_bg_hover_color",
|
|
958
|
+
"label" : "Hotspot Content Button hover Bg color"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"type" : "color",
|
|
962
|
+
"id" : "hotspot_content_button_text_hover_color",
|
|
963
|
+
"label" : "Hotspot Content Button hover text color"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"type": "header",
|
|
967
|
+
"content": "Product Carousel/Grid Settings"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"type": "checkbox",
|
|
971
|
+
"id": "enable_product_block",
|
|
972
|
+
"label": "Enable Product Section",
|
|
973
|
+
"default": true
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"type": "text",
|
|
977
|
+
"id": "content_width",
|
|
978
|
+
"label": "Desktop",
|
|
979
|
+
"default":"30/70"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"type": "text",
|
|
983
|
+
"id": "grouped_column_gap",
|
|
984
|
+
"label": "Grouped Content Column Gap",
|
|
985
|
+
"default":"30",
|
|
986
|
+
"info": "Units not needed"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"type": "color",
|
|
990
|
+
"id": "main_block_background_color",
|
|
991
|
+
"label": "Main Content BG color"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"type": "checkbox",
|
|
995
|
+
"id": "enable_main_block_box_shadow",
|
|
996
|
+
"label": "Main Content Box Shadow",
|
|
997
|
+
"default": false
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"type": "text",
|
|
1001
|
+
"id": "main_block_border_radius",
|
|
1002
|
+
"label": "Main Content Radius (Leave empty for Theme Default Radius)",
|
|
1003
|
+
"default":"0",
|
|
1004
|
+
"info": "Units not needed"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"type": "text",
|
|
1008
|
+
"id": "main_content_padding",
|
|
1009
|
+
"label": "Main Content Overall Padding (unit's not needed)",
|
|
1010
|
+
"default":"0",
|
|
1011
|
+
"info": "========================"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"id": "collection",
|
|
1015
|
+
"type": "collection",
|
|
1016
|
+
"label": "Collection"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"type": "text",
|
|
1020
|
+
"id": "column_gap",
|
|
1021
|
+
"label": "Collection Column Gap (unit's not needed)",
|
|
1022
|
+
"default":"30"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"type": "checkbox",
|
|
1026
|
+
"id": "enable_list_view",
|
|
1027
|
+
"label": "Enable List view for Main Content",
|
|
1028
|
+
"default": false
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"type": "select",
|
|
1032
|
+
"id": "grid",
|
|
1033
|
+
"label": "Item per row",
|
|
1034
|
+
"default": "2",
|
|
1035
|
+
"info": "For better results: Maximum of 2 Items, if List View is enabled",
|
|
1036
|
+
"options": [
|
|
1037
|
+
{
|
|
1038
|
+
"value": "1",
|
|
1039
|
+
"label": "1"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"value": "2",
|
|
1043
|
+
"label": "2"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"value": "3",
|
|
1047
|
+
"label": "3"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"value": "4",
|
|
1051
|
+
"label": "4"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"value": "5",
|
|
1055
|
+
"label": "5"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"value": "6",
|
|
1059
|
+
"label": "6"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"type": "range",
|
|
1065
|
+
"id": "post_limit",
|
|
1066
|
+
"label": "Number of products to display (Won't work if carousel is enabled)",
|
|
1067
|
+
"min": 1,
|
|
1068
|
+
"max": 12,
|
|
1069
|
+
"step": 1,
|
|
1070
|
+
"default": 2,
|
|
1071
|
+
"info": "========================"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"type": "checkbox",
|
|
1075
|
+
"id": "enable_slider",
|
|
1076
|
+
"label": "Enable Carousel",
|
|
1077
|
+
"default": false
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"type": "range",
|
|
1081
|
+
"id": "items_per_view",
|
|
1082
|
+
"label": "Slide per row",
|
|
1083
|
+
"min": 1,
|
|
1084
|
+
"max": 5,
|
|
1085
|
+
"step": 1,
|
|
1086
|
+
"default": 4,
|
|
1087
|
+
"info": "Maximum of 2 Slides, if List View is enabled"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"type": "range",
|
|
1091
|
+
"id": "rows",
|
|
1092
|
+
"label": "Number of Rows",
|
|
1093
|
+
"min": 1,
|
|
1094
|
+
"max": 3,
|
|
1095
|
+
"step": 1,
|
|
1096
|
+
"default": 3
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"type": "range",
|
|
1100
|
+
"id": "slider_autoplay",
|
|
1101
|
+
"min": 0,
|
|
1102
|
+
"max": 7,
|
|
1103
|
+
"step": 1,
|
|
1104
|
+
"label": "Autoplay timing",
|
|
1105
|
+
"default": 0,
|
|
1106
|
+
"unit": "sec",
|
|
1107
|
+
"info": "Use 0 to stop auto rotate"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"type": "checkbox",
|
|
1111
|
+
"id": "enable_auto_height",
|
|
1112
|
+
"label": "Enable Auto Height",
|
|
1113
|
+
"default": false
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"type": "checkbox",
|
|
1117
|
+
"id": "dots",
|
|
1118
|
+
"label": "Enable Carousel Pagination",
|
|
1119
|
+
"default": false
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"type": "select",
|
|
1123
|
+
"id": "carousel_pagination_alignment",
|
|
1124
|
+
"label": "Carousel Pagination Alignment (Only Bottom)",
|
|
1125
|
+
"options": [
|
|
1126
|
+
{
|
|
1127
|
+
"value": "left_pagination",
|
|
1128
|
+
"label": "Left Aligned"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"value": "center_pagination",
|
|
1132
|
+
"label": "Center Aligned"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"value": "right_pagination",
|
|
1136
|
+
"label": "Right Aligned"
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"default": "center_pagination"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"type": "select",
|
|
1143
|
+
"id": "carousel_pagination_bottom_alignment",
|
|
1144
|
+
"label": "Carousel Pagination Bottom Alignment (Inside/Outside the Element)",
|
|
1145
|
+
"options": [
|
|
1146
|
+
{
|
|
1147
|
+
"value": "inside_element",
|
|
1148
|
+
"label": "Inside the Element"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"value": "outside_element",
|
|
1152
|
+
"label": "Outside the Element"
|
|
1153
|
+
}
|
|
1154
|
+
],
|
|
1155
|
+
"default": "outside_element"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"type": "checkbox",
|
|
1159
|
+
"id": "arrows",
|
|
1160
|
+
"label": "Enable Navigation Arrows",
|
|
1161
|
+
"default": false
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"type": "select",
|
|
1165
|
+
"id": "nav_arrow_position",
|
|
1166
|
+
"label": "Navigation Arrows position",
|
|
1167
|
+
"options": [
|
|
1168
|
+
{
|
|
1169
|
+
"value": "navigation-top-left",
|
|
1170
|
+
"label": "Top Left"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"value": "navigation-top-center",
|
|
1174
|
+
"label": "Top Center"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"value": "navigation-top-right",
|
|
1178
|
+
"label": "Top Right"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"value": "center-navigation",
|
|
1182
|
+
"label": "Center"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"value": "navigation-bottom-left",
|
|
1186
|
+
"label": "Bottom left"
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"value": "navigation-bottom-center",
|
|
1190
|
+
"label": "Bottom center"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"value": "navigation-bottom-right",
|
|
1194
|
+
"label": "Bottom right"
|
|
1195
|
+
}
|
|
1196
|
+
],
|
|
1197
|
+
"default": "navigation-top-right"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"type": "select",
|
|
1201
|
+
"id": "center_nav_arrow_alignment",
|
|
1202
|
+
"label": "Center navigation alignment (Select 'Center', in the above dropdown)",
|
|
1203
|
+
"options": [
|
|
1204
|
+
{
|
|
1205
|
+
"value": "outside_container",
|
|
1206
|
+
"label": "Outside Container (not for Full width Section)"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"value": "along_with_container",
|
|
1210
|
+
"label": "Along with Container"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"value": "inside_container",
|
|
1214
|
+
"label": "Inside Container"
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
1217
|
+
"default": "inside_container"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"type": "color",
|
|
1221
|
+
"id": "navigation_button_color",
|
|
1222
|
+
"label": "Navigation Button BG Color"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"type": "color",
|
|
1226
|
+
"id": "navigation_button_icon_color",
|
|
1227
|
+
"label": "Navigation Button Icon Color"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"type": "color",
|
|
1231
|
+
"id": "navigation_button_hover_color",
|
|
1232
|
+
"label": "Navigation Button Hover BG Color"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"type": "color",
|
|
1236
|
+
"id": "navigation_button_hover_icon_color",
|
|
1237
|
+
"label": "Navigation Button Hover Icon Color"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"type": "color",
|
|
1241
|
+
"id": "navigation_dot_color",
|
|
1242
|
+
"label": "Navigation Dot Color"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"type": "color",
|
|
1246
|
+
"id": "navigation_dot_active_color",
|
|
1247
|
+
"label": "Navigation Dot Active Color"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"type": "header",
|
|
1251
|
+
"content": "Custom class"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"type": "text",
|
|
1255
|
+
"id": "custom_class_name",
|
|
1256
|
+
"label": "Add your custom class name here"
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"blocks" : [
|
|
1260
|
+
{
|
|
1261
|
+
"type": "product",
|
|
1262
|
+
"name": "Product",
|
|
1263
|
+
"settings":[
|
|
1264
|
+
{
|
|
1265
|
+
"type" : "product",
|
|
1266
|
+
"id" : "product",
|
|
1267
|
+
"label" : "Select Product"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"type" : "text",
|
|
1271
|
+
"id" : "top_position",
|
|
1272
|
+
"label" : "Top Position (in %)",
|
|
1273
|
+
"default" : "50"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"type" : "text",
|
|
1277
|
+
"id" : "left_position",
|
|
1278
|
+
"label" : "Left Position (in %)",
|
|
1279
|
+
"default" : "50"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"type": "text",
|
|
1283
|
+
"id": "link_text",
|
|
1284
|
+
"label": "Button label",
|
|
1285
|
+
"default":"Shop Now"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"type": "select",
|
|
1289
|
+
"id": "text_position",
|
|
1290
|
+
"label": "Tooltip Position",
|
|
1291
|
+
"default": "on-right",
|
|
1292
|
+
"options": [
|
|
1293
|
+
{
|
|
1294
|
+
"value": "on-top",
|
|
1295
|
+
"label": "Top"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"value": "on-right",
|
|
1299
|
+
"label": "Right"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"value": "on-left",
|
|
1303
|
+
"label": "Left"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"value": "on-bottom",
|
|
1307
|
+
"label": "Bottom"
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"type": "select",
|
|
1313
|
+
"id": "content_alignment",
|
|
1314
|
+
"label": "Tooltip Content alignment",
|
|
1315
|
+
"default": "text-start",
|
|
1316
|
+
"options": [
|
|
1317
|
+
{
|
|
1318
|
+
"value": "text-center",
|
|
1319
|
+
"label": "Center"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"value": "text-start",
|
|
1323
|
+
"label": "Left"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"value": "text-end",
|
|
1327
|
+
"label": "right"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
}
|
|
1331
|
+
]
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"type": "content",
|
|
1335
|
+
"name": "Content",
|
|
1336
|
+
"settings":[
|
|
1337
|
+
{
|
|
1338
|
+
"type" : "text",
|
|
1339
|
+
"id" : "title",
|
|
1340
|
+
"label" : "Title",
|
|
1341
|
+
"default" : "Title"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"type" : "textarea",
|
|
1345
|
+
"id" : "text",
|
|
1346
|
+
"label" : "Text"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"type": "text",
|
|
1350
|
+
"id": "link_text",
|
|
1351
|
+
"label": "Button label",
|
|
1352
|
+
"default":"Shop Now"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"type" : "url",
|
|
1356
|
+
"id" : "link",
|
|
1357
|
+
"label" : "Link"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"type" : "text",
|
|
1361
|
+
"id" : "top_position",
|
|
1362
|
+
"label" : "Top Position (in %)",
|
|
1363
|
+
"default" : "50"
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"type" : "text",
|
|
1367
|
+
"id" : "left_position",
|
|
1368
|
+
"label" : "Left Position (in %)",
|
|
1369
|
+
"default" : "50"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"type": "select",
|
|
1373
|
+
"id": "text_position",
|
|
1374
|
+
"label": "Content Position",
|
|
1375
|
+
"default": "on-right",
|
|
1376
|
+
"options": [
|
|
1377
|
+
{
|
|
1378
|
+
"value": "on-top",
|
|
1379
|
+
"label": "Top"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"value": "on-right",
|
|
1383
|
+
"label": "Right"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"value": "on-left",
|
|
1387
|
+
"label": "Left"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"value": "on-bottom",
|
|
1391
|
+
"label": "Bottom"
|
|
1392
|
+
}
|
|
1393
|
+
]
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"type": "select",
|
|
1397
|
+
"id": "content_alignment",
|
|
1398
|
+
"label": "Content alignment",
|
|
1399
|
+
"default": "text-start",
|
|
1400
|
+
"options": [
|
|
1401
|
+
{
|
|
1402
|
+
"value": "text-center",
|
|
1403
|
+
"label": "Center"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"value": "text-start",
|
|
1407
|
+
"label": "Left"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"value": "text-end",
|
|
1411
|
+
"label": "right"
|
|
1412
|
+
}
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
]
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"presets": [
|
|
1419
|
+
{
|
|
1420
|
+
"name": "Hotspots + Carousel",
|
|
1421
|
+
"category": "Advanced"
|
|
1422
|
+
}
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
{% endschema %}
|