wickes-css2 2.111.0-develop.2 → 2.111.0-why-not-add.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.
Files changed (177) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/global-search.css +1 -1
  4. package/build/css/homepage-main.css +1 -1
  5. package/build/css/kitchen-plp-main.css +1 -1
  6. package/build/css/main.css +1 -1
  7. package/build/css/my-account-main-v2.css +1 -1
  8. package/build/css/my-account-main.css +1 -1
  9. package/build/css/pages/page_personal-details.css +1 -1
  10. package/build/css/pages/page_product-details-v2.css +1 -1
  11. package/build/css/pdp-main-before-combine.css +1 -1
  12. package/build/css/pdp-main-critical.css +1 -1
  13. package/build/css/pdp-main-non-critical.css +1 -1
  14. package/build/css/pdp-main.css +1 -1
  15. package/build/css/plp-main.css +1 -1
  16. package/build/css/store-locator-main.css +1 -1
  17. package/build/js/account-hub.min.js +1 -1
  18. package/build/js/basket.min.js +2 -2
  19. package/build/js/bloomreach-widget.min.js +1 -0
  20. package/build/js/bundle.min.js +1 -1
  21. package/build/js/checkout.min.js +2 -2
  22. package/build/js/emulation.min.js +3001 -280
  23. package/build/js/general.bundle.min.js +1 -1
  24. package/build/js/gift-cards.min.js +1 -1
  25. package/build/js/merged-checkout.min.js +2 -2
  26. package/build/js/mini-basket-slider.min.js +1 -1
  27. package/build/js/page/basket-v2.js +18 -11
  28. package/build/js/page/bloomreach-widget.js +1187 -0
  29. package/build/js/page/components/discounts.js +8 -15
  30. package/build/js/page/components/mini-basket-slider.js +24 -18
  31. package/build/js/page/components/voucher.js +2 -56
  32. package/build/js/page/utils/create-count-stepper.js +30 -9
  33. package/build/js/page/utils/create-loading-button.js +37 -0
  34. package/build/js/page/utils/create-toast.js +79 -0
  35. package/build/js/page/utils/custom-dropdown.js +80 -0
  36. package/build/js/pdp-count-stepper.min.js +1 -1
  37. package/build/js/pdp.bundle.min.js +1 -1
  38. package/build/js/plp.bundle.min.js +1 -1
  39. package/build/js/project-list.min.js +1 -1
  40. package/build/js/saving-shopping-list.min.js +1 -1
  41. package/package.json +1 -1
  42. package/src/components/base/button.hbs +23 -5
  43. package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
  44. package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
  45. package/src/components/bloomreach/complete-card.hbs +138 -0
  46. package/src/components/bloomreach/complete-divider.hbs +3 -0
  47. package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
  48. package/src/components/bloomreach/complete-summary.hbs +43 -0
  49. package/src/components/bloomreach/complete-wrapper.hbs +1 -0
  50. package/src/components/bloomreach/complete-your-project.hbs +21 -0
  51. package/src/components/cart-voucher.hbs +4 -4
  52. package/src/components/gift-cards.hbs +1 -1
  53. package/src/components/mini-basket/mini-basket-order-item.hbs +4 -4
  54. package/src/components/wismo-payment.hbs +7 -50
  55. package/src/data/data_delivery-address-v2.json +6 -6
  56. package/src/data/data_discounts.json +6 -6
  57. package/src/data/data_shopping-cart-v2.json +11 -32
  58. package/src/data/data_shopping-cart-with-energy.json +12 -12
  59. package/src/data/data_wismo.json +1 -2
  60. package/src/elements/checkbox.hbs +8 -1
  61. package/src/js/components/general/cart-slider.js +19 -6
  62. package/src/js/components/general/switchVat.js +7 -9
  63. package/src/js/emulation/basket-data.js +1 -11
  64. package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
  65. package/src/js/emulation/bloomreach-widget-loading.js +11 -0
  66. package/src/js/emulation/checkout-data.js +0 -3
  67. package/src/js/emulation/mini-basket-data.js +0 -68
  68. package/src/js/emulation/mock.js +3098 -1
  69. package/src/js/emulation/notify-me.js +1 -1
  70. package/src/js/page/basket-v2.js +18 -11
  71. package/src/js/page/bloomreach-widget.js +1187 -0
  72. package/src/js/page/components/discounts.js +8 -15
  73. package/src/js/page/components/mini-basket-slider.js +24 -18
  74. package/src/js/page/components/voucher.js +2 -56
  75. package/src/js/page/utils/create-count-stepper.js +30 -9
  76. package/src/js/page/utils/create-loading-button.js +37 -0
  77. package/src/js/page/utils/create-toast.js +79 -0
  78. package/src/js/page/utils/custom-dropdown.js +80 -0
  79. package/src/layouts/checkout.hbs +0 -1
  80. package/src/page_basket-energy-efficiency.html +0 -4
  81. package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -7
  82. package/src/page_checkout_confirmation-new-marketing-consent.html +0 -4
  83. package/src/page_checkout_delivery-address-v2.html +0 -4
  84. package/src/page_checkout_delivery-details-v2-asm.html +1 -7
  85. package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -4
  86. package/src/page_checkout_delivery-details-v2-oos.html +0 -4
  87. package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -4
  88. package/src/page_checkout_delivery-details-v2-wisdom.html +0 -4
  89. package/src/page_checkout_delivery-details-with-loader-v2.html +0 -4
  90. package/src/page_checkout_delivery-details_guest-new.html +0 -4
  91. package/src/page_checkout_delivery_address-asm-new.html +0 -4
  92. package/src/page_checkout_merge-basket-v2.html +3 -6
  93. package/src/page_checkout_merge-basket-vat-v2.html +1 -6
  94. package/src/page_checkout_merge-basket-with-energy.html +0 -4
  95. package/src/page_checkout_next-day-delivery-details.html +0 -4
  96. package/src/page_checkout_payment-details-v2-asm.html +0 -4
  97. package/src/page_checkout_payment-details-v2.html +0 -4
  98. package/src/page_checkout_payment-details_guest-click-collect-icon.html +0 -4
  99. package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -7
  100. package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -7
  101. package/src/page_checkout_payment-details_with-card-loader.html +0 -4
  102. package/src/page_checkout_payment-details_with-loader-v2.html +0 -4
  103. package/src/page_checkout_rapid-delivery-details.html +0 -4
  104. package/src/page_empty-basket-instore.html +0 -4
  105. package/src/page_homepage-with-global-search-v2-vat.html +0 -1
  106. package/src/page_instore_progress_bar.html +0 -4
  107. package/src/page_product-details-banner.html +0 -1
  108. package/src/page_product-details-big-wins-disabled-delivery.html +0 -1
  109. package/src/page_product-details-big-wins-non-registered.html +0 -1
  110. package/src/page_product-details-big-wins-out-nearest.html +0 -1
  111. package/src/page_product-details-big-wins-unhappy.html +0 -1
  112. package/src/page_product-details-big-wins.html +0 -1
  113. package/src/page_product-details-billie.html +0 -1
  114. package/src/page_product-details-bloomreach.html +130 -0
  115. package/src/page_product-details-calculator.html +0 -1
  116. package/src/page_product-details-cashback-v2.html +0 -1
  117. package/src/page_product-details-clearpay.html +0 -1
  118. package/src/page_product-details-cnc-error-notification.html +0 -1
  119. package/src/page_product-details-cnc-success-notification-vat.html +0 -1
  120. package/src/page_product-details-cnc-success-notification.html +0 -1
  121. package/src/page_product-details-default-store.html +0 -1
  122. package/src/page_product-details-energy-efficiency.html +0 -1
  123. package/src/page_product-details-flooring-with-pr-placeholder.html +0 -1
  124. package/src/page_product-details-flooring.html +0 -1
  125. package/src/page_product-details-gallery-actual.html +0 -1
  126. package/src/page_product-details-mfe-calculator.html +0 -1
  127. package/src/page_product-details-minimum-v2.html +0 -1
  128. package/src/page_product-details-mtm-doors.html +0 -1
  129. package/src/page_product-details-only-clearpay.html +0 -1
  130. package/src/page_product-details-paint-mixing.html +0 -1
  131. package/src/page_product-details-saved-pl.html +0 -1
  132. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +0 -1
  133. package/src/page_product-details-tile-steps-logout.html +0 -1
  134. package/src/page_product-details-tile-steps-no-new-project-list.html +0 -1
  135. package/src/page_product-details-tile-steps-with-klarna.html +0 -1
  136. package/src/page_product-details-tile-steps.html +0 -1
  137. package/src/page_product-details-v2.html +0 -1
  138. package/src/page_product-details-vat.html +0 -1
  139. package/src/page_product-details-wisdom-mcfc-registered.html +0 -1
  140. package/src/page_product-details-wisdom-mcfc.html +0 -1
  141. package/src/page_product-details-wisdom-oos-registered.html +0 -1
  142. package/src/page_product-details-wisdom-oos.html +0 -1
  143. package/src/page_product-details-wisdom-registered.html +0 -1
  144. package/src/page_product-details-wisdom.html +0 -1
  145. package/src/page_product-details-with-favourite.html +0 -1
  146. package/src/page_product-details-with-global-search-v2.html +7 -2
  147. package/src/page_product-details_no-previous-default.html +0 -1
  148. package/src/page_shopping-cart-registered-v2.html +0 -4
  149. package/src/page_shopping-cart-v2-vat.html +0 -6
  150. package/src/page_shopping-cart-v2.html +2 -5
  151. package/src/page_shopping-cart-v3-instore.html +0 -4
  152. package/src/page_track-my-order-result.html +1 -0
  153. package/src/partials/scripts.hbs +1 -0
  154. package/src/scss/common/_common.scss +1 -0
  155. package/src/scss/common/_elements.scss +13 -1
  156. package/src/scss/common/_loading-button.scss +49 -0
  157. package/src/scss/components/_notifications.scss +86 -5
  158. package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
  159. package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
  160. package/src/scss/components/bloomreach/_complete-card.scss +408 -0
  161. package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
  162. package/src/scss/components/global-search.scss +0 -11
  163. package/src/scss/globals/_global-components.scss +0 -1
  164. package/src/scss/helpers/_variables.scss +1 -0
  165. package/src/scss/main.scss +0 -2
  166. package/src/scss/pages/page_product-details-v2.scss +45 -2
  167. package/src/scss/pdp-main-critical.scss +0 -1
  168. package/src/scss/pdp-main.scss +1 -1
  169. package/src/sitemap.html +6 -0
  170. package/src/components/checkout-voucher-remove-modal.hbs +0 -16
  171. package/src/components/tradepro-discount-banner.hbs +0 -8
  172. package/src/js/components/general/tradepro-discount-banner.js +0 -69
  173. package/src/js/emulation/tradepro-discount-banner-emulation.js +0 -13
  174. package/src/scss/components/_checkout-voucher-remove-modal.scss +0 -108
  175. package/src/scss/components/_pdp-action-v2-critical.scss +0 -27
  176. package/src/scss/components/_pdp-action-v2.scss +0 -27
  177. package/src/scss/components/_tradepro-discount-banner.scss +0 -78
