wickes-css2 2.93.0 → 2.94.0-develop.1
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/category-main.css +1 -1
- package/build/css/emulation.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -0
- 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/my-account-v2.css +1 -0
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_personal-details.css +1 -0
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/placeholders/discount-sm-15.jpg +0 -0
- package/build/img/placeholders/discount-sm.png +0 -0
- package/build/js/account-members.min.js +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +74 -21
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/my-account.min.js +1 -0
- package/build/js/page/my-account.js +51 -0
- package/build/js/page/personal-details.js +217 -0
- package/build/js/personal-details.min.js +1 -0
- package/build/js/project-list.min.js +1 -1
- package/package.json +1 -1
- package/src/components/account-families/actions-bar.hbs +3 -0
- package/src/components/aside-nav2.hbs +1 -1
- package/src/components/banner-news.hbs +8 -0
- package/src/components/date-selection.hbs +46 -59
- package/src/components/delivery-types.hbs +18 -38
- package/src/components/my-account/active-orders/consignment-info.hbs +11 -0
- package/src/components/my-account/active-orders/header.hbs +4 -0
- package/src/components/my-account/active-orders/list-orders.hbs +9 -0
- package/src/components/my-account/active-orders/order-details.hbs +18 -0
- package/src/components/my-account/active-orders/order-header.hbs +7 -0
- package/src/components/my-account/active-orders/order.hbs +20 -0
- package/src/components/my-account/active-orders/shipment-detail.hbs +13 -0
- package/src/components/my-account/barcode.hbs +17 -0
- package/src/components/my-account/clipboard-code-card.hbs +16 -0
- package/src/components/my-account/contact-us.hbs +23 -0
- package/src/components/my-account/discount.hbs +11 -0
- package/src/components/my-account/greetings.hbs +7 -0
- package/src/components/my-account/leave-modal.hbs +13 -0
- package/src/components/my-account/menu-items.hbs +25 -0
- package/src/components/my-account/mobile-nav.hbs +46 -0
- package/src/components/my-account/personal-details-form.hbs +24 -0
- package/src/components/my-account/personal-details.hbs +14 -0
- package/src/components/my-account/user-account-actions.hbs +18 -0
- package/src/components/user-information-field.hbs +4 -0
- package/src/components.html +1 -0
- package/src/data/data_calendar.json +149 -0
- package/src/data/data_notification-page.json +4 -0
- package/src/data/my-account/data_my-account.json +469 -0
- package/src/data/my-account/data_personal-details.json +179 -0
- package/src/elements/dropdown.hbs +16 -5
- package/src/elements/form-row.hbs +1 -1
- package/src/img/placeholders/discount-sm-15.jpg +0 -0
- package/src/img/placeholders/discount-sm.png +0 -0
- package/src/js/components/date-selection.js +6 -20
- package/src/js/components/leave-event-v2.js +0 -0
- package/src/js/components/leave-event.js +10 -3
- package/src/js/emulation/date-selection.js +0 -21
- package/src/js/emulation/personal-details-local.js +73 -0
- package/src/js/page/my-account.js +51 -0
- package/src/js/page/personal-details.js +217 -0
- package/src/layouts/my-account-v2.hbs +27 -0
- package/src/layouts/my-account.hbs +1 -1
- package/src/page_checkout_delivery-details-v2-asm.html +3 -3
- package/src/page_checkout_delivery-details-v2-calendar-message.html +1 -1
- package/src/page_checkout_delivery-details-v2-oos.html +1 -1
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +2 -2
- package/src/page_checkout_delivery-details-v2-wisdom.html +2 -2
- package/src/page_checkout_delivery-details-with-loader-v2.html +1 -1
- package/src/page_checkout_delivery-details_guest-new.html +1 -1
- package/src/page_checkout_next-day-delivery-details.html +161 -0
- package/src/{page_checkout_delivery-details-v2.html → page_checkout_rapid-delivery-details.html} +14 -3
- package/src/page_discount_installer.html +7 -1
- package/src/page_marketing-preferences.html +7 -1
- package/src/page_my-account-installer.html +93 -0
- package/src/page_my-account-trade-pro.html +91 -0
- package/src/page_my-account.html +56 -59
- package/src/page_my-account_address-book.html +8 -2
- package/src/page_my-account_order-history.html +8 -3
- package/src/page_my-account_personal-details.html +7 -1
- package/src/page_personal-details-installer.html +52 -0
- package/src/page_personal-details.html +52 -0
- package/src/page_tradePro_discount.html +8 -2
- package/src/page_tradePro_rewards.html +7 -1
- package/src/partials/breadcrumbs.hbs +27 -8
- package/src/partials/head.hbs +5 -1
- package/src/partials/header.hbs +68 -49
- package/src/partials/main-nav.hbs +17 -9
- package/src/scss/components/_aside-nav2.scss +18 -0
- package/src/scss/components/_date-selection-add-new-styles.scss +78 -19
- package/src/scss/components/_date-selection.scss +30 -215
- package/src/scss/components/my-account/_consignment-info.scss +46 -0
- package/src/scss/components/my-account/_contacts.scss +116 -0
- package/src/scss/components/my-account/_menu.scss +215 -0
- package/src/scss/components/my-account/_mobile-nav.scss +130 -0
- package/src/scss/components/my-account/_order.scss +112 -0
- package/src/scss/components/my-account/_shipment.scss +92 -0
- package/src/scss/emulation.scss +0 -24
- package/src/scss/helpers/_variables.scss +3 -1
- package/src/scss/my-account-main-v2.scss +32 -0
- package/src/scss/pages/checkout-new.scss +51 -0
- package/src/scss/pages/my-account-v2.scss +570 -0
- package/src/scss/pages/my-account.scss +1 -0
- package/src/scss/pages/page_checkout_delivery-new.scss +2 -1
- package/src/scss/pages/page_paint-mixing-error.scss +1 -1
- package/src/scss/pages/page_personal-details.scss +249 -0
- package/src/scss/partials/_header.scss +30 -0
- package/src/scss/partials/_main-nav.scss +6 -2
- package/src/sitemap.html +44 -66
- package/src/components/calendar-time-table-v2.hbs +0 -3
- package/src/components/calendar-time-table.hbs +0 -3
- package/src/components/date-selection-v2.hbs +0 -106
- package/src/components/delivery-selection.hbs +0 -11
- package/src/components/delivery-types-v2.hbs +0 -17
- package/src/page_checkout_delivery-address.html +0 -70
- package/src/page_checkout_delivery-details-ASM.html +0 -251
- package/src/page_checkout_delivery-details-oos-partially.html +0 -215
- package/src/page_checkout_delivery-details-oos.html +0 -232
- package/src/page_checkout_delivery-details-with-loader.html +0 -220
- package/src/page_checkout_delivery-details.html +0 -221
- package/src/page_checkout_delivery-details_guest.html +0 -198
- package/src/page_tradePro_delivery-details.html +0 -243
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.contacts {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
margin-top: 16px;
|
|
5
|
+
|
|
6
|
+
&__item {
|
|
7
|
+
background: $white;
|
|
8
|
+
padding: 16px;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
|
|
11
|
+
& + & {
|
|
12
|
+
margin-top: 16px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__header {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__icon {
|
|
22
|
+
width: 32px;
|
|
23
|
+
height: 32px;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
|
|
28
|
+
.icon {
|
|
29
|
+
color: $blue-satin;
|
|
30
|
+
font-size: 1.35rem;
|
|
31
|
+
height: auto;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__title {
|
|
36
|
+
font-size: 1.125rem;
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
line-height: 1.5rem;
|
|
40
|
+
margin-left: 12px;
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__description {
|
|
45
|
+
font-size: .875rem;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
line-height: 1.375rem;
|
|
49
|
+
margin-top: 8px;
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__links {
|
|
54
|
+
list-style-type: none;
|
|
55
|
+
padding-left: 0;
|
|
56
|
+
margin-top: 16px;
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
|
|
59
|
+
.link {
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
li + li {
|
|
64
|
+
margin-top: 16px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.btn {
|
|
69
|
+
margin-top: 16px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@include media-breakpoint-up(sm) {
|
|
74
|
+
.contacts {
|
|
75
|
+
margin-top: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include media-breakpoint-up(md) {
|
|
80
|
+
.contacts {
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
grid-gap: 24px;
|
|
83
|
+
|
|
84
|
+
&__item {
|
|
85
|
+
flex: 1;
|
|
86
|
+
justify-content: space-between;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: flex-start;
|
|
90
|
+
|
|
91
|
+
& + & {
|
|
92
|
+
margin-top: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__description {
|
|
97
|
+
margin-top: 16px;
|
|
98
|
+
margin-bottom: auto;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&__icon {
|
|
102
|
+
width: 48px;
|
|
103
|
+
height: 48px;
|
|
104
|
+
|
|
105
|
+
.icon {
|
|
106
|
+
font-size: 2rem;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
@include media-breakpoint-up(lg) {
|
|
113
|
+
.contacts__item {
|
|
114
|
+
padding: 24px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
.menu {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding-top: 24px;
|
|
4
|
+
padding-bottom: 24px;
|
|
5
|
+
margin-right: -15px;
|
|
6
|
+
margin-left: -15px;
|
|
7
|
+
|
|
8
|
+
&__list {
|
|
9
|
+
padding-left: 0;
|
|
10
|
+
list-style-type: none;
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__header {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
width: 100%;
|
|
20
|
+
padding: 12px 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__title {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
font-size: 1.125rem;
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
line-height: 1.375rem;
|
|
30
|
+
margin-left: 8px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__total {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
background: $blue-dark;
|
|
38
|
+
color: $white;
|
|
39
|
+
border-radius: 50px;
|
|
40
|
+
width: 18px;
|
|
41
|
+
height: 18px;
|
|
42
|
+
font-size: .75rem;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
line-height: 1rem;
|
|
45
|
+
margin-left: 10px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__description {
|
|
49
|
+
margin-bottom: 0;
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__item {
|
|
54
|
+
position: relative;
|
|
55
|
+
|
|
56
|
+
& + & {
|
|
57
|
+
&:before {
|
|
58
|
+
content: '';
|
|
59
|
+
border-top: 1px solid $gray;
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 0;
|
|
62
|
+
left: 50%;
|
|
63
|
+
width: calc(100% - 30px);
|
|
64
|
+
transform: translate(-50%, -50%);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__link {
|
|
70
|
+
padding: 0 15px;
|
|
71
|
+
color: $blue-dark;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:focus {
|
|
81
|
+
background: $ma-white;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.icon {
|
|
85
|
+
color: $blue-satin;
|
|
86
|
+
font-size: 1.6rem;
|
|
87
|
+
|
|
88
|
+
&-arrow {
|
|
89
|
+
font-size: 1.6rem;
|
|
90
|
+
color: $blue;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&__icon {
|
|
96
|
+
width: 32px;
|
|
97
|
+
height: 32px;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
|
|
102
|
+
&--arrow {
|
|
103
|
+
margin-left: auto;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include media-breakpoint-up(sm) {
|
|
109
|
+
.menu {
|
|
110
|
+
padding-top: 32px;
|
|
111
|
+
padding-bottom: 32px;
|
|
112
|
+
margin: 0;
|
|
113
|
+
|
|
114
|
+
&__header {
|
|
115
|
+
padding-right: 8px;
|
|
116
|
+
padding-left: 8px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&__item {
|
|
120
|
+
& + & {
|
|
121
|
+
&:before {
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&__link {
|
|
128
|
+
padding-right: 0;
|
|
129
|
+
padding-left: 0;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include media-breakpoint-up(md) {
|
|
135
|
+
.menu {
|
|
136
|
+
&__header {
|
|
137
|
+
padding: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&__list {
|
|
141
|
+
display: grid;
|
|
142
|
+
grid-template-columns: 1fr 1fr;
|
|
143
|
+
grid-auto-rows: 1fr;
|
|
144
|
+
grid-gap: 24px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&__item {
|
|
148
|
+
padding: 0;
|
|
149
|
+
display: flex;
|
|
150
|
+
|
|
151
|
+
& + & {
|
|
152
|
+
border-top: 0;
|
|
153
|
+
|
|
154
|
+
&:before {
|
|
155
|
+
content: none;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&__link {
|
|
161
|
+
padding: 24px;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
align-items: flex-start;
|
|
164
|
+
position: relative;
|
|
165
|
+
border: 1px solid $gray;
|
|
166
|
+
border-radius: 4px;
|
|
167
|
+
width: 100%;
|
|
168
|
+
|
|
169
|
+
&:focus {
|
|
170
|
+
background: initial;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:focus,
|
|
174
|
+
&:hover {
|
|
175
|
+
border-color: $blue;
|
|
176
|
+
color: $blue-dark;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&__description {
|
|
181
|
+
display: block;
|
|
182
|
+
margin-top: 16px;
|
|
183
|
+
font-size: .875rem;
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
line-height: 1.375rem;
|
|
186
|
+
color: $gray-dark;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&__icon {
|
|
190
|
+
width: 48px;
|
|
191
|
+
height: 48px;
|
|
192
|
+
|
|
193
|
+
.icon {
|
|
194
|
+
font-size: 2rem;
|
|
195
|
+
height: auto;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&__total {
|
|
200
|
+
min-width: 24px;
|
|
201
|
+
height: 24px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@include media-breakpoint-up(lg) {
|
|
207
|
+
.menu {
|
|
208
|
+
padding-top: 40px;
|
|
209
|
+
padding-bottom: 40px;
|
|
210
|
+
|
|
211
|
+
&__list {
|
|
212
|
+
grid-template-columns: repeat(3, 1fr);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.account-nav {
|
|
2
|
+
padding: 8px 0;
|
|
3
|
+
|
|
4
|
+
&--old-pages {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.accordion {
|
|
8
|
+
width: 100%;
|
|
9
|
+
position: absolute;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__toggle {
|
|
14
|
+
padding: 0;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__icon {
|
|
19
|
+
width: 24px;
|
|
20
|
+
height: 24px;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
margin-right: 8px;
|
|
25
|
+
|
|
26
|
+
.icon {
|
|
27
|
+
font-size: 1rem;
|
|
28
|
+
color: $blue-satin;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.custom-icon {
|
|
32
|
+
width: auto;
|
|
33
|
+
font-size: .65rem;
|
|
34
|
+
height: auto;
|
|
35
|
+
|
|
36
|
+
path {
|
|
37
|
+
fill: $blue-satin;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__list {
|
|
43
|
+
padding-left: 0;
|
|
44
|
+
list-style-type: none;
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__link {
|
|
49
|
+
display: flex;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
font-size: .875rem;
|
|
52
|
+
line-height: 1.375rem;
|
|
53
|
+
color: $gray-dark;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
padding: 8px 16px;
|
|
56
|
+
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus {
|
|
59
|
+
color: $blue;
|
|
60
|
+
text-decoration: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.rewards {
|
|
64
|
+
width: 20px;
|
|
65
|
+
height: 20px;
|
|
66
|
+
border-radius: 50px;
|
|
67
|
+
background: $blue-dark;
|
|
68
|
+
color: $white;
|
|
69
|
+
margin-left: 8px;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
font-size: .75rem;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
line-height: 1rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.active {
|
|
79
|
+
background: $ma-white;
|
|
80
|
+
|
|
81
|
+
&:hover,
|
|
82
|
+
&:focus {
|
|
83
|
+
background: $white;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.accordion {
|
|
89
|
+
&__header {
|
|
90
|
+
padding: 8px 8px 8px 16px;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
|
|
94
|
+
&-text {
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
font-size: 1rem;
|
|
97
|
+
line-height: 1.5rem;
|
|
98
|
+
color: $gray-dark;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-icon {
|
|
102
|
+
margin-left: auto;
|
|
103
|
+
position: relative;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&__content {
|
|
108
|
+
position: relative;
|
|
109
|
+
padding: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&__holder {
|
|
113
|
+
padding: 0;
|
|
114
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, .12);
|
|
115
|
+
background: $white;
|
|
116
|
+
border-radius: 4px;
|
|
117
|
+
z-index: 5;
|
|
118
|
+
width: 100%;
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: 8px;
|
|
121
|
+
left: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@include media-breakpoint-up(lg) {
|
|
127
|
+
.account-nav {
|
|
128
|
+
display: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
@import '../../helpers/helpers';
|
|
2
|
+
|
|
3
|
+
.active-orders .order {
|
|
4
|
+
&-header {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 0;
|
|
9
|
+
|
|
10
|
+
&__title {
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
font-size: 1.125rem;
|
|
13
|
+
line-height: 1.5rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__status {
|
|
17
|
+
background: rgba(2, 119, 189, .1);
|
|
18
|
+
padding: 4px 8px;
|
|
19
|
+
border-radius: 50px;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.icon {
|
|
25
|
+
font-size: 1rem;
|
|
26
|
+
height: auto;
|
|
27
|
+
color: $blue;
|
|
28
|
+
margin-right: 8px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-details {
|
|
34
|
+
margin-top: 8px;
|
|
35
|
+
|
|
36
|
+
&__summary {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: baseline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__price {
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
font-size: 1.125rem;
|
|
45
|
+
line-height: 1.5rem;
|
|
46
|
+
color: $blue-dark;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__vat {
|
|
50
|
+
margin-left: 5px;
|
|
51
|
+
line-height: 1rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__count {
|
|
55
|
+
position: relative;
|
|
56
|
+
padding-left: 8px;
|
|
57
|
+
margin-left: 8px;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
font-size: .875rem;
|
|
60
|
+
line-height: 1.375rem;
|
|
61
|
+
color: $gray-dark;
|
|
62
|
+
|
|
63
|
+
&::before {
|
|
64
|
+
content: '';
|
|
65
|
+
height: 100%;
|
|
66
|
+
position: absolute;
|
|
67
|
+
max-height: 16px;
|
|
68
|
+
left: 0;
|
|
69
|
+
top: 50%;
|
|
70
|
+
width: 1px;
|
|
71
|
+
background: $gray;
|
|
72
|
+
transform: translateY(-50%);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__date {
|
|
77
|
+
display: block;
|
|
78
|
+
margin-top: 4px;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
font-size: .875rem;
|
|
81
|
+
line-height: 1.375rem;
|
|
82
|
+
color: $gray-dark;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include media-breakpoint-up(sm) {
|
|
88
|
+
.active-orders .order-details {
|
|
89
|
+
grid-area: orderDetails;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: baseline;
|
|
92
|
+
|
|
93
|
+
&__date {
|
|
94
|
+
margin-left: 8px;
|
|
95
|
+
padding-left: 8px;
|
|
96
|
+
margin-top: 0;
|
|
97
|
+
position: relative;
|
|
98
|
+
|
|
99
|
+
&::before {
|
|
100
|
+
content: '';
|
|
101
|
+
height: 100%;
|
|
102
|
+
position: absolute;
|
|
103
|
+
max-height: 16px;
|
|
104
|
+
left: 0;
|
|
105
|
+
top: 50%;
|
|
106
|
+
width: 1px;
|
|
107
|
+
background: $gray;
|
|
108
|
+
transform: translateY(-50%);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@import '../../helpers/helpers';
|
|
2
|
+
|
|
3
|
+
.shipment-details {
|
|
4
|
+
margin-top: 12px;
|
|
5
|
+
|
|
6
|
+
.shipment {
|
|
7
|
+
display: flex;
|
|
8
|
+
margin-bottom: 12px;
|
|
9
|
+
|
|
10
|
+
&__icon {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
background: $blue-dark;
|
|
15
|
+
width: 32px;
|
|
16
|
+
height: 32px;
|
|
17
|
+
border-radius: 50px;
|
|
18
|
+
|
|
19
|
+
.icon {
|
|
20
|
+
color: $white;
|
|
21
|
+
font-size: 1rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__content {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
flex: 1;
|
|
29
|
+
margin-left: 8px;
|
|
30
|
+
|
|
31
|
+
& > *:not(:first-child) {
|
|
32
|
+
margin-top: 4px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__title,
|
|
37
|
+
&__info,
|
|
38
|
+
&__count {
|
|
39
|
+
font-size: .75rem;
|
|
40
|
+
line-height: 1rem;
|
|
41
|
+
color: $squant;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__title {
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
color: $gray-dark;
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.track-link {
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
font-size: .75rem;
|
|
54
|
+
line-height: 1rem;
|
|
55
|
+
color: $blue;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
text-decoration: underline;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@include media-breakpoint-up(sm) {
|
|
65
|
+
.shipment-details {
|
|
66
|
+
grid-area: shipment;
|
|
67
|
+
|
|
68
|
+
.shipment:last-child {
|
|
69
|
+
margin-bottom: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include media-breakpoint-up(md) {
|
|
75
|
+
.shipment-details {
|
|
76
|
+
margin-top: 16px;
|
|
77
|
+
display: grid;
|
|
78
|
+
grid-template-columns: 1fr 1fr;
|
|
79
|
+
grid-gap: 16px;
|
|
80
|
+
|
|
81
|
+
.shipment {
|
|
82
|
+
margin-bottom: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include media-breakpoint-up(xl) {
|
|
88
|
+
.shipment-details {
|
|
89
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
90
|
+
grid-gap: 20px 16px;
|
|
91
|
+
}
|
|
92
|
+
}
|
package/src/scss/emulation.scss
CHANGED
|
@@ -9,35 +9,11 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
[data-logged-in='true'] {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
[data-logged-in='false'] {
|
|
17
13
|
visibility: hidden;
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
// sass-lint:disable no-important
|
|
21
|
-
[data-is-logged-in='true'] {
|
|
22
|
-
[data-logged-in='true'] {
|
|
23
|
-
display: block;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
[data-logged-in='false'] {
|
|
27
|
-
display: none !important;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
[data-is-logged-in='false'] {
|
|
32
|
-
[data-logged-in='true'] {
|
|
33
|
-
display: none !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
[data-logged-in='false'] {
|
|
37
|
-
visibility: visible;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
17
|
.klarna-logo-img {
|
|
42
18
|
height: 30px;
|
|
43
19
|
width: 48px;
|
|
@@ -26,12 +26,14 @@ $gray-gradient: #e0e0e0; // tabs gradient gray
|
|
|
26
26
|
$gray-quill: #cececd;
|
|
27
27
|
$gray-dim: #656565;
|
|
28
28
|
$gray-matt: #515151;
|
|
29
|
+
$squant: #666666;
|
|
29
30
|
$error-bg: #fcf2f3; // Error notification background colour
|
|
30
31
|
$positive: #8dc63f; // Positive colour
|
|
31
32
|
$negative: #ed1c24; // Negative colour
|
|
32
33
|
$blue-badge: #019ee3;
|
|
33
|
-
$pacific-depths: #004587;
|
|
34
|
+
$pacific-depths: #004587;
|
|
34
35
|
$usp-icon-color: #1a77bc; // Usp icon color
|
|
36
|
+
$pacific-depths: #004587;
|
|
35
37
|
$line-through: #242424;
|
|
36
38
|
$ma-white: #f4f9fe;
|
|
37
39
|
$blue-satin: #99b5cf;
|