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,395 @@
|
|
|
1
|
+
{% if section.settings.display_top_adv_bar %}
|
|
2
|
+
<div class="notification_bar header-top {% if section.settings.display_top_adv_bar_mobile %} medium-down--hide {% endif %}" style="{% if section.settings.notification_bar_bg_img != blank %}background-image:url('{{ section.settings.notification_bar_bg_img | img_url:'1920x' }}');background-repeat:no-repeat;background-size:cover;background-position:center;{% else %}background-color:{{ section.settings.notification_bar_bg }};{% endif %}">
|
|
3
|
+
<div class="top-text-container ">
|
|
4
|
+
<div class="container">
|
|
5
|
+
|
|
6
|
+
<div class="promo_section">
|
|
7
|
+
{% if section.settings.notification_discount != blank or section.settings.notification_discount_txt != blank or section.settings.notification_text != blank %}
|
|
8
|
+
<div class="notification_text">
|
|
9
|
+
{% if section.settings.notification_discount != blank %} <h2 style="color:{{ section.settings.notification_discount_clr }}">{{ section.settings.notification_discount }} </h2>{% endif %}
|
|
10
|
+
<div class="notify_discount">
|
|
11
|
+
{% if section.settings.notification_discount_txt != blank %} <p style="color:{{ section.settings.notification_discount_text_clr }}">{{ section.settings.notification_discount_txt }} </p>{% endif %}
|
|
12
|
+
{% if section.settings.notification_text != blank %} <h4 style="color:{{ section.settings.notification_text_clr }}">{{ section.settings.notification_text }}</h4>{% endif %}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
{% endif %}
|
|
16
|
+
{% if section.settings.notification_promo_txt != blank or section.settings.notification_promo_code != blank %}
|
|
17
|
+
<div class="notification_promo_code">
|
|
18
|
+
<p style="color:{{ section.settings.notification_promo_txt_clr }}">{{ section.settings.notification_promo_txt }} </p>
|
|
19
|
+
<h6 style="color:{{ section.settings.notification_promo_code_clr }}">{{ section.settings.notification_promo_code }} </h6>
|
|
20
|
+
</div>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{% if section.settings.notification_linktxt != blank %} <div class="notification_promobtn"> <a class="btn" href="{{section.settings.header_notification_link }}">{{ section.settings.notification_linktxt }}</a> </div> {% endif %}
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
<a href="javascript:void(0)" class="close"><i class="zmdi zmdi-close"></i></a>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{% if section.settings.display_top_bar %}
|
|
36
|
+
|
|
37
|
+
<div class="top_bar top-bar-type-10">
|
|
38
|
+
<div class="container">
|
|
39
|
+
{% if section.settings.header_phone_value != blank or section.settings.header_mail_value != blank %}
|
|
40
|
+
<ul class="top_bar_left">
|
|
41
|
+
{% if section.settings.header_phone_value != blank %}
|
|
42
|
+
<li><i class="fa fa-phone"></i> {{ section.settings.header_phone_value }}</li>
|
|
43
|
+
{% endif %}
|
|
44
|
+
{% if section.settings.header_mail_value != blank %}
|
|
45
|
+
<li><i class="fa fa-envelope"></i> <a href="mailto:{{ section.settings.header_mail_value }}"> {{ section.settings.header_mail_value }}</a></li>
|
|
46
|
+
{% endif %}
|
|
47
|
+
</ul>
|
|
48
|
+
{% endif %}
|
|
49
|
+
|
|
50
|
+
{% if section.settings.store_location != blank or section.settings.track_your_order != blank or settings.display_currency %}
|
|
51
|
+
<ul class="top_bar_right">
|
|
52
|
+
{% if section.settings.store_location != blank %}
|
|
53
|
+
<li> <a href="{{ section.settings.store_location_link }}"> {{ section.settings.store_location }}</a></li>
|
|
54
|
+
{% endif %}
|
|
55
|
+
{% if section.settings.track_your_order != blank %}
|
|
56
|
+
<li><a href="{{ section.settings.track_your_order_link }}"> {{ section.settings.track_your_order }}</a></li>
|
|
57
|
+
{% endif %}
|
|
58
|
+
{% if settings.display_currency %}
|
|
59
|
+
<li class="header_currency">
|
|
60
|
+
<ul class="tbl-list">
|
|
61
|
+
<li class="currency dropdown-parent uppercase currency-block">
|
|
62
|
+
{% include 'currencies-switcher' %}
|
|
63
|
+
</li>
|
|
64
|
+
</ul>
|
|
65
|
+
</li>
|
|
66
|
+
{% endif %}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
</ul>
|
|
70
|
+
{% endif %}
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
{% endif %}
|
|
74
|
+
|
|
75
|
+
<style>
|
|
76
|
+
/* Top block */
|
|
77
|
+
.header-type-11 .top_bar { background: {{ section.settings.top_bar_bg }}; }
|
|
78
|
+
.header-type-11 .top_bar li { color:{{section.settings.top_bar_text}};}
|
|
79
|
+
.header-type-11 .top_bar a,.header-type-10 .top_bar button { color:{{section.settings.top_bar_links }};}
|
|
80
|
+
.header-type-11 .top_bar a:hover, .header-type-10 .top_bar a:hover span,.header-type-10 .top_bar button:hover,.header-type-10 li.init.dt-sc-toggle:hover { color:{{section.settings.top_bar_link_hover }};}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
.header-type-11 .header-top a.close { background: {{ section.settings.stripe_icon }};color: {{ section.settings.stripe_icon_color }}; }
|
|
84
|
+
.header-type-11 .header-top a.close:hover { background: {{ section.settings.stripe_icon_hover }};;color: {{ section.settings.stripe_icon_hover_color }}; }
|
|
85
|
+
.header-type-11 .header-top { background: {{ section.settings.stripe_bg }}; }
|
|
86
|
+
.header-type-11 .header-top ul li { color: {{ section.settings.stripe_text }}; }
|
|
87
|
+
|
|
88
|
+
.notification_promobtn .btn {background:{{section.settings.top_bar_btn_bg}};color:{{section.settings.top_bar_btn_txt}};border:none;}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
.notification_promobtn .btn:hover {background:{{section.settings.top_bar_btn_hoverbg}};color:{{section.settings.top_bar_btn_hovertxt}};}
|
|
92
|
+
/* Currency block */
|
|
93
|
+
|
|
94
|
+
.header-type-11 .header_currency ul select {color:{{section.settings.currency_icon}};}
|
|
95
|
+
.header-type-11 .header_currency ul select:hover {color:{{section.settings.currency_icon_hover}};}
|
|
96
|
+
.header-type-11 .header_currency ul li.currency:hover:after {border-top-color:{{section.settings.currency_icon_hover}};}
|
|
97
|
+
.header-type-11 .header_currency ul li.currency:after,.header-type-10 li.init.dt-sc-toggle:after {color:{{section.settings.currency_icon}};}
|
|
98
|
+
.header-type-11 .header_currency option {background:{{section.settings.currency_bg}};color:{{section.settings.currency_link}};}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
{% if section.settings.show_topbar_overlay %} .header-type-11 .header-top::before { background:{{section.settings.overlay_bg_clr}};} {% endif %}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</style>
|
|
109
|
+
|
|
110
|
+
{% schema %}
|
|
111
|
+
{
|
|
112
|
+
"name": "Top Bar",
|
|
113
|
+
"settings": [
|
|
114
|
+
{
|
|
115
|
+
"type":"checkbox",
|
|
116
|
+
"id": "show_topbar_overlay",
|
|
117
|
+
"label": "Show Top Bar Overlay"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "color",
|
|
121
|
+
"id": "overlay_bg_clr",
|
|
122
|
+
"label": "Overlay Bg Background",
|
|
123
|
+
"default": "#fff"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type":"checkbox",
|
|
127
|
+
"id": "display_top_adv_bar",
|
|
128
|
+
"label": "Top Notification Bar"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type":"checkbox",
|
|
132
|
+
"id": "display_top_adv_bar_mobile",
|
|
133
|
+
"label": "Hide Notification Bar on Mobile"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type":"checkbox",
|
|
137
|
+
"id": "display_top_bar",
|
|
138
|
+
"label": "Display topbar"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "header",
|
|
142
|
+
"content": "Notifcation Bar"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "color",
|
|
146
|
+
"id": "notification_bar_bg",
|
|
147
|
+
"label": "Background",
|
|
148
|
+
"default": "#fff"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "image_picker",
|
|
152
|
+
"id": "notification_bar_bg_img",
|
|
153
|
+
"label": "Background Image"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "color",
|
|
157
|
+
"id": "stripe_icon",
|
|
158
|
+
"label": "close Icon",
|
|
159
|
+
"default": "#fff"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "color",
|
|
163
|
+
"id": "stripe_icon_color",
|
|
164
|
+
"label": "close Icon",
|
|
165
|
+
"default": "#000"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "color",
|
|
169
|
+
"id": "stripe_icon_hover",
|
|
170
|
+
"label": "close Icon Bg Hover",
|
|
171
|
+
"default": "#ffe491"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "color",
|
|
175
|
+
"id": "stripe_icon_hover_color",
|
|
176
|
+
"label": "close Icon Hover",
|
|
177
|
+
"default": "#fff"
|
|
178
|
+
},
|
|
179
|
+
|
|
180
|
+
{
|
|
181
|
+
"type": "text",
|
|
182
|
+
"id": "notification_discount",
|
|
183
|
+
"label": "Notification Discount",
|
|
184
|
+
"default": "50% OFF"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "color",
|
|
188
|
+
"id": "notification_discount_clr",
|
|
189
|
+
"label": "Notification Discount Color",
|
|
190
|
+
"default": "#fff"
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
{
|
|
194
|
+
"type": "text",
|
|
195
|
+
"id": "notification_discount_txt",
|
|
196
|
+
"label": "Notification Discount Text",
|
|
197
|
+
"default": "Discount"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "color",
|
|
201
|
+
"id": "notification_discount_text_clr",
|
|
202
|
+
"label": "Notification Discount Text Color",
|
|
203
|
+
"default": "#fff"
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
{
|
|
207
|
+
"type": "text",
|
|
208
|
+
"id": "notification_text",
|
|
209
|
+
"label": "Notification text",
|
|
210
|
+
"default": "Long Weekend Sale Up to 50% OFF"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "color",
|
|
214
|
+
"id": "notification_text_clr",
|
|
215
|
+
"label": "Notify Text",
|
|
216
|
+
"default": "#fff"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "text",
|
|
220
|
+
"id": "notification_promo_txt",
|
|
221
|
+
"label": "Promo text",
|
|
222
|
+
"default": "Enter Prmotion Code"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "color",
|
|
226
|
+
"id": "notification_promo_txt_clr",
|
|
227
|
+
"label": "Promo text Color",
|
|
228
|
+
"default": "#000"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "text",
|
|
232
|
+
"id": "notification_promo_code",
|
|
233
|
+
"label": "Promo Code",
|
|
234
|
+
"default": "Sale2017"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "color",
|
|
238
|
+
"id": "notification_promo_code_clr",
|
|
239
|
+
"label": "Promo Code Color",
|
|
240
|
+
"default": "#000"
|
|
241
|
+
},
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
{
|
|
245
|
+
"type": "text",
|
|
246
|
+
"id": "notification_linktxt",
|
|
247
|
+
"label": "Notification Link Text",
|
|
248
|
+
"default": "Shop Now"
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
{
|
|
252
|
+
"type": "color",
|
|
253
|
+
"id": "top_bar_btn_bg",
|
|
254
|
+
"label": "Top bar Button Bg",
|
|
255
|
+
"default": "#fff"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "color",
|
|
259
|
+
"id": "top_bar_btn_txt",
|
|
260
|
+
"label": "Top bar Button Text",
|
|
261
|
+
"default": "#fff"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "color",
|
|
265
|
+
"id": "top_bar_btn_hoverbg",
|
|
266
|
+
"label": "Top bar Button Hover Bg",
|
|
267
|
+
"default": "#fff"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "color",
|
|
271
|
+
"id": "top_bar_btn_hovertxt",
|
|
272
|
+
"label": "Top bar Button Hover Text",
|
|
273
|
+
"default": "#fff"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "text",
|
|
277
|
+
"id": "header_notification_link",
|
|
278
|
+
"label": "Link",
|
|
279
|
+
"default": "/collections/all"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "color",
|
|
283
|
+
"id": "top_bar_bg",
|
|
284
|
+
"label": "Top bar background",
|
|
285
|
+
"default": "#fff"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "color",
|
|
289
|
+
"id": "top_bar_text",
|
|
290
|
+
"label": "Top bar text",
|
|
291
|
+
"default": "#000"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"type": "color",
|
|
295
|
+
"id": "top_bar_links",
|
|
296
|
+
"label": "Top bar links",
|
|
297
|
+
"default": "#000"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "color",
|
|
301
|
+
"id": "top_bar_link_hover",
|
|
302
|
+
"label": "Top bar links hover",
|
|
303
|
+
"default": "#35b8f4"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"type": "header",
|
|
307
|
+
"content": "Border Block"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "color",
|
|
311
|
+
"id": "top_border_between_bars",
|
|
312
|
+
"label": "Border lines",
|
|
313
|
+
"default": "#e4e4e4"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"type": "text",
|
|
317
|
+
"id": "header_phone_value",
|
|
318
|
+
"label": "Phone number",
|
|
319
|
+
"default": "(00) 000 111 222"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "text",
|
|
323
|
+
"id": "header_mail_value",
|
|
324
|
+
"label": "Mail address",
|
|
325
|
+
"default": "info@somedomain.com"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "text",
|
|
329
|
+
"id": "store_location",
|
|
330
|
+
"label": "Text",
|
|
331
|
+
"default": "Store Location"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "url",
|
|
335
|
+
"id": "store_location_link",
|
|
336
|
+
"label": "Link"
|
|
337
|
+
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "text",
|
|
341
|
+
"id": "track_your_order",
|
|
342
|
+
"label": "Text",
|
|
343
|
+
"default": "Track Your Order"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "url",
|
|
347
|
+
"id": "track_your_order_link",
|
|
348
|
+
"label": "Link"
|
|
349
|
+
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"type": "header",
|
|
353
|
+
"content": "Currency Block"
|
|
354
|
+
},
|
|
355
|
+
|
|
356
|
+
{
|
|
357
|
+
"type": "color",
|
|
358
|
+
"id": "currency_icon",
|
|
359
|
+
"label": "Current Text Color",
|
|
360
|
+
"default": "#fff"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"type": "color",
|
|
364
|
+
"id": "currency_icon_hover",
|
|
365
|
+
"label": "Text hover",
|
|
366
|
+
"default": "#35b8f4"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "color",
|
|
370
|
+
"id": "currency_bg",
|
|
371
|
+
"label": "Current Background",
|
|
372
|
+
"default": "#fff"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"type": "color",
|
|
376
|
+
"id": "currency_link",
|
|
377
|
+
"label": "Currency Links",
|
|
378
|
+
"default": "#000"
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
|
+
{% endschema %}
|
|
384
|
+
|
|
385
|
+
{% javascript %}
|
|
386
|
+
|
|
387
|
+
if (jQuery.cookie('headerTop') == 'closed') {
|
|
388
|
+
jQuery('.header-top').fadeOut();
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
jQuery('.header-top a.close').bind('click',function(){
|
|
392
|
+
jQuery('.header-top').fadeOut();
|
|
393
|
+
jQuery.cookie('headerTop', 'closed', {expires:-1, path:'/'});
|
|
394
|
+
});
|
|
395
|
+
{% endjavascript %}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{% if section.settings.display_top_adv_bar %}
|
|
2
|
+
<div class="top_bar top-bar-type-5 notification_bar header-top" style="background-color:{{ section.settings.notification_bar_bg }};">
|
|
3
|
+
<div class="top-text-container ">
|
|
4
|
+
<div class="container">
|
|
5
|
+
{% if section.settings.notification_text != blank %}
|
|
6
|
+
<ul class="top_bar_left">
|
|
7
|
+
<li class="notification_text"><span style="color:{{section.settings.notification_text_clr}};">{{ section.settings.notification_text }}</span>
|
|
8
|
+
{% if section.settings.notification_linktxt != blank %} <a class="link" href="{{section.settings.header_notification_link }}">{{ section.settings.notification_linktxt }}</a> {% endif %}
|
|
9
|
+
</li>
|
|
10
|
+
</ul>
|
|
11
|
+
{% endif %}
|
|
12
|
+
</div>
|
|
13
|
+
<a href="javascript:void(0)" class="close"><i class="fas fa-times"></i></a>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
<style>
|
|
19
|
+
|
|
20
|
+
.notification_bar li a { color:{{section.settings.notification_linktxt_color }};}
|
|
21
|
+
.notification_bar li a:hover { color:{{section.settings.notification_hover_linktxt_color }};}
|
|
22
|
+
|
|
23
|
+
.notification_bar a.close { color:{{section.settings.stripe_icon }};}
|
|
24
|
+
.notification_bar a.close:hover { color:{{section.settings.stripe_icon_hover }};}
|
|
25
|
+
|
|
26
|
+
</style>
|
|
27
|
+
|
|
28
|
+
{% schema %}
|
|
29
|
+
{
|
|
30
|
+
"name": "Notification Bar",
|
|
31
|
+
"settings": [
|
|
32
|
+
{
|
|
33
|
+
"type":"checkbox",
|
|
34
|
+
"id": "display_top_adv_bar",
|
|
35
|
+
"label": "Top Notification Bar"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "color",
|
|
39
|
+
"id": "notification_bar_bg",
|
|
40
|
+
"label": "Background",
|
|
41
|
+
"default": "#000"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "color",
|
|
45
|
+
"id": "stripe_icon",
|
|
46
|
+
"label": "close Icon",
|
|
47
|
+
"default": "#fff"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "color",
|
|
51
|
+
"id": "stripe_icon_hover",
|
|
52
|
+
"label": "close Icon Hover",
|
|
53
|
+
"default": "#ffe491"
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
{
|
|
57
|
+
"type": "text",
|
|
58
|
+
"id": "notification_text",
|
|
59
|
+
"label": "Notification text",
|
|
60
|
+
"default": "Long Weekend Sale Up to 50% OFF"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "color",
|
|
64
|
+
"id": "notification_text_clr",
|
|
65
|
+
"label": "Notify Text",
|
|
66
|
+
"default": "#fff"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "text",
|
|
70
|
+
"id": "notification_linktxt",
|
|
71
|
+
"label": "Notification Link Text",
|
|
72
|
+
"default": "Shop Now"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "color",
|
|
76
|
+
"id": "notification_linktxt_color",
|
|
77
|
+
"label": "Link Text",
|
|
78
|
+
"default": "#fff"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "color",
|
|
82
|
+
"id": "notification_hover_linktxt_color",
|
|
83
|
+
"label": "Hover Link Text",
|
|
84
|
+
"default": "#fff"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "text",
|
|
88
|
+
"id": "header_notification_link",
|
|
89
|
+
"label": "Link",
|
|
90
|
+
"default": "/collections/all"
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
{% endschema %}
|
|
96
|
+
{% javascript %}
|
|
97
|
+
|
|
98
|
+
if (jQuery.cookie('headerTop') == 'closed') {
|
|
99
|
+
jQuery('.header-top').fadeOut();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
jQuery('.header-top a.close').bind('click',function(){
|
|
103
|
+
jQuery('.header-top').fadeOut();
|
|
104
|
+
jQuery.cookie('headerTop', 'closed', {expires:-1, path:'/'});
|
|
105
|
+
});
|
|
106
|
+
{% endjavascript %}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{% if section.settings.display_top_bar %}
|
|
2
|
+
<div class="wrapper">
|
|
3
|
+
<div class="top_bar top-bar-type-3">
|
|
4
|
+
<div class="container-bg">
|
|
5
|
+
|
|
6
|
+
<div class="top_bar_menu">
|
|
7
|
+
<ul class="menu_bar_right grid__item wide--one-sixth">
|
|
8
|
+
{% if section.settings.header_phone_value != blank or section.settings.header_mail_value != blank %}
|
|
9
|
+
<li>
|
|
10
|
+
<ul class="top_bar_right">
|
|
11
|
+
{% if section.settings.header_phone_value != blank %}
|
|
12
|
+
<li><i class='fa fa-phone' aria-hidden='true'></i> <span>{{ section.settings.header_phone_label }} {{ section.settings.header_phone_value }}</span></li>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% if section.settings.header_mail_value != blank %}
|
|
15
|
+
<li><i class='fa fa-envelope' aria-hidden='true'></i> {{ section.settings.header_mail_label }} <a href="mailto:{{ section.settings.header_mail_value }}"> {{ section.settings.header_mail_value }}</a></li>
|
|
16
|
+
{% endif %}
|
|
17
|
+
</ul>
|
|
18
|
+
</li>
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if settings.enable_multiple_currencies or settings.enable_shopify_payments_currencies %}
|
|
21
|
+
<li class="header_currency mobile-currency">
|
|
22
|
+
<ul class="tbl-list">
|
|
23
|
+
<li class="currency dropdown-parent uppercase currency-block">
|
|
24
|
+
{% include 'currencies-switcher' %}
|
|
25
|
+
</li>
|
|
26
|
+
</ul>
|
|
27
|
+
</li>
|
|
28
|
+
{% endif %}
|
|
29
|
+
</ul>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
36
|
+
<style>
|
|
37
|
+
|
|
38
|
+
/* Top block */
|
|
39
|
+
.header-type-3 .top_bar , .header-type-3 .top_bar::after{ background: {{ section.settings.top_bar_bg }}; }
|
|
40
|
+
.header-type-3 .top_bar li, .header-type-3 .top_bar span { color:{{section.settings.top_bar_text}};}
|
|
41
|
+
.header-type-3 .top_bar a { color:{{section.settings.top_bar_links }};}
|
|
42
|
+
.header-type-3 .top_bar a:hover, .header-type-3 .top_bar a:hover span { color:{{section.settings.top_bar_link_hover }};}
|
|
43
|
+
.header-type-3 .header-bar__module.cart .baskettop a.icon-cart-arrow #cartCount { background: {{ section.settings.minicart_count_bg }};color:{{section.settings.minicart_count }};}
|
|
44
|
+
.header-type-3 .header-bar__module.cart .baskettop a.icon-cart-arrow:hover #cartCount { background: {{ section.settings.minicart_count_hover_bg }};color:{{section.settings.minicart_count_hover_text }};}
|
|
45
|
+
.header-type-3 .top_bar .top_bar_right li span,.header-type-3 .tbl-list>li.currency>.dropdown-toggle { border-right:1px solid {{ section.settings.top_border_between_bars }}; }
|
|
46
|
+
.header-type-3 .top_bar ul li:last-child,.header-type-3 .top_bar .top_bar_right li:last-child span { border-right:none; }
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* Currency block */
|
|
50
|
+
|
|
51
|
+
.header-type-3 .lang-currency-groups .dropdown-label,.header-type-3 .lang-currency-groups .dropdown-toggle:after {color:{{section.settings.currency_icon}};}
|
|
52
|
+
.header-type-3 .lang-currency-groups .dropdown-label:hover , .header-type-3 .lang-currency-groups .dropdown-toggle:hover::after{color:{{section.settings.currency_icon_hover}};}
|
|
53
|
+
.header-type-3 .header_currency ul li.currency:hover:after {border-top-color:{{section.settings.currency_icon_hover}};}
|
|
54
|
+
.header-type-3 .header_currency ul li.currency:after {border-top-color:{{section.settings.currency_icon}};}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</style>
|
|
58
|
+
|
|
59
|
+
<script>
|
|
60
|
+
var appendPrependMenuMobile = function() {
|
|
61
|
+
var headerPanelTop = $('.wrapper-container .top_bar_right'),
|
|
62
|
+
headerPc = $('.wrapper-container .top_bar_menu'),
|
|
63
|
+
wrapperNav = $('.wrapper-navigation'),
|
|
64
|
+
areaMb = wrapperNav.find('.mb-area .menu_bar_right');
|
|
65
|
+
|
|
66
|
+
if (window.innerWidth < 1200) {
|
|
67
|
+
headerPanelTop.appendTo(areaMb);
|
|
68
|
+
} else {
|
|
69
|
+
headerPc.prepend(headerPanelTop);
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
$(document).ready(function() {
|
|
74
|
+
appendPrependMenuMobile();
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
var winWidth = $(window).innerWidth();
|
|
78
|
+
|
|
79
|
+
$(window).on('resize', function () {
|
|
80
|
+
var resizeTimerId;
|
|
81
|
+
|
|
82
|
+
clearTimeout(resizeTimerId);
|
|
83
|
+
|
|
84
|
+
resizeTimerId = setTimeout(function() {
|
|
85
|
+
var curWinWidth = $(window).innerWidth();
|
|
86
|
+
|
|
87
|
+
if ((curWinWidth < 1200 && winWidth >= 1200) || (curWinWidth >= 1200 && winWidth < 1200)) {
|
|
88
|
+
appendPrependMenuMobile();
|
|
89
|
+
};
|
|
90
|
+
winWidth = curWinWidth;
|
|
91
|
+
}, 0);
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
</script>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<script>
|
|
101
|
+
if ($(window).width() < 1200) {
|
|
102
|
+
$(".mobile-currency").remove();
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
</script>
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
{% schema %}
|
|
110
|
+
{
|
|
111
|
+
"name": "Top bar",
|
|
112
|
+
"settings": [
|
|
113
|
+
{
|
|
114
|
+
"type":"checkbox",
|
|
115
|
+
"id": "display_top_bar",
|
|
116
|
+
"label": "Display topbar"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "header",
|
|
120
|
+
"content": "Border Block"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "color",
|
|
124
|
+
"id": "top_border_between_bars",
|
|
125
|
+
"label": "Border lines",
|
|
126
|
+
"default": "#e4e4e4"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "text",
|
|
130
|
+
"id": "social_title",
|
|
131
|
+
"label": "Heading"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "text",
|
|
135
|
+
"id": "header_phone_label",
|
|
136
|
+
"label": "Phone lable text",
|
|
137
|
+
"default": "Call Us"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "text",
|
|
141
|
+
"id": "header_phone_value",
|
|
142
|
+
"label": "Phone number",
|
|
143
|
+
"default": "(00) 000 111 222"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "text",
|
|
147
|
+
"id": "header_mail_label",
|
|
148
|
+
"label": "Mail lable text",
|
|
149
|
+
"default": "Mail"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "text",
|
|
153
|
+
"id": "header_mail_value",
|
|
154
|
+
"label": "Mail address",
|
|
155
|
+
"default": "info@somedomain.com"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "header",
|
|
159
|
+
"content": "Top Bar"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "color",
|
|
163
|
+
"id": "top_bar_bg",
|
|
164
|
+
"label": "Top bar background",
|
|
165
|
+
"default": "#fff"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "color",
|
|
169
|
+
"id": "top_bar_text",
|
|
170
|
+
"label": "Top bar text",
|
|
171
|
+
"default": "#000"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "color",
|
|
175
|
+
"id": "top_bar_links",
|
|
176
|
+
"label": "Top bar links",
|
|
177
|
+
"default": "#000"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "color",
|
|
181
|
+
"id": "top_bar_link_hover",
|
|
182
|
+
"label": "Top bar links hover",
|
|
183
|
+
"default": "#35b8f4"
|
|
184
|
+
},
|
|
185
|
+
|
|
186
|
+
{
|
|
187
|
+
"type": "header",
|
|
188
|
+
"content": "Currency Block"
|
|
189
|
+
},
|
|
190
|
+
|
|
191
|
+
{
|
|
192
|
+
"type": "color",
|
|
193
|
+
"id": "currency_icon",
|
|
194
|
+
"label": "Currency Text Color",
|
|
195
|
+
"default": "#fff"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "color",
|
|
199
|
+
"id": "currency_icon_hover",
|
|
200
|
+
"label": "Text hover",
|
|
201
|
+
"default": "#35b8f4"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
{% endschema %}
|