@@ -90,7 +90,15 @@
90
90
  }
91
91
 
92
92
  &__fulfilment {
93
- margin-top: 30px;
93
+ margin-top: 10px;
94
+
95
+ &-mobile {
96
+ display: block;
97
+ }
98
+
99
+ &-desktop {
100
+ display: none;
101
+ }
94
102
  }
95
103
 
96
104
  &__similar {
@@ -166,6 +174,13 @@
166
174
  &__buyers-gallery {
167
175
  overflow: hidden;
168
176
  }
177
+
178
+ &__widget {
179
+ margin-top: 16px;
180
+ margin-bottom: 20px;
181
+ margin-left: -15px;
182
+ margin-right: -15px;
183
+ }
169
184
  }
170
185
 
171
186
  .recently-viewed {
@@ -284,13 +299,37 @@
284
299
  margin-top: auto;
285
300
  }
286
301
 
302
+ @include media-breakpoint-up(sm) {
303
+ .pdp {
304
+ &__widget {
305
+ margin-left: 0;
306
+ margin-right: 0;
307
+ }
308
+ }
309
+ }
310
+
287
311
  @include media-breakpoint-up(md) {
288
312
  .pdp {
289
313
  &__fulfilment {
290
314
  margin-top: 10px;
291
315
  margin-bottom: 5px;
316
+ grid-column: 1 / span 4;
317
+ grid-row: 5 / span 1;
318
+
319
+ &-mobile {
320
+ display: none;
321
+ }
322
+
323
+ &-desktop {
324
+ display: block;
325
+ }
326
+ }
327
+
328
+ &__widget {
292
329
  grid-column: 1 / span 4;
293
330
  grid-row: 4 / span 1;
331
+ margin-top: 20px;
332
+ margin-bottom: 10px;
294
333
  }
295
334
  }
296
335
  }
