wickes-css2 2.113.0 → 2.116.0
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 +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/checkout-payment-repayment-terms.css +1 -1
- package/build/css/components/price-block-v2-critical.css +1 -1
- package/build/css/components/price-block-v2.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/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_product-details-v2-critical.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pages/page_product-details.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list_v2.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/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/bloomreach-widget.min.js +1 -1
- 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 +260 -192
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/package-bulk-add.min.js +1 -0
- package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +7 -6
- package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +47 -27
- package/build/js/page/bloomreach-widget/bloomreach-widget.js +5 -0
- package/build/js/page/bloomreach-widget/complete-your-project/view.js +11 -6
- package/build/js/page/bloomreach-widget/complete-your-project/widget.js +0 -1
- package/build/js/page/bloomreach-widget/similar-products-widget.js +17 -0
- package/build/js/page/plp-load-more.js +81 -66
- package/build/js/page/ripple/bulk-add.js +71 -0
- package/build/js/page/ripple/package-bulk-add.js +43 -0
- package/build/js/page/ripple/postcode-checker.js +83 -0
- package/build/js/page/ripple/thumb-gallery.js +236 -0
- package/build/js/page/utils/validation.js +1 -1
- package/build/js/pdp.bundle.min.js +2 -2
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/postcode-checker.min.js +1 -0
- package/build/js/project-list.min.js +2 -2
- package/build/js/quiz.min.js +1 -1
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +1 -1
- package/src/badges-ripple.html +120 -0
- package/src/badges.html +9 -18
- package/src/components/bloomreach/complete-card.hbs +1 -1
- package/src/components/bloomreach/why-not-add-card.hbs +26 -7
- package/src/components/bloomreach/why-not-add.hbs +1 -1
- package/src/components/fulfilment-accordions.hbs +1 -1
- package/src/components/image-accordion.hbs +18 -0
- package/src/components/kitchen/price.hbs +49 -29
- package/src/components/kitchen/strip-stickers.hbs +9 -3
- package/src/components/package-card.hbs +30 -0
- package/src/components/pdp-price-actions.hbs +17 -0
- package/src/components/postcode-checker.hbs +24 -0
- package/src/components/price-badges.hbs +12 -10
- package/src/components/price-block-v2.hbs +289 -199
- package/src/components/product-main-info-v2.hbs +2 -0
- package/src/components/suite-includes.hbs +66 -0
- package/src/components/suite-product-card.hbs +47 -0
- package/src/components/thumb-gallery.hbs +23 -0
- package/src/data/data_badges.json +143 -0
- package/src/data/data_bathroom-plp.json +814 -0
- package/src/data/data_suite-includes-products.json +134 -0
- package/src/js/components/banner-placement-manager.js +25 -9
- package/src/js/components/general/image-accordion.js +54 -0
- package/src/js/components/general/switchVat.js +8 -1
- package/src/js/components/package-card.js +69 -0
- package/src/js/components/store-locator-cards.js +76 -0
- package/src/js/emulation/banner-placement-manager.js +219 -188
- package/src/js/emulation/bloomreach-widget-calculations.js +1 -1
- package/src/js/emulation/mock.js +66 -34
- package/src/js/emulation/plp-load-more.js +13 -4
- package/src/js/emulation/postcode-checker.js +11 -0
- package/src/js/emulation/similar-products-loading.js +22 -0
- package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +7 -6
- package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +47 -27
- package/src/js/page/bloomreach-widget/bloomreach-widget.js +5 -0
- package/src/js/page/bloomreach-widget/complete-your-project/view.js +11 -6
- package/src/js/page/bloomreach-widget/complete-your-project/widget.js +0 -1
- package/src/js/page/bloomreach-widget/similar-products-widget.js +17 -0
- package/src/js/page/plp-load-more.js +81 -66
- package/src/js/page/ripple/bulk-add.js +71 -0
- package/src/js/page/ripple/package-bulk-add.js +43 -0
- package/src/js/page/ripple/postcode-checker.js +83 -0
- package/src/js/page/ripple/thumb-gallery.js +236 -0
- package/src/js/page/utils/validation.js +1 -1
- package/src/page_bathroom-plp-vat.html +81 -0
- package/src/page_bathroom-plp-without-load-more.html +83 -0
- package/src/page_bathroom-plp.html +98 -0
- package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
- package/src/page_checkout_payment-details-v2-asm.html +2 -3
- package/src/page_checkout_payment-details-v2.html +2 -3
- package/src/page_checkout_payment-details_with-card-loader.html +2 -3
- package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
- package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
- package/src/page_klarna_payment-details_with-klarna.html +2 -3
- package/src/page_payment-details-billie-registered-only.html +2 -3
- package/src/page_payment-details-billie-unregistered-only.html +2 -3
- package/src/page_payment-details-with-billie.html +2 -3
- package/src/page_payment-details-with-clearpay.html +2 -3
- package/src/page_payment-details-with-gift-card.html +2 -3
- package/src/page_payment-details_with_apple-pay.html +0 -1
- package/src/page_payment-details_with_google-pay.html +2 -3
- package/src/page_product-details-banner.html +1 -3
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
- package/src/page_product-details-big-wins-non-registered.html +1 -3
- package/src/page_product-details-big-wins-out-nearest.html +1 -3
- package/src/page_product-details-big-wins-unhappy.html +1 -3
- package/src/page_product-details-big-wins.html +1 -3
- package/src/page_product-details-billie.html +1 -3
- package/src/page_product-details-calculator.html +1 -3
- package/src/page_product-details-cashback-v2.html +1 -3
- package/src/page_product-details-clearpay.html +1 -3
- package/src/page_product-details-cnc-error-notification.html +1 -3
- package/src/page_product-details-cnc-success-notification-vat.html +1 -4
- package/src/page_product-details-cnc-success-notification.html +1 -3
- package/src/page_product-details-default-store.html +1 -3
- package/src/page_product-details-energy-efficiency.html +1 -3
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
- package/src/page_product-details-flooring.html +1 -3
- package/src/page_product-details-gallery-actual.html +1 -3
- package/src/page_product-details-mfe-calculator.html +1 -3
- package/src/page_product-details-mtm-doors.html +1 -3
- package/src/page_product-details-only-clearpay.html +1 -3
- package/src/page_product-details-paint-mixing.html +1 -3
- package/src/page_product-details-ripple-gallery-1-image.html +120 -0
- package/src/page_product-details-ripple-gallery-missing-image.html +121 -0
- package/src/page_product-details-ripple-gallery.html +121 -0
- package/src/page_product-details-saved-pl.html +1 -3
- package/src/page_product-details-suite-includes-banners.html +139 -0
- package/src/page_product-details-suite-includes-billie.html +128 -0
- package/src/page_product-details-suite-includes-klarna.html +120 -0
- package/src/page_product-details-suite-includes-vat.html +126 -0
- package/src/page_product-details-suite-includes.html +122 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
- package/src/page_product-details-tile-steps-logout.html +1 -3
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
- package/src/page_product-details-tile-steps-with-klarna.html +1 -3
- package/src/page_product-details-tile-steps.html +1 -3
- package/src/page_product-details-v2.html +1 -3
- package/src/page_product-details-vat.html +1 -3
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
- package/src/page_product-details-wisdom-mcfc.html +1 -3
- package/src/page_product-details-wisdom-oos-registered.html +1 -3
- package/src/page_product-details-wisdom-oos.html +1 -3
- package/src/page_product-details-wisdom-registered.html +1 -3
- package/src/page_product-details-wisdom.html +1 -3
- package/src/page_product-details-with-favourite.html +1 -3
- package/src/page_product-details-with-global-search-v2.html +2 -3
- package/src/page_product-details-with-similar-products-widget.html +132 -0
- package/src/page_product-details-with-why-not-add-single.html +1 -0
- package/src/page_product-details_no-previous-default.html +1 -3
- package/src/scss/common/_loading-button.scss +3 -1
- package/src/scss/components/_date-selection-add-new-styles.scss +53 -3
- package/src/scss/components/_gift-cards.scss +1 -1
- package/src/scss/components/_image-accordion.scss +54 -0
- package/src/scss/components/_kitchen-card.scss +1 -0
- package/src/scss/components/_map.scss +38 -0
- package/src/scss/components/_package-card.scss +65 -0
- package/src/scss/components/_package-plp.scss +88 -0
- package/src/scss/components/_postcode-checker.scss +115 -0
- package/src/scss/components/_price-badges-critical.scss +10 -0
- package/src/scss/components/_price-badges.scss +10 -0
- package/src/scss/components/_price-block-critical.scss +1 -0
- package/src/scss/components/_price-block.scss +1 -0
- package/src/scss/components/_suite-includes.scss +141 -0
- package/src/scss/components/_suite-product-card.scss +98 -0
- package/src/scss/components/_thumb-gallery-critical.scss +35 -0
- package/src/scss/components/_thumb-gallery.scss +200 -0
- package/src/scss/components/bloomreach/_why-not-add.scss +3 -1
- package/src/scss/components/checkout-payment-details-v2.scss +44 -20
- package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
- package/src/scss/components/kitchen/_price.scss +10 -0
- package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
- package/src/scss/components/price-block-v2-critical.scss +62 -0
- package/src/scss/components/price-block-v2.scss +62 -0
- package/src/scss/pages/_checkout_delivery-details.scss +16 -104
- package/src/scss/pages/page_checkout_delivery-new.scss +252 -164
- package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
- package/src/scss/pages/page_product-details-v2.scss +168 -107
- package/src/scss/pages/page_product-details.scss +11 -0
- package/src/scss/pages/page_products-list-combined.scss +8 -6
- package/src/scss/pages/page_products-list_v2.scss +8 -6
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +6 -0
- package/src/scss/plp-main.scss +5 -0
- package/src/sitemap.html +29 -6
- package/build/css/components/kitchen/strip-stickers.css +0 -1
- package/build/css/components/strip-stickers.css +0 -1
- package/src/scss/components/kitchen/strip-stickers.scss +0 -18
- package/src/scss/components/strip-stickers.scss +0 -18
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.package-plp {
|
|
2
|
+
margin-bottom: 24px;
|
|
3
|
+
|
|
4
|
+
&__cards {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
row-gap: 16px;
|
|
8
|
+
margin-top: 16px;
|
|
9
|
+
margin-bottom: 32px;
|
|
10
|
+
|
|
11
|
+
.card-product-banner,
|
|
12
|
+
.card-sponsor-banner,
|
|
13
|
+
.card-bloomreach-media-banner {
|
|
14
|
+
flex: unset;
|
|
15
|
+
max-width: initial;
|
|
16
|
+
width: 100%;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
grid-row: span 5;
|
|
20
|
+
align-self: start;
|
|
21
|
+
|
|
22
|
+
&.has-stickers-row {
|
|
23
|
+
grid-row: span 6;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__link {
|
|
27
|
+
padding: 0;
|
|
28
|
+
display: block;
|
|
29
|
+
height: max-content;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__picture {
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__image {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include media-breakpoint-up(md) {
|
|
45
|
+
.package-plp {
|
|
46
|
+
&__container {
|
|
47
|
+
display: flex;
|
|
48
|
+
column-gap: 32px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__search-filter {
|
|
52
|
+
min-width: 210px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__content {
|
|
56
|
+
flex-basis: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__cards {
|
|
60
|
+
row-gap: 24px;
|
|
61
|
+
margin-top: 24px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include media-breakpoint-up(md) {
|
|
67
|
+
.package-plp {
|
|
68
|
+
margin-bottom: 40px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include media-breakpoint-up(lg) {
|
|
73
|
+
.package-plp {
|
|
74
|
+
&__cards {
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
77
|
+
gap: 24px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include media-breakpoint-up(xl) {
|
|
83
|
+
.package-plp {
|
|
84
|
+
&__cards {
|
|
85
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.postcode-checker {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
background-color: $white;
|
|
4
|
+
border: 1px solid $gray;
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1fr;
|
|
7
|
+
grid-template-areas:
|
|
8
|
+
"title"
|
|
9
|
+
"field"
|
|
10
|
+
"error"
|
|
11
|
+
"action";
|
|
12
|
+
gap: 8px 16px;
|
|
13
|
+
|
|
14
|
+
&__title {
|
|
15
|
+
grid-area: title;
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__field {
|
|
20
|
+
grid-area: field;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__action {
|
|
24
|
+
grid-area: action;
|
|
25
|
+
margin-top: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__input {
|
|
29
|
+
display: block;
|
|
30
|
+
width: 100%;
|
|
31
|
+
outline: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__error {
|
|
35
|
+
grid-area: error;
|
|
36
|
+
display: none;
|
|
37
|
+
color: $red;
|
|
38
|
+
margin-bottom: 0;
|
|
39
|
+
line-height: 1rem;
|
|
40
|
+
font-size: 0.75rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--error {
|
|
44
|
+
.postcode-checker__input {
|
|
45
|
+
border-color: $red;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.postcode-checker__error {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__button {
|
|
54
|
+
margin-top: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--mobile-only {
|
|
58
|
+
display: grid;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&--desktop-only {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include media-breakpoint-up(sm) {
|
|
67
|
+
.postcode-checker {
|
|
68
|
+
grid-template-columns: 1fr 1fr;
|
|
69
|
+
grid-template-areas:
|
|
70
|
+
"title title"
|
|
71
|
+
"field action"
|
|
72
|
+
"error error";
|
|
73
|
+
|
|
74
|
+
&__action {
|
|
75
|
+
margin-top: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include media-breakpoint-up(md) {
|
|
81
|
+
.postcode-checker {
|
|
82
|
+
grid-template-columns: 1fr;
|
|
83
|
+
grid-template-areas:
|
|
84
|
+
"title"
|
|
85
|
+
"field"
|
|
86
|
+
"error"
|
|
87
|
+
"action";
|
|
88
|
+
|
|
89
|
+
&__action {
|
|
90
|
+
margin-top: 8px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&--mobile-only {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--desktop-only {
|
|
98
|
+
display: grid;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include media-breakpoint-up(xl) {
|
|
104
|
+
.postcode-checker {
|
|
105
|
+
grid-template-columns: 1fr 1fr;
|
|
106
|
+
grid-template-areas:
|
|
107
|
+
"title title"
|
|
108
|
+
"field action"
|
|
109
|
+
"error error";
|
|
110
|
+
|
|
111
|
+
&__action {
|
|
112
|
+
margin-top: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
width: 140px;
|
|
5
5
|
padding: 0;
|
|
6
6
|
|
|
7
|
+
&.pdp__badges--static .pdp__badge {
|
|
8
|
+
min-width: auto;
|
|
9
|
+
padding: 4px 12px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
line-height: 1.375rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
7
17
|
&-cashback {
|
|
8
18
|
width: auto;
|
|
9
19
|
padding: 0 10px;
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
width: 140px;
|
|
5
5
|
padding: 0;
|
|
6
6
|
|
|
7
|
+
&.pdp__badges--static .pdp__badge {
|
|
8
|
+
min-width: auto;
|
|
9
|
+
padding: 4px 12px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
line-height: 1.375rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
7
17
|
&-cashback {
|
|
8
18
|
width: auto;
|
|
9
19
|
padding: 0 10px;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.suite-includes {
|
|
2
|
+
padding: 24px 16px;
|
|
3
|
+
margin-left: -15px;
|
|
4
|
+
margin-right: -15px;
|
|
5
|
+
border-top: 1px solid $gray;
|
|
6
|
+
border-bottom: 1px solid $gray;
|
|
7
|
+
|
|
8
|
+
&__header {
|
|
9
|
+
margin-bottom: 12px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__products {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__total {
|
|
17
|
+
margin-top: 8px;
|
|
18
|
+
margin-bottom: 12px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__price-container {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
row-gap: 8px;
|
|
25
|
+
|
|
26
|
+
margin-bottom: 12px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__old-price {
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
line-height: 1.5rem;
|
|
33
|
+
color: $warm-grey;
|
|
34
|
+
|
|
35
|
+
& s {
|
|
36
|
+
text-decoration: line-through;
|
|
37
|
+
text-decoration-color: $gray-dark;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__price {
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
font-size: 2.125rem;
|
|
44
|
+
line-height: 2.25rem;
|
|
45
|
+
color: $blue-dark;
|
|
46
|
+
|
|
47
|
+
&--offer {
|
|
48
|
+
color: $red;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__vat {
|
|
53
|
+
display: flex;
|
|
54
|
+
column-gap: 8px;
|
|
55
|
+
align-items: end;
|
|
56
|
+
|
|
57
|
+
&-text {
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
font-size: 1rem;
|
|
60
|
+
line-height: 1.5rem;
|
|
61
|
+
color: $blue-dark;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__delivery {
|
|
66
|
+
font-size: 0.75rem;
|
|
67
|
+
line-height: 1rem;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include media-breakpoint-up(sm) {
|
|
72
|
+
.suite-includes {
|
|
73
|
+
width: 100%;
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
margin-left: 0;
|
|
76
|
+
border: 1px solid $gray;
|
|
77
|
+
border-radius: 4px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@include media-breakpoint-up(md) {
|
|
82
|
+
.suite-includes {
|
|
83
|
+
min-width: 345px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include media-breakpoint-up(lg) {
|
|
88
|
+
.suite-includes {
|
|
89
|
+
padding: 24px;
|
|
90
|
+
min-width: 622px;
|
|
91
|
+
|
|
92
|
+
&__header {
|
|
93
|
+
margin-bottom: 16px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
& .image-accordion {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__products {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-wrap: wrap;
|
|
103
|
+
gap: 16px;
|
|
104
|
+
padding-bottom: 16px;
|
|
105
|
+
border-bottom: 1px solid $gray;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__info {
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
align-items: end;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__total {
|
|
115
|
+
margin-top: 16px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&__price-container {
|
|
119
|
+
margin-bottom: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
& .suite-product-card {
|
|
123
|
+
flex-basis: 278px;
|
|
124
|
+
padding-bottom: 0;
|
|
125
|
+
padding-top: 0;
|
|
126
|
+
border-bottom: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&__button {
|
|
130
|
+
min-width: 120px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@include media-breakpoint-up(xl) {
|
|
136
|
+
.suite-includes {
|
|
137
|
+
& .suite-product-card {
|
|
138
|
+
flex-basis: 336px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.suite-product-card {
|
|
2
|
+
display: flex;
|
|
3
|
+
column-gap: 8px;
|
|
4
|
+
|
|
5
|
+
&:not(:first-child) {
|
|
6
|
+
padding-top: 8px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:not(:last-child) {
|
|
10
|
+
padding-bottom: 8px;
|
|
11
|
+
border-bottom: 1px solid $gray-light;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
& img {
|
|
15
|
+
width: 60px;
|
|
16
|
+
height: 60px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__info {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__title {
|
|
24
|
+
margin-bottom: 8px;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
font-size: 0.75rem;
|
|
27
|
+
line-height: 1rem;
|
|
28
|
+
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
-webkit-box-orient: vertical;
|
|
33
|
+
display: -webkit-box;
|
|
34
|
+
-webkit-line-clamp: 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__old-price {
|
|
38
|
+
margin-bottom: 4px;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
line-height: 0.875rem;
|
|
41
|
+
color: $warm-grey;
|
|
42
|
+
|
|
43
|
+
& s {
|
|
44
|
+
text-decoration: line-through;
|
|
45
|
+
text-decoration-color: $gray-dark;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__price-qty {
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
align-items: end;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__price {
|
|
56
|
+
font-size: 1rem;
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
line-height: 1.25rem;
|
|
59
|
+
color: $blue-dark;
|
|
60
|
+
|
|
61
|
+
&--red {
|
|
62
|
+
color: $red;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__vat {
|
|
67
|
+
display: flex;
|
|
68
|
+
column-gap: 4px;
|
|
69
|
+
align-items: baseline;
|
|
70
|
+
|
|
71
|
+
&-text {
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
font-size: 0.75rem;
|
|
74
|
+
line-height: 0.875rem;
|
|
75
|
+
color: $blue-dark;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__quantity {
|
|
80
|
+
font-size: 0.75rem;
|
|
81
|
+
line-height: 1rem;
|
|
82
|
+
color: $squant;
|
|
83
|
+
|
|
84
|
+
& span {
|
|
85
|
+
color: $gray-dark;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include media-breakpoint-up(xl) {
|
|
91
|
+
.suite-product-card {
|
|
92
|
+
&__title {
|
|
93
|
+
overflow: auto;
|
|
94
|
+
text-overflow: unset;
|
|
95
|
+
-webkit-line-clamp: unset;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.thumb-gallery {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.swiper-container-main {
|
|
5
|
+
aspect-ratio: 16 / 9;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.swiper-container-thumbs {
|
|
9
|
+
margin-top: 16px;
|
|
10
|
+
padding: 0 16px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.swiper-slide-main,
|
|
14
|
+
.swiper-slide-thumbs {
|
|
15
|
+
aspect-ratio: 16 / 9;
|
|
16
|
+
object-fit: cover;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--missing-image {
|
|
22
|
+
.swiper-slide-main,
|
|
23
|
+
.swiper-slide-thumbs {
|
|
24
|
+
object-fit: contain;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include media-breakpoint-up(sm) {
|
|
30
|
+
.thumb-gallery {
|
|
31
|
+
.swiper-container-thumbs {
|
|
32
|
+
padding: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
.thumb-gallery {
|
|
2
|
+
position: relative;
|
|
3
|
+
user-select: none;
|
|
4
|
+
|
|
5
|
+
&__next-btn,
|
|
6
|
+
&__prev-btn {
|
|
7
|
+
width: 24px;
|
|
8
|
+
height: 24px;
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 50%;
|
|
12
|
+
transform: translateY(-50%);
|
|
13
|
+
z-index: 1;
|
|
14
|
+
background: rgba($black, 0.3);
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
color: $white;
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__next-btn {
|
|
24
|
+
right: 16px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__prev-btn {
|
|
28
|
+
left: 16px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.swiper-container-main {
|
|
32
|
+
aspect-ratio: 16 / 9;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.swiper-slide-main,
|
|
36
|
+
.swiper-slide-thumbs {
|
|
37
|
+
aspect-ratio: 16 / 9;
|
|
38
|
+
object-fit: cover;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--missing-image {
|
|
44
|
+
.swiper-slide-main,
|
|
45
|
+
.swiper-slide-thumbs {
|
|
46
|
+
object-fit: contain;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.swiper-container-thumbs {
|
|
51
|
+
margin-top: 16px;
|
|
52
|
+
padding: 0 16px;
|
|
53
|
+
|
|
54
|
+
&__next-btn,
|
|
55
|
+
&__prev-btn {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
width: 24px;
|
|
59
|
+
height: 100%;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
align-items: center;
|
|
64
|
+
color: $blue;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
|
|
68
|
+
svg {
|
|
69
|
+
position: relative;
|
|
70
|
+
z-index: 1;
|
|
71
|
+
width: 24px;
|
|
72
|
+
height: 24px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__next-btn {
|
|
77
|
+
right: 16px;
|
|
78
|
+
|
|
79
|
+
&::before {
|
|
80
|
+
content: '';
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 0;
|
|
83
|
+
right: -16px;
|
|
84
|
+
bottom: 0;
|
|
85
|
+
width: 71px;
|
|
86
|
+
background: linear-gradient(270deg, $white 37%, transparent 100%);
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&__prev-btn {
|
|
92
|
+
left: 16px;
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
left: -16px;
|
|
99
|
+
bottom: 0;
|
|
100
|
+
width: 71px;
|
|
101
|
+
background: linear-gradient(90deg, $white 37%, transparent 100%);
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.swiper-true-active {
|
|
107
|
+
position: relative;
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
|
|
110
|
+
&::after {
|
|
111
|
+
content: '';
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: 0;
|
|
114
|
+
left: 0;
|
|
115
|
+
right: 0;
|
|
116
|
+
bottom: 0;
|
|
117
|
+
background: rgba($white, 0.6);
|
|
118
|
+
border: 2px solid $blue;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.thumb-gallery__slide-wrapper {
|
|
123
|
+
max-width: 105px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.swiper-slide-thumbs {
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.thumb-gallery[data-length='1'] {
|
|
133
|
+
.thumb-gallery__next-btn,
|
|
134
|
+
.thumb-gallery__prev-btn,
|
|
135
|
+
.swiper-container-thumbs__next-btn,
|
|
136
|
+
.swiper-container-thumbs__prev-btn,
|
|
137
|
+
.swiper-pagination {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@include media-breakpoint-up(sm) {
|
|
143
|
+
.thumb-gallery {
|
|
144
|
+
.swiper-container-thumbs {
|
|
145
|
+
padding: 0;
|
|
146
|
+
|
|
147
|
+
&__next-btn {
|
|
148
|
+
right: 0;
|
|
149
|
+
|
|
150
|
+
&::before {
|
|
151
|
+
right: 0;
|
|
152
|
+
background: linear-gradient(270deg, $white 25%, transparent 100%);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&__prev-btn {
|
|
157
|
+
left: 0;
|
|
158
|
+
|
|
159
|
+
&::before {
|
|
160
|
+
left: 0;
|
|
161
|
+
background: linear-gradient(90deg, $white 25%, transparent 100%);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@include media-breakpoint-up(lg) {
|
|
169
|
+
.thumb-gallery {
|
|
170
|
+
&__next-btn,
|
|
171
|
+
&__prev-btn {
|
|
172
|
+
width: 40px;
|
|
173
|
+
height: 40px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.swiper-container-thumbs {
|
|
177
|
+
&__next-btn,
|
|
178
|
+
&__prev-btn {
|
|
179
|
+
width: 48px;
|
|
180
|
+
|
|
181
|
+
svg {
|
|
182
|
+
width: 38px;
|
|
183
|
+
height: 38px;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&__next-btn {
|
|
188
|
+
&::before {
|
|
189
|
+
background: linear-gradient(270deg, $white 25%, rgba(255, 255, 255, 0) 100%);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&__prev-btn {
|
|
194
|
+
&::before {
|
|
195
|
+
background: linear-gradient(90deg, $white 25%, rgba(255, 255, 255, 0) 100%);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|