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,780 @@
|
|
|
1
|
+
{% if section.blocks.size > 0 %}
|
|
2
|
+
{% case section.settings.grid %}
|
|
3
|
+
{% when '1' %}
|
|
4
|
+
{% when '2' %}
|
|
5
|
+
{%- assign column = 'two-column' -%}
|
|
6
|
+
{% when '3' %}
|
|
7
|
+
{%- assign column = 'three-column' -%}
|
|
8
|
+
{% when '4' %}
|
|
9
|
+
{%- assign column = 'four-column' -%}
|
|
10
|
+
{% else %}
|
|
11
|
+
{%- assign column = 'three-column' -%}
|
|
12
|
+
{% endcase %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
{% if section.settings.enable_grid_style %}
|
|
17
|
+
{% assign grid_style = 'dt-sc-grid-style' %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
|
|
20
|
+
{% if section.settings.enable_overlay %}
|
|
21
|
+
{% assign section_overlay = 'dt-sc-overlay' %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
24
|
+
{% case section.settings.background_style %}
|
|
25
|
+
{% when 'default' %}
|
|
26
|
+
{% when 'parallax' %}
|
|
27
|
+
{%- assign background_style = 'data-speed="2"' %}
|
|
28
|
+
{% when 'fixed' %}
|
|
29
|
+
{%- assign background_style = 'data-speed="1"' %}
|
|
30
|
+
{% endcase %}
|
|
31
|
+
|
|
32
|
+
{% if section.settings.show_background_image %}
|
|
33
|
+
{% assign lazyScript = "lazyload" %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
36
|
+
<div class="dt-sc-section-wrapper {{lazyScript}} {{section_overlay}} {% if section.settings.background_style == 'parallax' %} parallax-initiated{% endif %}" style="{% render 'bg-color-image-padding' %}" data-style="parallax" {{background_style}} {% include 'bg_image' %} >
|
|
37
|
+
<div class="{% render 'container-settings' %}">
|
|
38
|
+
<div class="row {{ section.settings.custom_class_name }}">
|
|
39
|
+
{% render 'section-heading', class: section.id %}
|
|
40
|
+
<div class="dt-sc-support-blocks-section dt-sc-column {{grid_style}} {{column}} {{section.settings.block_style}} {{section.settings.vertical_position}}">
|
|
41
|
+
{% if section.blocks.size > 0 %}
|
|
42
|
+
{% for block in section.blocks %}
|
|
43
|
+
{% if block.type == 'icon' %}
|
|
44
|
+
<div class="dt-sc-support-block {{ section.settings.text_position}} {% if section.settings.reverse_column %}dt-sc-reverse-columns{% endif %}">
|
|
45
|
+
{% if block.settings.icon != blank %}
|
|
46
|
+
<div class="dt-sc-support-icon-image">
|
|
47
|
+
|
|
48
|
+
<img src=" {{ block.settings.icon | img_url: '50x60'}}"/>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
{% endif%}
|
|
52
|
+
<div class="dt-sc-support-content">
|
|
53
|
+
{% if block.settings.title != blank %}
|
|
54
|
+
<h4 class="dt-sc-support-heading"> <a href="{{ block.settings.link}}"> {{ block.settings.title }}</a></h4>
|
|
55
|
+
{% endif %}
|
|
56
|
+
{% if block.settings.desc != blank %}
|
|
57
|
+
<p class="dt-sc-support-description"> {{ block.settings.desc}}</p>
|
|
58
|
+
{% endif %}
|
|
59
|
+
{% if block.settings.link != blank and block.settings.link_text != blank %}
|
|
60
|
+
<a href="{{ block.settings.link}}" class="dt-sc-btn">{{block.settings.link_text}}</a>
|
|
61
|
+
{% endif %}
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
{% endif %}
|
|
65
|
+
{% if block.type == 'class' %}
|
|
66
|
+
<div class="dt-sc-support-block {{ section.settings.text_position}} {% if section.settings.reverse_column %}dt-sc-reverse-columns{% endif %}">
|
|
67
|
+
{% if block.settings.class != blank %}
|
|
68
|
+
<div class="dt-sc-support-icon-image">
|
|
69
|
+
<i class="{{block.settings.class}}"></i>
|
|
70
|
+
</div>
|
|
71
|
+
{% endif%}
|
|
72
|
+
<div class="dt-sc-support-content">
|
|
73
|
+
{% if block.settings.title != blank %}
|
|
74
|
+
<h4 class="dt-sc-support-heading"> <a href="{{ block.settings.link}}"> {{ block.settings.title }}</a></h4>
|
|
75
|
+
{% endif %}
|
|
76
|
+
{% if block.settings.desc != blank %}
|
|
77
|
+
<p class="dt-sc-support-description"> {{ block.settings.desc}}</p>
|
|
78
|
+
{% endif %}
|
|
79
|
+
{% if block.settings.link != blank %}
|
|
80
|
+
<a href="{{ block.settings.link}}" class="dt-sc-btn">{{block.settings.link_text}}</a>
|
|
81
|
+
{% endif %}
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
{% endif %}
|
|
85
|
+
{% endfor %}
|
|
86
|
+
{% endif %}
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<style type="text/css">
|
|
93
|
+
|
|
94
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-section-wrapper { background-color:{{section.settings.background_color}}; background-repeat: repeat-x !important; background-attachment: fixed !important; background-size: inherit !important; }
|
|
95
|
+
{% if section.settings.circle_border != blank %}
|
|
96
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image { background:url({{ section.settings.circle_border | img_url: "master" }}) no-repeat; }
|
|
97
|
+
{% endif %}
|
|
98
|
+
|
|
99
|
+
@keyframes mymove {
|
|
100
|
+
50% {transform: rotate(360deg);}
|
|
101
|
+
}
|
|
102
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block:hover .dt-sc-support-icon-image img{
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
animation: mymove 5s infinite;}
|
|
106
|
+
|
|
107
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block .dt-sc-support-icon-image img{-o-transition: all 0.3s ease 0s;
|
|
108
|
+
transition: all 0.3s ease 0s;}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
{% if section.settings.before_img != blank %}
|
|
112
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-section-wrapper:before{
|
|
113
|
+
content:"";position:absolute;top:0;width:100%;height:19px;
|
|
114
|
+
background:url({{ section.settings.before_img | img_url: 'master' }}) repeat-x;
|
|
115
|
+
left:0;
|
|
116
|
+
}
|
|
117
|
+
{% endif %}
|
|
118
|
+
{% if section.settings.after_img != blank %}
|
|
119
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-section-wrapper:after{
|
|
120
|
+
content:"";position:absolute;bottom:0;width:100%;height:19px;
|
|
121
|
+
background:url({{ section.settings.after_img | img_url: 'master' }}) repeat-x;
|
|
122
|
+
}
|
|
123
|
+
{% endif %}
|
|
124
|
+
|
|
125
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-section-wrapper .dt-sc-column{ margin-bottom: 0;}
|
|
126
|
+
|
|
127
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-overlay:before { color: var(--DTTertiaryColor);
|
|
128
|
+
color: {{ section.settings.background_color }};
|
|
129
|
+
background: currentcolor;
|
|
130
|
+
opacity: {{ section.settings.overlay_transparency }}; }
|
|
131
|
+
|
|
132
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-heading .dt-sc-main-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_heading_color }}; }
|
|
133
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-heading .dt-sc-sub-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_sub_heading_color }}; }
|
|
134
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-heading .dt-sc-heading-description { color: var(--DTColor_Body); color:{{ section.settings.section_description_color }}; }
|
|
135
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-heading .dt-sc-btn {
|
|
136
|
+
background: var(--DT_Button_BG_Color); background:{{ section.settings.section_button_bg_color }};
|
|
137
|
+
color: var(--DT_Button_Text_Color); color:{{ section.settings.section_button_text_color }}; }
|
|
138
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-heading .dt-sc-btn:hover {
|
|
139
|
+
background: var(--DT_Button_BG_Hover_Color); background:{{ section.settings.section_button_hover_bg_color }};
|
|
140
|
+
color: var(--DT_Button_Text_Hover_Color); color:{{ section.settings.section_button_hover_text_color }};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image {
|
|
144
|
+
border-radius: {{ section.settings.icon_border_radius }}; }
|
|
145
|
+
|
|
146
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2 {
|
|
147
|
+
|
|
148
|
+
border-color: var(--DTTertiaryColor);
|
|
149
|
+
border-color: {{ section.settings.block_border_color }};
|
|
150
|
+
|
|
151
|
+
border-left-width: 1px; border-left-style: solid;
|
|
152
|
+
border-top-width: 1px; border-top-style: solid;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2 .dt-sc-support-block {
|
|
156
|
+
border-color: var(--DTTertiaryColor);
|
|
157
|
+
border-color: {{ section.settings.block_border_color }};
|
|
158
|
+
|
|
159
|
+
border-right-width: 1px; border-right-style: solid;
|
|
160
|
+
border-bottom-width: 1px; border-bottom-style: solid;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-3 .dt-sc-support-block {
|
|
164
|
+
border-color: var(--DTTertiaryColor);
|
|
165
|
+
border-color: {{ section.settings.block_border_color }};
|
|
166
|
+
|
|
167
|
+
border-width: 1px; border-style: solid;
|
|
168
|
+
{% if section.settings.enable_box_shadow %} box-shadow: var(--DTboxShadow); {% endif %}
|
|
169
|
+
border-radius: {{ section.settings.border_radius }};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image {
|
|
173
|
+
background-color: var(--DTTertiaryColor); background-color: {{ section.settings.block_icon_bg }};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section[class*="style-"] .dt-sc-support-block {
|
|
177
|
+
background: var(--DTBodyBGColor); background: {{ section.settings.block_bg }}; }
|
|
178
|
+
|
|
179
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image {
|
|
180
|
+
width: {{ section.settings.block_icon_outer_size }}; height: {{ section.settings.block_icon_outer_size }};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section:not(.dt-sc-grid-style) .dt-sc-support-block .dt-sc-support-content {
|
|
184
|
+
width: calc(100% - {{ section.settings.block_icon_outer_size }});
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image img,
|
|
188
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image i {
|
|
189
|
+
font-size: {{ section.settings.block_icon_size }}; width: {{ section.settings.block_icon_size }};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-support-heading {
|
|
193
|
+
color: var(--DTColor_Heading); color:{{ section.settings.block_heading_color }}; font-family: var(--DTFontTypo_Custom); }
|
|
194
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-support-heading a{ color: var(--DTColor_Heading); color:{{ section.settings.block_heading_color }}; }
|
|
195
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-support-heading a:hover{ color: {{ section.settings.block_heading_hover }}; }
|
|
196
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-support-description {
|
|
197
|
+
color: var(--DTColor_Body); color:{{ section.settings.block_description_color }}; }
|
|
198
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-btn {
|
|
199
|
+
background:var(--DT_Button_BG_Color); color: var(--DT_Button_Text_Color);
|
|
200
|
+
background:{{ section.settings.block_button_bg_color }}; color:{{ section.settings.block_button_text_color }};
|
|
201
|
+
}
|
|
202
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-btn:hover {
|
|
203
|
+
background:var(--DT_Button_BG_Hover_Color); color: var(--DT_Button_Text_Hover_Color);
|
|
204
|
+
background:{{ section.settings.block_button_hover_bg_color }}; color:{{ section.settings.block_button_hover_text_color }};
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.dt-sc-support-blocks-section .dt-sc-support-block { display: flex; flex-wrap: wrap; height: 100%; }
|
|
208
|
+
|
|
209
|
+
.dt-sc-support-blocks-section .dt-sc-support-block.text-center .dt-sc-support-content { padding: 0 20px; }
|
|
210
|
+
|
|
211
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content { padding-left: 20px; padding-right: 0; }
|
|
212
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content .dt-sc-btn { display: inline-block; }
|
|
213
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content *,
|
|
214
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content *:not(:only-child) { margin: 0; }
|
|
215
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-content *:not(:last-child) { margin: 0 0 10px 0; }
|
|
216
|
+
|
|
217
|
+
.dt-sc-support-blocks-section .dt-sc-support-block.dt-sc-reverse-columns .dt-sc-support-content { padding-right: 20px; padding-left: 0; }
|
|
218
|
+
|
|
219
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image { display: flex; justify-content: center; align-items: center; }
|
|
220
|
+
|
|
221
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image {
|
|
222
|
+
background-color: var(--DTTertiaryColor); background-color: {{ section.settings.block_icon_bg }};
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.dt-sc-support-blocks-section .dt-sc-support-block .dt-sc-support-icon-image img { width: 100%; }
|
|
230
|
+
|
|
231
|
+
.dt-sc-support-blocks-section.position-vertical-center:not(.dt-sc-grid-style) .dt-sc-support-block { align-items: center; }
|
|
232
|
+
.dt-sc-support-blocks-section.position-vertical-bottom:not(.dt-sc-grid-style) .dt-sc-support-block { align-items: flex-end; }
|
|
233
|
+
|
|
234
|
+
.dt-sc-support-blocks-section:not(.dt-sc-grid-style) .dt-sc-support-block { align-content: center; }
|
|
235
|
+
.dt-sc-support-blocks-section:not(.dt-sc-grid-style) .dt-sc-support-block .dt-sc-support-icon-image { margin: 0 auto; }
|
|
236
|
+
|
|
237
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block { flex-direction: row; }
|
|
238
|
+
|
|
239
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block > *:not(:last-child) { margin: 0 auto 20px; }
|
|
240
|
+
|
|
241
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block.text-start > *:not(:last-child) { margin-left: 0; margin-right: auto; }
|
|
242
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block.text-end > *:not(:last-child) { margin-right: 0; margin-left: auto; }
|
|
243
|
+
|
|
244
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block .dt-sc-support-content { width: 100%; padding: 0; }
|
|
245
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block.text-end { justify-content: flex-end; }
|
|
246
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block.dt-sc-reverse-columns { flex-direction: column-reverse; align-self: center; justify-content: center; }
|
|
247
|
+
.dt-sc-support-blocks-section.dt-sc-grid-style .dt-sc-support-block.dt-sc-reverse-columns.text-end .dt-sc-support-icon-image { margin-left: auto; }
|
|
248
|
+
|
|
249
|
+
.dt-sc-support-blocks-section.style-2 { grid-gap: 0; }
|
|
250
|
+
.dt-sc-support-blocks-section.style-2 .dt-sc-support-block { padding: 30px; }
|
|
251
|
+
|
|
252
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2 {
|
|
253
|
+
{% if section.settings.enable_box_shadow %} box-shadow: var(--DTboxShadow); {% endif %}
|
|
254
|
+
border-radius: {{ section.settings.border_radius }}; overflow: hidden;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2 .dt-sc-support-block:last-child {
|
|
258
|
+
border-radius: 0 0 {{ section.settings.border_radius }} 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.one-column .dt-sc-support-block:first-child,
|
|
262
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.two-column .dt-sc-support-block:nth-child(2):last-child,
|
|
263
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.three-column .dt-sc-support-block:nth-child(3):last-child,
|
|
264
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.four-column .dt-sc-support-block:nth-child(4):last-child,
|
|
265
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.five-column .dt-sc-support-block:nth-child(5):last-child,
|
|
266
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.six-column .dt-sc-support-block:nth-child(6):last-child {
|
|
267
|
+
border-radius: 0 {{ section.settings.border_radius }} {{ section.settings.border_radius }} 0;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.one-column .dt-sc-support-block:first-child,
|
|
271
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.two-column .dt-sc-support-block:nth-child(2):not(:last-child),
|
|
272
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.three-column .dt-sc-support-block:nth-child(3):not(:last-child),
|
|
273
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.four-column .dt-sc-support-block:nth-child(4):not(:last-child),
|
|
274
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.five-column .dt-sc-support-block:nth-child(5):not(:last-child),
|
|
275
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.six-column .dt-sc-support-block:nth-child(6):not(:last-child) {
|
|
276
|
+
border-radius: 0 {{ section.settings.border_radius }} 0 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.one-column .dt-sc-support-block:last-child {
|
|
280
|
+
border-radius: 0 0 {{ section.settings.border_radius }} {{ section.settings.border_radius }};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.one-column .dt-sc-support-block:only-child {
|
|
284
|
+
border-radius: 0 {{ section.settings.border_radius }} {{ section.settings.border_radius }} {{ section.settings.border_radius }};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.two-column .dt-sc-support-block:nth-last-child(2),
|
|
288
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.three-column .dt-sc-support-block:nth-last-child(3),
|
|
289
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.four-column .dt-sc-support-block:nth-last-child(4),
|
|
290
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.five-column .dt-sc-support-block:nth-last-child(5),
|
|
291
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-support-blocks-section.style-2.dt-sc-column.six-column .dt-sc-support-block:nth-last-child(6) {
|
|
292
|
+
border-radius: 0 0 0 {{ section.settings.border_radius }};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.dt-sc-support-blocks-section.style-3 .dt-sc-support-block { padding: 30px; }
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
@media only screen and (max-width: 767px) and (min-width: 577px) {
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
.dt-sc-support-blocks-section.dt-sc-column.four-column { grid-template-columns: repeat(2,1fr); }
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
}
|
|
305
|
+
@media only screen and (max-width: 968px) and (min-width: 360px) {
|
|
306
|
+
#shopify-section-{{section.id}}.home-support-block .dt-sc-section-wrapper { background-color:{{section.settings.background_color}}; background-repeat: repeat !important; }
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
</style>
|
|
310
|
+
|
|
311
|
+
{% schema %}
|
|
312
|
+
{
|
|
313
|
+
"name": "Support Block",
|
|
314
|
+
"class": "index-section home-support-block",
|
|
315
|
+
"max_blocks":4,
|
|
316
|
+
"settings": [
|
|
317
|
+
{
|
|
318
|
+
"type": "checkbox",
|
|
319
|
+
"id": "full",
|
|
320
|
+
"label": "Show Full width"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "checkbox",
|
|
324
|
+
"id": "spacing_both_ends",
|
|
325
|
+
"label": "Enable Right & Left Spacing (Works only on Fullwidth)",
|
|
326
|
+
"default": false
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"type": "text",
|
|
330
|
+
"id": "padding",
|
|
331
|
+
"label": "Style value (Padding)",
|
|
332
|
+
"default":"0,0",
|
|
333
|
+
"info":"Top(px),Bottom(px)"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "text",
|
|
337
|
+
"id": "margin",
|
|
338
|
+
"label": "Style value (Margin)",
|
|
339
|
+
"default":"0,0",
|
|
340
|
+
"info":"Top(px),Bottom(px)"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"type": "checkbox",
|
|
344
|
+
"id": "show_background_image",
|
|
345
|
+
"label": "Enable Background image"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "image_picker",
|
|
349
|
+
"id": "background_image",
|
|
350
|
+
"label": "Background image",
|
|
351
|
+
"info": "Size: 1920x1280"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"type": "image_picker",
|
|
355
|
+
"id": "before_img",
|
|
356
|
+
"label":"Top Curve"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"type": "image_picker",
|
|
360
|
+
"id": "after_img",
|
|
361
|
+
"label":"Bottom Curve"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "image_picker",
|
|
365
|
+
"id": "circle_border",
|
|
366
|
+
"label": "Circle Border"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "select",
|
|
370
|
+
"id": "background_style",
|
|
371
|
+
"label": "Background Style",
|
|
372
|
+
"default": "default",
|
|
373
|
+
"options": [
|
|
374
|
+
{
|
|
375
|
+
"value": "default",
|
|
376
|
+
"label": "Default"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"value": "parallax",
|
|
380
|
+
"label": "Parallax"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"value": "fixed",
|
|
384
|
+
"label": "Fixed"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "checkbox",
|
|
390
|
+
"id": "enable_overlay",
|
|
391
|
+
"label": "Enable Background Color (Used as Background Image Overlay Color too)"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"type": "color",
|
|
395
|
+
"id": "background_color",
|
|
396
|
+
"label":"Background color"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "text",
|
|
400
|
+
"id": "overlay_transparency",
|
|
401
|
+
"label": "Overlay Transparency (0.01 to 1)",
|
|
402
|
+
"default": "0.5"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "text",
|
|
406
|
+
"id": "section_heading",
|
|
407
|
+
"label": "Main Heading",
|
|
408
|
+
"default": "Support Block"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"type": "text",
|
|
412
|
+
"id": "section_sub_heading",
|
|
413
|
+
"label": "Sub Heading",
|
|
414
|
+
"default": "Sub Heading"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "text",
|
|
418
|
+
"id": "section_description",
|
|
419
|
+
"label": "Description",
|
|
420
|
+
"default": "Use this text to share the information which you like!."
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": "text",
|
|
424
|
+
"id": "section_button_text",
|
|
425
|
+
"label": "Link text"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": "url",
|
|
429
|
+
"id": "section_button_link",
|
|
430
|
+
"label": "Link URL"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "header",
|
|
434
|
+
"content": "Section Color settings"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "color",
|
|
438
|
+
"id": "section_heading_color",
|
|
439
|
+
"label": "Heading color"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"type": "color",
|
|
443
|
+
"id": "section_sub_heading_color",
|
|
444
|
+
"label": "Sub heading color"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"type": "color",
|
|
448
|
+
"id": "section_description_color",
|
|
449
|
+
"label": "Description color"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"type": "color",
|
|
453
|
+
"id": "section_button_bg_color",
|
|
454
|
+
"label": "Button bg color"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"type": "color",
|
|
458
|
+
"id": "section_button_text_color",
|
|
459
|
+
"label": "Button text color"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"type": "color",
|
|
463
|
+
"id": "section_button_hover_bg_color",
|
|
464
|
+
"label": "Button hover bg color"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"type": "color",
|
|
468
|
+
"id": "section_button_hover_text_color",
|
|
469
|
+
"label": "Button hover text color"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "select",
|
|
473
|
+
"id": "heading_position",
|
|
474
|
+
"label": "Heading Position",
|
|
475
|
+
"options": [
|
|
476
|
+
{
|
|
477
|
+
"value": "text-center",
|
|
478
|
+
"label": "Center"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"value": "text-start",
|
|
482
|
+
"label": "Left"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"value": "text-end",
|
|
486
|
+
"label": "Right"
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"type": "header",
|
|
492
|
+
"content": "Block Settings"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"type": "select",
|
|
496
|
+
"id": "text_position",
|
|
497
|
+
"label": "Block Text position",
|
|
498
|
+
"options": [
|
|
499
|
+
{
|
|
500
|
+
"value": "text-center",
|
|
501
|
+
"label": "Center"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"value": "text-start",
|
|
505
|
+
"label": "Left"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"value": "text-end",
|
|
509
|
+
"label": "Right"
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"default": "text-start"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"type": "select",
|
|
516
|
+
"id": "block_style",
|
|
517
|
+
"label": "Block Style",
|
|
518
|
+
"options": [
|
|
519
|
+
{
|
|
520
|
+
"value": "default-style",
|
|
521
|
+
"label": "Style 1"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"value": "style-2",
|
|
525
|
+
"label": "Style 2"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"value": "style-3",
|
|
529
|
+
"label": "Style 3"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"default": "default-style"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"type": "select",
|
|
536
|
+
"id": "grid",
|
|
537
|
+
"label": "Item per row",
|
|
538
|
+
"default": "3",
|
|
539
|
+
"options": [
|
|
540
|
+
{
|
|
541
|
+
"value": "1",
|
|
542
|
+
"label": "1"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"value": "2",
|
|
546
|
+
"label": "2"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"value": "3",
|
|
550
|
+
"label": "3"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"value": "4",
|
|
554
|
+
"label": "4"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "checkbox",
|
|
560
|
+
"id": "enable_grid_style",
|
|
561
|
+
"label": "Enable Grid Style"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "select",
|
|
565
|
+
"id": "vertical_position",
|
|
566
|
+
"label": "Vertical position (Uncheck 'Enable Grid Style' and set the position)",
|
|
567
|
+
"options": [
|
|
568
|
+
{
|
|
569
|
+
"value": "position-default",
|
|
570
|
+
"label": "Vertical top"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"value": "position-vertical-center",
|
|
574
|
+
"label": "Vertical center"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"value": "position-vertical-bottom",
|
|
578
|
+
"label": "Vertical bottom"
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"default": "position-default"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "checkbox",
|
|
585
|
+
"id": "reverse_column",
|
|
586
|
+
"label": "Content reverse",
|
|
587
|
+
"default": false
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"type": "text",
|
|
591
|
+
"id": "border_radius",
|
|
592
|
+
"label": "Overall Radius (in px)",
|
|
593
|
+
"default":"0px",
|
|
594
|
+
"info": "Not for Style 1"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"type": "text",
|
|
598
|
+
"id": "icon_border_radius",
|
|
599
|
+
"label": "Icon Radius (in px) - Set 50% for Rounded Icon",
|
|
600
|
+
"default":"0px"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"type": "checkbox",
|
|
604
|
+
"id": "enable_box_shadow",
|
|
605
|
+
"label": "Enable Box Shadow",
|
|
606
|
+
"default": false,
|
|
607
|
+
"info": "Not for Style 1"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"type": "text",
|
|
611
|
+
"id": "block_icon_outer_size",
|
|
612
|
+
"label": "Icon/Image Outer Size (in px)",
|
|
613
|
+
"default":"60px",
|
|
614
|
+
"info":"To get rid of this Outer layer, set same size for Icon/Image Outer & Icon/Image, then remove Icon Background & Border Color"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"type": "text",
|
|
618
|
+
"id": "block_icon_size",
|
|
619
|
+
"label": "Icon/Image Size (in px) - Should be lesser than Block Icon Size",
|
|
620
|
+
"default":"40px"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"type": "header",
|
|
624
|
+
"content": "Block Color settings"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"type": "color",
|
|
628
|
+
"id": "block_border_color",
|
|
629
|
+
"label": "Border color"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"type": "color",
|
|
633
|
+
"id": "block_bg",
|
|
634
|
+
"label": "Background Color"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"type": "color",
|
|
638
|
+
"id": "block_icon_bg",
|
|
639
|
+
"label": "Icon Background Color"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"type": "color",
|
|
643
|
+
"id": "block_icon_border_color",
|
|
644
|
+
"label": "Icon Border Color"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"type": "color",
|
|
648
|
+
"id": "block_heading_color",
|
|
649
|
+
"label": "Heading Color"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"type": "color",
|
|
653
|
+
"id": "block_heading_hover",
|
|
654
|
+
"label": "Heading Hover Color"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"type": "color",
|
|
658
|
+
"id": "block_description_color",
|
|
659
|
+
"label": "Description Color"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"type": "color",
|
|
663
|
+
"id": "block_button_bg_color",
|
|
664
|
+
"label": "Button bg color"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"type": "color",
|
|
668
|
+
"id": "block_button_text_color",
|
|
669
|
+
"label": "Button text color"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"type": "color",
|
|
673
|
+
"id": "block_button_hover_bg_color",
|
|
674
|
+
"label": "Button hover bg color"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "color",
|
|
678
|
+
"id": "block_button_hover_text_color",
|
|
679
|
+
"label": "Button hover text color"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"type": "header",
|
|
683
|
+
"content": "Custom class"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"type": "text",
|
|
687
|
+
"id": "custom_class_name",
|
|
688
|
+
"label": "Add your custom class name here"
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"blocks": [
|
|
692
|
+
{
|
|
693
|
+
"type": "icon",
|
|
694
|
+
"name": "Icon",
|
|
695
|
+
"settings": [
|
|
696
|
+
{
|
|
697
|
+
"type": "image_picker",
|
|
698
|
+
"id": "icon",
|
|
699
|
+
"label": "Icon"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"type": "text",
|
|
703
|
+
"id": "title",
|
|
704
|
+
"label": "Heading",
|
|
705
|
+
"default": "Heading"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "text",
|
|
709
|
+
"id": "desc",
|
|
710
|
+
"label": "Description",
|
|
711
|
+
"default": "Lorem ipsum dolor sit amet"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"type": "text",
|
|
715
|
+
"id": "link_text",
|
|
716
|
+
"label": "Button Label",
|
|
717
|
+
"default": "View More"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"type": "url",
|
|
721
|
+
"id": "link",
|
|
722
|
+
"label": "Link"
|
|
723
|
+
}
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"type": "class",
|
|
728
|
+
"name": "Class",
|
|
729
|
+
"settings": [
|
|
730
|
+
{
|
|
731
|
+
"type": "text",
|
|
732
|
+
"id": "class",
|
|
733
|
+
"label": "Font Awesome class",
|
|
734
|
+
"default": "fa fa-home"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"type": "text",
|
|
738
|
+
"id": "title",
|
|
739
|
+
"label": "Heading",
|
|
740
|
+
"default": "Heading"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"type": "text",
|
|
744
|
+
"id": "desc",
|
|
745
|
+
"label": "Description",
|
|
746
|
+
"default": "Lorem ipsum dolor sit amet"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"type": "text",
|
|
750
|
+
"id": "link_text",
|
|
751
|
+
"label": "Button Label",
|
|
752
|
+
"default": "View More"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"type": "url",
|
|
756
|
+
"id": "link",
|
|
757
|
+
"label": "Link"
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
|
+
}
|
|
761
|
+
],
|
|
762
|
+
"presets": [
|
|
763
|
+
{
|
|
764
|
+
"name": "Support block",
|
|
765
|
+
"category": "Text",
|
|
766
|
+
"blocks": [
|
|
767
|
+
{
|
|
768
|
+
"type": "class"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"type": "class"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "class"
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
{% endschema %}
|