wickes-css2 2.102.0-lg-788-improve-mini-basket.7 → 2.103.0-0.5.0-icons.2
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/Readme.md +0 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +10 -1008
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket-v2.js +244 -138
- package/build/js/page/components/discounts.js +6 -6
- package/build/js/page/plp-cards-v2.js +6 -15
- package/build/js/page/plp-load-more.js +1 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +2 -2
- package/src/components/card_product_v2.hbs +5 -10
- package/src/components/injected-content.hbs +1 -1
- package/src/components/mini-basket/mini-basket-empty.hbs +13 -3
- package/src/components/mini-basket/mini-basket.hbs +13 -32
- package/src/components/mini-basket/product-item.hbs +16 -37
- package/src/components/srp-injected.hbs +3 -13
- package/src/data/data_confirmation-summary.json +2 -4
- package/src/data/data_mini-basket.json +80 -4
- package/src/data/data_search-results_v2.json +141 -56
- package/src/data/my-account/data_my-account.json +6 -0
- package/src/js/components/general/cart-slider.js +0 -3
- package/src/js/components/general/create-popup-slider.js +2 -5
- package/src/js/components/general/mini-basket-slider.js +8 -0
- package/src/js/components/product-banner.js +148 -0
- package/src/js/emulation/custom-slider-emulation.js +10 -4
- package/src/js/page/basket-v2.js +244 -138
- package/src/js/page/components/discounts.js +6 -6
- package/src/js/page/plp-cards-v2.js +6 -15
- package/src/js/page/plp-load-more.js +1 -1
- package/src/layouts/base.hbs +6 -0
- package/src/page_plp_v2.html +7 -16
- package/src/page_search-results.html +2 -12
- package/src/page_tradePro_rewards_home_installer_message.html +56 -0
- package/src/page_tradePro_rewards_instore_installer_message.html +77 -0
- package/src/partials/scripts.hbs +0 -1
- package/src/scss/category-main.scss +1 -0
- package/src/scss/components/_custom-slider.scss +3 -125
- package/src/scss/components/_popover-mini-basket.scss +4 -0
- package/src/scss/components/card-product-banner.scss +3 -91
- package/src/scss/pages/_facets.scss +86 -0
- package/src/scss/pages/my-account-v2.scss +29 -0
- package/src/scss/pages/page_products-list-combined.scss +0 -11
- package/src/scss/pages/page_products-list.scss +0 -8
- package/src/scss/plp-main.scss +1 -0
- package/src/sitemap.html +8 -0
- package/build/js/mini-basket-slider.min.js +0 -1
- package/build/js/page/basket/basket-update-cart-action.js +0 -60
- package/build/js/page/basket/basket-update-cart.js +0 -29
- package/build/js/page/basket/basket-utils.js +0 -50
- package/build/js/page/basket/mini-basket-total.js +0 -97
- package/build/js/page/basket/quantity-change-handler.js +0 -56
- package/build/js/page/basket/update-quantity-operation.js +0 -37
- package/build/js/page/basket/update-quantity.js +0 -65
- package/build/js/page/components/mini-basket-slider.js +0 -562
- package/src/components/card_sponsor_banner.hbs +0 -8
- package/src/components/card_sponsor_product.hbs +0 -6
- package/src/components/mini-basket/mini-basket-order-item.hbs +0 -73
- package/src/js/components/banner-placement-manager.js +0 -258
- package/src/js/emulation/banner-placement-manager.js +0 -53
- package/src/js/emulation/mini-basket-data.js +0 -949
- package/src/js/page/basket/basket-update-cart-action.js +0 -60
- package/src/js/page/basket/basket-update-cart.js +0 -29
- package/src/js/page/basket/basket-utils.js +0 -50
- package/src/js/page/basket/mini-basket-total.js +0 -97
- package/src/js/page/basket/quantity-change-handler.js +0 -56
- package/src/js/page/basket/update-quantity-operation.js +0 -37
- package/src/js/page/basket/update-quantity.js +0 -65
- package/src/js/page/components/mini-basket-slider.js +0 -562
|
@@ -6,9 +6,7 @@ $(document).ready(function () {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
function cardsContent(itemsInRow) {
|
|
9
|
-
let card = $('.content .product-card, .content .card-product-banner
|
|
10
|
-
return $(this).parents('.product-card, .card-product-banner, .card-sponsor-banner, .card-sponsor-product').length === 0;
|
|
11
|
-
});
|
|
9
|
+
let card = $('.content .product-card, .content .card-product-banner');
|
|
12
10
|
let priceSelectors = [
|
|
13
11
|
'.including-vat .product-card__price__old-price',
|
|
14
12
|
'.excluding-vat .product-card__price__old-price',
|
|
@@ -19,7 +17,6 @@ $(document).ready(function () {
|
|
|
19
17
|
revealAll(card, ['.product-card__price__old-price',
|
|
20
18
|
'.product-card__price-sqm',
|
|
21
19
|
'.product-card__price-value',
|
|
22
|
-
'.product-card__sponsored',
|
|
23
20
|
'.energy-efficiency',
|
|
24
21
|
'.energy-efficiency__link']);
|
|
25
22
|
|
|
@@ -36,8 +33,6 @@ $(document).ready(function () {
|
|
|
36
33
|
hideEmptiness(currentRow, '.product-card__price-sqm');
|
|
37
34
|
}
|
|
38
35
|
hideEmptiness(currentRow, '.product-card__price-value');
|
|
39
|
-
hideEmptiness(currentRow, '.product-card__sponsored');
|
|
40
|
-
hideEmptiness(currentRow, '.product-card__price__old-price');
|
|
41
36
|
hideEmptiness(currentRow, '.energy-efficiency');
|
|
42
37
|
hideEmptiness(currentRow, '.energy-efficiency__link');
|
|
43
38
|
|
|
@@ -48,15 +43,11 @@ $(document).ready(function () {
|
|
|
48
43
|
function hideEmptiness(query, className) {
|
|
49
44
|
let currentQuery = query.find(className);
|
|
50
45
|
let rowContent = currentQuery.text();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if (classEmptyCheckMap[className]) {
|
|
58
|
-
let isClassEmpty = isClassPresentInQuery(currentQuery, classEmptyCheckMap[className]);
|
|
59
|
-
if (isClassEmpty) {
|
|
46
|
+
|
|
47
|
+
if (className === '.energy-efficiency') {
|
|
48
|
+
let isEnergyQueryEmpty = isClassPresentInQuery(currentQuery, "energy-efficiency--empty");
|
|
49
|
+
|
|
50
|
+
if (isEnergyQueryEmpty) {
|
|
60
51
|
currentQuery.hide();
|
|
61
52
|
}
|
|
62
53
|
return;
|
|
@@ -43,7 +43,7 @@ Wick.PLPLoadMore = {
|
|
|
43
43
|
.finally(() => {
|
|
44
44
|
hideLoader(Wick.PLPLoadMore.el.loader);
|
|
45
45
|
Wick.PLPLoadMore.el.$loadMoreBtn.blur();
|
|
46
|
-
Wick.
|
|
46
|
+
Wick.ProductBanner.checkProductsInColumn();
|
|
47
47
|
$(window).trigger('productBannerPositionChanged');
|
|
48
48
|
Wick.EnergyEfficiency.drawEnergyLabels();
|
|
49
49
|
Wick.PLP?.bindEvents();
|
package/src/layouts/base.hbs
CHANGED
package/src/page_plp_v2.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#extend "base" hybrisClass="hybris-class" pageClass="products-list-page
|
|
1
|
+
{{#extend "base" hybrisClass="hybris-class" pageClass="products-list-page category-seo-config" title="Products list" globalSearchV2="true" pagePlp=true}}
|
|
2
2
|
{{#content "head" mode="append" pagePlp=true}}
|
|
3
3
|
<link type="text/css" rel="stylesheet" href="./css/components/global-search.css">
|
|
4
4
|
{{/content}}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<h1 class="page-header__title">
|
|
11
11
|
Fire Doors
|
|
12
12
|
</h1>
|
|
13
|
+
{{> srp-injected}}
|
|
13
14
|
</div>
|
|
14
15
|
|
|
15
16
|
{{> color-picker-plp }}
|
|
@@ -32,23 +33,13 @@
|
|
|
32
33
|
</div>
|
|
33
34
|
|
|
34
35
|
<div class="products-list products-list-v2">
|
|
35
|
-
{{#each
|
|
36
|
-
|
|
36
|
+
{{#each plp_load-more.results}}
|
|
37
|
+
{{>card_product_v2}}
|
|
37
38
|
{{/each}}
|
|
38
39
|
{{#if search-result_v2.product-banner}}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
{{/if}}
|
|
43
|
-
{{#if search-result_v2.sponsor-banner}}
|
|
44
|
-
{{#each search-result_v2.sponsor-banner}}
|
|
45
|
-
{{>card_sponsor_banner}}
|
|
46
|
-
{{/each}}
|
|
47
|
-
{{/if}}
|
|
48
|
-
{{#if search-result_v2.sponsor-product}}
|
|
49
|
-
{{#each search-result_v2.sponsor-product}}
|
|
50
|
-
{{>card_sponsor_product}}
|
|
51
|
-
{{/each}}
|
|
40
|
+
{{#each search-result_v2.product-banner}}
|
|
41
|
+
{{>card_product_banner_v2}}
|
|
42
|
+
{{/each}}
|
|
52
43
|
{{/if}}
|
|
53
44
|
</div>
|
|
54
45
|
<div class="load-more-wrap">
|
|
@@ -42,19 +42,9 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<div class="products-list products-list-v2">
|
|
45
|
-
{{#each
|
|
46
|
-
{{>card_product_v2}}
|
|
45
|
+
{{#each plp_energy-efficiency.products}}
|
|
46
|
+
{{> card_product_v2}}
|
|
47
47
|
{{/each}}
|
|
48
|
-
{{#if search-result_v2.sponsor-banner}}
|
|
49
|
-
{{#each search-result_v2.sponsor-banner}}
|
|
50
|
-
{{>card_sponsor_banner}}
|
|
51
|
-
{{/each}}
|
|
52
|
-
{{/if}}
|
|
53
|
-
{{#if search-result_v2.sponsor-product}}
|
|
54
|
-
{{#each search-result_v2.sponsor-product}}
|
|
55
|
-
{{>card_sponsor_product}}
|
|
56
|
-
{{/each}}
|
|
57
|
-
{{/if}}
|
|
58
48
|
</div>
|
|
59
49
|
|
|
60
50
|
<div class="sort-products-list">
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{{#extend "my-account-v2"
|
|
2
|
+
pageClass="page_tradePro-rewards my-account"
|
|
3
|
+
title="TradePro Rewards (Installer message)"
|
|
4
|
+
logo-tp=true
|
|
5
|
+
tradepro-nav=true
|
|
6
|
+
pageMyAcc=true
|
|
7
|
+
myAccV2=true
|
|
8
|
+
isLoggedIn=true
|
|
9
|
+
mainClass="pt-0"
|
|
10
|
+
dataBreadcrumbs=my_account.tradeProRewards.breadcrumbsHomePage
|
|
11
|
+
}}
|
|
12
|
+
{{#content "head" mode="append"}}
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/tradePro-rewards.css">
|
|
14
|
+
{{/content}}
|
|
15
|
+
{{#content "main"}}
|
|
16
|
+
<div class="container">
|
|
17
|
+
<div class="row">
|
|
18
|
+
<div class="col-12">
|
|
19
|
+
{{> my-account/mobile-nav
|
|
20
|
+
menu=my_account.tradepro.menu
|
|
21
|
+
active-index=4
|
|
22
|
+
page-name=my_account.tradepro.menu.[4].title
|
|
23
|
+
}}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="my-account__banner-wrapper my-account__banner-wrapper--background">
|
|
29
|
+
<div class="container">
|
|
30
|
+
<div class="row">
|
|
31
|
+
<div class="col-12">
|
|
32
|
+
{{> notifications my_account.tradepro.banner withCloseBtn="true"}}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
{{#extend "cards-slider"
|
|
39
|
+
title="TradePro Rewards"
|
|
40
|
+
}}
|
|
41
|
+
{{#content "cards"}}
|
|
42
|
+
{{#each page_tradePro_cards.reward_cards}}
|
|
43
|
+
{{> reward_card
|
|
44
|
+
modificator="swiper-slide"
|
|
45
|
+
imgSrc=imgSrc
|
|
46
|
+
title=title
|
|
47
|
+
description=description
|
|
48
|
+
btnText=btnText
|
|
49
|
+
btnUrl=btnUrl
|
|
50
|
+
}}
|
|
51
|
+
{{/each}}
|
|
52
|
+
{{/content}}
|
|
53
|
+
{{/extend}}
|
|
54
|
+
|
|
55
|
+
{{/content}}
|
|
56
|
+
{{/extend}}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{{#extend
|
|
2
|
+
"my-account-v2"
|
|
3
|
+
pageClass="page_tradePro-rewards my-account"
|
|
4
|
+
title="TradePro Rewards (Installer message)"
|
|
5
|
+
logo-tp=true
|
|
6
|
+
tradepro-nav=true
|
|
7
|
+
pageMyAcc=true
|
|
8
|
+
myAccV2=true
|
|
9
|
+
isLoggedIn=true
|
|
10
|
+
mainClass="pt-0"
|
|
11
|
+
dataBreadcrumbs=my_account.tradeProRewards.breadcrumbsDetailsPage
|
|
12
|
+
}}
|
|
13
|
+
{{#content "head" mode="append"}}
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/tradePro-rewards.css">
|
|
15
|
+
{{/content}}
|
|
16
|
+
{{#content "main"}}
|
|
17
|
+
<div class="container">
|
|
18
|
+
<div class="row">
|
|
19
|
+
<div class="col-12">
|
|
20
|
+
{{> my-account/mobile-nav
|
|
21
|
+
menu=my_account.tradepro.menu
|
|
22
|
+
active-index=4
|
|
23
|
+
page-name=my_account.tradepro.menu.[4].title
|
|
24
|
+
}}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div class="my-account__banner-wrapper">
|
|
30
|
+
<div class="container">
|
|
31
|
+
<div class="row">
|
|
32
|
+
<div class="col-12">
|
|
33
|
+
{{> notifications my_account.tradepro.banner withCloseBtn="true"}}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<div class="container top-indent">
|
|
40
|
+
<div class="row">
|
|
41
|
+
<div class="col-12">
|
|
42
|
+
{{#with page_tradePro_vouchers.instore}}
|
|
43
|
+
<h1 class="text-start">{{title}}</h1>
|
|
44
|
+
{{> voucher
|
|
45
|
+
mod="mb-1"
|
|
46
|
+
}}
|
|
47
|
+
{{/with}}
|
|
48
|
+
{{#extend "accordion" header=page_tradePro_vouchers.terms.title collapsed="accordion_collapsed voucher--terms" hidden="hidden-state"}}
|
|
49
|
+
{{#content "content"}}{{page_tradePro_vouchers.terms.text}}{{/content}}
|
|
50
|
+
{{/extend}}
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
{{#extend "cards-slider"
|
|
56
|
+
title="Other TradePro Rewards"
|
|
57
|
+
secondary=true
|
|
58
|
+
}}
|
|
59
|
+
{{#content "cards"}}
|
|
60
|
+
{{#each page_tradePro_cards.reward_cards}}
|
|
61
|
+
{{> reward_card
|
|
62
|
+
modificator="swiper-slide"
|
|
63
|
+
imgSrc=imgSrc
|
|
64
|
+
title=title
|
|
65
|
+
description=description
|
|
66
|
+
btnText=btnText
|
|
67
|
+
btnUrl=btnUrl
|
|
68
|
+
}}
|
|
69
|
+
{{/each}}
|
|
70
|
+
{{/content}}
|
|
71
|
+
{{/extend}}
|
|
72
|
+
|
|
73
|
+
{{/content}}
|
|
74
|
+
{{#content "foot" mode="append"}}
|
|
75
|
+
<script defer src="./js/tradePro-rewards.min.js"></script>
|
|
76
|
+
{{/content}}
|
|
77
|
+
{{/extend}}
|
package/src/partials/scripts.hbs
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
<script src="./js/basket.min.js"></script>
|
|
15
15
|
{{/ifCond}}
|
|
16
16
|
{{!-- BUNDLES END --}}
|
|
17
|
-
<script src="./js/mini-basket-slider.min.js"></script>
|
|
18
17
|
<script src="./js/emulation.min.js"></script>
|
|
19
18
|
<script defer src="https://kit.fontawesome.com/b73abc6840.js" crossorigin="anonymous"></script>
|
|
20
19
|
{{#if pagePdp}}
|
|
@@ -80,19 +80,6 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
&__notifications {
|
|
84
|
-
&:has(.notification) {
|
|
85
|
-
margin-top: 16px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.notification:only-child {
|
|
89
|
-
@include font-size(14);
|
|
90
|
-
@include line-height(24);
|
|
91
|
-
margin-bottom: 0;
|
|
92
|
-
border-bottom: none;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
83
|
&__message {
|
|
97
84
|
margin-top: 8px;
|
|
98
85
|
display: flex;
|
|
@@ -172,32 +159,6 @@
|
|
|
172
159
|
&__details {
|
|
173
160
|
flex: 1;
|
|
174
161
|
|
|
175
|
-
&-header {
|
|
176
|
-
display: flex;
|
|
177
|
-
align-items: flex-start;
|
|
178
|
-
justify-content: space-between;
|
|
179
|
-
grid-gap: 8px;
|
|
180
|
-
|
|
181
|
-
.btn--remove {
|
|
182
|
-
min-width: 24px;
|
|
183
|
-
padding: 4px;
|
|
184
|
-
background: 0 0;
|
|
185
|
-
border: none;
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
|
|
190
|
-
.remove-icon {
|
|
191
|
-
color: $blue;
|
|
192
|
-
font-size: 1rem;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&-body {
|
|
198
|
-
margin-top: 4px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
162
|
.item,
|
|
202
163
|
.price {
|
|
203
164
|
margin-bottom: 0;
|
|
@@ -229,8 +190,8 @@
|
|
|
229
190
|
}
|
|
230
191
|
|
|
231
192
|
.price {
|
|
232
|
-
@include font-size(
|
|
233
|
-
@include line-height(
|
|
193
|
+
@include font-size(18);
|
|
194
|
+
@include line-height(24);
|
|
234
195
|
margin-top: 8px;
|
|
235
196
|
font-weight: 700;
|
|
236
197
|
color: $blue-dark;
|
|
@@ -245,54 +206,6 @@
|
|
|
245
206
|
&.product-card__content {
|
|
246
207
|
margin-top: 0;
|
|
247
208
|
padding: 0;
|
|
248
|
-
height: 100%;
|
|
249
|
-
display: flex;
|
|
250
|
-
flex-direction: column;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
&__quantity-control {
|
|
255
|
-
display: flex;
|
|
256
|
-
align-items: center;
|
|
257
|
-
margin-top: 8px;
|
|
258
|
-
|
|
259
|
-
.quantity {
|
|
260
|
-
margin-bottom: 0;
|
|
261
|
-
min-width: 40px;
|
|
262
|
-
text-align: center;
|
|
263
|
-
padding: 0 5px;
|
|
264
|
-
|
|
265
|
-
.product-card__quantity-value {
|
|
266
|
-
margin: 0;
|
|
267
|
-
font-weight: 400;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.btn--quantity {
|
|
272
|
-
background: none;
|
|
273
|
-
padding: 0;
|
|
274
|
-
width: 24px;
|
|
275
|
-
min-height: 24px;
|
|
276
|
-
display: inline-flex;
|
|
277
|
-
align-items: center;
|
|
278
|
-
justify-content: center;
|
|
279
|
-
|
|
280
|
-
.quantity-cta-icon {
|
|
281
|
-
font-size: 1.35rem;
|
|
282
|
-
color: $blue;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&[disabled] {
|
|
286
|
-
border: none;
|
|
287
|
-
opacity: 0.6;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.btn--remove,
|
|
293
|
-
.btn--quantity {
|
|
294
|
-
&:hover {
|
|
295
|
-
opacity: 0.7;
|
|
296
209
|
}
|
|
297
210
|
}
|
|
298
211
|
|
|
@@ -305,17 +218,6 @@
|
|
|
305
218
|
}
|
|
306
219
|
}
|
|
307
220
|
}
|
|
308
|
-
|
|
309
|
-
&__offers {
|
|
310
|
-
margin-top: 4px;
|
|
311
|
-
|
|
312
|
-
.products__promo {
|
|
313
|
-
@include font-size(12);
|
|
314
|
-
@include line-height(16);
|
|
315
|
-
color: $red;
|
|
316
|
-
font-weight: 400;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
221
|
}
|
|
320
222
|
|
|
321
223
|
&__footer {
|
|
@@ -422,7 +324,7 @@
|
|
|
422
324
|
font-weight: 500;
|
|
423
325
|
}
|
|
424
326
|
|
|
425
|
-
|
|
327
|
+
.value {
|
|
426
328
|
@include font-size(18);
|
|
427
329
|
@include line-height(24);
|
|
428
330
|
font-weight: 700;
|
|
@@ -552,30 +454,6 @@
|
|
|
552
454
|
}
|
|
553
455
|
}
|
|
554
456
|
|
|
555
|
-
@include media-breakpoint-up(sm) {
|
|
556
|
-
.custom-slider {
|
|
557
|
-
.products__details {
|
|
558
|
-
.price {
|
|
559
|
-
@include font-size(18);
|
|
560
|
-
@include line-height(24);
|
|
561
|
-
|
|
562
|
-
.inc {
|
|
563
|
-
@include font-size(12);
|
|
564
|
-
@include line-height(16);
|
|
565
|
-
font-weight: 500;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
&-footer {
|
|
570
|
-
display: flex;
|
|
571
|
-
align-items: center;
|
|
572
|
-
justify-content: space-between;
|
|
573
|
-
margin-top: auto;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
457
|
@include media-breakpoint-up(sm) {
|
|
580
458
|
.custom-slider {
|
|
581
459
|
&__wrap {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@include make-col(4);
|
|
5
5
|
margin-bottom: 30px;
|
|
6
6
|
|
|
7
|
-
@include media-breakpoint-down(md) {
|
|
7
|
+
@include media-breakpoint-down(md) {
|
|
8
8
|
@include make-col(6);
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
padding: 0 15px;
|
|
40
40
|
|
|
41
41
|
@include media-breakpoint-down(sm) {
|
|
42
|
-
display: inline-block;
|
|
42
|
+
display: inline-block;
|
|
43
43
|
padding: 0;
|
|
44
44
|
width: 100%;
|
|
45
45
|
}
|
|
@@ -49,92 +49,4 @@
|
|
|
49
49
|
display: inline-block;
|
|
50
50
|
width: 100%;
|
|
51
51
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.products-list {
|
|
55
|
-
.card-sponsor-product,
|
|
56
|
-
.card-sponsor-banner {
|
|
57
|
-
@include make-col(4);
|
|
58
|
-
margin-bottom: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.card-sponsor-banner {
|
|
62
|
-
&__link {
|
|
63
|
-
display: inline-block;
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
padding: 0 15px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&__image {
|
|
70
|
-
display: inline-block;
|
|
71
|
-
width: 100%;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.card-sponsor-product {
|
|
76
|
-
.product-card {
|
|
77
|
-
max-width: 100%;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.product-card__sponsored {
|
|
82
|
-
@include font-size(12);
|
|
83
|
-
@include line-height(16);
|
|
84
|
-
color: $squant;
|
|
85
|
-
font-weight: 400;
|
|
86
|
-
margin-top: -3px;
|
|
87
|
-
margin-bottom: 15px;
|
|
88
|
-
padding: 2px 4px;
|
|
89
|
-
|
|
90
|
-
&:not(.product-card__sponsored--empty) {
|
|
91
|
-
width: max-content;
|
|
92
|
-
background: $gray-light;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@include media-breakpoint-down(md) {
|
|
98
|
-
.products-list {
|
|
99
|
-
.card-sponsor-product,
|
|
100
|
-
.card-sponsor-banner {
|
|
101
|
-
@include make-col(6);
|
|
102
|
-
|
|
103
|
-
.card {
|
|
104
|
-
max-width: 100%;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.products-list-v2 {
|
|
110
|
-
.card-sponsor-product:nth-of-type(n+3) {
|
|
111
|
-
.card {
|
|
112
|
-
&:before {
|
|
113
|
-
content: none;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@include media-breakpoint-down(sm) {
|
|
121
|
-
.products-list {
|
|
122
|
-
.product-card__sponsored {
|
|
123
|
-
margin-right: auto;
|
|
124
|
-
margin-left: auto;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.card-sponsor-banner {
|
|
128
|
-
position: relative;
|
|
129
|
-
|
|
130
|
-
&::after {
|
|
131
|
-
content: '';
|
|
132
|
-
position: absolute;
|
|
133
|
-
bottom: 20px;
|
|
134
|
-
left: 5px;
|
|
135
|
-
width: calc(100% - 10px);
|
|
136
|
-
border-bottom: 1px solid $gray;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@import '../helpers/variables';
|
|
2
|
+
@import '../helpers/helpers';
|
|
3
|
+
|
|
4
|
+
.category-seo-config {
|
|
5
|
+
|
|
6
|
+
.legal-info {
|
|
7
|
+
> div {
|
|
8
|
+
a {
|
|
9
|
+
color: $blue;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
p {
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
line-height: 24px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
h3 {
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
font-size: 1.25rem;
|
|
20
|
+
line-height: 32px;
|
|
21
|
+
color: inherit;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h4 {
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
font-size: 1.125rem;
|
|
27
|
+
line-height: 24px;
|
|
28
|
+
color: inherit;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.page-header {
|
|
34
|
+
p {
|
|
35
|
+
line-height: 24px;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h1 {
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
font-size: 1.625rem;
|
|
42
|
+
line-height: 36px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__title {
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
font-size: 1.625rem;
|
|
48
|
+
line-height: 36px;
|
|
49
|
+
text-align: left;
|
|
50
|
+
color: inherit;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include media-breakpoint-up(md) {
|
|
56
|
+
.category-seo-config {
|
|
57
|
+
.page-header {
|
|
58
|
+
|
|
59
|
+
h1 {
|
|
60
|
+
line-height: 46px;
|
|
61
|
+
font-size: 2.125rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__title {
|
|
65
|
+
font-size: 2.125rem;
|
|
66
|
+
line-height: 46px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.legal-info {
|
|
72
|
+
> div {
|
|
73
|
+
h3 {
|
|
74
|
+
font-size: 1.5rem;
|
|
75
|
+
line-height: 32px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
h4 {
|
|
79
|
+
font-size: 1.125rem;
|
|
80
|
+
line-height: 24px;
|
|
81
|
+
font-weight: 700;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|