wickes-css2 2.106.0-develop.1 → 2.106.0-develop.11
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 +2 -3
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/global-search.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/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.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/img/billie-pay-later.svg +13 -0
- package/build/img/giftcard.svg +28 -0
- package/build/js/account-members.min.js +1 -1
- package/build/js/add-project-list-id.min.js +1 -1
- package/build/js/address-book.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/change-password.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +2175 -1857
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -0
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket/basket-update-cart-action.js +4 -1
- package/build/js/page/basket/klarna.js +13 -3
- package/build/js/page/basket-v2.js +11 -7
- package/build/js/page/components/billie-modal.js +20 -20
- package/build/js/page/components/gift-cards.js +927 -0
- package/build/js/page/components/order-summary.js +57 -28
- package/build/js/page/components/toggle-password-visibility.js +22 -0
- package/build/js/page/components/voucher.js +52 -47
- package/build/js/page/count-stepper/pdp-count-stepper.js +29 -0
- package/build/js/page/filters/plp-filters-mobile.js +4 -7
- package/build/js/page/filters/plp-filters-utils.js +9 -0
- package/build/js/page/filters/plp-filters.js +13 -5
- package/build/js/page/kitchen/card-carousel.js +3 -2
- package/build/js/page/kitchen/colour-swatches.js +157 -152
- package/build/js/page/quick-filter.js +106 -103
- package/build/js/page/share-project-list.js +151 -33
- package/build/js/page/utils/create-count-stepper.js +141 -0
- package/build/js/page/utils/gift-cards-utils.js +242 -0
- package/build/js/page/utils/input-handling.js +104 -0
- package/build/js/page/utils/show-hide-input.js +31 -0
- package/build/js/page/utils/validation.js +146 -96
- package/build/js/pdp-count-stepper.min.js +1 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp-filters.min.js +2 -2
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +57 -14
- package/build/js/quiz.min.js +1 -1
- package/build/js/share-project-list.min.js +1 -1
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +3 -3
- package/src/components/card_product_v2.hbs +6 -1
- package/src/components/checkout-payment-details-v2.hbs +4 -3
- package/src/components/gift-cards-hint.hbs +9 -0
- package/src/components/gift-cards.hbs +90 -0
- package/src/components/giftcard-chip.hbs +23 -0
- package/src/components/giftcard-summary.hbs +6 -0
- package/src/components/home-movers/form.hbs +1 -1
- package/src/components/kitchen/slide.hbs +8 -6
- package/src/components/price-block-v2.hbs +17 -16
- package/src/data/data_search-results_v2.json +2 -1
- package/src/elements/count-button.hbs +10 -0
- package/src/elements/form-row.hbs +1 -1
- package/src/elements/input.hbs +31 -2
- package/src/img/billie-pay-later.svg +13 -0
- package/src/img/giftcard.svg +28 -0
- package/src/js/components/general/notification.js +60 -40
- package/src/js/components/general/switchVat.js +151 -154
- package/src/js/components/pdp-billie-modal-scroll-reset.js +46 -42
- package/src/js/emulation/basket-data.js +2126 -2038
- package/src/js/emulation/billie-modal.js +6 -6
- package/src/js/emulation/checkLocalEnv.js +6 -5
- package/src/js/emulation/checkout-data.js +33 -0
- package/src/js/emulation/checkout-payment-details.js +23 -21
- package/src/js/emulation/forms.js +9 -2
- package/src/js/emulation/gift-cards.js +216 -0
- package/src/js/emulation/mock.js +98 -21
- package/src/js/emulation/plp-load-more.js +19 -13
- package/src/js/emulation/validity-emulation.js +33 -0
- package/src/js/page/basket/basket-update-cart-action.js +4 -1
- package/src/js/page/basket/klarna.js +13 -3
- package/src/js/page/basket-v2.js +11 -7
- package/src/js/page/components/billie-modal.js +20 -20
- package/src/js/page/components/gift-cards.js +927 -0
- package/src/js/page/components/order-summary.js +57 -28
- package/src/js/page/components/toggle-password-visibility.js +22 -0
- package/src/js/page/components/voucher.js +52 -47
- package/src/js/page/count-stepper/pdp-count-stepper.js +29 -0
- package/src/js/page/filters/plp-filters-mobile.js +4 -7
- package/src/js/page/filters/plp-filters-utils.js +9 -0
- package/src/js/page/filters/plp-filters.js +13 -5
- package/src/js/page/kitchen/card-carousel.js +3 -2
- package/src/js/page/kitchen/colour-swatches.js +157 -152
- package/src/js/page/quick-filter.js +106 -103
- package/src/js/page/share-project-list.js +151 -33
- package/src/js/page/utils/create-count-stepper.js +141 -0
- package/src/js/page/utils/gift-cards-utils.js +242 -0
- package/src/js/page/utils/input-handling.js +104 -0
- package/src/js/page/utils/show-hide-input.js +31 -0
- package/src/js/page/utils/validation.js +146 -96
- package/src/layouts/checkout.hbs +1 -5
- package/src/page_my-account_change-password.html +1 -0
- package/src/page_payment-details-with-gift-card.html +8 -5
- package/src/page_plp-with-paint.html +1 -1
- package/src/page_plp_v2-energy-efficiency.html +1 -1
- package/src/page_plp_v2-favourite-products.html +1 -1
- package/src/page_plp_v2-vat.html +31 -26
- package/src/page_plp_v2.html +1 -1
- package/src/page_product-details-cnc-success-notification-vat.html +3 -2
- package/src/page_product_search-vat.html +1 -1
- package/src/page_product_search.html +1 -1
- package/src/page_search-results.html +1 -1
- package/src/partials/scripts.hbs +4 -0
- package/src/scss/components/_custom-slider.scss +7 -6
- package/src/scss/components/_gift-cards.scss +359 -0
- package/src/scss/components/_input-counter.scss +65 -0
- package/src/scss/components/_quick-filter.scss +32 -10
- package/src/scss/components/_search-filter.scss +3 -0
- package/src/scss/components/checkout-payment-details-v2.scss +6 -2
- package/src/scss/components/kitchen/_price-tooltip.scss +3 -2
- package/src/scss/components/kitchen/_price.scss +2 -2
- package/src/scss/helpers/_variables.scss +7 -16
- package/src/scss/pages/page_checkout_delivery-new.scss +30 -6
- package/src/scss/pages/page_products-list-combined.scss +34 -2
- package/src/scss/pdp-main.scss +1 -0
- package/build/js/page/plp-img-v2.js +0 -25
- package/src/components/.DS_Store +0 -0
- package/src/img/.DS_Store +0 -0
- package/src/img/placeholders/.DS_Store +0 -0
- package/src/js/.DS_Store +0 -0
- package/src/js/components/share-project-list.js +0 -56
- package/src/js/components/toggle-password-visibility.js +0 -58
- package/src/js/page/.DS_Store +0 -0
- package/src/js/page/plp-img-v2.js +0 -25
- package/src/scss/.DS_Store +0 -0
- package/src/scss/pages/.DS_Store +0 -0
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
{{/content}}
|
|
61
61
|
{{#content "foot" mode="append"}}
|
|
62
62
|
<script defer src="./js/page/plp.js"></script>
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
<script defer src="./js/page/plp-cards-v2.js"></script>
|
|
65
65
|
<script defer src="./js/components/badge-cashback.js"></script>
|
|
66
66
|
<script defer src="./js/search-filter.min.js"></script>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
{{/content}}
|
|
61
61
|
{{#content "foot" mode="append"}}
|
|
62
62
|
<script defer src="./js/page/plp.js"></script>
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
<script defer src="./js/page/plp-cards-v2.js"></script>
|
|
65
65
|
<script defer src="./js/components/badge-cashback.js"></script>
|
|
66
66
|
<script defer src="./js/search-filter.min.js"></script>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
{{#content "foot" mode="append"}}
|
|
73
73
|
<script defer src="./js/plp.bundle.min.js"></script>
|
|
74
74
|
<script defer src="./js/energy-efficiency.min.js"></script>
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
<script defer src="./js/page/plp-cards-v2.js"></script>
|
|
77
77
|
<script defer src="./js/search-filter.min.js"></script>
|
|
78
78
|
{{/content}}
|
package/src/partials/scripts.hbs
CHANGED
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
{{#ifCond bundle "==" "basket"}}
|
|
14
14
|
<script src="./js/basket.min.js"></script>
|
|
15
15
|
{{/ifCond}}
|
|
16
|
+
{{#ifCond bundle "==" "plp"}}
|
|
17
|
+
<script src="./js/plp.bundle.min.js"></script>
|
|
18
|
+
{{/ifCond}}
|
|
16
19
|
{{!-- BUNDLES END --}}
|
|
17
20
|
<script src="./js/mini-basket-slider.min.js"></script>
|
|
21
|
+
<script src="./js/pdp-count-stepper.min.js"></script>
|
|
18
22
|
<script src="./js/emulation.min.js"></script>
|
|
19
23
|
<script defer src="https://kit.fontawesome.com/b73abc6840.js" crossorigin="anonymous"></script>
|
|
20
24
|
{{#if pagePdp}}
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
position: fixed;
|
|
8
8
|
background-color: $white;
|
|
9
9
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
10
|
-
|
|
11
|
-
transition:
|
|
10
|
+
transition-property: transform, opacity;
|
|
11
|
+
transition-duration: 0.4s;
|
|
12
|
+
transition-timing-function: ease;
|
|
12
13
|
opacity: 0;
|
|
13
14
|
display: flex;
|
|
14
15
|
flex-direction: column;
|
|
@@ -291,7 +292,7 @@
|
|
|
291
292
|
}
|
|
292
293
|
|
|
293
294
|
&[disabled] {
|
|
294
|
-
border:
|
|
295
|
+
border: 0;
|
|
295
296
|
opacity: 0.6;
|
|
296
297
|
}
|
|
297
298
|
}
|
|
@@ -336,7 +337,7 @@
|
|
|
336
337
|
transition: all 0.3s ease;
|
|
337
338
|
|
|
338
339
|
&.footer-fixed {
|
|
339
|
-
box-shadow:
|
|
340
|
+
box-shadow: 0 -4px 12px 0 rgba(0, 0, 0, 0.08);
|
|
340
341
|
position: fixed;
|
|
341
342
|
width: 100%;
|
|
342
343
|
left: 0;
|
|
@@ -407,7 +408,7 @@
|
|
|
407
408
|
}
|
|
408
409
|
|
|
409
410
|
.custom-slider__footer {
|
|
410
|
-
box-shadow:
|
|
411
|
+
box-shadow: 0 -4px 12px 0 rgba(0, 0, 0, 0.08);
|
|
411
412
|
flex-direction: column;
|
|
412
413
|
}
|
|
413
414
|
}
|
|
@@ -496,7 +497,7 @@
|
|
|
496
497
|
|
|
497
498
|
.icon {
|
|
498
499
|
margin-left: 10px;
|
|
499
|
-
color: $
|
|
500
|
+
color: $polished-pine;
|
|
500
501
|
}
|
|
501
502
|
}
|
|
502
503
|
}
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
.giftcard-row {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.giftcard {
|
|
8
|
+
border: 1px solid $gray;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
background: $white;
|
|
11
|
+
padding: 12px 16px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
order: 3;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
.giftcard__field {
|
|
17
|
+
.form-row {
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.giftcard-add {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
color: $blue;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
|
|
31
|
+
&__icon {
|
|
32
|
+
width: 16px;
|
|
33
|
+
height: 16px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__text {
|
|
37
|
+
font-size: 0.875rem;
|
|
38
|
+
line-height: 1.375rem;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.giftcard-hint {
|
|
44
|
+
display: block;
|
|
45
|
+
color: $squant;
|
|
46
|
+
font-size: 0.875rem;
|
|
47
|
+
line-height: 1.375rem;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
margin-left: 32px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.giftcard-inline {
|
|
53
|
+
padding: 12px 8px;
|
|
54
|
+
|
|
55
|
+
&__header {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
margin-bottom: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__title {
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
font-size: 1.125rem;
|
|
64
|
+
line-height: 1.5rem;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__balance {
|
|
69
|
+
color: $blue;
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
font-size: 0.875rem;
|
|
72
|
+
line-height: 1.375rem;
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__close {
|
|
78
|
+
position: absolute;
|
|
79
|
+
width: 24px;
|
|
80
|
+
height: 24px;
|
|
81
|
+
top: 8px;
|
|
82
|
+
right: 8px;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
display: flex;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
align-items: center;
|
|
87
|
+
color: $warm-grey;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__fields {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
gap: 24px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.notification {
|
|
97
|
+
margin-bottom: 16px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.form-row__label {
|
|
102
|
+
margin-bottom: 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.giftcard__btn {
|
|
106
|
+
width: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.giftcard__field {
|
|
110
|
+
position: relative;
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
padding-bottom: 18px;
|
|
114
|
+
min-width: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.giftcard-inline .giftcard-inline__fields > .form-row.giftcard__field {
|
|
118
|
+
margin-bottom: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.giftcard-field--error .giftcard__input {
|
|
122
|
+
border-color: $red;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.giftcard__error-text {
|
|
126
|
+
font-weight: 400;
|
|
127
|
+
font-size: 0.75rem;
|
|
128
|
+
line-height: 1rem;
|
|
129
|
+
color: $red;
|
|
130
|
+
margin-top: 8px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.giftcard .toggle-show svg {
|
|
134
|
+
pointer-events: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.form-row .toggle-show {
|
|
138
|
+
font-size: 1rem;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
position: absolute;
|
|
141
|
+
right: 8px;
|
|
142
|
+
top: 0;
|
|
143
|
+
height: 100%;
|
|
144
|
+
display: inline-flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
width: 24px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.giftcard-applied {
|
|
151
|
+
width: 100%;
|
|
152
|
+
border: 1px solid $gray-light;
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
background: $white;
|
|
155
|
+
padding: 15px 16px;
|
|
156
|
+
order: 2;
|
|
157
|
+
|
|
158
|
+
&__inner {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
gap: 12px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&__icon {
|
|
166
|
+
display: inline-flex;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.fa-check-circle {
|
|
172
|
+
text-align: center;
|
|
173
|
+
color: $green;
|
|
174
|
+
font-size: 1rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&__text {
|
|
178
|
+
margin: 0;
|
|
179
|
+
font-size: 0.875rem;
|
|
180
|
+
line-height: 1.5rem;
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
word-break: break-word;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.giftcard-summary {
|
|
187
|
+
position: relative;
|
|
188
|
+
width: 100%;
|
|
189
|
+
|
|
190
|
+
&__hint {
|
|
191
|
+
margin-top: 16px;
|
|
192
|
+
margin-bottom: 0;
|
|
193
|
+
font-size: 0.875rem;
|
|
194
|
+
font-weight: 400;
|
|
195
|
+
line-height: 1.375rem;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&__add {
|
|
199
|
+
text-decoration: underline;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
color: $blue;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.giftcard-chip-list {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: 16px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.giftcard-chip {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
width: 100%;
|
|
215
|
+
gap: 12px;
|
|
216
|
+
padding: 12px 16px;
|
|
217
|
+
border: 1px solid $gray;
|
|
218
|
+
border-radius: 4px;
|
|
219
|
+
background: $white;
|
|
220
|
+
min-height: 44px;
|
|
221
|
+
position: relative;
|
|
222
|
+
|
|
223
|
+
&__close {
|
|
224
|
+
position: absolute;
|
|
225
|
+
width: 24px;
|
|
226
|
+
height: 24px;
|
|
227
|
+
top: 8px;
|
|
228
|
+
right: 8px;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
display: flex;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
align-items: center;
|
|
233
|
+
color: $warm-grey;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.giftcard-chip__icon {
|
|
238
|
+
width: 48px;
|
|
239
|
+
height: 30px;
|
|
240
|
+
display: inline-flex;
|
|
241
|
+
align-items: center;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.giftcard-chip__content {
|
|
246
|
+
flex: 1 1 auto;
|
|
247
|
+
min-width: 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.giftcard-chip__line {
|
|
251
|
+
display: block;
|
|
252
|
+
line-height: 1.25rem;
|
|
253
|
+
|
|
254
|
+
.giftcard-chip__applied {
|
|
255
|
+
font-size: 0.875rem;
|
|
256
|
+
font-weight: 400;
|
|
257
|
+
line-height: 1.5rem;
|
|
258
|
+
color: $gray-dark;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.giftcard-chip__number {
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
line-height: 1.5rem;
|
|
265
|
+
font-size: 1rem;
|
|
266
|
+
color: $gray-dark;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.giftcard-chip__applied {
|
|
270
|
+
white-space: nowrap;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@include media-breakpoint-up(sm) {
|
|
274
|
+
.giftcard-inline__fields {
|
|
275
|
+
display: flex;
|
|
276
|
+
flex-direction: row;
|
|
277
|
+
justify-content: space-between;
|
|
278
|
+
gap: 16px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.giftcard-inline__fields > .form-row.giftcard__field--pin.giftcard__field--pin {
|
|
282
|
+
width: 116px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.giftcard-inline__fields > .form-row.giftcard__field--number.giftcard__field--number {
|
|
286
|
+
width: 224px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.giftcard__actions {
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: flex-end;
|
|
292
|
+
height: 72px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.giftcard-summary {
|
|
296
|
+
&__hint {
|
|
297
|
+
width: 354px;
|
|
298
|
+
|
|
299
|
+
&--max {
|
|
300
|
+
width: 100%;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@include media-breakpoint-up(md) {
|
|
307
|
+
.giftcard-inline__fields > .form-row.giftcard__field--pin.giftcard__field--pin {
|
|
308
|
+
width: 214px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.giftcard-inline__fields > .form-row.giftcard__field--number.giftcard__field--number {
|
|
312
|
+
width: 240px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.giftcard-inline__title {
|
|
316
|
+
font-weight: 700;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.giftcard-summary {
|
|
320
|
+
&__hint {
|
|
321
|
+
width: 100%;
|
|
322
|
+
|
|
323
|
+
&--max {
|
|
324
|
+
width: 460px;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
@include media-breakpoint-up(lg) {
|
|
331
|
+
.giftcard-inline__fields {
|
|
332
|
+
max-width: 470px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.giftcard-summary {
|
|
336
|
+
&__hint {
|
|
337
|
+
width: 100%;
|
|
338
|
+
|
|
339
|
+
&--max {
|
|
340
|
+
width: 100%;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@include media-breakpoint-up(xl) {
|
|
347
|
+
.giftcard-inline__fields {
|
|
348
|
+
max-width: 100%;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.giftcard__btn {
|
|
352
|
+
width: 140px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.giftcard__field--number,
|
|
356
|
+
.giftcard__field--pin {
|
|
357
|
+
width: 100%;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.count-stepper {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
margin-top: 6px;
|
|
6
|
+
|
|
7
|
+
.quantity-label {
|
|
8
|
+
padding-right: 9px;
|
|
9
|
+
margin: 0 !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__input {
|
|
13
|
+
height: 40px;
|
|
14
|
+
width: 46px;
|
|
15
|
+
border: 1px solid $gray;
|
|
16
|
+
border-radius: 3px;
|
|
17
|
+
margin-right: 0 !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.count-btn {
|
|
22
|
+
font-size: 1.3rem;
|
|
23
|
+
width: 24px;
|
|
24
|
+
height: 24px;
|
|
25
|
+
padding: 0;
|
|
26
|
+
border: 0;
|
|
27
|
+
background: transparent;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
color: $blue;
|
|
33
|
+
outline: none;
|
|
34
|
+
box-shadow: none;
|
|
35
|
+
-webkit-tap-highlight-color: transparent;
|
|
36
|
+
|
|
37
|
+
i {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
line-height: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[disabled] {
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
opacity: 0.6;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:focus {
|
|
48
|
+
outline: none;
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:focus-visible {
|
|
53
|
+
border-radius: 4px;
|
|
54
|
+
box-shadow: 0 0 0 3px rgba($blue, 0.35);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:focus:not(:focus-visible) {
|
|
58
|
+
box-shadow: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&::-moz-focus-inner {
|
|
62
|
+
border: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
$page-bullet-color: $gray;
|
|
2
|
+
$page-bullet-active-color: $blue;
|
|
3
|
+
$quick-filter-shadow: rgba(0, 0, 0, 0.12);
|
|
4
|
+
|
|
1
5
|
.page-header {
|
|
2
6
|
&_border-all:has(~ .quick-filter) {
|
|
3
7
|
padding: 0;
|
|
@@ -18,7 +22,11 @@
|
|
|
18
22
|
display: flex;
|
|
19
23
|
flex-direction: column;
|
|
20
24
|
align-items: center;
|
|
25
|
+
|
|
26
|
+
// sass-lint:disable no-misspelled-properties
|
|
21
27
|
gap: 8px;
|
|
28
|
+
// sass-lint:enable no-misspelled-properties
|
|
29
|
+
|
|
22
30
|
padding: 12px;
|
|
23
31
|
width: 104px;
|
|
24
32
|
height: auto;
|
|
@@ -64,20 +72,24 @@
|
|
|
64
72
|
svg {
|
|
65
73
|
position: relative;
|
|
66
74
|
z-index: 1;
|
|
75
|
+
|
|
76
|
+
// sass-lint:disable no-important
|
|
67
77
|
width: 38px !important;
|
|
78
|
+
// sass-lint:enable no-important
|
|
79
|
+
|
|
68
80
|
height: 38px;
|
|
69
81
|
margin-top: -30px;
|
|
70
82
|
}
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
&__next-btn {
|
|
74
|
-
right:
|
|
86
|
+
right: 0;
|
|
75
87
|
|
|
76
88
|
&::before {
|
|
77
89
|
content: '';
|
|
78
90
|
position: absolute;
|
|
79
91
|
top: 0;
|
|
80
|
-
right:
|
|
92
|
+
right: 0;
|
|
81
93
|
bottom: 0;
|
|
82
94
|
width: 71px;
|
|
83
95
|
background: linear-gradient(270deg, $white 37%, transparent 100%);
|
|
@@ -86,13 +98,13 @@
|
|
|
86
98
|
}
|
|
87
99
|
|
|
88
100
|
&__prev-btn {
|
|
89
|
-
left:
|
|
101
|
+
left: 0;
|
|
90
102
|
|
|
91
103
|
&::before {
|
|
92
104
|
content: '';
|
|
93
105
|
position: absolute;
|
|
94
106
|
top: 0;
|
|
95
|
-
left:
|
|
107
|
+
left: 0;
|
|
96
108
|
bottom: 0;
|
|
97
109
|
width: 71px;
|
|
98
110
|
background: linear-gradient(90deg, $white 37%, transparent 100%);
|
|
@@ -118,14 +130,16 @@
|
|
|
118
130
|
|
|
119
131
|
.swiper-pagination-bullet {
|
|
120
132
|
border-radius: 5px;
|
|
121
|
-
background-color:
|
|
133
|
+
background-color: $page-bullet-color;
|
|
122
134
|
height: 6px;
|
|
123
135
|
width: 6px;
|
|
124
|
-
transition: width
|
|
136
|
+
transition-property: width, background-color;
|
|
137
|
+
transition-duration: 0.3s;
|
|
138
|
+
transition-timing-function: ease-in;
|
|
125
139
|
}
|
|
126
140
|
|
|
127
141
|
.swiper-pagination-bullet-active {
|
|
128
|
-
background-color:
|
|
142
|
+
background-color: $page-bullet-active-color;
|
|
129
143
|
width: 24px;
|
|
130
144
|
}
|
|
131
145
|
|
|
@@ -140,6 +154,7 @@
|
|
|
140
154
|
}
|
|
141
155
|
|
|
142
156
|
&--selected img {
|
|
157
|
+
// prettier-ignore
|
|
143
158
|
filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
|
|
144
159
|
}
|
|
145
160
|
}
|
|
@@ -155,6 +170,7 @@
|
|
|
155
170
|
}
|
|
156
171
|
|
|
157
172
|
&--selected img {
|
|
173
|
+
// prettier-ignore
|
|
158
174
|
filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
|
|
159
175
|
}
|
|
160
176
|
}
|
|
@@ -213,7 +229,10 @@
|
|
|
213
229
|
|
|
214
230
|
.swiper-wrapper {
|
|
215
231
|
flex-wrap: wrap;
|
|
232
|
+
|
|
233
|
+
// sass-lint:disable no-misspelled-properties
|
|
216
234
|
gap: 4px;
|
|
235
|
+
// sass-lint:enable no-misspelled-properties
|
|
217
236
|
}
|
|
218
237
|
|
|
219
238
|
.swiper-pagination {
|
|
@@ -267,17 +286,20 @@
|
|
|
267
286
|
|
|
268
287
|
.tooltip {
|
|
269
288
|
display: flex;
|
|
270
|
-
filter: drop-shadow(0 0 8px
|
|
289
|
+
filter: drop-shadow(0 0 8px $quick-filter-shadow);
|
|
271
290
|
margin-bottom: 4px;
|
|
272
291
|
|
|
273
292
|
.arrow {
|
|
274
|
-
|
|
293
|
+
&::before {
|
|
275
294
|
border-top-color: $white;
|
|
276
295
|
}
|
|
277
296
|
}
|
|
278
297
|
|
|
279
298
|
&-inner {
|
|
299
|
+
// sass-lint:disable no-important
|
|
280
300
|
padding: 8px 16px !important;
|
|
301
|
+
// sass-lint:enable no-important
|
|
302
|
+
|
|
281
303
|
background-color: $white;
|
|
282
304
|
color: $gray-dark;
|
|
283
305
|
font-size: 14px;
|
|
@@ -285,4 +307,4 @@
|
|
|
285
307
|
}
|
|
286
308
|
}
|
|
287
309
|
}
|
|
288
|
-
}
|
|
310
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
@import '../components/tooltip';
|
|
3
|
+
@import '../components/gift-cards';
|
|
3
4
|
|
|
4
5
|
.checkout-payment-details-v2 {
|
|
5
6
|
.checkout-payment-details {
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
font-size: 14px;
|
|
74
75
|
font-weight: 400;
|
|
75
76
|
line-height: 24px;
|
|
77
|
+
vertical-align: top;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
.form-row {
|
|
@@ -331,8 +333,10 @@
|
|
|
331
333
|
}
|
|
332
334
|
}
|
|
333
335
|
|
|
334
|
-
.google
|
|
335
|
-
|
|
336
|
+
.google,
|
|
337
|
+
.billie {
|
|
338
|
+
&-logo,
|
|
339
|
+
&-badge-container {
|
|
336
340
|
margin: -3px 0;
|
|
337
341
|
}
|
|
338
342
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
padding: 8px 12px !important;
|
|
10
10
|
border-radius: 4px;
|
|
11
11
|
font-weight: 400;
|
|
12
|
-
font-size: .75rem;
|
|
12
|
+
font-size: 0.75rem;
|
|
13
13
|
line-height: 1rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
border-top-color: $white;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
p,
|
|
20
|
+
p,
|
|
21
|
+
ul {
|
|
21
22
|
margin: 0;
|
|
22
23
|
}
|
|
23
24
|
}
|