@sc-360-v2/storefront-cms-library 0.3.28 → 0.3.30
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/animation-control.scss +23 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +328 -53
- package/dist/cart-details.scss +595 -300
- package/dist/cart-summary.scss +148 -40
- package/dist/cartAttributes.scss +24 -20
- package/dist/cartDropdownOverlay.scss +58 -10
- package/dist/checkout.scss +225 -79
- package/dist/contact-us.scss +3 -0
- package/dist/dropdownTemplate.scss +13 -2
- package/dist/fb-dropdown.scss +6 -2
- package/dist/filters.scss +0 -1
- package/dist/form-preview.scss +50 -9
- package/dist/form-zindex-module.scss +25 -0
- package/dist/functions.scss +72 -2
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/light-box-v2.scss +1 -1
- package/dist/modal.scss +69 -31
- package/dist/order-status.scss +1 -0
- package/dist/position-module.scss +74 -0
- package/dist/prefix-list.scss +55 -0
- package/dist/quick-order-pad.scss +36 -8
- package/dist/responsive-behaviour.scss +21 -0
- package/dist/section.scss +13 -6
- package/dist/shareCartSideBar.scss +29 -14
- package/dist/submit-quote.scss +107 -49
- package/dist/types/builder/elements/form-builder/index.d.ts +14 -2
- package/dist/types/builder/interfaces/global.d.ts +13 -0
- package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +441 -0
- package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +364 -0
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +123 -55
- package/dist/types/builder/tools/element-edit/checkout.d.ts +120 -94
- package/dist/types/builder/tools/element-edit/common.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/countdown.d.ts +384 -44
- package/dist/types/builder/tools/element-edit/dummy.d.ts +0 -0
- package/dist/types/builder/tools/element-edit/productActions.d.ts +390 -43
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +192 -22
- package/dist/types/builder/tools/element-edit/repeater.d.ts +439 -1
- package/dist/types/builder/tools/element-edit/table.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/typographyInstance.d.ts +981 -0
- package/dist/types/builder/tools/element-edit/video.d.ts +192 -22
- package/dist/types/global/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/light-box-v2.scss
CHANGED
|
@@ -10,7 +10,7 @@ $activeElementSelector: "[data-has-clicked='true']";
|
|
|
10
10
|
#{$lbMain} {
|
|
11
11
|
position: var(--_p-fixed);
|
|
12
12
|
inset: 0 0 0 0;
|
|
13
|
-
z-index: calc(var(--_higher-zIndex) + var(--_lt-bx-zi));
|
|
13
|
+
z-index: calc(var(--_higher-zIndex) + var(--_lt-bx-zi, 1));
|
|
14
14
|
--_cms-section-add-button-zIndex: var(--_higher-zIndex);
|
|
15
15
|
--_cms-sl-df-zIndex: 1;
|
|
16
16
|
--_cms-element-active-zIndex: calc(
|
package/dist/modal.scss
CHANGED
|
@@ -11,10 +11,12 @@ $header_font_weight: 600;
|
|
|
11
11
|
$close_btn_font_size: 24px;
|
|
12
12
|
$close_btn_size: 35px;
|
|
13
13
|
$footer_btn_background_color: #ffffff;
|
|
14
|
+
$component_bg_color: #ffffff;
|
|
14
15
|
$footer_btn_padding: 10px 15px;
|
|
15
16
|
$footer_btn_font_size: 14px;
|
|
16
17
|
$primary_100: var(--Primary-100, #ced4f6);
|
|
17
18
|
$primary_500: var(--Primary-500, #162578);
|
|
19
|
+
$gray_500: var(--Gray-500, #667085);
|
|
18
20
|
$gray_900: var(--Gray-900, #101828);
|
|
19
21
|
$gap_between_elements: 24px;
|
|
20
22
|
$padding_horizontal: 24px;
|
|
@@ -60,7 +62,7 @@ $active_btn_text_color: #fff;
|
|
|
60
62
|
border-radius: $border_radius;
|
|
61
63
|
display: flex;
|
|
62
64
|
flex-direction: column;
|
|
63
|
-
gap: $gap_between_elements;
|
|
65
|
+
// gap: $gap_between_elements;
|
|
64
66
|
z-index: calc(var(--_higher-zIndex) + var(--_cs-et-zIndex) + 10);
|
|
65
67
|
cursor: auto;
|
|
66
68
|
|
|
@@ -83,6 +85,7 @@ $active_btn_text_color: #fff;
|
|
|
83
85
|
display: flex;
|
|
84
86
|
align-items: center;
|
|
85
87
|
justify-content: space-between;
|
|
88
|
+
padding-bottom: 6px;
|
|
86
89
|
|
|
87
90
|
h2 {
|
|
88
91
|
font-size: $header_font_size;
|
|
@@ -118,6 +121,7 @@ $active_btn_text_color: #fff;
|
|
|
118
121
|
.modal-body {
|
|
119
122
|
font-size: 14px;
|
|
120
123
|
color: $gray_900;
|
|
124
|
+
padding-bottom: 30px;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
.modal-footer {
|
|
@@ -129,28 +133,38 @@ $active_btn_text_color: #fff;
|
|
|
129
133
|
.modal-footer-wrapper {
|
|
130
134
|
display: flex;
|
|
131
135
|
width: 100%;
|
|
132
|
-
gap:
|
|
136
|
+
gap: 12px;
|
|
133
137
|
|
|
134
138
|
.modal-footer-white-btn {
|
|
135
139
|
padding: 12px 24px;
|
|
136
140
|
border-radius: 4px;
|
|
137
|
-
background-color:
|
|
141
|
+
background-color: $component_bg_color;
|
|
138
142
|
color: #243dc6;
|
|
139
|
-
font-weight:
|
|
143
|
+
font-weight: 500;
|
|
140
144
|
width: 100%;
|
|
145
|
+
border: 1px solid $component_bg_color;
|
|
141
146
|
display: flex;
|
|
142
147
|
justify-content: center;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
&:hover {
|
|
150
|
+
border: 1px solid #243dc6;
|
|
151
|
+
}
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
.modal-footer-danger-btn {
|
|
146
155
|
padding: 12px 24px;
|
|
147
156
|
border-radius: 4px;
|
|
148
157
|
background-color: #d92d20;
|
|
149
|
-
color:
|
|
158
|
+
color: $component_bg_color;
|
|
150
159
|
font-weight: 600;
|
|
151
160
|
width: 100%;
|
|
152
161
|
display: flex;
|
|
162
|
+
border: 1px solid #d92d20;
|
|
153
163
|
justify-content: center;
|
|
164
|
+
|
|
165
|
+
&:hover {
|
|
166
|
+
background-color: darken(#d92d20, 5%);
|
|
167
|
+
}
|
|
154
168
|
}
|
|
155
169
|
}
|
|
156
170
|
}
|
|
@@ -250,8 +264,8 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
250
264
|
transform 0.5s ease-in-out;
|
|
251
265
|
top: 50%;
|
|
252
266
|
left: 50%;
|
|
253
|
-
width:
|
|
254
|
-
height:
|
|
267
|
+
width: 98.5%;
|
|
268
|
+
height: 98%;
|
|
255
269
|
border-radius: $radius-lg;
|
|
256
270
|
transform: translate(-50%, -50%);
|
|
257
271
|
box-shadow: none;
|
|
@@ -259,6 +273,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
259
273
|
display: flex;
|
|
260
274
|
flex-direction: column;
|
|
261
275
|
max-height: 100vh;
|
|
276
|
+
max-width: none;
|
|
262
277
|
|
|
263
278
|
.product-list {
|
|
264
279
|
flex: 1;
|
|
@@ -291,15 +306,14 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
291
306
|
top: 0;
|
|
292
307
|
background: $white;
|
|
293
308
|
z-index: 1;
|
|
294
|
-
padding:
|
|
295
|
-
border-bottom:
|
|
309
|
+
padding: 10px 16px;
|
|
310
|
+
border-bottom: 0.5px solid #d0d5dd;
|
|
296
311
|
.title-bar {
|
|
297
312
|
display: flex;
|
|
298
313
|
justify-content: space-between;
|
|
299
314
|
align-items: center;
|
|
300
315
|
// padding: 15px 0px;
|
|
301
|
-
height:
|
|
302
|
-
|
|
316
|
+
// height: 56px;
|
|
303
317
|
.left-col {
|
|
304
318
|
display: flex;
|
|
305
319
|
gap: 10px;
|
|
@@ -307,14 +321,16 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
307
321
|
}
|
|
308
322
|
|
|
309
323
|
.title {
|
|
310
|
-
font-size: $font-size-lg;
|
|
311
|
-
font-weight: 600;
|
|
312
324
|
display: flex;
|
|
313
325
|
align-items: center;
|
|
314
|
-
gap: 6px;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
326
|
+
// gap: 6px;
|
|
327
|
+
.quickOrderTitle {
|
|
328
|
+
color: $gray_900;
|
|
329
|
+
font-size: $font-size-base;
|
|
330
|
+
font-weight: 700;
|
|
331
|
+
line-height: 24px; /* 171.429% */
|
|
332
|
+
text-transform: capitalize;
|
|
333
|
+
}
|
|
318
334
|
.modal_heading_icon {
|
|
319
335
|
width: 36px;
|
|
320
336
|
height: 36px;
|
|
@@ -329,16 +345,31 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
329
345
|
}
|
|
330
346
|
|
|
331
347
|
.count {
|
|
332
|
-
font-weight: 700;
|
|
333
|
-
color: $gray-600;
|
|
334
|
-
background-color: #f2f4f7;
|
|
335
|
-
border-radius: 50%;
|
|
336
|
-
font-size: $font-size-sm;
|
|
337
|
-
width: 25px;
|
|
338
|
-
height: 25px;
|
|
339
348
|
display: flex;
|
|
349
|
+
padding: 2px 8px;
|
|
340
350
|
align-items: center;
|
|
341
|
-
|
|
351
|
+
border-radius: 100px;
|
|
352
|
+
background: var(--Gray-100, #f2f4f7);
|
|
353
|
+
mix-blend-mode: multiply;
|
|
354
|
+
color: var(--Gray-700, #344054);
|
|
355
|
+
text-align: center;
|
|
356
|
+
margin-left: 6px;
|
|
357
|
+
font-family: Lato;
|
|
358
|
+
font-size: 12px;
|
|
359
|
+
font-style: normal;
|
|
360
|
+
font-weight: 600;
|
|
361
|
+
line-height: 18px; /* 150% */
|
|
362
|
+
// font-weight: 700;
|
|
363
|
+
// color: $gray-600;
|
|
364
|
+
// background-color: #f2f4f7;
|
|
365
|
+
// border-radius: 6px;
|
|
366
|
+
// font-size: $font-size-sm;
|
|
367
|
+
// // width: 25px;
|
|
368
|
+
// height: 25px;
|
|
369
|
+
// padding: 0 8px;
|
|
370
|
+
// display: flex;
|
|
371
|
+
// // align-items: center;
|
|
372
|
+
// justify-content: center;
|
|
342
373
|
}
|
|
343
374
|
}
|
|
344
375
|
|
|
@@ -360,6 +391,10 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
360
391
|
color: $black;
|
|
361
392
|
}
|
|
362
393
|
}
|
|
394
|
+
.sc_modal-close svg {
|
|
395
|
+
width: 14px !important;
|
|
396
|
+
height: 14px !important;
|
|
397
|
+
}
|
|
363
398
|
}
|
|
364
399
|
}
|
|
365
400
|
|
|
@@ -410,7 +445,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
410
445
|
bottom: 0;
|
|
411
446
|
display: flex;
|
|
412
447
|
justify-content: space-between;
|
|
413
|
-
padding:
|
|
448
|
+
padding: 16px 22px;
|
|
414
449
|
border-top: 1px solid $gray-300;
|
|
415
450
|
font-size: $font-size-base;
|
|
416
451
|
background: $footer_btn_background_color;
|
|
@@ -419,13 +454,16 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
419
454
|
display: flex;
|
|
420
455
|
gap: 24px;
|
|
421
456
|
span {
|
|
457
|
+
color: $gray_900;
|
|
458
|
+
font-size: 14px;
|
|
422
459
|
font-weight: 700;
|
|
423
460
|
line-height: 20px;
|
|
424
|
-
font-size: 14px;
|
|
425
|
-
color: #101828;
|
|
426
461
|
.footer_label {
|
|
462
|
+
color: $gray_500;
|
|
463
|
+
font-size: 14px;
|
|
427
464
|
font-weight: 400;
|
|
428
|
-
|
|
465
|
+
line-height: 20px;
|
|
466
|
+
margin-right: 6px;
|
|
429
467
|
}
|
|
430
468
|
}
|
|
431
469
|
}
|
|
@@ -439,7 +477,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
439
477
|
padding: 10px 14px;
|
|
440
478
|
font-weight: 500;
|
|
441
479
|
font-size: $font-size-base;
|
|
442
|
-
color:
|
|
480
|
+
color: var(--_gray-900);
|
|
443
481
|
cursor: pointer;
|
|
444
482
|
transition: background 0.2s;
|
|
445
483
|
|
|
@@ -452,7 +490,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
452
490
|
background: $primary;
|
|
453
491
|
color: $white;
|
|
454
492
|
border-radius: $radius;
|
|
455
|
-
padding: 10px
|
|
493
|
+
padding: 10px 16px;
|
|
456
494
|
font-weight: 600;
|
|
457
495
|
font-size: $font-size-base;
|
|
458
496
|
display: flex;
|
package/dist/order-status.scss
CHANGED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
@use "./functions.scss" as *;
|
|
5
|
+
@use "./prefix-list.scss" as *;
|
|
6
|
+
|
|
7
|
+
$elementDragging: "[data-cms-new-element-dragging-v2='true']";
|
|
8
|
+
$dataResizerTrue: '[data-cms-element-resizer="true"]';
|
|
9
|
+
$var: "--_sf-width-rsp-psn";
|
|
10
|
+
|
|
11
|
+
@function convertListToCommaSeparateString($list) {
|
|
12
|
+
$items: ();
|
|
13
|
+
@each $key, $value in $list {
|
|
14
|
+
$sl: ".#{$value}";
|
|
15
|
+
$items: list.append($items, $sl, comma);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@return $items;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
$position: (
|
|
22
|
+
class: (
|
|
23
|
+
absolute: "flx-abs",
|
|
24
|
+
fixed: "flx-fxd",
|
|
25
|
+
sticky: "flx-stk",
|
|
26
|
+
),
|
|
27
|
+
zIndex: "--_ctm-flex-z-index",
|
|
28
|
+
attributes: (
|
|
29
|
+
horizontal: "data-position-horizonal",
|
|
30
|
+
vertical: "data-position-vertical",
|
|
31
|
+
),
|
|
32
|
+
data: (
|
|
33
|
+
horizontal: (
|
|
34
|
+
right: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
35
|
+
left: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
36
|
+
),
|
|
37
|
+
vertical: (
|
|
38
|
+
top: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
39
|
+
bottom: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
@mixin FlexPositionModuleStyles() {
|
|
45
|
+
$cls: map.get($position, class);
|
|
46
|
+
$zIndex: map.get($position, zIndex);
|
|
47
|
+
$attributes: map.get($position, attributes);
|
|
48
|
+
$data: map.get($position, data);
|
|
49
|
+
|
|
50
|
+
:is(#{convertListToCommaSeparateString($cls)}) {
|
|
51
|
+
@each $key, $value in $data {
|
|
52
|
+
@each $key1, $value1 in $value {
|
|
53
|
+
&[#{map.get($attributes, $key)}="#{$key1}"] {
|
|
54
|
+
#{$key1}: #{$value1};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
z-index: var(#{$zIndex});
|
|
59
|
+
@each $key, $value in $cls {
|
|
60
|
+
&.#{$value} {
|
|
61
|
+
&:is(:not(#{$elementDragging}, #{$dataResizerTrue})) {
|
|
62
|
+
position: var(--_p-#{$key}) !important;
|
|
63
|
+
@if ($key == fixed) {
|
|
64
|
+
@include FlexUpdatedPrefixCSSVariable($var);
|
|
65
|
+
width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
|
|
66
|
+
}
|
|
67
|
+
@if ($key != sticky) {
|
|
68
|
+
margin: 0px !important;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
@use "./functions.scss" as *;
|
|
5
|
+
|
|
6
|
+
$dataElementType: "data-element-type";
|
|
7
|
+
$dataLayerElementType: "data-layer-element-type";
|
|
8
|
+
|
|
9
|
+
$prefixList: (
|
|
10
|
+
section: sec,
|
|
11
|
+
grid: gri,
|
|
12
|
+
stack: sta,
|
|
13
|
+
repeater: rep,
|
|
14
|
+
repeater-item: repe,
|
|
15
|
+
product: pro,
|
|
16
|
+
category: cat,
|
|
17
|
+
categoryWidget: cate,
|
|
18
|
+
brand: bran,
|
|
19
|
+
subCategory: subc,
|
|
20
|
+
productDetails: prod,
|
|
21
|
+
categoryDetails: categ,
|
|
22
|
+
lightboxv2: lig,
|
|
23
|
+
layouter: lay,
|
|
24
|
+
layouter-item: layo,
|
|
25
|
+
layouter-pro: layou,
|
|
26
|
+
layouter-pro-item: layout,
|
|
27
|
+
tbs-v2: tbs,
|
|
28
|
+
tbsContainer: tbsco,
|
|
29
|
+
marchandiserSets: march,
|
|
30
|
+
buyForWithTabs: buy,
|
|
31
|
+
buyForTabsContainer: buyFo,
|
|
32
|
+
spotlight: spo,
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
@function convertIntoActualVariable($prefix, $type) {
|
|
36
|
+
$types: (
|
|
37
|
+
width: "lt-wh",
|
|
38
|
+
);
|
|
39
|
+
$suffix: map.get($types, $type);
|
|
40
|
+
@return --_ctm-#{$prefix}-#{$suffix};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin FlexUpdatedPrefixCSSVariable($var, $isLayer: false) {
|
|
44
|
+
$selector: "";
|
|
45
|
+
@if ($isLayer == false) {
|
|
46
|
+
$selector: $dataElementType;
|
|
47
|
+
} @else {
|
|
48
|
+
$selector: $dataLayerElementType;
|
|
49
|
+
}
|
|
50
|
+
@each $key, $value in $prefixList {
|
|
51
|
+
&[#{$selector}="#{$key}"] {
|
|
52
|
+
#{$var}: #{prepareMediaVariable(convertIntoActualVariable($value, width))};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -5,6 +5,7 @@ $gray-800: #444;
|
|
|
5
5
|
$primary: var(--_primary-400);
|
|
6
6
|
$primary-hover: var(--_primary-500);
|
|
7
7
|
$white: var(--_white);
|
|
8
|
+
$text-color: #667085;
|
|
8
9
|
|
|
9
10
|
// Typography
|
|
10
11
|
$font-size-base: 14px;
|
|
@@ -16,7 +17,7 @@ $input-padding: 10px 12px;
|
|
|
16
17
|
// .quick-order-main Styles
|
|
17
18
|
.quick-order-main {
|
|
18
19
|
display: flex;
|
|
19
|
-
padding: 12px;
|
|
20
|
+
// padding: 12px;
|
|
20
21
|
flex-direction: column;
|
|
21
22
|
gap: 16px;
|
|
22
23
|
width: 100%;
|
|
@@ -26,13 +27,29 @@ $input-padding: 10px 12px;
|
|
|
26
27
|
gap: 12px;
|
|
27
28
|
height: fit-content;
|
|
28
29
|
align-items: center;
|
|
30
|
+
padding: 12px;
|
|
31
|
+
border-bottom: 0.5px solid var(--Gray-200, #eaecf0);
|
|
29
32
|
|
|
30
33
|
.quick-order-product-dropdown-section {
|
|
31
34
|
width: 320px;
|
|
32
35
|
height: 40px;
|
|
33
|
-
border: 0.5px solid #d0d5dd;
|
|
36
|
+
// border: 0.5px solid #d0d5dd;
|
|
34
37
|
border-radius: 4px;
|
|
35
|
-
|
|
38
|
+
.dropdown-input-section {
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
border: 0.5px solid var(--Gray-300, #d0d5dd);
|
|
41
|
+
display: flex;
|
|
42
|
+
width: 320px;
|
|
43
|
+
padding: 8px 12px;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
align-items: center;
|
|
46
|
+
input {
|
|
47
|
+
color: $text-color;
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
line-height: 24px; /* 150% */
|
|
51
|
+
}
|
|
52
|
+
}
|
|
36
53
|
.dropdown-input-section {
|
|
37
54
|
padding: 0px 12px;
|
|
38
55
|
|
|
@@ -77,17 +94,19 @@ $input-padding: 10px 12px;
|
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
.or-text {
|
|
80
|
-
|
|
81
|
-
font-
|
|
82
|
-
|
|
83
|
-
font-
|
|
97
|
+
color: var(--Gray-600, #475467);
|
|
98
|
+
font-family: Lato;
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
line-height: 20px;
|
|
84
103
|
}
|
|
85
104
|
|
|
86
105
|
.add-btn {
|
|
87
106
|
background-color: $primary;
|
|
88
107
|
color: $white;
|
|
89
108
|
padding: 10px 16px;
|
|
90
|
-
border-radius:
|
|
109
|
+
border-radius: 4px;
|
|
91
110
|
font-weight: 600;
|
|
92
111
|
font-size: 14px;
|
|
93
112
|
cursor: pointer;
|
|
@@ -117,3 +136,12 @@ $input-padding: 10px 12px;
|
|
|
117
136
|
}
|
|
118
137
|
}
|
|
119
138
|
}
|
|
139
|
+
.cart_products_wrapper {
|
|
140
|
+
padding: 12px;
|
|
141
|
+
.emptyData {
|
|
142
|
+
color: $text-color;
|
|
143
|
+
font-size: 16px;
|
|
144
|
+
font-weight: 400;
|
|
145
|
+
line-height: 24px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
@use "./prefix-list.scss" as *;
|
|
5
|
+
@use "./functions.scss" as *;
|
|
6
|
+
|
|
7
|
+
$rb_cls: ".flx__rb__fxd";
|
|
8
|
+
$elementSelector: '[data-div-type="element"]';
|
|
9
|
+
$fullView: '[data-view-state="full"]';
|
|
10
|
+
$var: "--_sf-width-rb-vl";
|
|
11
|
+
|
|
12
|
+
@mixin FlexElementResponsiveBehaviourStyles() {
|
|
13
|
+
#{$elementSelector} {
|
|
14
|
+
&#{$rb_cls} {
|
|
15
|
+
&:not(#{$fullView}) {
|
|
16
|
+
@include FlexUpdatedPrefixCSSVariable(#{$var});
|
|
17
|
+
width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
package/dist/section.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@use "./functions.scss" as *;
|
|
4
|
+
@use "./position-module.scss" as *;
|
|
5
|
+
@use "./animation-control.scss" as *;
|
|
6
|
+
@use "./responsive-behaviour.scss" as *;
|
|
4
7
|
|
|
5
8
|
$activeElementSelector: "[data-has-clicked='true']";
|
|
6
9
|
$repeterLElement: '[data-element-type="repeater"]';
|
|
@@ -11,7 +14,7 @@ $mb: "mb_d_none";
|
|
|
11
14
|
$rp: (
|
|
12
15
|
class: (
|
|
13
16
|
#{$tb}: (
|
|
14
|
-
|
|
17
|
+
laptop: (
|
|
15
18
|
display: "none !important",
|
|
16
19
|
),
|
|
17
20
|
),
|
|
@@ -29,13 +32,17 @@ $rp: (
|
|
|
29
32
|
);
|
|
30
33
|
|
|
31
34
|
body {
|
|
35
|
+
// Responsive
|
|
32
36
|
@include prepareCustomClassCSSProps($rp);
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
// Animation
|
|
39
|
+
@include FlexAnimationModuleStyles();
|
|
40
|
+
|
|
41
|
+
// Position
|
|
42
|
+
@include FlexPositionModuleStyles();
|
|
43
|
+
|
|
44
|
+
// Responsive
|
|
45
|
+
@include FlexElementResponsiveBehaviourStyles();
|
|
39
46
|
}
|
|
40
47
|
|
|
41
48
|
section {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
$primary-color: #243dc6;
|
|
6
6
|
$text-color: #2d2d2d;
|
|
7
7
|
$background-color: #ffffff;
|
|
8
|
-
$border-radius:
|
|
8
|
+
$border-radius: 6px;
|
|
9
9
|
$input-border: #e0e0e0;
|
|
10
10
|
$error-color: #e53935;
|
|
11
11
|
$hint-color: #7d7d7d;
|
|
@@ -46,10 +46,10 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
animation: slide-in 0.3s ease-out;
|
|
48
48
|
.container {
|
|
49
|
-
padding: 0px 24px;
|
|
50
49
|
overflow-y: auto;
|
|
51
50
|
width: 100%;
|
|
52
51
|
height: calc(100vh - 40px);
|
|
52
|
+
padding: 0px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@keyframes slide-in {
|
|
@@ -67,11 +67,11 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
67
67
|
display: flex;
|
|
68
68
|
justify-content: space-between;
|
|
69
69
|
align-items: center;
|
|
70
|
-
padding: 16px
|
|
70
|
+
padding: 16px 24px;
|
|
71
71
|
position: sticky;
|
|
72
72
|
top: 0px;
|
|
73
|
-
background:
|
|
74
|
-
|
|
73
|
+
background: var(--_base-white);
|
|
74
|
+
border-bottom: 1px solid var(--_gray-200);
|
|
75
75
|
|
|
76
76
|
h2 {
|
|
77
77
|
font-size: 18px;
|
|
@@ -88,6 +88,10 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
.share_cart_body {
|
|
92
|
+
padding: 16px 24px;
|
|
93
|
+
}
|
|
94
|
+
|
|
91
95
|
// Form fields
|
|
92
96
|
.form-group {
|
|
93
97
|
display: flex;
|
|
@@ -109,6 +113,7 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
109
113
|
|
|
110
114
|
&:focus {
|
|
111
115
|
border-color: $primary-color;
|
|
116
|
+
outline: 2px solid var(--_primary-200);
|
|
112
117
|
}
|
|
113
118
|
}
|
|
114
119
|
|
|
@@ -130,11 +135,11 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
130
135
|
display: flex;
|
|
131
136
|
flex-wrap: wrap;
|
|
132
137
|
align-items: center;
|
|
133
|
-
gap: 6px;
|
|
134
|
-
padding: 8px 0px;
|
|
135
|
-
border: 1px solid #ccc;
|
|
136
|
-
border-radius: 8px;
|
|
137
|
-
min-height: 44px;
|
|
138
|
+
// gap: 6px;
|
|
139
|
+
// padding: 8px 0px;
|
|
140
|
+
// border: 1px solid #ccc;
|
|
141
|
+
// border-radius: 8px;
|
|
142
|
+
// min-height: 44px;
|
|
138
143
|
cursor: text;
|
|
139
144
|
}
|
|
140
145
|
|
|
@@ -172,7 +177,9 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
172
177
|
.sidebar-footer {
|
|
173
178
|
margin-top: auto;
|
|
174
179
|
display: flex;
|
|
175
|
-
justify-content:
|
|
180
|
+
justify-content: end;
|
|
181
|
+
align-items: center;
|
|
182
|
+
gap: 24px;
|
|
176
183
|
padding: 12px;
|
|
177
184
|
border-top: 1px solid #eee;
|
|
178
185
|
|
|
@@ -181,7 +188,13 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
181
188
|
border: none;
|
|
182
189
|
color: $text-color;
|
|
183
190
|
cursor: pointer;
|
|
184
|
-
font-weight:
|
|
191
|
+
font-weight: 600;
|
|
192
|
+
|
|
193
|
+
padding: 12px 14px;
|
|
194
|
+
border-radius: 6px;
|
|
195
|
+
&:hover {
|
|
196
|
+
background: var(--_gray-100);
|
|
197
|
+
}
|
|
185
198
|
}
|
|
186
199
|
|
|
187
200
|
.share-btn {
|
|
@@ -209,16 +222,18 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
209
222
|
}
|
|
210
223
|
}
|
|
211
224
|
|
|
212
|
-
.form-group.
|
|
225
|
+
.form-group.get_promotons {
|
|
213
226
|
display: flex;
|
|
214
|
-
align-items: center;
|
|
227
|
+
// align-items: center;
|
|
215
228
|
gap: 8px; // spacing between checkbox and label
|
|
216
229
|
margin-top: 12px;
|
|
230
|
+
flex-direction: row;
|
|
217
231
|
|
|
218
232
|
input[type="checkbox"] {
|
|
219
233
|
width: 16px;
|
|
220
234
|
height: 16px;
|
|
221
235
|
cursor: pointer;
|
|
236
|
+
accent-color: var(--_primary-400);
|
|
222
237
|
}
|
|
223
238
|
|
|
224
239
|
label {
|