@@ -298,7 +337,11 @@
298
337
  @include media-breakpoint-up(lg) {
299
338
  .pdp {
300
339
  &__fulfilment {
301
- margin-top: 30px;
340
+ margin-top: 20px;
341
+ }
342
+
343
+ &__widget {
344
+ margin-bottom: 0;
302
345
  }
303
346
  }
304
347
  }
@@ -40,7 +40,6 @@
40
40
  @import 'components/price-block-critical';
41
41
  @import 'components/price-block-v2-critical';
42
42
  @import 'components/wisdom-critical';
43
- @import 'components/pdp-action-v2';
44
43
  @import 'components/clearpay';
45
44
  @import 'components/billie-online-messaging';
46
45
 
@@ -27,7 +27,6 @@
27
27
  @import 'components/search-filter';
28
28
  @import 'components/card-color-slider';
29
29
  @import 'components/pdp-cta';
30
- @import 'components/pdp-action-v2';
31
30
  @import 'components/pdp-info-v2';
32
31
  @import 'components/range-types';
33
32
  @import 'components/gallery-pdp';
@@ -82,6 +81,7 @@
82
81
  @import 'components/billie-modal';
83
82
  @import 'components/input-counter';
84
83
  @import 'components/notify-me-modal';
84
+ @import 'components/bloomreach/bloomreach';
85
85
 
