wickes-css2 2.107.0-ripple.2 → 2.107.0-ripple.21

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.
Files changed (307) hide show
  1. package/build/css/category-main.css +1 -1
  2. package/build/css/components/card-product-banner.css +1 -1
  3. package/build/css/components/checkout-chip.css +1 -1
  4. package/build/css/components/checkout-payment-details-v2.css +1 -1
  5. package/build/css/components/price-block-v2-critical.css +1 -1
  6. package/build/css/components/price-block-v2.css +1 -1
  7. package/build/css/components/special-opening-schedule-v2.css +1 -1
  8. package/build/css/components/special-opening-schedule.css +1 -1
  9. package/build/css/emulation.css +1 -1
  10. package/build/css/homepage-main.css +1 -1
  11. package/build/css/kitchen-plp-main.css +1 -1
  12. package/build/css/main.css +1 -1
  13. package/build/css/my-account-main-v2.css +1 -1
  14. package/build/css/my-account-main.css +1 -1
  15. package/build/css/pages/checkout-new.css +1 -1
  16. package/build/css/pages/my-account-v2.css +1 -1
  17. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  18. package/build/css/pages/page_merged-basket.css +1 -1
  19. package/build/css/pages/page_personal-details.css +1 -1
  20. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  21. package/build/css/pages/page_product-details-v2.css +1 -1
  22. package/build/css/pages/page_product-details.css +1 -1
  23. package/build/css/pages/page_products-list-combined.css +1 -1
  24. package/build/css/pages/page_products-list.css +1 -1
  25. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  26. package/build/css/pages/page_store-locator-details.css +1 -1
  27. package/build/css/pages/page_store-locator.css +1 -1
  28. package/build/css/pdp-main-before-combine.css +1 -1
  29. package/build/css/pdp-main-critical.css +1 -1
  30. package/build/css/pdp-main-non-critical.css +1 -1
  31. package/build/css/pdp-main.css +1 -1
  32. package/build/css/plp-main.css +1 -1
  33. package/build/css/store-locator-main.css +1 -1
  34. package/build/js/account-hub.min.js +1 -1
  35. package/build/js/basket.min.js +2 -2
  36. package/build/js/bloomreach-widget.min.js +1 -0
  37. package/build/js/bundle.min.js +1 -1
  38. package/build/js/checkout.min.js +2 -2
  39. package/build/js/components/general/accordion.js +69 -0
  40. package/build/js/components/general/back-to-top.js +45 -0
  41. package/build/js/components/general/backdrop.js +23 -0
  42. package/build/js/components/general/cart-slider.js +36 -0
  43. package/build/js/components/general/clamp-content.js +95 -0
  44. package/build/js/components/general/clamp.js +216 -0
  45. package/build/js/components/general/clear-input.js +33 -0
  46. package/build/js/components/general/cookie-chat-back.js +51 -0
  47. package/build/js/components/general/cookies-policy.js +9 -0
  48. package/build/js/components/general/create-popup-slider.js +194 -0
  49. package/build/js/components/general/device-type.js +6 -0
  50. package/build/js/components/general/footer.js +67 -0
  51. package/build/js/components/general/handleAccordion.js +35 -0
  52. package/build/js/components/general/image-accordion.js +54 -0
  53. package/build/js/components/general/is-trade-pro.js +38 -0
  54. package/build/js/components/general/main-nav.js +16 -0
  55. package/build/js/components/general/main-navigation.js +275 -0
  56. package/build/js/components/general/notification.js +70 -0
  57. package/build/js/components/general/offer-banner.js +74 -0
  58. package/build/js/components/general/scroll-disable.js +54 -0
  59. package/build/js/components/general/search.js +43 -0
  60. package/build/js/components/general/snack-bar.js +160 -0
  61. package/build/js/components/general/sticky_header.js +62 -0
  62. package/build/js/components/general/switchVat.js +161 -0
  63. package/build/js/components/general/text-clamp.js +102 -0
  64. package/build/js/components/general/tooltips.js +8 -0
  65. package/build/js/components/general/validation.js +48 -0
  66. package/build/js/emulation.min.js +3377 -164
  67. package/build/js/general.bundle.min.js +1 -1
  68. package/build/js/gift-cards.min.js +1 -1
  69. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  70. package/build/js/merged-checkout.min.js +2 -2
  71. package/build/js/mini-basket-slider.min.js +1 -1
  72. package/build/js/package-bulk-add.min.js +1 -0
  73. package/build/js/page/basket/mini-basket-total.js +17 -2
  74. package/build/js/page/bloomreach-widget.js +1148 -0
  75. package/build/js/page/checkout-payment-details.js +12 -1
  76. package/build/js/page/checkout.js +1 -1
  77. package/build/js/page/components/notify-me.js +99 -0
  78. package/build/js/page/components/order-summary.js +35 -0
  79. package/build/js/page/plp-load-more.js +81 -66
  80. package/build/js/page/ripple/bulk-add.js +63 -0
  81. package/build/js/page/ripple/package-bulk-add.js +43 -0
  82. package/build/js/page/ripple/postcode-checker.js +83 -0
  83. package/build/js/page/ripple/thumb-gallery.js +168 -0
  84. package/build/js/page/utils/create-count-stepper.js +30 -9
  85. package/build/js/page/utils/create-loading-button.js +37 -0
  86. package/build/js/page/utils/create-toast.js +79 -0
  87. package/build/js/page/utils/custom-dropdown.js +80 -0
  88. package/build/js/pdp-count-stepper.min.js +1 -1
  89. package/build/js/pdp.bundle.min.js +2 -1
  90. package/build/js/plp.bundle.min.js +1 -1
  91. package/build/js/postcode-checker.min.js +1 -0
  92. package/build/js/project-list.min.js +1 -1
  93. package/build/js/saving-shopping-list.min.js +1 -1
  94. package/build/js/wickes-dc.js +1 -0
  95. package/package.json +1 -4
  96. package/src/badges-ripple.html +120 -0
  97. package/src/badges.html +9 -18
  98. package/src/components/base/button.hbs +23 -5
  99. package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
  100. package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
  101. package/src/components/bloomreach/complete-card.hbs +138 -0
  102. package/src/components/bloomreach/complete-divider.hbs +3 -0
  103. package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
  104. package/src/components/bloomreach/complete-summary.hbs +43 -0
  105. package/src/components/bloomreach/complete-wrapper.hbs +1 -0
  106. package/src/components/bloomreach/complete-your-project.hbs +21 -0
  107. package/src/components/card-store-locator.hbs +70 -33
  108. package/src/components/card_bloomreach_media_banner.hbs +10 -0
  109. package/src/components/card_product_banner_v2.hbs +4 -1
  110. package/src/components/card_sponsor_banner.hbs +4 -1
  111. package/src/components/cart-voucher.hbs +10 -1
  112. package/src/components/checkout_order-summary-new.hbs +11 -2
  113. package/src/components/click-and-collect-modal.hbs +0 -14
  114. package/src/components/date-selection.hbs +1 -1
  115. package/src/components/delivery-types.hbs +11 -3
  116. package/src/components/fulfilment-accordions.hbs +1 -1
  117. package/src/components/gift-cards.hbs +1 -1
  118. package/src/components/injected-content.hbs +6 -1
  119. package/src/components/kitchen/price.hbs +49 -29
  120. package/src/components/kitchen/strip-stickers.hbs +9 -3
  121. package/src/components/modal.hbs +1 -1
  122. package/src/components/modals/notify-me-modal.hbs +76 -0
  123. package/src/components/order-item.hbs +18 -5
  124. package/src/components/order-summary.hbs +2 -2
  125. package/src/components/package-card.hbs +30 -0
  126. package/src/components/pdp-price-actions.hbs +17 -0
  127. package/src/components/postcode-checker.hbs +24 -0
  128. package/src/components/potential-promotion.hbs +12 -3
  129. package/src/components/price-badges.hbs +14 -0
  130. package/src/components/price-block-v2.hbs +91 -31
  131. package/src/components/product-main-info-v2.hbs +2 -0
  132. package/src/components/sponsor-top-banner.hbs +10 -0
  133. package/src/components/suite-includes.hbs +43 -12
  134. package/src/components/suite-product-card.hbs +37 -15
  135. package/src/components/thumb-gallery.hbs +23 -0
  136. package/src/data/data_badges.json +143 -0
  137. package/src/data/data_bathroom-plp.json +814 -0
  138. package/src/data/data_delivery-address-v2.json +1 -1
  139. package/src/data/data_locators.json +441 -135
  140. package/src/data/data_search-results_v2.json +20 -2
  141. package/src/data/data_shopping-cart-v2.json +23 -5
  142. package/src/data/data_spr_injected_content.json +4 -0
  143. package/src/data/data_suite-includes-products.json +73 -2
  144. package/src/elements/checkbox.hbs +8 -1
  145. package/src/js/components/banner-placement-manager.js +25 -9
  146. package/src/js/components/general/accordion.js +25 -2
  147. package/src/js/components/general/cart-slider.js +19 -6
  148. package/src/js/components/package-card.js +69 -0
  149. package/src/js/components/store-locator-cards.js +76 -0
  150. package/src/js/emulation/banner-placement-manager.js +285 -53
  151. package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
  152. package/src/js/emulation/bloomreach-widget-loading.js +11 -0
  153. package/src/js/emulation/checkout-delivery-details.js +28 -25
  154. package/src/js/emulation/custom-slider-emulation.js +1 -1
  155. package/src/js/emulation/date-selection.js +136 -24
  156. package/src/js/emulation/forms.js +12 -0
  157. package/src/js/emulation/gift-cards.js +1 -1
  158. package/src/js/emulation/mini-basket-data.js +3 -3
  159. package/src/js/emulation/mock.js +3112 -4
  160. package/src/js/emulation/notify-me.js +9 -0
  161. package/src/js/emulation/plp-load-more.js +13 -4
  162. package/src/js/emulation/postcode-checker.js +11 -0
  163. package/src/js/emulation/store-locator-load-more.js +69 -0
  164. package/src/js/emulation/switchCalendar.js +12 -8
  165. package/src/js/page/basket/mini-basket-total.js +17 -2
  166. package/src/js/page/bloomreach-widget.js +1148 -0
  167. package/src/js/page/checkout-payment-details.js +12 -1
  168. package/src/js/page/checkout.js +1 -1
  169. package/src/js/page/components/notify-me.js +99 -0
  170. package/src/js/page/components/order-summary.js +35 -0
  171. package/src/js/page/plp-load-more.js +81 -66
  172. package/src/js/page/ripple/bulk-add.js +63 -0
  173. package/src/js/page/ripple/package-bulk-add.js +43 -0
  174. package/src/js/page/ripple/postcode-checker.js +83 -0
  175. package/src/js/page/ripple/thumb-gallery.js +168 -0
  176. package/src/js/page/utils/create-count-stepper.js +30 -9
  177. package/src/js/page/utils/create-loading-button.js +37 -0
  178. package/src/js/page/utils/create-toast.js +79 -0
  179. package/src/js/page/utils/custom-dropdown.js +80 -0
  180. package/src/page_bathroom-plp-vat.html +81 -0
  181. package/src/page_bathroom-plp-without-load-more.html +83 -0
  182. package/src/page_bathroom-plp.html +98 -0
  183. package/src/page_checkout_next-day-delivery-details.html +2 -2
  184. package/src/page_checkout_payment-details-v2-asm.html +1 -1
  185. package/src/page_checkout_payment-details-v2.html +1 -1
  186. package/src/page_checkout_payment-details_with-card-loader.html +1 -1
  187. package/src/page_checkout_payment-details_with-klarna-loader.html +1 -1
  188. package/src/page_checkout_payment-details_with-loader-v2.html +1 -1
  189. package/src/page_checkout_rapid-delivery-details.html +7 -5
  190. package/src/page_klarna_payment-details_with-klarna.html +1 -1
  191. package/src/page_my-account-installer-carousel.html +131 -0
  192. package/src/page_payment-details-with-billie.html +1 -1
  193. package/src/page_payment-details-with-clearpay.html +1 -1
  194. package/src/page_payment-details-with-gift-card.html +1 -1
  195. package/src/page_payment-details_with_apple-pay.html +1 -1
  196. package/src/page_payment-details_with_google-pay.html +1 -1
  197. package/src/page_plp_bloomreach.html +81 -0
  198. package/src/page_plp_v2.html +6 -0
  199. package/src/page_product-details-banner.html +1 -4
  200. package/src/page_product-details-big-wins-disabled-delivery.html +1 -4
  201. package/src/page_product-details-big-wins-non-registered.html +1 -4
  202. package/src/page_product-details-big-wins-out-nearest.html +1 -4
  203. package/src/page_product-details-big-wins-unhappy.html +1 -4
  204. package/src/page_product-details-big-wins.html +1 -4
  205. package/src/page_product-details-billie.html +1 -4
  206. package/src/page_product-details-bloomreach.html +130 -0
  207. package/src/page_product-details-calculator.html +1 -4
  208. package/src/page_product-details-cashback-v2.html +1 -4
  209. package/src/page_product-details-clearpay.html +1 -4
  210. package/src/page_product-details-cnc-error-notification.html +1 -4
  211. package/src/page_product-details-cnc-success-notification-vat.html +1 -5
  212. package/src/page_product-details-cnc-success-notification.html +1 -4
  213. package/src/page_product-details-default-store.html +1 -4
  214. package/src/page_product-details-energy-efficiency.html +1 -4
  215. package/src/page_product-details-flooring-with-pr-placeholder.html +1 -4
  216. package/src/page_product-details-flooring.html +1 -4
  217. package/src/page_product-details-gallery-actual.html +1 -4
  218. package/src/page_product-details-mfe-calculator.html +10 -7
  219. package/src/page_product-details-minimum-v2.html +0 -1
  220. package/src/page_product-details-mtm-doors.html +1 -4
  221. package/src/page_product-details-only-clearpay.html +1 -4
  222. package/src/page_product-details-paint-mixing.html +1 -4
  223. package/src/page_product-details-ripple-gallery.html +119 -0
  224. package/src/page_product-details-saved-pl.html +1 -4
  225. package/src/page_product-details-suite-includes-banners.html +139 -0
  226. package/src/page_product-details-suite-includes-vat.html +126 -0
  227. package/src/page_product-details-suite-includes.html +32 -20
  228. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -4
  229. package/src/page_product-details-tile-steps-logout.html +1 -4
  230. package/src/page_product-details-tile-steps-no-new-project-list.html +1 -4
  231. package/src/page_product-details-tile-steps-with-klarna.html +1 -4
  232. package/src/page_product-details-tile-steps.html +1 -4
  233. package/src/page_product-details-v2.html +1 -4
  234. package/src/page_product-details-vat.html +1 -4
  235. package/src/page_product-details-wisdom-mcfc-registered.html +1 -4
  236. package/src/page_product-details-wisdom-mcfc.html +1 -4
  237. package/src/page_product-details-wisdom-oos-registered.html +1 -4
  238. package/src/page_product-details-wisdom-oos.html +1 -4
  239. package/src/page_product-details-wisdom-registered.html +1 -4
  240. package/src/page_product-details-wisdom.html +1 -4
  241. package/src/page_product-details-with-favourite.html +1 -4
  242. package/src/page_product-details-with-global-search-v2.html +8 -4
  243. package/src/page_product-details_no-previous-default.html +1 -4
  244. package/src/page_shopping-cart-v2-vat.html +2 -1
  245. package/src/page_store-locator-list.html +17 -28
  246. package/src/page_track-my-order-result.html +1 -0
  247. package/src/partials/scripts.hbs +1 -0
  248. package/src/scss/common/_CTAs.scss +7 -3
  249. package/src/scss/common/_common.scss +1 -0
  250. package/src/scss/common/_elements.scss +13 -1
  251. package/src/scss/common/_loading-button.scss +49 -0
  252. package/src/scss/components/_card-store-locator.scss +139 -32
  253. package/src/scss/components/_custom-slider.scss +18 -0
  254. package/src/scss/components/_date-selection-add-new-styles.scss +43 -1
  255. package/src/scss/components/_image-accordion.scss +5 -2
  256. package/src/scss/components/_kitchen-card.scss +5 -4
  257. package/src/scss/components/_notifications.scss +86 -5
  258. package/src/scss/components/_notify-me-modal.scss +139 -0
  259. package/src/scss/components/_order-summary.scss +25 -12
  260. package/src/scss/components/_package-card.scss +63 -0
  261. package/src/scss/components/_package-plp.scss +88 -0
  262. package/src/scss/components/_pdp-action-v2-critical.scss +12 -0
  263. package/src/scss/components/_pdp-action-v2.scss +12 -0
  264. package/src/scss/components/_postcode-checker.scss +115 -0
  265. package/src/scss/components/_price-badges-critical.scss +10 -1
  266. package/src/scss/components/_price-badges.scss +10 -2
  267. package/src/scss/components/_price-block-critical.scss +11 -3
  268. package/src/scss/components/_price-block.scss +15 -4
  269. package/src/scss/components/_suite-includes.scss +29 -26
  270. package/src/scss/components/_suite-product-card.scss +33 -23
  271. package/src/scss/components/_thumb-gallery-critical.scss +34 -0
  272. package/src/scss/components/_thumb-gallery.scss +192 -0
  273. package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
  274. package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
  275. package/src/scss/components/bloomreach/_complete-card.scss +402 -0
  276. package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
  277. package/src/scss/components/card-product-banner.scss +35 -27
  278. package/src/scss/components/checkout-chip.scss +1 -0
  279. package/src/scss/components/checkout-payment-details-v2.scss +12 -0
  280. package/src/scss/components/kitchen/_price.scss +10 -0
  281. package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
  282. package/src/scss/components/my-account/_clipboard-code.scss +4 -0
  283. package/src/scss/components/price-block-v2-critical.scss +54 -1
  284. package/src/scss/components/price-block-v2.scss +54 -3
  285. package/src/scss/components/special-opening-schedule-v2.scss +2 -6
  286. package/src/scss/components/special-opening-schedule.scss +17 -4
  287. package/src/scss/emulation.scss +0 -6
  288. package/src/scss/helpers/_CTAs.scss +15 -5
  289. package/src/scss/helpers/_variables.scss +1 -0
  290. package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
  291. package/src/scss/pages/page_product-details-v2-critical.scss +217 -111
  292. package/src/scss/pages/page_product-details-v2.scss +200 -109
  293. package/src/scss/pages/page_product-details.scss +0 -2
  294. package/src/scss/pages/page_products-list-combined.scss +8 -1
  295. package/src/scss/pages/page_products-list.scss +8 -1
  296. package/src/scss/pages/page_shopping-cart-v2.scss +34 -10
  297. package/src/scss/pages/page_store-locator.scss +48 -26
  298. package/src/scss/pdp-main-critical.scss +1 -1
  299. package/src/scss/pdp-main.scss +5 -1
  300. package/src/scss/plp-main.scss +5 -0
  301. package/src/scss/store-locator-main.scss +15 -1
  302. package/src/sitemap.html +15 -0
  303. package/build/css/components/kitchen/strip-stickers.css +0 -1
  304. package/build/css/components/strip-stickers.css +0 -1
  305. package/src/js/emulation/store-locator-list.js +0 -19
  306. package/src/scss/components/kitchen/strip-stickers.scss +0 -18
  307. package/src/scss/components/strip-stickers.scss +0 -18
