@sc-360-v2/storefront-cms-library 0.2.48 → 0.2.49
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/builder.js +1 -1
- package/dist/cart.scss +72 -31
- package/dist/profile.scss +31 -7
- package/package.json +1 -1
package/dist/cart.scss
CHANGED
|
@@ -16,45 +16,86 @@
|
|
|
16
16
|
height: 100%;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
20
|
-
position: relative;
|
|
21
|
-
cursor: pointer;
|
|
19
|
+
.cart__section {
|
|
22
20
|
display: flex;
|
|
23
21
|
align-items: center;
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
gap: 8px;
|
|
24
|
+
.cart__div {
|
|
25
|
+
position: relative;
|
|
26
|
+
.badge {
|
|
27
|
+
height: 20px;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
background-color: #ffc402;
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: -3px;
|
|
32
|
+
display: inline-block;
|
|
33
|
+
width: 20px;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
right: -7px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
26
40
|
svg {
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
max-width: 20px;
|
|
30
|
-
max-height: 20px;
|
|
31
|
-
// width: var(--_ctm-dn-im-se-in-se, var(--_tst-dn-im-se-in-se));
|
|
32
|
-
// height: var(--_ctm-dn-im-se-in-se, var(--_tst-dn-im-se-in-se));
|
|
33
|
-
|
|
34
41
|
path {
|
|
35
|
-
|
|
42
|
+
stroke: #fff;
|
|
36
43
|
}
|
|
37
44
|
}
|
|
38
|
-
|
|
45
|
+
.cart__content {
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
list-style: none;
|
|
50
|
+
line-height: 18px;
|
|
51
|
+
color: #fff;
|
|
52
|
+
margin-left: 5px;
|
|
39
53
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
color: white;
|
|
46
|
-
font-size: 10px;
|
|
47
|
-
font-weight: bold;
|
|
48
|
-
min-width: 16px;
|
|
49
|
-
height: 16px;
|
|
50
|
-
border-radius: 30%;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
line-height: 1;
|
|
55
|
-
padding: 2px;
|
|
56
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
|
|
54
|
+
.cart__total {
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
57
59
|
}
|
|
60
|
+
// .icon {
|
|
61
|
+
// position: relative;
|
|
62
|
+
// cursor: pointer;
|
|
63
|
+
// display: flex;
|
|
64
|
+
// align-items: center;
|
|
65
|
+
// justify-content: center;
|
|
66
|
+
|
|
67
|
+
// svg {
|
|
68
|
+
// width: 100%;
|
|
69
|
+
// height: 100%;
|
|
70
|
+
// max-width: 20px;
|
|
71
|
+
// max-height: 20px;
|
|
72
|
+
// // width: var(--_ctm-dn-im-se-in-se, var(--_tst-dn-im-se-in-se));
|
|
73
|
+
// // height: var(--_ctm-dn-im-se-in-se, var(--_tst-dn-im-se-in-se));
|
|
74
|
+
|
|
75
|
+
// path {
|
|
76
|
+
// // stroke: var(--_ctm-dn-im-se-in-c1, var(--_tst-dn-im-se-in-c1));
|
|
77
|
+
// }
|
|
78
|
+
// }
|
|
79
|
+
// }
|
|
80
|
+
|
|
81
|
+
// .cart-count {
|
|
82
|
+
// position: absolute;
|
|
83
|
+
// top: 4px;
|
|
84
|
+
// right: 10px;
|
|
85
|
+
// background-color: #243dc6;
|
|
86
|
+
// color: white;
|
|
87
|
+
// font-size: 10px;
|
|
88
|
+
// font-weight: bold;
|
|
89
|
+
// min-width: 16px;
|
|
90
|
+
// height: 16px;
|
|
91
|
+
// border-radius: 30%;
|
|
92
|
+
// display: flex;
|
|
93
|
+
// align-items: center;
|
|
94
|
+
// justify-content: center;
|
|
95
|
+
// line-height: 1;
|
|
96
|
+
// padding: 2px;
|
|
97
|
+
// box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
|
|
98
|
+
// }
|
|
58
99
|
|
|
59
100
|
&[data-show-shadow="false"] {
|
|
60
101
|
--_show-shadow: none;
|
package/dist/profile.scss
CHANGED
|
@@ -19,14 +19,38 @@
|
|
|
19
19
|
--_show-shadow: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
.profile__section {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
svg {
|
|
27
|
+
path {
|
|
28
|
+
stroke: #fff;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.profile__content {
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
list-style: none;
|
|
36
|
+
line-height: 18px;
|
|
37
|
+
color: #fff;
|
|
26
38
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
.profile__icon {
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
30
44
|
}
|
|
45
|
+
|
|
46
|
+
// .icon {
|
|
47
|
+
// width: 50px;
|
|
48
|
+
// height: 50px;
|
|
49
|
+
// }
|
|
50
|
+
|
|
51
|
+
// .profile-name {
|
|
52
|
+
// font-size: 1rem;
|
|
53
|
+
// font-weight: bold;
|
|
54
|
+
// }
|
|
31
55
|
}
|
|
32
56
|
}
|