wickes-css2 2.113.0-develop.5 → 2.113.0-develop.6
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/build/css/main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/img/emulation/low-trees.png +0 -0
- package/build/img/emulation/overhead-power-cables.png +0 -0
- package/build/img/emulation/parked-vehicles.png +0 -0
- package/build/img/emulation/traffic-access-issues.png +0 -0
- package/build/img/emulation/walls-or-fences.png +0 -0
- package/package.json +1 -1
- package/src/components/date-selection.hbs +17 -12
- package/src/components/heavy-banners-wrapper.hbs +21 -0
- package/src/data/data_heavy-banner.json +29 -0
- package/src/img/emulation/low-trees.png +0 -0
- package/src/img/emulation/overhead-power-cables.png +0 -0
- package/src/img/emulation/parked-vehicles.png +0 -0
- package/src/img/emulation/traffic-access-issues.png +0 -0
- package/src/img/emulation/walls-or-fences.png +0 -0
- package/src/page_checkout_big-bulky-delivery-details.html +272 -0
- package/src/scss/components/_checkout_order.scss +2 -1
- package/src/scss/components/_heavy-banners.scss +216 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/page_checkout_delivery-new.scss +4 -0
- package/src/sitemap.html +2 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
// Big & Bulky (Heavy) delivery banners component
|
|
2
|
+
// Used on delivery details page for heavy/bulky orders
|
|
3
|
+
// Mobile-first approach
|
|
4
|
+
|
|
5
|
+
.delivery-block {
|
|
6
|
+
&__show-products {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
margin-bottom: 20px;
|
|
9
|
+
font-size: 1rem;
|
|
10
|
+
color: $blue;
|
|
11
|
+
text-decoration: underline;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
color: $blue-darker;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__weight-banner {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
background: $ma-white;
|
|
23
|
+
padding: 8px;
|
|
24
|
+
margin: 0 -15px;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
border-bottom: 1px solid $blue-satin;
|
|
27
|
+
|
|
28
|
+
.banner-news + & {
|
|
29
|
+
margin-top: 20px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-content {
|
|
33
|
+
p {
|
|
34
|
+
@include font-size(12);
|
|
35
|
+
@include line-height(16);
|
|
36
|
+
color: $blue-ocean;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
margin: 0;
|
|
39
|
+
text-align: center;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-icon {
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
width: 32px;
|
|
46
|
+
height: 32px;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
|
|
51
|
+
i,
|
|
52
|
+
svg {
|
|
53
|
+
@include font-size(21);
|
|
54
|
+
color: $blue-satin;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Outer wrapper for the whole banner section
|
|
60
|
+
&__heavy-banners-wrapper {
|
|
61
|
+
background: $white;
|
|
62
|
+
border: 1px solid $gray;
|
|
63
|
+
border-radius: 4px;
|
|
64
|
+
padding: 24px;
|
|
65
|
+
margin-top: 20px;
|
|
66
|
+
margin-bottom: 20px;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
|
|
69
|
+
&:last-child {
|
|
70
|
+
margin-bottom: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__heavy-banners-header {
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__heavy-banners-title {
|
|
79
|
+
@include font-size(18);
|
|
80
|
+
@include line-height(24);
|
|
81
|
+
color: $gray-dark;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
margin: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__heavy-banners-terms {
|
|
87
|
+
@include font-size(12);
|
|
88
|
+
@include line-height(16);
|
|
89
|
+
color: $blue;
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
text-decoration: underline;
|
|
92
|
+
|
|
93
|
+
&:hover {
|
|
94
|
+
color: $blue-darker;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Mobile: T&C at bottom visible, desktop one hidden
|
|
98
|
+
&--mobile {
|
|
99
|
+
display: block;
|
|
100
|
+
margin-top: 16px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&--desktop {
|
|
104
|
+
display: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__heavy-banners-description {
|
|
109
|
+
@include font-size(14);
|
|
110
|
+
@include line-height(22);
|
|
111
|
+
color: $gray-dark;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
margin-top: 16px;
|
|
114
|
+
margin-bottom: 16px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Images container - matches Hybris class: delivery-block__heavy-banners
|
|
118
|
+
&__heavy-banners {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
gap: 8px 16px;
|
|
123
|
+
margin-bottom: 16px;
|
|
124
|
+
|
|
125
|
+
img {
|
|
126
|
+
flex: 0 1 calc(33.333% - 12px);
|
|
127
|
+
max-width: calc(33.333% - 12px);
|
|
128
|
+
height: auto;
|
|
129
|
+
object-fit: contain;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&__heavy-banners-contact {
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: center;
|
|
136
|
+
background: $ma-white;
|
|
137
|
+
padding: 8px;
|
|
138
|
+
border-radius: 4px;
|
|
139
|
+
|
|
140
|
+
&-icon {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
width: 32px;
|
|
145
|
+
height: 32px;
|
|
146
|
+
flex-shrink: 0;
|
|
147
|
+
margin-right: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
i,
|
|
151
|
+
svg {
|
|
152
|
+
@include font-size(21);
|
|
153
|
+
color: $blue-satin;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
span {
|
|
157
|
+
@include font-size(12);
|
|
158
|
+
@include line-height(16);
|
|
159
|
+
color: $blue-ocean;
|
|
160
|
+
font-weight: 400;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
a {
|
|
164
|
+
@include font-size(12);
|
|
165
|
+
@include line-height(16);
|
|
166
|
+
color: $blue-ocean;
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
text-decoration: underline;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
color: $blue-darker;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Tablet and Desktop: all 5 in one row, T&C in header
|
|
178
|
+
@include media-breakpoint-up(sm) {
|
|
179
|
+
.delivery-block {
|
|
180
|
+
&__weight-banner {
|
|
181
|
+
margin-left: 0;
|
|
182
|
+
margin-right: 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@include media-breakpoint-up(md) {
|
|
188
|
+
.delivery-block {
|
|
189
|
+
&__heavy-banners-header {
|
|
190
|
+
display: flex;
|
|
191
|
+
justify-content: space-between;
|
|
192
|
+
align-items: center;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&__heavy-banners-terms {
|
|
196
|
+
&--mobile {
|
|
197
|
+
display: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&--desktop {
|
|
201
|
+
display: inline-block;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&__heavy-banners {
|
|
206
|
+
flex-wrap: nowrap;
|
|
207
|
+
|
|
208
|
+
img {
|
|
209
|
+
flex: 1;
|
|
210
|
+
min-width: 0;
|
|
211
|
+
max-width: 120px;
|
|
212
|
+
width: 100%;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
package/src/scss/main.scss
CHANGED
package/src/sitemap.html
CHANGED
|
@@ -1192,6 +1192,8 @@
|
|
|
1192
1192
|
target="_blank">Checkout- Payment Details with card loader</a></li>
|
|
1193
1193
|
<li><span class="page-id">9.11</span><a href="page_checkout_premium-delivery-details.html"
|
|
1194
1194
|
target="_blank">Checkout - Premium Delivery Details</a></li>
|
|
1195
|
+
<li><span class="page-id">9.11</span><a href="page_checkout_big-bulky-delivery-details.html"
|
|
1196
|
+
target="_blank">Checkout - Big & Bulky Delivery Details</a></li>
|
|
1195
1197
|
</ul>
|
|
1196
1198
|
|
|
1197
1199
|
<h3>App</h3>
|