wickes-css2 2.109.0-develop.6 → 2.109.0-develop.8
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/components/card-product-banner.css +1 -1
- package/build/css/components/special-opening-schedule-v2.css +1 -1
- package/build/css/components/special-opening-schedule.css +1 -1
- package/build/css/emulation.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/checkout-new.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.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 +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +367 -111
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/checkout-payment-details.js +95 -11
- package/build/js/page/components/gift-cards.js +1 -1
- package/build/js/page/components/store-locator-cards.js +76 -0
- 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/build/js/store-locator-cards.min.js +1 -0
- package/build/js/toggle-password-visibility.min.js +1 -0
- package/package.json +1 -1
- package/src/components/card-store-locator.hbs +70 -33
- package/src/components/card_bloomreach_media_banner.hbs +10 -0
- package/src/components/card_sponsor_banner.hbs +1 -1
- package/src/components/checkout-payment-details-v2.hbs +4 -4
- package/src/components/checkout-payment-info-block.hbs +1 -1
- package/src/data/data_locators.json +441 -135
- package/src/data/data_search-results_v2.json +11 -0
- package/src/js/components/general/accordion.js +25 -2
- package/src/js/emulation/banner-placement-manager.js +235 -34
- package/src/js/emulation/checkout-payment-details.js +34 -1
- package/src/js/emulation/gift-cards.js +1 -1
- package/src/js/emulation/store-locator-load-more.js +69 -0
- package/src/js/page/checkout-payment-details.js +95 -11
- package/src/js/page/components/gift-cards.js +1 -1
- package/src/js/page/components/store-locator-cards.js +76 -0
- package/src/page_plp_bloomreach.html +81 -0
- package/src/page_plp_v2.html +5 -0
- package/src/page_store-locator-list.html +18 -28
- package/src/scss/components/_card-store-locator.scss +139 -32
- package/src/scss/components/card-product-banner.scss +35 -35
- package/src/scss/components/special-opening-schedule-v2.scss +2 -6
- package/src/scss/components/special-opening-schedule.scss +17 -4
- package/src/scss/emulation.scss +0 -6
- package/src/scss/pages/page_store-locator.scss +48 -26
- package/src/scss/store-locator-main.scss +15 -1
- package/src/sitemap.html +1 -0
- package/src/js/emulation/store-locator-list.js +0 -19
|
@@ -7,16 +7,26 @@ h1 {
|
|
|
7
7
|
|
|
8
8
|
.cards-store {
|
|
9
9
|
&-list {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
padding-right: 0;
|
|
11
|
+
padding-left: 0;
|
|
12
|
+
height: auto;
|
|
12
13
|
|
|
13
14
|
&__actions {
|
|
14
|
-
margin:
|
|
15
|
+
margin: 24px auto 0;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&-wrapper {
|
|
19
20
|
padding-top: 40px;
|
|
21
|
+
|
|
22
|
+
.row {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-columns: 1fr;
|
|
25
|
+
gap: 16px;
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
margin-left: 0;
|
|
28
|
+
align-items: start;
|
|
29
|
+
}
|
|
20
30
|
}
|
|
21
31
|
}
|
|
22
32
|
|
|
@@ -40,10 +50,6 @@ h1 {
|
|
|
40
50
|
padding-top: 20px;
|
|
41
51
|
}
|
|
42
52
|
|
|
43
|
-
.cards-store-list__actions {
|
|
44
|
-
margin: 0 auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
53
|
.btn_store-near-me {
|
|
48
54
|
@include button-full;
|
|
49
55
|
margin-bottom: 20px;
|
|
@@ -52,25 +58,20 @@ h1 {
|
|
|
52
58
|
@include media-breakpoint-down(sm) {
|
|
53
59
|
.cards-store {
|
|
54
60
|
&-list {
|
|
55
|
-
@include make-col-ready;
|
|
56
|
-
@include make-col(12);
|
|
57
|
-
|
|
58
61
|
&__actions {
|
|
59
|
-
|
|
60
|
-
@include make-col(12);
|
|
62
|
+
width: 100%;
|
|
61
63
|
|
|
62
64
|
.icon__eye {
|
|
63
|
-
svg
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
width: 1.3125rem;
|
|
65
|
+
svg,
|
|
66
|
+
i {
|
|
67
|
+
vertical-align: -0.15em;
|
|
67
68
|
margin-right: 5px;
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
&-list_open .cards-store-list:not(:nth-child(-n+3)) {
|
|
74
|
+
&-list_open .cards-store-list:not(:nth-child(-n + 3)) {
|
|
74
75
|
display: block;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -92,18 +93,28 @@ h1 {
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
@include media-breakpoint-up(
|
|
96
|
+
@include media-breakpoint-up(sm) {
|
|
96
97
|
.cards-store {
|
|
97
|
-
&-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
&-wrapper {
|
|
99
|
+
.row {
|
|
100
|
+
grid-template-columns: repeat(2, 1fr);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
100
103
|
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
&-list__actions {
|
|
105
|
+
margin: 24px 0 0;
|
|
106
|
+
display: flex;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
|
|
109
|
+
.btn {
|
|
110
|
+
min-width: 148px;
|
|
111
|
+
width: auto;
|
|
103
112
|
}
|
|
104
113
|
}
|
|
105
114
|
}
|
|
115
|
+
}
|
|
106
116
|
|
|
117
|
+
@include media-breakpoint-up(md) {
|
|
107
118
|
.btn_store-near-me {
|
|
108
119
|
display: none;
|
|
109
120
|
}
|
|
@@ -111,9 +122,20 @@ h1 {
|
|
|
111
122
|
|
|
112
123
|
@include media-breakpoint-up(lg) {
|
|
113
124
|
.cards-store {
|
|
114
|
-
&-
|
|
115
|
-
|
|
116
|
-
|
|
125
|
+
&-wrapper {
|
|
126
|
+
.row {
|
|
127
|
+
grid-template-columns: repeat(3, 1fr);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include media-breakpoint-up(xl) {
|
|
134
|
+
.cards-store {
|
|
135
|
+
&-wrapper {
|
|
136
|
+
.row {
|
|
137
|
+
grid-template-columns: repeat(4, 1fr);
|
|
138
|
+
}
|
|
117
139
|
}
|
|
118
140
|
}
|
|
119
141
|
}
|
|
@@ -21,9 +21,20 @@
|
|
|
21
21
|
@import 'components/special-opening-schedule-v2';
|
|
22
22
|
@import 'pages/page_store-locator';
|
|
23
23
|
@import 'pages/page_store-locator-details';
|
|
24
|
-
@import 'components/
|
|
24
|
+
@import 'components/loader';
|
|
25
|
+
// Loader
|
|
26
|
+
|
|
27
|
+
.loader-wrapper {
|
|
28
|
+
position: fixed;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Main
|
|
32
|
+
main {
|
|
33
|
+
padding-bottom: 72px;
|
|
34
|
+
}
|
|
25
35
|
|
|
26
36
|
//Component card extract start
|
|
37
|
+
|
|
27
38
|
.card {
|
|
28
39
|
flex-direction: row;
|
|
29
40
|
margin-bottom: 30px;
|
|
@@ -74,10 +85,12 @@
|
|
|
74
85
|
div {
|
|
75
86
|
font-weight: 100;
|
|
76
87
|
}
|
|
88
|
+
|
|
77
89
|
@include media-breakpoint-down(sm) {
|
|
78
90
|
width: 100%;
|
|
79
91
|
}
|
|
80
92
|
}
|
|
93
|
+
|
|
81
94
|
//Component card extract end
|
|
82
95
|
|
|
83
96
|
//Page store-locator extract start
|
|
@@ -89,4 +102,5 @@
|
|
|
89
102
|
display: none;
|
|
90
103
|
}
|
|
91
104
|
}
|
|
105
|
+
|
|
92
106
|
//Page store-locator extract end
|
package/src/sitemap.html
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<li><span class="page-id">1.19</span><a href="page_homepage-with-chat-bot.html" target="_blank">Homepage - With Chat Bot Icon</a></li>
|
|
51
51
|
<li><span class="page-id">1.20</span><a href="page_plp-with-paint.html" target="_blank">Products list - With paint swatches</a></li>
|
|
52
52
|
<li><span class="page-id">1.21</span><a href="page_homepage-with-global-search-v2-vat.html" target="_blank">Homepage - With Content Search V2 VAT</a></li>
|
|
53
|
+
<li><span class="page-id">1.22</span><a href="page_plp_bloomreach.html" target="_blank">Products list Bloomreach</a></li>
|
|
53
54
|
</ul>
|
|
54
55
|
<h3>PDP</h3>
|
|
55
56
|
<ul>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//TODO: needs refactoring in future, gather tother with range-type.js for common script
|
|
2
|
-
var Wick = Wick || {};
|
|
3
|
-
|
|
4
|
-
Wick.StoreLocator = (function () {
|
|
5
|
-
var $button = $('.store-locator__load-button'),
|
|
6
|
-
cardsListOpenClass = 'cards-store-list_open',
|
|
7
|
-
$cardsList = $('.cards-store-wrapper'),
|
|
8
|
-
$buttons = $cardsList.find($button);
|
|
9
|
-
|
|
10
|
-
$buttons.on('click', function () {
|
|
11
|
-
if ($cardsList.hasClass(cardsListOpenClass)) {
|
|
12
|
-
$('html, body').scrollTop($cardsList.parents('.cards-store-holder').offset().top + 20);
|
|
13
|
-
}
|
|
14
|
-
$cardsList.toggleClass(cardsListOpenClass);
|
|
15
|
-
$buttons.toggle();
|
|
16
|
-
});
|
|
17
|
-
})();
|
|
18
|
-
|
|
19
|
-
|