86
86
  // Pages
87
87
  @import 'pages/page_ti';
package/src/sitemap.html CHANGED
@@ -258,6 +258,12 @@
258
258
  Product details page - Paint Mixing
259
259
  </a>
260
260
  </li>
261
+ <li>
262
+ <span class="page-id">2.33</span>
263
+ <a href="page_product-details-bloomreach.html" target="_blank">
264
+ Product details page - Bloomreach
265
+ </a>
266
+ </li>
261
267
  </ul>
262
268
  <h3>Content pages</h3>
263
269
  <ul> <!--TBD: after deleting commented pages, appropriate css code needs to be cleaned-->
@@ -1,16 +0,0 @@
1
- {{#extend "modal" classMod="voucher-remove-modal" title=title showCloseBtn=true backdrop=true}}
2
- {{#content "header"}}
3
- <i class="{{headerIcon}} info-icon"></i>
4
- {{/content}}
5
- {{#content "sections"}}
6
- {{#extend "modal-body-section"}}
7
- {{#content "body"}}
8
- <p class="description">{{{description}}}</p>
9
- <div class="voucher-remove-modal__actions">
10
- <button class="btn btn_full btn-primary" data-dismiss="modal">Cancel</button>
11
- <button class="btn btn_full btn-secondary btn-continue" data-action="confirm-voucher-remove">Yes, continue</button>
12
- </div>
13
- {{/content}}
14
- {{/extend}}
15
- {{/content}}
16
- {{/extend}}
@@ -1,8 +0,0 @@
1
- <div class="tradepro-discount-banner">
2
- <span class="tradepro-discount-banner__content">
3
- Your TradePro discount is already applied to all prices
4
- </span>
5
- <span class="icon notification__close notification__close_white notification__close_stripbanner">
6
- <span class="fas fa-times"></span>
7
- </span>
8
- </div>
@@ -1,69 +0,0 @@
1
- var Wick = Wick || {};
2
-
3
- Wick.TradeProDiscountBanner = {
4
- COOKIE_NAME: 'showTradeProPricingBanner',
5
- BANNER_HTML: `
6
- <div class="tradepro-discount-banner">
7
- <span class="tradepro-discount-banner__content">
8
- Your TradePro discount is already applied to all prices
9
- </span>
10
- <span class="icon notification__close notification__close_white notification__close_stripbanner">
11
- <span class="fas fa-times"></span>
12
- </span>
13
- </div>`,
14
- getCookie: function (cookieName) {
15
- var cookie = decodeURIComponent(document.cookie)
16
- .split(';')
17
- .map(function (c) {
18
- return c.trim();
19
- })
20
- .find(function (c) {
21
- return c.startsWith(cookieName + '=');
22
- });
23
-
24
- return cookie ? cookie.replace(cookieName + '=', '') : '';
25
- },
26
- isOn: function () {
27
- return (
28
- Wick.TradeProDiscountBanner.getCookie(Wick.TradeProDiscountBanner.COOKIE_NAME) ===
29
- 'true'
30
- );
31
- },
32
- turnOff: function () {
33
- Wick.TradeProDiscountBanner.setCookie(Wick.TradeProDiscountBanner.COOKIE_NAME, 'false');
34
- },
35
- setCookie: function (cookieName, value) {
36
- document.cookie =
37
- cookieName + '=' + encodeURIComponent(value) + ';domain=.wickes.co.uk;path=/';
38
- },
39
- onClose: function (e) {
40
- e.stopPropagation();
41
- $('.tradepro-discount-banner').remove();
42
- $('.global-search--has-tradepro-banner').removeClass('global-search--has-tradepro-banner');
43
- Wick.TradeProDiscountBanner.turnOff();
44
- },
45
- bindEvents: function () {
46
- $(document).on(
47
- 'click',
48
- '.tradepro-discount-banner .notification__close',
49
- Wick.TradeProDiscountBanner.onClose
50
- );
51
- },
52
- init: function () {
53
- Wick.TradeProDiscountBanner.bindEvents();
54
- var $globalSearch = $('.header-global-search__content.global-search');
55
-
56
- if ($globalSearch.length && !$globalSearch.find('.tradepro-discount-banner').length) {
57
- $globalSearch.prepend(Wick.TradeProDiscountBanner.BANNER_HTML);
58
- $globalSearch.addClass('global-search--has-tradepro-banner');
59
- }
60
- },
61
- };
62
-
63
- $(function () {
64
- if (!Wick.TradeProDiscountBanner.isOn()) {
65
- return;
66
- }
67
-
68
- Wick.TradeProDiscountBanner.init();
69
- });
@@ -1,13 +0,0 @@
1
- var Wick = window.Wick || {};
2
-
3
- $(document).ready(function () {
4
- var href = window.location.href;
5
- var isTargetPage =
6
- href.indexOf('page_homepage-with-global-search-v2-vat') > -1 ||
7
- href.indexOf('page_checkout_delivery-details-v2-asm') > -1 ||
8
- href.indexOf('page_product-details-with-global-search-v2') > -1;
9
-
10
- if (isTargetPage && Wick.TradeProDiscountBanner && !Wick.TradeProDiscountBanner.isOn()) {
11
- Wick.TradeProDiscountBanner.init();
12
- }
13
- });
@@ -1,108 +0,0 @@
1
- .voucher-remove-modal {
2
- .modal-dialog {
3
- margin-top: 40px;
4
- }
5
-
6
- .modal-box__header {
7
- &::after {
8
- left: 0;
9
- right: 0;
10
- }
11
- }
12
-
13
- .modal-box__footer {
14
- display: none;
15
- }
16
-
17
- .modal-box__content {
18
- border-radius: 0.3rem;
19
- }
20
-
21
- &__coupon-name {
22
- font-weight: 500;
23
- }
24
-
25
- .modal-box__columns {
26
- flex: 1;
27
- max-width: 500px;
28
- }
29
-
30
- .modal-box__inner-columns {
31
- flex: 1;
32
- max-width: 100%;
33
- }
34
-
35
- .modal-header {
36
- padding: 16px;
37
-
38
- .modal-box__inner-columns {
39
- display: flex;
40
- align-items: center;
41
-
42
- .info-icon {
43
- @include font-size(27);
44
- color: $orange;
45
- }
46
- }
47
-
48
- .close {
49
- position: absolute;
50
- top: 8px;
51
- right: 8px;
52
- margin: 0;
53
- padding: 0;
54
-
55
- .icon svg {
56
- @include font-size(16);
57
- }
58
- }
59
-
60
- .modal-title {
61
- @include font-size(18);
62
- @include line-height(24);
63
- margin-left: 15px;
64
- font-weight: 500;
65
- }
66
- }
67
-
68
- .modal-body {
69
- padding: 16px;
70
-
71
- .description {
72
- @include font-size(16);
73
- @include line-height(24);
74
- margin-bottom: 0;
75
- font-weight: 400;
76
-
77
- .new-email {
78
- font-weight: 700;
79
- }
80
- }
81
- }
82
-
83
- &__actions {
84
- display: flex;
85
- grid-gap: 16px;
86
- margin-top: 32px;
87
- }
88
- }
89
-
90
- @include media-breakpoint-up(sm) {
91
- .voucher-remove-modal {
92
- .modal-header {
93
- padding: 16px 24px;
94
- }
95
-
96
- .modal-body {
97
- padding: 24px 24px 16px;
98
- }
99
-
100
- &__actions {
101
- margin-top: 40px;
102
-
103
- .btn_full {
104
- width: auto;
105
- }
106
- }
107
- }
108
- }
@@ -1,27 +0,0 @@
1
- @import '../helpers/helpers';
2
-
3
- .pdp {
4
- &__fulfilment {
5
- display: none;
6
- }
7
-
8
- &__aside {
9
- .pdp__fulfilment {
10
- display: block;
11
- }
12
- }
13
- }
14
-
15
- @include media-breakpoint-up(md) {
16
- .pdp {
17
- &__fulfilment {
18
- display: block;
19
- }
20
-
21
- &__aside {
22
- .pdp__fulfilment {
23
- display: none;
24
- }
25
- }
26
- }
27
- }
@@ -1,27 +0,0 @@
1
- @import '../helpers/mixins';
2
-
3
- .pdp {
4
- &__fulfilment {
5
- display: none;
6
- }
7
-
8
- &__aside {
9
- .pdp__fulfilment {
10
- display: block;
11
- }
12
- }
13
- }
14
-
15
- @include media-breakpoint-up(md) {
16
- .pdp {
17
- &__fulfilment {
18
- display: block;
19
- }
20
-
21
- &__aside {
22
- .pdp__fulfilment {
23
- display: none;
24
- }
25
- }
26
- }
27
- }
@@ -1,78 +0,0 @@
1
- .tradepro-discount-banner {
2
- position: relative;
3
- z-index: $offer-banner;
4
- width: 100%;
5
- background-color: $blue;
6
- color: $white;
7
-
8
- &.stuck {
9
- position: fixed;
10
- top: 0;
11
- z-index: $offer-banner-stuck;
12
- }
13
-
14
- &__content {
15
- display: block;
16
- padding: 4px 25px;
17
- text-align: center;
18
- color: $white;
19
- text-decoration: none;
20
-
21
- &:hover {
22
- color: $white;
23
- text-decoration: none;
24
- }
25
-
26
- strong {
27
- font-weight: 500;
28
- }
29
- }
30
-
31
- &__link {
32
- white-space: nowrap;
33
- color: $white;
34
- text-decoration: none;
35
-
36
- &:hover {
37
- color: $white;
38
- text-decoration: underline;
39
- }
40
-
41
- &:not(a) {
42
- &:hover {
43
- text-decoration: none;
44
- }
45
- }
46
-
47
- &-arrow {
48
- margin-left: 10px;
49
- }
50
- }
51
-
52
- & .notification__close {
53
- right: 4px;
54
- top: 4px;
55
- }
56
- }
57
-
58
- .global-search {
59
- .tradepro-discount-banner {
60
- position: absolute;
61
- top: 0;
62
- left: 0;
63
- right: 0;
64
- }
65
-
66
- }
67
-
68
- @media screen and (max-width: 370px) {
69
- .tradepro-discount-banner {
70
- &__content {
71
- padding: 4px 20px 4px 10px;
72
- }
73
-
74
- &__link-text {
75
- font-size: 12px;
76
- }
77
- }
78
- }