@sc-360-v2/storefront-cms-library 0.4.29 → 0.4.31
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/dist/add-products-tab.scss +2 -1
- package/dist/allocationDetails.scss +1 -1
- package/dist/allocations.scss +1 -1
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +30 -11
- package/dist/bundle copy.scss +2805 -0
- package/dist/bundle.scss +2156 -1625
- package/dist/button.scss +69 -0
- package/dist/buyForHeaders.scss +24 -10
- package/dist/buyForPopup.scss +19 -5
- package/dist/default-dropdown.scss +15 -1
- package/dist/dropdownTemplate.scss +36 -2
- package/dist/emtpy-templates.scss +29 -0
- package/dist/image-for-product.scss +1 -1
- package/dist/language-selector.scss +25 -1
- package/dist/multi-select-dropdown.scss +43 -14
- package/dist/option-bar.scss +1 -1
- package/dist/order-status.scss +1 -1
- package/dist/product-actions.scss +1 -1
- package/dist/product-image.scss +61 -3
- package/dist/quantity-selector.scss +2 -2
- package/dist/quick-order-pad.scss +54 -46
- package/dist/repeater.scss +1 -1
- package/dist/shipping-payments.scss +5 -4
- package/dist/types/builder/enums/data-connectors.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/bundle.d.ts +951 -88
- package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +868 -84
- package/dist/types/builder/tools/element-edit/button.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/imageInstance.d.ts +33 -0
- package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
- package/dist/types/website/constants/data-connectors.d.ts +0 -4
- package/dist/website.js +1 -1
- package/package.json +1 -1
package/dist/button.scss
CHANGED
|
@@ -221,3 +221,72 @@
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
+
|
|
225
|
+
.action__button {
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: center;
|
|
228
|
+
align-items: center;
|
|
229
|
+
border-radius: 4px;
|
|
230
|
+
gap: 8px;
|
|
231
|
+
& > span {
|
|
232
|
+
display: flex;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&.btn__sm {
|
|
236
|
+
padding-inline: 16px;
|
|
237
|
+
font-size: 14px;
|
|
238
|
+
svg {
|
|
239
|
+
width: 16px;
|
|
240
|
+
height: 16px;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
&.btn__md {
|
|
244
|
+
padding-inline: 24px;
|
|
245
|
+
font-size: 18px;
|
|
246
|
+
svg {
|
|
247
|
+
width: 20px;
|
|
248
|
+
height: 20px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
&.btn__lg {
|
|
252
|
+
padding-inline: 32px;
|
|
253
|
+
font-size: 24px;
|
|
254
|
+
svg {
|
|
255
|
+
width: 24px;
|
|
256
|
+
height: 24px;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&.primary {
|
|
261
|
+
background-color: var(--_primary-400);
|
|
262
|
+
color: var(--_base-white);
|
|
263
|
+
|
|
264
|
+
&:hover {
|
|
265
|
+
background-color: var(--_primary-500);
|
|
266
|
+
color: var(--_base-white);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
&.secondary {
|
|
270
|
+
background-color: var(--_gray-100);
|
|
271
|
+
color: var(--_gray-700);
|
|
272
|
+
&:hover {
|
|
273
|
+
background-color: var(--_gray-200);
|
|
274
|
+
color: var(--_gray-900);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
&.tertiary {
|
|
278
|
+
background-color: transparent;
|
|
279
|
+
&.primary__txt {
|
|
280
|
+
color: var(--_primary-400);
|
|
281
|
+
&:hover {
|
|
282
|
+
color: var(--_primary-500);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
&.secondary__txt {
|
|
286
|
+
color: var(--_gray-700);
|
|
287
|
+
&:hover {
|
|
288
|
+
color: var(--_gray-900);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
package/dist/buyForHeaders.scss
CHANGED
|
@@ -478,6 +478,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
478
478
|
display: flex;
|
|
479
479
|
gap: 8px;
|
|
480
480
|
color: var(--_gray-700);
|
|
481
|
+
cursor: pointer;
|
|
481
482
|
button {
|
|
482
483
|
display: flex;
|
|
483
484
|
}
|
|
@@ -521,17 +522,17 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
521
522
|
}
|
|
522
523
|
// button styles for primary
|
|
523
524
|
.primary__btn {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
525
|
+
color: var(--_thm-py-bs-dt-se-tt-cr);
|
|
526
|
+
background-color: var(--_thm-py-bs-dt-se-bd-cr);
|
|
527
|
+
color: var(--_thm-py-bs-dt-se-tt-cr);
|
|
528
|
+
text-align: center;
|
|
529
|
+
border-radius: var(--_thm-py-bs-hr-se-br-rs);
|
|
529
530
|
padding: 10px 16px;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
531
|
+
height: 40px;
|
|
532
|
+
&:hover {
|
|
533
|
+
background-color: var(--_thm-py-bs-hr-se-bd-cr);
|
|
534
|
+
color: var(--_thm-py-bs-hr-se-tt-cr);
|
|
535
|
+
}
|
|
535
536
|
}
|
|
536
537
|
}
|
|
537
538
|
|
|
@@ -1069,6 +1070,16 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
1069
1070
|
font-size: 1rem;
|
|
1070
1071
|
text-decoration: none;
|
|
1071
1072
|
}
|
|
1073
|
+
.auto_saved {
|
|
1074
|
+
background-color: var(--_success-50);
|
|
1075
|
+
border-radius: 4px;
|
|
1076
|
+
padding-inline: 12px;
|
|
1077
|
+
font-size: 14px;
|
|
1078
|
+
font-weight: 500;
|
|
1079
|
+
display: inline-block;
|
|
1080
|
+
margin-left: 12px;
|
|
1081
|
+
color: var(--_success-600);
|
|
1082
|
+
}
|
|
1072
1083
|
}
|
|
1073
1084
|
|
|
1074
1085
|
.autosave-info {
|
|
@@ -1830,6 +1841,9 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
1830
1841
|
padding: 24px 24px 8px 24px;
|
|
1831
1842
|
max-height: 550px;
|
|
1832
1843
|
overflow-y: auto;
|
|
1844
|
+
&:not(:last-child) {
|
|
1845
|
+
margin-bottom: 16px;
|
|
1846
|
+
}
|
|
1833
1847
|
.review_header {
|
|
1834
1848
|
padding-bottom: 24px;
|
|
1835
1849
|
border-bottom: 1px solid var(--_gray-200);
|
package/dist/buyForPopup.scss
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
align-items: center;
|
|
24
24
|
border-bottom: 1px solid var(--_gray-200);
|
|
25
|
-
padding: 16px
|
|
25
|
+
padding: 16px 12px 16px 16px;
|
|
26
26
|
gap: 4px;
|
|
27
27
|
|
|
28
28
|
.close-icon {
|
|
@@ -63,9 +63,10 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.popup_body {
|
|
66
|
-
padding: 8px 24px 24px 24px;
|
|
66
|
+
// padding: 8px 24px 24px 24px;
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
.est__dropdown__main {
|
|
69
|
+
padding-inline: 16px;
|
|
69
70
|
.est__dropdown {
|
|
70
71
|
.list .list__option {
|
|
71
72
|
font-size: 14px;
|
|
@@ -75,6 +76,9 @@
|
|
|
75
76
|
justify-content: space-between;
|
|
76
77
|
align-items: center;
|
|
77
78
|
width: 100%;
|
|
79
|
+
&.placeholder__text {
|
|
80
|
+
color: var(--_gray-500);
|
|
81
|
+
}
|
|
78
82
|
.value__selected {
|
|
79
83
|
justify-content: start;
|
|
80
84
|
}
|
|
@@ -132,6 +136,9 @@
|
|
|
132
136
|
// }
|
|
133
137
|
// }
|
|
134
138
|
// }
|
|
139
|
+
& > span {
|
|
140
|
+
display: flex;
|
|
141
|
+
}
|
|
135
142
|
|
|
136
143
|
&:disabled {
|
|
137
144
|
background: var(--_sf-hr-bd-cr, var(--_thm-py-bs-dt-se-bd-cr));
|
|
@@ -199,14 +206,17 @@
|
|
|
199
206
|
flex-direction: column;
|
|
200
207
|
gap: 16px;
|
|
201
208
|
overflow-y: auto;
|
|
202
|
-
max-height:
|
|
209
|
+
max-height: 240px;
|
|
210
|
+
overflow-y: auto;
|
|
211
|
+
|
|
203
212
|
.empty__data {
|
|
204
213
|
width: 100%;
|
|
205
214
|
display: flex;
|
|
206
215
|
flex-direction: column;
|
|
207
216
|
justify-content: center;
|
|
208
217
|
align-items: center;
|
|
209
|
-
|
|
218
|
+
margin-top: 36px;
|
|
219
|
+
|
|
210
220
|
p {
|
|
211
221
|
color: var(--_thm-ty-p1-tt-cr);
|
|
212
222
|
font-size: 18px;
|
|
@@ -218,6 +228,10 @@
|
|
|
218
228
|
}
|
|
219
229
|
|
|
220
230
|
.group_section {
|
|
231
|
+
padding-inline: 16px 6px;
|
|
232
|
+
height: 100%;
|
|
233
|
+
overflow-y: auto;
|
|
234
|
+
|
|
221
235
|
.group_header {
|
|
222
236
|
display: flex;
|
|
223
237
|
align-items: center;
|
|
@@ -277,7 +291,7 @@
|
|
|
277
291
|
}
|
|
278
292
|
|
|
279
293
|
.user_id {
|
|
280
|
-
font-size:
|
|
294
|
+
font-size: 14px;
|
|
281
295
|
color: var(--_thm-ty-p3-tt-cr);
|
|
282
296
|
display: flex;
|
|
283
297
|
gap: 4px;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
padding: 8px 12px;
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
|
+
align-self: stretch;
|
|
13
14
|
justify-content: space-between;
|
|
14
15
|
border: 1px solid var(--_gray-300);
|
|
15
16
|
border-radius: 4px;
|
|
@@ -148,6 +149,18 @@
|
|
|
148
149
|
gap: 8px;
|
|
149
150
|
padding: 8px 12px;
|
|
150
151
|
cursor: pointer;
|
|
152
|
+
.variant__img {
|
|
153
|
+
border: 1px solid var(--_gray-200);
|
|
154
|
+
border-radius: 4px;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
display: flex;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
align-items: center;
|
|
159
|
+
img {
|
|
160
|
+
max-height: 100%;
|
|
161
|
+
max-width: 100%;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
151
164
|
}
|
|
152
165
|
|
|
153
166
|
.bo-dropdown__option:last-child {
|
|
@@ -161,8 +174,9 @@
|
|
|
161
174
|
}
|
|
162
175
|
|
|
163
176
|
.bo-dropdown__option--selected {
|
|
164
|
-
background-color: var(--_base-white);
|
|
177
|
+
// background-color: var(--_base-white);
|
|
165
178
|
border-radius: 4px;
|
|
179
|
+
@include BgColorLighter(var(--_thm-cs-at-py), 10%);
|
|
166
180
|
}
|
|
167
181
|
|
|
168
182
|
.bo-dropdown__check {
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
line-height: 40px;
|
|
19
19
|
outline: 2px solid var(--_base-white);
|
|
20
20
|
border: 1px solid var(--_gray-300);
|
|
21
|
+
&:focus-within {
|
|
22
|
+
outline: 2px solid var(--_primary-400);
|
|
23
|
+
outline-offset: 0;
|
|
24
|
+
}
|
|
25
|
+
cursor: pointer;
|
|
21
26
|
.selected-display {
|
|
22
27
|
.selected-item {
|
|
23
28
|
display: flex;
|
|
@@ -162,11 +167,17 @@
|
|
|
162
167
|
max-height: 200px;
|
|
163
168
|
box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
|
|
164
169
|
z-index: 10;
|
|
165
|
-
min-width: 240px;
|
|
170
|
+
// min-width: 240px;
|
|
166
171
|
max-height: 300px;
|
|
167
172
|
display: flex;
|
|
168
173
|
flex-direction: column;
|
|
169
174
|
// margin-left: -6px;
|
|
175
|
+
&.open_dropdown {
|
|
176
|
+
animation: open_dropdown 300ms ease-in-out;
|
|
177
|
+
}
|
|
178
|
+
&.close_dropdown {
|
|
179
|
+
animation: close_dropdown 300ms ease-in-out;
|
|
180
|
+
}
|
|
170
181
|
&.w-full {
|
|
171
182
|
width: 100%;
|
|
172
183
|
}
|
|
@@ -199,7 +210,8 @@
|
|
|
199
210
|
}
|
|
200
211
|
|
|
201
212
|
.dropdown_menu_ul {
|
|
202
|
-
height:
|
|
213
|
+
min-height: 100px;
|
|
214
|
+
max-height: 200px;
|
|
203
215
|
overflow-y: auto;
|
|
204
216
|
display: flex;
|
|
205
217
|
flex-direction: column;
|
|
@@ -552,3 +564,25 @@
|
|
|
552
564
|
clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
|
|
553
565
|
}
|
|
554
566
|
}
|
|
567
|
+
|
|
568
|
+
@keyframes open_dropdown {
|
|
569
|
+
0% {
|
|
570
|
+
transform: translateY(10px);
|
|
571
|
+
opacity: 0;
|
|
572
|
+
}
|
|
573
|
+
100% {
|
|
574
|
+
transform: translateY(-2px);
|
|
575
|
+
opacity: 1;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
@keyframes close_dropdown {
|
|
580
|
+
0% {
|
|
581
|
+
transform: translateY(-2px);
|
|
582
|
+
opacity: 1;
|
|
583
|
+
}
|
|
584
|
+
100% {
|
|
585
|
+
transform: translateY(10px);
|
|
586
|
+
opacity: 0;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
@@ -119,6 +119,35 @@
|
|
|
119
119
|
animation: split_loader 0.5s ease-out infinite alternate;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
// loding data with icon using in bulk order pad and quick order pad
|
|
123
|
+
.data__loading__wrapper {
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
.loading__container {
|
|
130
|
+
max-width: 500px;
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 16px;
|
|
136
|
+
.loading__spinner {
|
|
137
|
+
width: 40px;
|
|
138
|
+
height: 40px;
|
|
139
|
+
border: 4px solid var(--_gray-200);
|
|
140
|
+
border-top: 4px solid var(--_primary-400);
|
|
141
|
+
border-radius: 50%;
|
|
142
|
+
animation: spin 1s linear infinite;
|
|
143
|
+
}
|
|
144
|
+
.text {
|
|
145
|
+
color: var(--_gray-600);
|
|
146
|
+
font-size: 14px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
122
151
|
@keyframes split_loader {
|
|
123
152
|
0% {
|
|
124
153
|
box-shadow:
|
|
@@ -423,6 +423,7 @@
|
|
|
423
423
|
|
|
424
424
|
&.open .list {
|
|
425
425
|
display: flex;
|
|
426
|
+
animation: slideDown 0.8s ease-in-out;
|
|
426
427
|
}
|
|
427
428
|
.dropdown__button__wrapper {
|
|
428
429
|
width: 100%;
|
|
@@ -442,7 +443,7 @@
|
|
|
442
443
|
.est__dropdown__icon {
|
|
443
444
|
position: absolute;
|
|
444
445
|
right: 5px;
|
|
445
|
-
|
|
446
|
+
transition: transform 0.4s ease-in-out;
|
|
446
447
|
&.open {
|
|
447
448
|
transform: rotate(180deg);
|
|
448
449
|
}
|
|
@@ -466,6 +467,7 @@
|
|
|
466
467
|
}
|
|
467
468
|
|
|
468
469
|
.list {
|
|
470
|
+
animation: slideDown 0.8s ease-in-out;
|
|
469
471
|
display: none;
|
|
470
472
|
flex-direction: column;
|
|
471
473
|
border: 1px solid var(--_gray-200);
|
|
@@ -502,3 +504,25 @@
|
|
|
502
504
|
}
|
|
503
505
|
}
|
|
504
506
|
}
|
|
507
|
+
|
|
508
|
+
@keyframes slideUp {
|
|
509
|
+
0% {
|
|
510
|
+
transform: translateY(0px);
|
|
511
|
+
opacity: 1;
|
|
512
|
+
}
|
|
513
|
+
100% {
|
|
514
|
+
transform: translateY(20px);
|
|
515
|
+
opacity: 0;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
@keyframes slideDown {
|
|
520
|
+
0% {
|
|
521
|
+
transform: translateY(20px);
|
|
522
|
+
opacity: 0;
|
|
523
|
+
}
|
|
524
|
+
100% {
|
|
525
|
+
transform: translateY(0px);
|
|
526
|
+
opacity: 1;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
@@ -23,6 +23,7 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
23
23
|
&--disabled {
|
|
24
24
|
opacity: 0.6;
|
|
25
25
|
pointer-events: none;
|
|
26
|
+
background-color: var(--_gray-100);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -33,7 +34,7 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
33
34
|
gap: 14px;
|
|
34
35
|
min-height: 40px;
|
|
35
36
|
border: 1px solid $msd-border;
|
|
36
|
-
background:
|
|
37
|
+
background: var(--_base-white);
|
|
37
38
|
border-radius: 4px;
|
|
38
39
|
padding: 6px 8px;
|
|
39
40
|
cursor: text;
|
|
@@ -67,7 +68,7 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
67
68
|
display: inline-flex;
|
|
68
69
|
align-items: center;
|
|
69
70
|
gap: 6px;
|
|
70
|
-
padding:
|
|
71
|
+
padding: 5px 8px 5px 8px;
|
|
71
72
|
background: $msd-chip-bg;
|
|
72
73
|
border-radius: 999px;
|
|
73
74
|
line-height: 1;
|
|
@@ -96,6 +97,10 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
96
97
|
line-height: 1;
|
|
97
98
|
padding: 0;
|
|
98
99
|
margin: 0;
|
|
100
|
+
svg {
|
|
101
|
+
width: 10px;
|
|
102
|
+
height: 10px;
|
|
103
|
+
}
|
|
99
104
|
&:hover {
|
|
100
105
|
color: $msd-chip-remove-hover;
|
|
101
106
|
}
|
|
@@ -110,11 +115,14 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
110
115
|
font-size: 14px;
|
|
111
116
|
background: transparent;
|
|
112
117
|
color: $msd-text;
|
|
118
|
+
line-height: 19px;
|
|
119
|
+
|
|
113
120
|
&::placeholder {
|
|
114
121
|
color: $msd-muted;
|
|
115
122
|
}
|
|
116
123
|
}
|
|
117
124
|
.msd__clear {
|
|
125
|
+
margin-right: 15px;
|
|
118
126
|
svg {
|
|
119
127
|
width: 16px;
|
|
120
128
|
height: 16px;
|
|
@@ -122,39 +130,41 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
122
130
|
}
|
|
123
131
|
.msd__clear,
|
|
124
132
|
.msd__arrow {
|
|
133
|
+
width: 26px;
|
|
134
|
+
// height: 26px;
|
|
125
135
|
border: 0;
|
|
126
136
|
background: transparent;
|
|
127
137
|
cursor: pointer;
|
|
128
138
|
font-size: 12px;
|
|
129
139
|
color: $msd-muted;
|
|
130
|
-
padding: 4px 6px;
|
|
140
|
+
// padding: 4px 6px;
|
|
131
141
|
border-radius: 4px;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
142
|
+
display: flex;
|
|
143
|
+
// &:hover {
|
|
144
|
+
// color: #374151;
|
|
145
|
+
// }
|
|
136
146
|
}
|
|
137
147
|
|
|
138
148
|
.msd__ellipsis {
|
|
139
149
|
position: absolute;
|
|
140
|
-
right:
|
|
141
|
-
top:
|
|
150
|
+
right: 30px; // leave room for the arrow
|
|
151
|
+
top: 5px;
|
|
142
152
|
// transform: translateY(-50%);
|
|
143
153
|
pointer-events: none;
|
|
144
154
|
background: $msd-bg;
|
|
145
155
|
padding-left: 6px;
|
|
146
|
-
width:
|
|
156
|
+
width: 24px;
|
|
147
157
|
}
|
|
148
158
|
|
|
149
159
|
.msd__menu {
|
|
150
160
|
position: absolute;
|
|
151
161
|
z-index: 20;
|
|
152
|
-
top:
|
|
162
|
+
top: 99%;
|
|
153
163
|
left: 0;
|
|
154
164
|
right: 0;
|
|
155
165
|
background: $msd-bg;
|
|
156
166
|
border: 1px solid $msd-border;
|
|
157
|
-
border-radius:
|
|
167
|
+
border-radius: 4px;
|
|
158
168
|
box-shadow: $msd-shadow;
|
|
159
169
|
overflow: auto;
|
|
160
170
|
padding: 6px;
|
|
@@ -182,10 +192,28 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
182
192
|
cursor: pointer;
|
|
183
193
|
font-size: 14px;
|
|
184
194
|
display: flex;
|
|
185
|
-
justify-content:
|
|
195
|
+
justify-content: start;
|
|
196
|
+
align-items: center;
|
|
186
197
|
svg path {
|
|
187
198
|
stroke: var(--_primary-50);
|
|
188
199
|
}
|
|
200
|
+
&__img {
|
|
201
|
+
border-radius: 4px;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
align-items: center;
|
|
204
|
+
display: flex;
|
|
205
|
+
width: 32px;
|
|
206
|
+
height: 32px;
|
|
207
|
+
border: 1px solid var(--_gray-200);
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
img {
|
|
210
|
+
max-height: 100%;
|
|
211
|
+
max-width: 100%;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
.is__selected {
|
|
215
|
+
margin-left: auto;
|
|
216
|
+
}
|
|
189
217
|
|
|
190
218
|
&:not(.is-disabled):hover {
|
|
191
219
|
@include BgColorLighter(var(--_thm-cs-at-py), 8%);
|
|
@@ -194,7 +222,7 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
194
222
|
// background: #f1f5f9;
|
|
195
223
|
// }
|
|
196
224
|
&.is-selected {
|
|
197
|
-
font-weight:
|
|
225
|
+
font-weight: normal;
|
|
198
226
|
@include BgColorLighter(var(--_thm-cs-at-py), 8%);
|
|
199
227
|
color: var(--_thm-cs-at-py);
|
|
200
228
|
// background: var(--_thm-cs-at-py);
|
|
@@ -229,6 +257,7 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
|
|
229
257
|
&::after {
|
|
230
258
|
content: "";
|
|
231
259
|
position: absolute;
|
|
260
|
+
top: 2px;
|
|
232
261
|
inset: 0;
|
|
233
262
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="white" d="M7.629 13.296L3.7 9.367l1.414-1.414 2.515 2.515L14.886 3.21l1.414 1.415z"/></svg>')
|
|
234
263
|
center/12px 12px no-repeat;
|
package/dist/option-bar.scss
CHANGED
package/dist/order-status.scss
CHANGED
|
@@ -38,7 +38,6 @@ $defaultValues: (
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.order-confirmation {
|
|
41
|
-
@include prepareMediaQueries($defaultValues);
|
|
42
41
|
display: flex;
|
|
43
42
|
flex-direction: column;
|
|
44
43
|
padding: prepareMediaVariable(--_ctm-dn-or-wt-pg);
|
|
@@ -60,6 +59,7 @@ $defaultValues: (
|
|
|
60
59
|
--_ctm-mob-dn-or-wt-im-gp,
|
|
61
60
|
var(--_ctm-tab-dn-or-wt-im-gp, var(--_ctm-dn-or-wt-im-gp))
|
|
62
61
|
);
|
|
62
|
+
@include prepareMediaQueries($defaultValues);
|
|
63
63
|
|
|
64
64
|
.each-order {
|
|
65
65
|
border: 1px solid var(--_gray-200);
|
package/dist/product-image.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
|
-
@use "./functions.scss"
|
|
3
|
+
@use "./functions.scss" as *;
|
|
4
4
|
|
|
5
5
|
[data-div-type="element"] {
|
|
6
6
|
&[data-element-type="productImage"] {
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
--text-high-contrast-rgb-value: 49, 49, 49;
|
|
167
167
|
--detail-medium-contrast: rgb(234, 234, 234);
|
|
168
168
|
--text-body: rgb(54, 49, 61);
|
|
169
|
+
overflow: hidden;
|
|
169
170
|
|
|
170
171
|
position: relative;
|
|
171
172
|
background-color: var(
|
|
@@ -731,8 +732,14 @@
|
|
|
731
732
|
&[data-background-shape="Round"] {
|
|
732
733
|
.left-button,
|
|
733
734
|
.right-button {
|
|
734
|
-
background-color:
|
|
735
|
-
|
|
735
|
+
// background-color: var(
|
|
736
|
+
// --_ctm-mob-dn-pn-as-bd-cr,
|
|
737
|
+
// var(--_ctm-tab-dn-pn-as-bd-cr, var(--_ctm-dn-pn-as-bd-cr))
|
|
738
|
+
// );
|
|
739
|
+
&:not(:disabled):hover {
|
|
740
|
+
@include BgColorLighter(var(--_thm-py-bs-hr-se-bd-cr), 5%);
|
|
741
|
+
}
|
|
742
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
736
743
|
}
|
|
737
744
|
}
|
|
738
745
|
|
|
@@ -755,6 +762,32 @@
|
|
|
755
762
|
cursor: pointer;
|
|
756
763
|
outline: none;
|
|
757
764
|
margin-left: 12px;
|
|
765
|
+
span {
|
|
766
|
+
display: flex;
|
|
767
|
+
svg {
|
|
768
|
+
width: calc(
|
|
769
|
+
var(
|
|
770
|
+
--_ctm-mob-dn-pn-as-aw-se,
|
|
771
|
+
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
772
|
+
) *
|
|
773
|
+
0.5
|
|
774
|
+
);
|
|
775
|
+
height: calc(
|
|
776
|
+
var(
|
|
777
|
+
--_ctm-mob-dn-pn-as-aw-se,
|
|
778
|
+
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
779
|
+
) *
|
|
780
|
+
0.5
|
|
781
|
+
);
|
|
782
|
+
|
|
783
|
+
path {
|
|
784
|
+
stroke: var(
|
|
785
|
+
--_ctm-mob-dn-pn-as-aw-cr,
|
|
786
|
+
var(--_ctm-tab-dn-pn-as-aw-cr, var(--_ctm-dn-pn-as-aw-cr))
|
|
787
|
+
);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
758
791
|
&:disabled {
|
|
759
792
|
& svg {
|
|
760
793
|
path {
|
|
@@ -782,7 +815,32 @@
|
|
|
782
815
|
outline: none;
|
|
783
816
|
margin-right: 12px;
|
|
784
817
|
padding: 10px;
|
|
818
|
+
span {
|
|
819
|
+
display: flex;
|
|
820
|
+
svg {
|
|
821
|
+
width: calc(
|
|
822
|
+
var(
|
|
823
|
+
--_ctm-mob-dn-pn-as-aw-se,
|
|
824
|
+
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
825
|
+
) *
|
|
826
|
+
0.5
|
|
827
|
+
);
|
|
828
|
+
height: calc(
|
|
829
|
+
var(
|
|
830
|
+
--_ctm-mob-dn-pn-as-aw-se,
|
|
831
|
+
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
832
|
+
) *
|
|
833
|
+
0.5
|
|
834
|
+
);
|
|
785
835
|
|
|
836
|
+
path {
|
|
837
|
+
stroke: var(
|
|
838
|
+
--_ctm-mob-dn-pn-as-aw-cr,
|
|
839
|
+
var(--_ctm-tab-dn-pn-as-aw-cr, var(--_ctm-dn-pn-as-aw-cr))
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
786
844
|
&:disabled {
|
|
787
845
|
& svg {
|
|
788
846
|
path {
|