@@ -6,9 +6,7 @@ isCashback=false
6
6
  isSize=true
7
7
  isGuide=true
8
8
  hourly-delivery=true
9
- badge-text='15% off'
10
- badge-color='yellow'
11
- badge-text-color='gray'
9
+ badges=pdp-price-badges.yellowGrayText
12
10
  currentlyInStock=true
13
11
  pagePdp=true
14
12
  globalSearchV2="true"
@@ -63,11 +61,17 @@ switch-vat=true
63
61
  cc=true
64
62
  delivery=true
65
63
  }}
66
- {{> fulfilment-accordions }}
67
64
  </div>
68
65
  <div class="pdp__description">
69
66
  {{> product-main-info-v2 isProductSaved=true}}
70
67
  </div>
68
+ <div
69
+ class="pdp__widget"
70
+ data-complete-widget
71
+ data-context-key="completeYourProject3Recomendations"
72
+ >
73
+ {{> bloomreach/complete-your-project title="Complete your project"}}
74
+ </div>
71
75
  {{> fulfilment-accordions }}
72
76
  </div>
73
77
  </div>
@@ -6,9 +6,7 @@
6
6
  isSize=true
7
7
  isGuide=true
8
8
  hourly-delivery=true
9
- badge-text='15% off'
10
- badge-color='yellow'
11
- badge-text-color='gray'
9
+ badges=pdp-price-badges.yellowGrayText
12
10
  currentlyInStock=true
