@weareconceptstudio/account 0.1.8 → 0.2.0
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/components/WarningMessage/index.js +3 -3
- package/dist/modules/account/AccountSettingsTemplate/AccountPassword/utils.js +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/utils.js +1 -1
- package/dist/modules/auth/SignInTemplate/utils.d.ts +12 -2
- package/dist/modules/auth/SignInTemplate/utils.js +0 -1
- package/dist/modules/auth/SignUpTemplate/utils.js +1 -1
- package/dist/modules/cart/CartTemplate/style.js +14 -6
- package/dist/modules/cart/SimpleItems/style.js +267 -265
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ import { Text } from '@weareconceptstudio/core';
|
|
|
3
3
|
//* Style
|
|
4
4
|
import WarningMessageStyle from './style';
|
|
5
5
|
const WarningMessage = Memo(({ error, isSent, successTitle, successSubtitle }) => {
|
|
6
|
-
return ((isSent || error) && (React.createElement(WarningMessageStyle, { className: `message-container
|
|
7
|
-
React.createElement(Text, { className: `account-p account-p4 message-title account-font-bold
|
|
8
|
-
!error && (React.createElement(Text, { className: `account-p account-p4 message-subtitle account-font-regular
|
|
6
|
+
return ((isSent || error) && (React.createElement(WarningMessageStyle, { className: `message-container account-${error ? 'error' : 'success'}-color-bg` },
|
|
7
|
+
React.createElement(Text, { className: `account-p account-p4 message-title account-font-bold account-${error ? 'error' : 'success'}-color`, text: error || successTitle }),
|
|
8
|
+
!error && (React.createElement(Text, { className: `account-p account-p4 message-subtitle account-font-regular account-${error ? 'error' : 'success'}-color`, text: successSubtitle })))));
|
|
9
9
|
});
|
|
10
10
|
export default WarningMessage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const defaultFormFields: {
|
|
1
|
+
export declare const defaultFormFields: ({
|
|
2
2
|
fieldType: string;
|
|
3
3
|
labelProps: {
|
|
4
4
|
label: string;
|
|
@@ -10,4 +10,14 @@ export declare const defaultFormFields: {
|
|
|
10
10
|
fieldProps: {
|
|
11
11
|
placeholder: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
} | {
|
|
14
|
+
fieldType: string;
|
|
15
|
+
labelProps: {
|
|
16
|
+
label: string;
|
|
17
|
+
name: string;
|
|
18
|
+
rules?: undefined;
|
|
19
|
+
};
|
|
20
|
+
fieldProps: {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
};
|
|
23
|
+
})[];
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
const CartTemplateStyle = styled.section `
|
|
3
|
+
--account_backToShopIconSize: var(--sp3x);
|
|
3
4
|
--account_continueShopTextMT: var(--sp7x);
|
|
4
5
|
|
|
5
|
-
.continue-shop-text {
|
|
6
|
-
margin-top: var(--account_continueShopTextMT);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
6
|
.back-to-shop {
|
|
10
7
|
margin-bottom: calc(var(--account_continueShopTextMT) + var(--sp2x));
|
|
11
8
|
|
|
@@ -29,8 +26,8 @@ const CartTemplateStyle = styled.section `
|
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
svg {
|
|
32
|
-
width: var(--
|
|
33
|
-
height: var(--
|
|
29
|
+
width: var(--account_backToShopIconSize);
|
|
30
|
+
height: var(--account_backToShopIconSize);
|
|
34
31
|
|
|
35
32
|
path {
|
|
36
33
|
transition: path var(--account_trTime);
|
|
@@ -38,31 +35,42 @@ const CartTemplateStyle = styled.section `
|
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
|
|
38
|
+
.continue-shop-text {
|
|
39
|
+
margin-top: var(--account_continueShopTextMT);
|
|
40
|
+
}
|
|
41
|
+
|
|
41
42
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXLMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeL}) {
|
|
43
|
+
--account_backToShopIconSize: var(--sp2-5x);
|
|
42
44
|
--account_continueShopTextMT: var(--sp5x);
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeLMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeM}) {
|
|
48
|
+
--account_backToShopIconSize: var(--sp2-5x);
|
|
46
49
|
--account_continueShopTextMT: var(--sp4x);
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeMMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeS}) {
|
|
53
|
+
--account_backToShopIconSize: var(--sp2-5x);
|
|
50
54
|
--account_continueShopTextMT: var(--sp4x);
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeSMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXS}) {
|
|
58
|
+
--account_backToShopIconSize: var(--sp2x);
|
|
54
59
|
--account_continueShopTextMT: var(--sp3x);
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXSMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_TabletSize}) {
|
|
63
|
+
--account_backToShopIconSize: var(--sp2x);
|
|
58
64
|
--account_continueShopTextMT: var(--sp3x);
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeS}) {
|
|
68
|
+
--account_backToShopIconSize: var(--sp2x);
|
|
62
69
|
--account_continueShopTextMT: var(--sp3x);
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeSMin}) {
|
|
73
|
+
--account_backToShopIconSize: var(--sp2x);
|
|
66
74
|
--account_continueShopTextMT: var(--sp3x);
|
|
67
75
|
}
|
|
68
76
|
`;
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
const CartItemsStyle = styled.section `
|
|
3
|
-
--
|
|
4
|
-
--
|
|
3
|
+
--account_spaceLineMTop: var(--sp3x);
|
|
4
|
+
--account_spaceLineMBot: var(--sp5x);
|
|
5
5
|
|
|
6
6
|
//! Col's width
|
|
7
|
-
--
|
|
8
|
-
/* --
|
|
9
|
-
--
|
|
10
|
-
/* --
|
|
11
|
-
--
|
|
12
|
-
--
|
|
7
|
+
--account_col1Width: 50%;
|
|
8
|
+
/* --account_col2Width: 8%; */
|
|
9
|
+
--account_col2Width: 10.5%;
|
|
10
|
+
/* --account_col3Width: 21%; */
|
|
11
|
+
--account_col3Width: 19.5%;
|
|
12
|
+
--account_col4Width: calc(100% - var(--account_col1Width) - var(--account_col2Width) - var(--account_col3Width));
|
|
13
13
|
|
|
14
14
|
//! Col's distance
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
|
|
41
|
-
--
|
|
15
|
+
--account_col1Distance: var(--sp5x);
|
|
16
|
+
--account_col2Distance: var(--sp5x);
|
|
17
|
+
--account_col3Distance: var(--sp10x);
|
|
18
|
+
--account_col4Distance: var(--sp5x);
|
|
19
|
+
|
|
20
|
+
--account_orderItemsMarTop: var(--sp16x);
|
|
21
|
+
--account_orderItemsTitleWrapPB: var(--sp3x);
|
|
22
|
+
--account_itemWrapPadTB: var(--sp5x);
|
|
23
|
+
--account_col1RightWrapML: var(--sp4x);
|
|
24
|
+
--account_rightFirstItemWrapMTop: var(--sp3x);
|
|
25
|
+
--account_rightSecondItemWrapMTop: var(--sp1-5x);
|
|
26
|
+
--account_valueMarTop: var(--sp0-5x);
|
|
27
|
+
--account_imageBorderRadius: var(--sp1x);
|
|
28
|
+
--account_imageWidth: 3.75vw;
|
|
29
|
+
--account_imageHeight: 125.5%;
|
|
30
|
+
|
|
31
|
+
--account_editBtnWrapMTop: var(--sp7x);
|
|
32
|
+
--account_favoriteAndRemoveDistance: var(--sp3x);
|
|
33
|
+
|
|
34
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
35
|
+
--account_qntPadLR: var(--sp2x);
|
|
36
|
+
--account_qntMarR: var(--sp6x);
|
|
37
|
+
|
|
38
|
+
--account_checkoutMTop: var(--sp16x);
|
|
39
|
+
--account_titleEditWrapperMBot: var(--sp5x);
|
|
40
|
+
|
|
41
|
+
--account_outOfStockMBot: var(--sp4x);
|
|
42
|
+
|
|
43
|
+
--account_cartItemSelectFixedWidth: calc(var(--sp9x) + var(--sp0-5x));
|
|
42
44
|
|
|
43
45
|
.line {
|
|
44
|
-
width: calc(100% - var(--
|
|
46
|
+
width: calc(100% - var(--account_col1Distance));
|
|
45
47
|
height: 2px;
|
|
46
48
|
background-color: var(--account_primaryColor5);
|
|
47
49
|
margin: 0 auto;
|
|
@@ -50,8 +52,8 @@ const CartItemsStyle = styled.section `
|
|
|
50
52
|
.order-items-line {
|
|
51
53
|
width: 100%;
|
|
52
54
|
border-bottom: 2px solid var(--account_primaryColor1);
|
|
53
|
-
margin-top: var(--
|
|
54
|
-
margin-bottom: var(--
|
|
55
|
+
margin-top: var(--account_spaceLineMTop);
|
|
56
|
+
margin-bottom: var(--account_spaceLineMBot);
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.order-items-table-wrap {
|
|
@@ -59,13 +61,13 @@ const CartItemsStyle = styled.section `
|
|
|
59
61
|
|
|
60
62
|
.titles-wrap,
|
|
61
63
|
.items-wrap {
|
|
62
|
-
margin-left: calc(-1 * calc(var(--
|
|
63
|
-
margin-right: calc(-1 * calc(var(--
|
|
64
|
+
margin-left: calc(-1 * calc(var(--account_col1Distance) / 2));
|
|
65
|
+
margin-right: calc(-1 * calc(var(--account_col4Distance) / 2));
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
.titles-wrap {
|
|
67
69
|
display: flex;
|
|
68
|
-
padding-bottom: var(--
|
|
70
|
+
padding-bottom: var(--account_orderItemsTitleWrapPB);
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
.items-wrap {
|
|
@@ -76,53 +78,53 @@ const CartItemsStyle = styled.section `
|
|
|
76
78
|
.col-item {
|
|
77
79
|
.image-wrapper {
|
|
78
80
|
overflow: hidden;
|
|
79
|
-
max-width: var(--
|
|
81
|
+
max-width: var(--account_imageWidth);
|
|
80
82
|
width: 100%;
|
|
81
83
|
height: fit-content;
|
|
82
|
-
border-radius: var(--
|
|
84
|
+
border-radius: var(--account_imageBorderRadius);
|
|
83
85
|
isolation: isolate;
|
|
84
86
|
|
|
85
87
|
.image-cont {
|
|
86
|
-
padding-top: var(--
|
|
88
|
+
padding-top: var(--account_imageHeight) !important;
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
.item-inner-wrapper {
|
|
92
94
|
display: flex;
|
|
93
|
-
padding: var(--
|
|
95
|
+
padding: var(--account_itemWrapPadTB) 0;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
.out-of-stock-styles {
|
|
97
|
-
margin-bottom: var(--
|
|
98
|
-
padding-left: calc(var(--
|
|
99
|
-
padding-right: calc(var(--
|
|
99
|
+
margin-bottom: var(--account_outOfStockMBot);
|
|
100
|
+
padding-left: calc(var(--account_col1Distance) / 2);
|
|
101
|
+
padding-right: calc(var(--account_col4Distance) / 2);
|
|
100
102
|
}
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
.tl-col-1 {
|
|
105
|
-
width: var(--
|
|
106
|
-
padding-left: calc(var(--
|
|
107
|
-
padding-right: calc(var(--
|
|
107
|
+
width: var(--account_col1Width);
|
|
108
|
+
padding-left: calc(var(--account_col1Distance) / 2);
|
|
109
|
+
padding-right: calc(var(--account_col1Distance) / 2);
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
.tl-col-2 {
|
|
111
|
-
width: var(--
|
|
112
|
-
/* padding-left: calc(var(--
|
|
113
|
-
/* padding-right: calc(var(--
|
|
113
|
+
width: var(--account_col2Width);
|
|
114
|
+
/* padding-left: calc(var(--account_col2Distance) / 2); */
|
|
115
|
+
/* padding-right: calc(var(--account_col2Distance) / 2); */
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
.tl-col-3 {
|
|
117
|
-
width: var(--
|
|
118
|
-
padding-left: calc(var(--
|
|
119
|
-
padding-right: calc(var(--
|
|
119
|
+
width: var(--account_col3Width);
|
|
120
|
+
padding-left: calc(var(--account_col3Distance) / 2);
|
|
121
|
+
padding-right: calc(var(--account_col3Distance) / 2);
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
.tl-col-4 {
|
|
123
|
-
width: var(--
|
|
124
|
-
padding-left: calc(var(--
|
|
125
|
-
padding-right: calc(var(--
|
|
125
|
+
width: var(--account_col4Width);
|
|
126
|
+
padding-left: calc(var(--account_col4Distance) / 2);
|
|
127
|
+
padding-right: calc(var(--account_col4Distance) / 2);
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
.col-item-1 {
|
|
@@ -130,7 +132,7 @@ const CartItemsStyle = styled.section `
|
|
|
130
132
|
|
|
131
133
|
.col-1-right-wrap {
|
|
132
134
|
flex: 1;
|
|
133
|
-
margin-left: var(--
|
|
135
|
+
margin-left: var(--account_col1RightWrapML);
|
|
134
136
|
overflow-wrap: anywhere;
|
|
135
137
|
|
|
136
138
|
.title-btn {
|
|
@@ -151,15 +153,15 @@ const CartItemsStyle = styled.section `
|
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
.right-first-item-wrap {
|
|
154
|
-
margin-top: var(--
|
|
156
|
+
margin-top: var(--account_rightFirstItemWrapMTop);
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
.right-second-item-wrap {
|
|
158
|
-
margin-top: var(--
|
|
160
|
+
margin-top: var(--account_rightSecondItemWrapMTop);
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
.empty {
|
|
162
|
-
margin-top: var(--
|
|
164
|
+
margin-top: var(--account_editBtnWrapMTop);
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
}
|
|
@@ -172,7 +174,7 @@ const CartItemsStyle = styled.section `
|
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
.value {
|
|
175
|
-
margin-top: var(--
|
|
177
|
+
margin-top: var(--account_valueMarTop);
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
.col-item-4 {
|
|
@@ -186,7 +188,7 @@ const CartItemsStyle = styled.section `
|
|
|
186
188
|
justify-content: flex-end;
|
|
187
189
|
|
|
188
190
|
.favorite-btn-wrap {
|
|
189
|
-
margin-right: var(--
|
|
191
|
+
margin-right: var(--account_favoriteAndRemoveDistance);
|
|
190
192
|
|
|
191
193
|
.wishlist-btn {
|
|
192
194
|
&.active {
|
|
@@ -205,12 +207,12 @@ const CartItemsStyle = styled.section `
|
|
|
205
207
|
|
|
206
208
|
.tl-col-2 {
|
|
207
209
|
.select-and-out-of-stock-wrap {
|
|
208
|
-
width:
|
|
210
|
+
width: var(--account_cartItemSelectFixedWidth);
|
|
209
211
|
|
|
210
212
|
.react-select-container {
|
|
211
213
|
.react-select__control {
|
|
212
|
-
padding: var(--
|
|
213
|
-
gap: var(--
|
|
214
|
+
padding: var(--account_qntPadTB) var(--account_qntPadLR);
|
|
215
|
+
gap: var(--account_qntPadLR);
|
|
214
216
|
|
|
215
217
|
.react-select__value-container {
|
|
216
218
|
padding: 0;
|
|
@@ -230,7 +232,7 @@ const CartItemsStyle = styled.section `
|
|
|
230
232
|
|
|
231
233
|
.react-select__menu {
|
|
232
234
|
.react-select__option {
|
|
233
|
-
padding: var(--
|
|
235
|
+
padding: var(--account_qntPadTB) var(--account_qntPadLR);
|
|
234
236
|
font-weight: 400;
|
|
235
237
|
}
|
|
236
238
|
}
|
|
@@ -240,302 +242,302 @@ const CartItemsStyle = styled.section `
|
|
|
240
242
|
}
|
|
241
243
|
|
|
242
244
|
&.order-individual-mt {
|
|
243
|
-
margin-top: var(--
|
|
245
|
+
margin-top: var(--account_orderItemsMarTop);
|
|
244
246
|
}
|
|
245
247
|
|
|
246
248
|
&.cart-st-wrap {
|
|
247
|
-
--
|
|
248
|
-
--
|
|
249
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
250
|
+
--account_spaceLineMBot: var(--sp7x);
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
&.checkout-mt {
|
|
252
|
-
margin-top: var(--
|
|
254
|
+
margin-top: var(--account_checkoutMTop);
|
|
253
255
|
|
|
254
256
|
.title-edit-wrapper {
|
|
255
257
|
display: flex;
|
|
256
258
|
justify-content: space-between;
|
|
257
259
|
align-items: center;
|
|
258
|
-
margin-bottom: var(--
|
|
260
|
+
margin-bottom: var(--account_titleEditWrapperMBot);
|
|
259
261
|
}
|
|
260
262
|
}
|
|
261
263
|
|
|
262
264
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXLMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeL}) {
|
|
263
|
-
--
|
|
264
|
-
--
|
|
265
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
266
|
+
--account_spaceLineMBot: var(--sp4x);
|
|
265
267
|
|
|
266
268
|
//! Col's width
|
|
267
|
-
--
|
|
268
|
-
/* --
|
|
269
|
-
--
|
|
270
|
-
/* --
|
|
271
|
-
--
|
|
269
|
+
--account_col1Width: 50%;
|
|
270
|
+
/* --account_col2Width: 8%; */
|
|
271
|
+
--account_col2Width: 12.2%;
|
|
272
|
+
/* --account_col3Width: 21%; */
|
|
273
|
+
--account_col3Width: 19%;
|
|
272
274
|
|
|
273
275
|
//! Col's distance
|
|
274
|
-
--
|
|
275
|
-
--
|
|
276
|
-
--
|
|
277
|
-
--
|
|
276
|
+
--account_col1Distance: var(--sp4x);
|
|
277
|
+
--account_col2Distance: var(--sp4x);
|
|
278
|
+
--account_col3Distance: var(--sp11x);
|
|
279
|
+
--account_col4Distance: var(--sp4x);
|
|
278
280
|
|
|
279
|
-
--
|
|
280
|
-
--
|
|
281
|
-
--
|
|
282
|
-
--
|
|
283
|
-
--
|
|
284
|
-
--
|
|
285
|
-
--
|
|
286
|
-
--
|
|
281
|
+
--account_orderItemsMarTop: var(--sp11x);
|
|
282
|
+
--account_orderItemsTitleWrapPB: var(--sp3x);
|
|
283
|
+
--account_itemWrapPadTB: var(--sp4x);
|
|
284
|
+
--account_col1RightWrapML: var(--sp3x);
|
|
285
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
286
|
+
--account_rightSecondItemWrapMTop: var(--sp1x);
|
|
287
|
+
--account_valueMarTop: 0;
|
|
288
|
+
--account_imageWidth: 4.2vw;
|
|
287
289
|
|
|
288
|
-
--
|
|
289
|
-
--
|
|
290
|
+
--account_editBtnWrapMTop: var(--sp2x);
|
|
291
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
290
292
|
|
|
291
|
-
--
|
|
292
|
-
--
|
|
293
|
-
--
|
|
293
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
294
|
+
--account_qntPadLR: var(--sp2x);
|
|
295
|
+
--account_qntMarR: var(--sp6x);
|
|
294
296
|
|
|
295
|
-
--
|
|
296
|
-
--
|
|
297
|
+
--account_checkoutMTop: var(--sp11x);
|
|
298
|
+
--account_titleEditWrapperMBot: var(--sp4x);
|
|
297
299
|
|
|
298
|
-
--
|
|
300
|
+
--account_outOfStockMBot: var(--sp3x);
|
|
299
301
|
|
|
300
302
|
&.cart-st-wrap {
|
|
301
|
-
--
|
|
302
|
-
--
|
|
303
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
304
|
+
--account_spaceLineMBot: var(--sp5x);
|
|
303
305
|
}
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeLMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeM}) {
|
|
307
|
-
--
|
|
308
|
-
--
|
|
309
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
310
|
+
--account_spaceLineMBot: var(--sp4x);
|
|
309
311
|
|
|
310
312
|
//! Col's width
|
|
311
|
-
--
|
|
312
|
-
/* --
|
|
313
|
-
--
|
|
314
|
-
/* --
|
|
315
|
-
--
|
|
313
|
+
--account_col1Width: 44%;
|
|
314
|
+
/* --account_col2Width: 12%; */
|
|
315
|
+
--account_col2Width: 16.2%;
|
|
316
|
+
/* --account_col3Width: 22%; */
|
|
317
|
+
--account_col3Width: 19.9%;
|
|
316
318
|
|
|
317
319
|
//! Col's distance
|
|
318
|
-
--
|
|
319
|
-
--
|
|
320
|
-
--
|
|
321
|
-
--
|
|
320
|
+
--account_col1Distance: var(--sp6x);
|
|
321
|
+
--account_col2Distance: var(--sp6x);
|
|
322
|
+
--account_col3Distance: var(--sp8x);
|
|
323
|
+
--account_col4Distance: var(--sp8x);
|
|
322
324
|
|
|
323
|
-
--
|
|
324
|
-
--
|
|
325
|
-
--
|
|
326
|
-
--
|
|
327
|
-
--
|
|
328
|
-
--
|
|
329
|
-
--
|
|
330
|
-
--
|
|
325
|
+
--account_orderItemsMarTop: var(--sp8x);
|
|
326
|
+
--account_orderItemsTitleWrapPB: var(--sp2x);
|
|
327
|
+
--account_itemWrapPadTB: var(--sp3x);
|
|
328
|
+
--account_col1RightWrapML: var(--sp3x);
|
|
329
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
330
|
+
--account_rightSecondItemWrapMTop: var(--sp0-5x);
|
|
331
|
+
--account_valueMarTop: 0;
|
|
332
|
+
--account_imageWidth: 4.8vw;
|
|
331
333
|
|
|
332
|
-
--
|
|
333
|
-
--
|
|
334
|
+
--account_editBtnWrapMTop: var(--sp2x);
|
|
335
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
334
336
|
|
|
335
|
-
--
|
|
336
|
-
--
|
|
337
|
-
--
|
|
337
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
338
|
+
--account_qntPadLR: var(--sp2x);
|
|
339
|
+
--account_qntMarR: var(--sp6x);
|
|
338
340
|
|
|
339
|
-
--
|
|
340
|
-
--
|
|
341
|
+
--account_checkoutMTop: var(--sp8x);
|
|
342
|
+
--account_titleEditWrapperMBot: var(--sp2x);
|
|
341
343
|
|
|
342
|
-
--
|
|
344
|
+
--account_outOfStockMBot: var(--sp3x);
|
|
343
345
|
|
|
344
346
|
&.cart-st-wrap {
|
|
345
|
-
--
|
|
346
|
-
--
|
|
347
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
348
|
+
--account_spaceLineMBot: var(--sp4x);
|
|
347
349
|
}
|
|
348
350
|
}
|
|
349
351
|
|
|
350
352
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeMMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeS}) {
|
|
351
|
-
--
|
|
352
|
-
--
|
|
353
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
354
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
353
355
|
|
|
354
356
|
//! Col's width
|
|
355
|
-
--
|
|
356
|
-
/* --
|
|
357
|
-
--
|
|
358
|
-
/* --
|
|
359
|
-
--
|
|
357
|
+
--account_col1Width: 45%;
|
|
358
|
+
/* --account_col2Width: 13%; */
|
|
359
|
+
--account_col2Width: 16.9%;
|
|
360
|
+
/* --account_col3Width: 21%; */
|
|
361
|
+
--account_col3Width: 19%;
|
|
360
362
|
|
|
361
363
|
//! Col's distance
|
|
362
|
-
--
|
|
363
|
-
--
|
|
364
|
-
--
|
|
365
|
-
--
|
|
364
|
+
--account_col1Distance: var(--sp6x);
|
|
365
|
+
--account_col2Distance: var(--sp6x);
|
|
366
|
+
--account_col3Distance: var(--sp8x);
|
|
367
|
+
--account_col4Distance: var(--sp8x);
|
|
366
368
|
|
|
367
|
-
--
|
|
368
|
-
--
|
|
369
|
-
--
|
|
370
|
-
--
|
|
371
|
-
--
|
|
372
|
-
--
|
|
373
|
-
--
|
|
374
|
-
--
|
|
369
|
+
--account_orderItemsMarTop: var(--sp8x);
|
|
370
|
+
--account_orderItemsTitleWrapPB: var(--sp2x);
|
|
371
|
+
--account_itemWrapPadTB: var(--sp3x);
|
|
372
|
+
--account_col1RightWrapML: var(--sp3x);
|
|
373
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
374
|
+
--account_rightSecondItemWrapMTop: var(--sp0-5x);
|
|
375
|
+
--account_valueMarTop: 0;
|
|
376
|
+
--account_imageWidth: 4.5vw;
|
|
375
377
|
|
|
376
|
-
--
|
|
377
|
-
--
|
|
378
|
+
--account_editBtnWrapMTop: var(--sp5x);
|
|
379
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
378
380
|
|
|
379
|
-
--
|
|
380
|
-
--
|
|
381
|
-
--
|
|
381
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
382
|
+
--account_qntPadLR: var(--sp2x);
|
|
383
|
+
--account_qntMarR: var(--sp5x);
|
|
382
384
|
|
|
383
|
-
--
|
|
384
|
-
--
|
|
385
|
+
--account_checkoutMTop: var(--sp8x);
|
|
386
|
+
--account_titleEditWrapperMBot: var(--sp3x);
|
|
385
387
|
|
|
386
|
-
--
|
|
388
|
+
--account_outOfStockMBot: var(--sp3x);
|
|
387
389
|
|
|
388
390
|
&.cart-st-wrap {
|
|
389
|
-
--
|
|
390
|
-
--
|
|
391
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
392
|
+
--account_spaceLineMBot: var(--sp4x);
|
|
391
393
|
}
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeSMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXS}) {
|
|
395
|
-
--
|
|
396
|
-
--
|
|
397
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
398
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
397
399
|
|
|
398
400
|
//! Col's width
|
|
399
|
-
--
|
|
400
|
-
/* --
|
|
401
|
-
--
|
|
402
|
-
/* --
|
|
403
|
-
--
|
|
401
|
+
--account_col1Width: 43.5%;
|
|
402
|
+
/* --account_col2Width: 14.5%; */
|
|
403
|
+
--account_col2Width: 19.3%;
|
|
404
|
+
/* --account_col3Width: 21%; */
|
|
405
|
+
--account_col3Width: 18.5%;
|
|
404
406
|
|
|
405
407
|
//! Col's distance
|
|
406
|
-
--
|
|
407
|
-
--
|
|
408
|
-
--
|
|
409
|
-
--
|
|
408
|
+
--account_col1Distance: var(--sp7x);
|
|
409
|
+
--account_col2Distance: var(--sp7x);
|
|
410
|
+
--account_col3Distance: var(--sp7x);
|
|
411
|
+
--account_col4Distance: var(--sp7x);
|
|
410
412
|
|
|
411
|
-
--
|
|
412
|
-
--
|
|
413
|
-
--
|
|
414
|
-
--
|
|
415
|
-
--
|
|
416
|
-
--
|
|
417
|
-
--
|
|
418
|
-
--
|
|
419
|
-
--
|
|
413
|
+
--account_orderItemsMarTop: var(--sp8x);
|
|
414
|
+
--account_orderItemsTitleWrapPB: var(--sp2x);
|
|
415
|
+
--account_itemWrapPadTB: var(--sp3x);
|
|
416
|
+
--account_col1RightWrapML: var(--sp2x);
|
|
417
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
418
|
+
--account_rightSecondItemWrapMTop: var(--sp1x);
|
|
419
|
+
--account_valueMarTop: 0;
|
|
420
|
+
--account_imageBorderRadius: var(--sp0-5x);
|
|
421
|
+
--account_imageWidth: 4.4vw;
|
|
420
422
|
|
|
421
|
-
--
|
|
422
|
-
--
|
|
423
|
+
--account_editBtnWrapMTop: var(--sp2x);
|
|
424
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
423
425
|
|
|
424
|
-
--
|
|
425
|
-
--
|
|
426
|
-
--
|
|
426
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
427
|
+
--account_qntPadLR: var(--sp2x);
|
|
428
|
+
--account_qntMarR: var(--sp5x);
|
|
427
429
|
|
|
428
|
-
--
|
|
429
|
-
--
|
|
430
|
+
--account_checkoutMTop: var(--sp8x);
|
|
431
|
+
--account_titleEditWrapperMBot: var(--sp4x);
|
|
430
432
|
|
|
431
|
-
--
|
|
433
|
+
--account_outOfStockMBot: var(--sp3x);
|
|
432
434
|
|
|
433
435
|
&.cart-st-wrap {
|
|
434
|
-
--
|
|
435
|
-
--
|
|
436
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
437
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
436
438
|
}
|
|
437
439
|
}
|
|
438
440
|
|
|
439
441
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_DesktopSizeXSMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_TabletSize}) {
|
|
440
|
-
--
|
|
441
|
-
--
|
|
442
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
443
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
442
444
|
|
|
443
445
|
//! Col's width
|
|
444
|
-
/* --
|
|
445
|
-
--
|
|
446
|
-
/* --
|
|
447
|
-
--
|
|
448
|
-
/* --
|
|
449
|
-
--
|
|
446
|
+
/* --account_col1Width: 46.5%; */
|
|
447
|
+
--account_col1Width: 43.5%;
|
|
448
|
+
/* --account_col2Width: 13.5%; */
|
|
449
|
+
--account_col2Width: 18.3%;
|
|
450
|
+
/* --account_col3Width: 20%; */
|
|
451
|
+
--account_col3Width: 17%;
|
|
450
452
|
|
|
451
453
|
//! Col's distance
|
|
452
|
-
--
|
|
453
|
-
--
|
|
454
|
-
--
|
|
455
|
-
--
|
|
454
|
+
--account_col1Distance: var(--sp3x);
|
|
455
|
+
--account_col2Distance: var(--sp3x);
|
|
456
|
+
--account_col3Distance: var(--sp3x);
|
|
457
|
+
--account_col4Distance: var(--sp3x);
|
|
456
458
|
|
|
457
|
-
--
|
|
458
|
-
--
|
|
459
|
-
--
|
|
460
|
-
--
|
|
461
|
-
--
|
|
462
|
-
--
|
|
463
|
-
--
|
|
464
|
-
--
|
|
465
|
-
--
|
|
459
|
+
--account_orderItemsMarTop: var(--sp8x);
|
|
460
|
+
--account_orderItemsTitleWrapPB: var(--sp2x);
|
|
461
|
+
--account_itemWrapPadTB: var(--sp3x);
|
|
462
|
+
--account_col1RightWrapML: var(--sp1x);
|
|
463
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
464
|
+
--account_rightSecondItemWrapMTop: var(--sp1x);
|
|
465
|
+
--account_valueMarTop: 0;
|
|
466
|
+
--account_imageBorderRadius: var(--sp0-5x);
|
|
467
|
+
--account_imageWidth: 3.92vw;
|
|
466
468
|
|
|
467
|
-
--
|
|
468
|
-
--
|
|
469
|
+
--account_editBtnWrapMTop: var(--sp2x);
|
|
470
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
469
471
|
|
|
470
|
-
--
|
|
471
|
-
--
|
|
472
|
-
--
|
|
472
|
+
--account_qntPadTB: var(--sp1x);
|
|
473
|
+
--account_qntPadLR: var(--sp1-5x);
|
|
474
|
+
--account_qntMarR: var(--sp5x);
|
|
473
475
|
|
|
474
|
-
--
|
|
475
|
-
--
|
|
476
|
+
--account_checkoutMTop: var(--sp8x);
|
|
477
|
+
--account_titleEditWrapperMBot: var(--sp3x);
|
|
476
478
|
|
|
477
|
-
--
|
|
479
|
+
--account_outOfStockMBot: var(--sp3x);
|
|
478
480
|
|
|
479
481
|
&.cart-st-wrap {
|
|
480
|
-
--
|
|
481
|
-
--
|
|
482
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
483
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
482
484
|
}
|
|
483
485
|
}
|
|
484
486
|
|
|
485
487
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeMin}) and (min-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeS}) {
|
|
486
|
-
--
|
|
487
|
-
--
|
|
488
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
489
|
+
--account_spaceLineMBot: var(--sp2x);
|
|
488
490
|
|
|
489
491
|
//! Col's width
|
|
490
|
-
/* --
|
|
491
|
-
--
|
|
492
|
-
/* --
|
|
493
|
-
--
|
|
494
|
-
--
|
|
492
|
+
/* --account_col1Width: 44%; */
|
|
493
|
+
--account_col1Width: 40%;
|
|
494
|
+
/* --account_col2Width: 16%; */
|
|
495
|
+
--account_col2Width: 19.5%;
|
|
496
|
+
--account_col3Width: 20%;
|
|
495
497
|
|
|
496
498
|
//! Col's distance
|
|
497
|
-
--
|
|
498
|
-
--
|
|
499
|
-
--
|
|
500
|
-
--
|
|
499
|
+
--account_col1Distance: var(--sp5x);
|
|
500
|
+
--account_col2Distance: var(--sp5x);
|
|
501
|
+
--account_col3Distance: var(--sp9x);
|
|
502
|
+
--account_col4Distance: var(--sp9x);
|
|
501
503
|
|
|
502
|
-
--
|
|
503
|
-
--
|
|
504
|
-
--
|
|
505
|
-
--
|
|
506
|
-
--
|
|
507
|
-
--
|
|
508
|
-
--
|
|
509
|
-
--
|
|
510
|
-
--
|
|
504
|
+
--account_orderItemsMarTop: var(--sp8x);
|
|
505
|
+
--account_orderItemsTitleWrapPB: var(--sp2x);
|
|
506
|
+
--account_itemWrapPadTB: var(--sp3x);
|
|
507
|
+
--account_col1RightWrapML: var(--sp2x);
|
|
508
|
+
--account_rightFirstItemWrapMTop: var(--sp2x);
|
|
509
|
+
--account_rightSecondItemWrapMTop: var(--sp1x);
|
|
510
|
+
--account_valueMarTop: 0;
|
|
511
|
+
--account_imageBorderRadius: var(--sp0-5x);
|
|
512
|
+
--account_imageWidth: 7.4vw;
|
|
511
513
|
|
|
512
|
-
--
|
|
513
|
-
--
|
|
514
|
+
--account_editBtnWrapMTop: var(--sp5x);
|
|
515
|
+
--account_favoriteAndRemoveDistance: var(--sp2x);
|
|
514
516
|
|
|
515
|
-
--
|
|
516
|
-
--
|
|
517
|
-
--
|
|
517
|
+
--account_qntPadTB: var(--sp1-5x);
|
|
518
|
+
--account_qntPadLR: var(--sp2x);
|
|
519
|
+
--account_qntMarR: var(--sp5x);
|
|
518
520
|
|
|
519
|
-
--
|
|
520
|
-
--
|
|
521
|
+
--account_checkoutMTop: var(--sp8x);
|
|
522
|
+
--account_titleEditWrapperMBot: var(--sp3x);
|
|
521
523
|
|
|
522
|
-
--
|
|
524
|
+
--account_outOfStockMBot: var(--sp2-5x);
|
|
523
525
|
|
|
524
526
|
&.cart-st-wrap {
|
|
525
|
-
--
|
|
526
|
-
--
|
|
527
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
528
|
+
--account_spaceLineMBot: var(--sp3x);
|
|
527
529
|
}
|
|
528
530
|
}
|
|
529
531
|
|
|
530
532
|
@media only screen and (max-width: ${(props) => props.theme.account.mediaQuery.account_TabletSizeSMin}) {
|
|
531
|
-
--
|
|
532
|
-
--
|
|
533
|
-
--
|
|
533
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
534
|
+
--account_spaceLineMBot: 0;
|
|
535
|
+
--account_orderItemsMarTop: var(--sp6x);
|
|
534
536
|
|
|
535
|
-
--
|
|
536
|
-
--
|
|
537
|
+
--account_checkoutMTop: var(--sp10x);
|
|
538
|
+
--account_titleEditWrapperMBot: var(--sp2x);
|
|
537
539
|
|
|
538
|
-
--
|
|
540
|
+
--account_col1Distance: 0;
|
|
539
541
|
|
|
540
542
|
.mobile-order-items-table-wrap {
|
|
541
543
|
.mobile-order-item-wrap {
|
|
@@ -581,14 +583,14 @@ const CartItemsStyle = styled.section `
|
|
|
581
583
|
}
|
|
582
584
|
|
|
583
585
|
.select-and-out-of-stock-mobile-wrap {
|
|
584
|
-
width:
|
|
586
|
+
width: var(--account_cartItemSelectFixedWidth);
|
|
585
587
|
|
|
586
588
|
.react-select-container {
|
|
587
589
|
margin-top: var(--sp3x);
|
|
588
590
|
|
|
589
591
|
.react-select__control {
|
|
590
|
-
padding: var(--
|
|
591
|
-
gap: var(--
|
|
592
|
+
padding: var(--account_qntPadTB) var(--account_qntPadLR);
|
|
593
|
+
gap: var(--account_qntPadLR);
|
|
592
594
|
|
|
593
595
|
.react-select__value-container {
|
|
594
596
|
padding: 0;
|
|
@@ -608,7 +610,7 @@ const CartItemsStyle = styled.section `
|
|
|
608
610
|
|
|
609
611
|
.react-select__menu {
|
|
610
612
|
.react-select__option {
|
|
611
|
-
padding: var(--
|
|
613
|
+
padding: var(--account_qntPadTB) var(--account_qntPadLR);
|
|
612
614
|
font-weight: 400;
|
|
613
615
|
}
|
|
614
616
|
}
|
|
@@ -641,8 +643,8 @@ const CartItemsStyle = styled.section `
|
|
|
641
643
|
}
|
|
642
644
|
|
|
643
645
|
&.cart-st-wrap {
|
|
644
|
-
--
|
|
645
|
-
--
|
|
646
|
+
--account_spaceLineMTop: var(--sp2x);
|
|
647
|
+
--account_spaceLineMBot: 0;
|
|
646
648
|
}
|
|
647
649
|
}
|
|
648
650
|
`;
|