13
11
  pagePdp=true
14
12
  }}
@@ -69,7 +67,6 @@
69
67
  distance="1.4"
70
68
  nearestName="Watford"
71
69
  }}
72
- {{> fulfilment-accordions }}
73
70
  </div>
74
71
  <div class="pdp__description">
75
72
  {{> product-main-info-v2 }}
@@ -12,7 +12,7 @@
12
12
  </div>
13
13
  <div class="checkout-header__promo">
14
14
  {{#each shopping-cart-v2.potentialOrderPromotions}}
15
- {{> potential-promotion}}
15
+ {{> potential-promotion switch-vat=true}}
16
16
  {{/each}}
17
17
  </div>
18
18
  {{> checkout-header shopping-cart-v2.header}}
@@ -20,6 +20,7 @@
20
20
  {{#content "aside"}}
21
21
  {{> order-summary
22
22
  shopping-cart-v2.checkout
23
+ switch-vat=true
23
24
  id=1
24
25
  title="Order Summary"
25
26
  basket=true
@@ -1,11 +1,14 @@
1
1
  {{#extend "base" pageClass="store-locator" title="Store locator list" pageStoreLocator=true}}
2
2
  {{#content "head" mode="append" pageStoreLocator=true}}{{/content}}
3
+
3
4
  {{#content "body"}}
4
5
  <main class="container">
5
6
  <h1>Store Locator</h1>
7
+
6
8
  <button class="btn btn-primary btn_store-near-me">
7
9
  <span class="btn__text">Find a store near me</span>
8
10
  </button>
11
+
9
12
  <div class="row-holder">
10
13
  <div class="map-container">
11
14
  <div class="map store-locator-popup__map">
@@ -13,43 +16,29 @@
13
16
  </div>
14
17
  </div>
15
18
  </div>
16
- {{> find-a-store data-action = "scroll-to-list"}}
19
+
20
+ {{> find-a-store data-action="scroll-to-list"}}
21
+
17
22
  <div class="cards-store-holder">
18
23
  <div class="cards-store-wrapper">
19
- <div class="row">
20
-
21
- <div class="cards-store-list">
22
- {{> card-store-locator view-map="true" distance="true" opening-times="true" schedule-title="true" locator-list="true"}}
23
- </div>
24
-
24
+ <div class="row" id="store-cards">
25
25
  {{#each locators}}
26
26
  <div class="cards-store-list">
27
- {{> card-store-locator view-map="true" distance="true" opening-times="true" schedule-title="true"}}
27
+ {{> card-store-locator
28
+ opening-times=true
29
+ schedule-title=true
30
+ locator-list=true
31
+ }}
28
32
  </div>
29
33
  {{/each}}
30
-
31
- <div class="cards-store-list__actions">
32
- <button class="btn btn-primary btn_full store-locator__load-button store-locator__load-button_more">
33
- <span class="icon icon__eye">
34
- <i class="fas fa-eye"></i>
35
- </span>
36
- <span class="btn__text">
37
- View more...
38
- </span>
39
- </button>
40
- <button class="btn btn-secondary btn_full store-locator__load-button" style="display: none;">
41
- <span class="icon icon__eye">
42
- <i class="fas fa-eye"></i>
43
- </span>
44
- <span class="btn__text">View less</span>
45
- </button>
46
- </div>
34
+ </div>
35
+ <div class="cards-store-list__actions">
36
+ <button class="btn btn-primary btn_full store-locator__load-button store-locator__load-button_more">
37
+ <span class="btn__text">Load more</span>
38
+ </button>
47
39
  </div>
48
40
  </div>
49
41
  </div>
50
- <div class="pagination-holder">
51
- {{> pagination pagination1="true"}}
52
- </div>
53
42
  </main>
54
43
  {{/content}}
55
44
  {{/extend}}
@@ -36,6 +36,7 @@ mainClass="track-order"
36
36
  <h2 class="my-order__title">Order {{track_order.order.number}}</h2>
37
37
  <p class="my-order__placed">Order placed on <span class="date">{{track_order.order.orderDate}}</span></p>
38
38
  {{> button
39
+ primary="true"
39
40
  full=true
40
41
  modification="btn--print"
41
42
  text="Print"
@@ -23,6 +23,7 @@
23
23
  <script defer src="https://kit.fontawesome.com/b73abc6840.js" crossorigin="anonymous"></script>
24
24
  {{#if pagePdp}}
25
25
  <script defer src="./js/saving-shopping-list.min.js"></script>
26
+ <script defer src="./js/bloomreach-widget.min.js"></script>
26
27
  <script async src="https://static.addtoany.com/menu/page.js"></script>
27
28
  {{/if}}
28
29
 
@@ -11,7 +11,7 @@
11
11
  .btn {
12
12
  position: relative;
13
13
  text-decoration: none;
14
- transition: all .2s ease;
14
+ transition: all 0.2s ease;
15
15
 
16
16
  &_full {
17
17
  @include button-full;
@@ -34,7 +34,7 @@
34
34
  :focus > &,
35
35
  :active > & {
36
36
  color: $white;
37
- opacity: .6;
37
+ opacity: 0.6;
38
38
  bottom: auto; //IE fix
39
39
  }
40
40
  }
@@ -55,6 +55,10 @@
55
55
  @include button-primary;
56
56
  }
57
57
 
58
+ .btn-outline-primary {
59
+ @include button-outline-primary;
60
+ }
61
+
58
62
  .btn-secondary {
59
63
  @include button-secondary;
60
64
  }
@@ -85,7 +89,7 @@
85
89
  }
86
90
 
87
91
  .btn-pending {
88
- @include button-pending
92
+ @include button-pending;
89
93
  }
90
94
 
91
95
  .btn--icon {
@@ -7,6 +7,7 @@
7
7
  @import 'app';
8
8
  @import 'rewards-counter';
9
9
  @import 'vat-toggle';
10
+ @import 'loading-button';
10
11
 
11
12
  // common
12
13
  body {
@@ -258,7 +258,7 @@
258
258
  color: $gray-border;
259
259
 
260
260
  .inactive-message {
261
- font-size: .75rem;
261
+ font-size: 0.75rem;
262
262
  }
263
263
  }
264
264
  }
@@ -266,6 +266,18 @@
266
266
  &-round {
267
267
  @include checkbox-round;
268
268
  }
269
+
270
+ &--action {
271
+ input {
272
+ &:checked,
273
+ &.fake-checked {
274
+ &:not(:disabled) + ins {
275
+ background: $green;
276
+ border-color: $green;
277
+ }
278
+ }
279
+ }
280
+ }
269
281
  }
270
282
 
271
283
  .file-loader {
@@ -0,0 +1,49 @@
1
+ .loading-button {
2
+ position: relative;
3
+
4
+ &__loader {
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ }
9
+
10
+ &--loading {
11
+ cursor: wait !important;
12
+ pointer-events: none;
13
+ min-height: 40px;
14
+ background-color: $green;
15
+ border: 1px solid $green;
16
+
17
+ &:focus {
18
+ background-color: $green;
19
+ }
20
+
21
+ .loading-button__text {
22
+ visibility: hidden;
23
+ }
24
+
25
+ .loading-button__loader {
26
+ display: flex;
27
+ position: absolute;
28
+ left: 50%;
29
+ transform: translateX(-50%);
30
+ align-items: center;
31
+ justify-content: center;
32
+ }
33
+ }
34
+
35
+ .loader-wrapper {
36
+ .loader-spinner {
37
+ width: 24px;
38
+ height: 24px;
39
+
40
+ .circular-loader {
41
+ stroke-width: 8px;
42
+
43
+ .loader-path {
44
+ stroke: $white;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -2,6 +2,16 @@
2
2
  border: 1px solid $gray;
3
3
  display: flex;
4
4
  flex-direction: column;
5
+ height: 100%;
6
+
7
+ &__schedule {
8
+ .schedule-title {
9
+ &.card-store__title {
10
+ font-weight: $btn-font-weight;
11
+ padding: 15px 15px 13px;
12
+ }
13
+ }
14
+ }
5
15
 
6
16
  .store-locator-details & {
7
17
  border: 0;
@@ -17,8 +27,14 @@
17
27
  }
18
28
  }
19
29
 
30
+ &__body {
31
+ display: flex;
32
+ flex-direction: column;
33
+ flex: 1 1 auto;
34
+ }
35
+
20
36
  &__info {
21
- padding: 20px 15px 0;
37
+ padding: 15px 14px 0;
22
38
 
23
39
  .store-locator-details & {
24
40
  padding-top: 0;
@@ -27,16 +43,10 @@
27
43
 
28
44
  &__title {
29
45
  padding-top: 10px;
30
- font-size: 1rem;
31
- font-weight: 500;
46
+ font-weight: $headings-font-weight;
32
47
  line-height: 1.125rem;
33
48
 
34
- &.schedule-title.schedule-title {
35
- margin: 0 15px;
36
- }
37
-
38
49
  .card-store__schedule & {
39
- padding: 20px 0;
40
50
  font-weight: bold;
41
51
  }
42
52
 
@@ -51,11 +61,12 @@
51
61
  }
52
62
 
53
63
  &__distance {
54
- font-weight: 500;
64
+ font-weight: $headings-font-weight;
65
+ margin-top: 4px;
55
66
  }
56
67
 
57
68
  &__address {
58
- padding: 10px 0;
69
+ padding: 8px 0 0;
59
70
 
60
71
  .store-locator-details & {
61
72
  padding-bottom: 20px;
@@ -67,9 +78,21 @@
67
78
  }
68
79
  }
69
80
 
81
+ &__navigation {
82
+ padding: 16px 15px 4px;
83
+ margin-top: auto;
84
+
85
+ .btn {
86
+ margin-top: 0;
87
+ width: 100%;
88
+ display: flex;
89
+ justify-content: center;
90
+ }
91
+ }
92
+
70
93
  &__schedule {
94
+ padding: 0 15px;
71
95
  line-height: 30px;
72
- padding: 0 0 10px;
73
96
 
74
97
  .store-locator-details & {
75
98
  padding: 0 15px;
@@ -79,14 +102,10 @@
79
102
  &__contacts {
80
103
  @include primary-text;
81
104
  padding: 0 15px;
82
-
83
- .store-locator-details & {
84
- padding: 20px 15px;
85
- }
86
105
  }
87
106
 
88
107
  &__tel {
89
- padding-top: 10px;
108
+ padding-top: 8px;
90
109
  border-top: 1px solid $gray;
91
110
  display: block;
92
111
  white-space: nowrap;
@@ -103,23 +122,97 @@
103
122
  }
104
123
 
105
124
  &__actions {
106
- text-align: center;
107
- padding: 10px 0 20px;
125
+ padding: 8px 15px 15px;
108
126
 
109
127
  a {
110
- font-weight: 500;
128
+ font-weight: $font-weight-bold;
129
+ font-size: 0.875rem;
130
+ line-height: 1.25rem;
131
+ text-decoration: underline;
111
132
  }
112
133
  }
113
134
 
114
135
  &__features {
115
136
  padding: 0 15px;
116
137
  }
138
+ }
117
139
 
118
- &__navigation {
119
- padding: 0 15px 15px;
140
+ .card-store__schedule {
141
+ .opening-times-accordion {
142
+ padding: 0;
143
+ border-top: 0;
144
+ border-bottom: 0;
145
+
146
+ &__icon {
147
+ left: auto;
148
+ right: -2px;
149
+ top: 9px;
150
+ font-size: 1.25rem;
151
+ }
120
152
 
121
- .btn {
153
+ &__header {
154
+ display: flex;
155
+ align-items: center;
156
+ justify-content: space-between;
157
+ cursor: pointer;
158
+ padding: 10px 0 12px;
159
+ margin: 0;
160
+ }
161
+
162
+ &__title {
163
+ font-size: 0.875rem;
164
+ font-weight: $headings-font-weight;
165
+ line-height: 22px;
166
+ color: $gray-dark;
167
+ }
168
+
169
+ &__icon {
170
+ display: inline-flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ transition: transform 0.2s ease;
174
+ }
175
+
176
+ &__content {
177
+ padding: 0 0 12px;
178
+ margin-left: -15px;
179
+ margin-right: -15px;
180
+ }
181
+
182
+ &__close {
122
183
  width: 100%;
184
+ display: flex;
185
+ justify-content: center;
186
+ align-items: center;
187
+ padding: 12px 0 4px;
188
+ border: 0;
189
+ background: transparent;
190
+ cursor: pointer;
191
+
192
+ &:focus:not(:focus-visible) {
193
+ outline: none;
194
+ }
195
+ }
196
+
197
+ &__close-icon {
198
+ display: inline-flex;
199
+ align-items: center;
200
+ justify-content: center;
201
+ font-weight: $headings-font-weight;
202
+ color: $blue;
203
+ cursor: pointer;
204
+ box-sizing: border-box;
205
+ height: 24px;
206
+ line-height: 24px;
207
+ width: 24px;
208
+ text-align: center;
209
+ font-size: 1.25rem;
210
+ }
211
+
212
+ &.accordion_collapsed {
213
+ .opening-times-accordion__icon {
214
+ transform: rotate(360deg);
215
+ }
123
216
  }
124
217
  }
125
218
  }
@@ -129,7 +222,11 @@
129
222
 
130
223
  &__day,
131
224
  &__time {
132
- width: 50%;
225
+ display: flex;
226
+ justify-content: flex-end;
227
+ width: 56%;
228
+ min-width: 145px;
229
+ padding-right: 15px;
133
230
 
134
231
  .store-locator-details & {
135
232
  text-align: right;
@@ -137,8 +234,18 @@
137
234
  }
138
235
  }
139
236
 
237
+ &__time {
238
+ gap: 3px;
239
+ }
240
+
140
241
  &__day {
242
+ align-items: center;
243
+ justify-content: flex-start;
244
+ min-width: auto;
245
+ width: 44%;
141
246
  padding-left: 15px;
247
+ padding-right: 0;
248
+ line-height: 20px;
142
249
 
143
250
  .store-locator-details & {
144
251
  text-align: left;
@@ -165,12 +272,16 @@
165
272
  @include media-breakpoint-down(sm) {
166
273
  .card-store {
167
274
  &__schedule {
168
- display: flex;
169
- flex-direction: column;
275
+ display: block;
276
+ padding: 0 15px;
277
+ }
170
278
 
171
- .card-store__special-time {
172
- order: -1;
173
- }
279
+ &__navigation {
280
+ padding-top: 12px;
281
+ }
282
+
283
+ &__actions {
284
+ padding-bottom: 12px;
174
285
  }
175
286
  }
176
287
 
@@ -188,10 +299,6 @@
188
299
  .store-locator-details & {
189
300
  width: 55%;
190
301
  }
191
-
192
- &__info {
193
- min-height: 240px;
194
- }
195
302
  }
196
303
  }
197
304
 
@@ -501,6 +501,24 @@
501
501
  }
502
502
  }
503
503
  }
504
+
505
+ &-delivery:has(+ .checkout-widget__item-delivery-cost-message) {
506
+ padding-bottom: 0;
507
+ }
508
+
509
+ &-delivery-cost-message {
510
+ margin-top: 4px !important;
511
+ padding-top: 0;
512
+ justify-content: flex-end;
513
+
514
+ #order-delivery-cost-message {
515
+ @include font-size(10);
516
+ @include line-height(12);
517
+
518
+ font-weight: 700;
519
+ color: $squant;
520
+ }
521
+ }
504
522
  }
505
523
 
506
524
  &__details-discount {
@@ -248,16 +248,50 @@
248
248
  height: auto;
249
249
  }
250
250
  }
251
+
252
+ .rapid-info-icon {
253
+ display: inline-flex;
254
+ align-items: center;
255
+ vertical-align: bottom;
256
+ pointer-events: auto;
257
+ margin-left: 4px;
258
+ cursor: pointer;
259
+ color: $white;
260
+ font-size: 1rem;
261
+
262
+ [data-prefix='fas'],
263
+ [data-prefix='far'] {
264
+ color: $white;
265
+ }
266
+
267
+ &:hover {
268
+ opacity: 0.8;
269
+
270
+ [data-prefix='far'] {
271
+ color: $white;
272
+ }
273
+ }
274
+ }
275
+
276
+ &__image {
277
+ position: absolute;
278
+ right: 12px;
279
+ }
251
280
  }
252
281
 
253
282
  .delivery-container {
254
283
  .btn.btn_full {
255
284
  display: flex;
256
- padding: 16px 20px;
285
+ padding: 16px 12px;
257
286
  align-items: center;
258
287
  justify-content: center;
259
288
  border: 0;
260
289
  border-radius: 0;
290
+ position: relative;
291
+
292
+ &:has(.delivery-btn__image:not(.d-none)) {
293
+ padding: 16px 64px 16px 12px;
294
+ }
261
295
  }
262
296
  }
263
297
 
@@ -271,6 +305,14 @@
271
305
  }
272
306
  }
273
307
 
308
+ @include media-breakpoint-only(sm) {
309
+ .delivery-types .delivery-container {
310
+ .subtitle br {
311
+ display: none;
312
+ }
313
+ }
314
+ }
315
+
274
316
  @include media-breakpoint-up(md) {
275
317
  .date-selection {
276
318
  .delivery-date,
@@ -9,8 +9,8 @@
9
9
  margin-bottom: 8px;
10
10
 
11
11
  & img {
12
- width: 51px;
13
- height: 51px;
12
+ flex-basis: calc((100% - 40px) / 6);
13
+ min-width: 45px;
14
14
  }
15
15
  }
16
16
 
@@ -24,6 +24,9 @@
24
24
  padding-left: 32px;
25
25
  color: $blue;
26
26
  cursor: pointer;
27
+
28
+ font-size: 0.875rem;
29
+ line-height: 1.375rem;
27
30
  }
28
31
 
29
32
  &__icon {
@@ -49,6 +49,7 @@
49
49
 
50
50
  &__title {
51
51
  margin-bottom: 0;
52
+ user-select: none;
52
53
  }
53
54
 
54
55
  &__parameters {
@@ -79,7 +80,7 @@
79
80
  top: 50%;
80
81
  transform: translateY(-50%);
81
82
  z-index: 1;
82
- background: rgba($black, .3);
83
+ background: rgba($black, 0.3);
83
84
  display: flex;
84
85
  justify-content: center;
85
86
  align-items: center;
@@ -89,7 +90,7 @@
89
90
 
90
91
  &.swiper-button-disabled {
91
92
  display: flex !important;
92
- opacity: .5;
93
+ opacity: 0.5;
93
94
  }
94
95
  }
95
96
 
@@ -122,11 +123,11 @@
122
123
  .kitchen-cards {
123
124
  grid-template-columns: repeat(2, 1fr);
124
125
  gap: 24px;
125
- }
126
+ }
126
127
  }
127
128
 
128
129
  @include media-breakpoint-up(lg) {
129
130
  .kitchen-cards {
130
131
  grid-template-columns: repeat(3, 1fr);
131
- }
132
+ }
132
133
  }