apirocket 0.2.2 → 0.3.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.
@@ -1,1305 +1,1510 @@
1
- .apirocket-checkout * { box-sizing: content-box; }
1
+ :root {
2
+ --cart-width: 540px;
3
+ --cart-background-color: #fff;
4
+ --cart-padding: 32px;
5
+ --cart-font-family: Arial, Helvetica, sans-serif;
2
6
 
3
- .apirocket-checkout {
4
- display: block;
7
+ --cart-header-background-color: #f5f5f5;
8
+ --cart-header-border-color: #f5f5f5;
9
+ --cart-header-border-width: 1px;
10
+ --cart-header-text-font-size: 18px;
11
+ --cart-header-text-font-weight: normal;
12
+ --cart-header-text-font-color: #404040;
13
+ --cart-header-text-close-icon-color: #a3a3a3;
14
+ --cart-header-text-close-icon-size: 24px;
15
+
16
+ --cart-footer-background-color: #fff;
17
+ --cart-footer-border-color: #e5e5e5;
18
+ --cart-footer-border-width: 1px;
19
+ --cart-footer-text-font-size: 16px;
20
+ --cart-footer-text-font-weight: lighter;
21
+ --cart-footer-text-font-color: #404040;
22
+ --cart-footer-total-font-size: 18px;
23
+ --cart-footer-total-font-weight: bold;
24
+ --cart-footer-total-font-color: #000;
25
+
26
+ --cart-item-border-color: #e5e5e5;
27
+ --cart-item-border-width: 1px;
28
+ --cart-item-padding: 32px;
29
+ --cart-item-label-font-size: 14px;
30
+ --cart-item-label-font-weight: lighter;
31
+ --cart-item-label-font-color: #737373;
32
+ --cart-item-image-display: inherit;
33
+ --cart-item-image-width: 100px;
34
+ --cart-item-image-width-fullscreen: 150px;
35
+ --cart-item-name-font-size: 18px;
36
+ --cart-item-name-font-weight: bold;
37
+ --cart-item-name-font-color: #000;
38
+ --cart-item-description-font-size: 14px;
39
+ --cart-item-description-font-weight: lighter;
40
+ --cart-item-description-font-color: #000;
41
+ --cart-item-delete-icon-color: #404040;
42
+ --cart-item-delete-icon-color-hover: #000;
43
+ --cart-item-delete-icon-size: 18px;
44
+ --cart-item-form-border-color: #e5e5e5;
45
+ --cart-item-form-border-color-hover: #000;
46
+ --cart-item-form-border-width: 1px;
47
+ --cart-item-form-text-size: 14px;
48
+ --cart-item-form-text-weight: normal;
49
+ --cart-item-form-text-color: #000;
50
+ --cart-item-quantity-icon-color: #737373;
51
+ --cart-item-quantity-icon-background-color: transparent;
52
+ --cart-item-quantity-icon-size: 16px;
53
+ --cart-item-price-font-size: 16px;
54
+ --cart-item-price-font-weight: bold;
55
+ --cart-item-price-font-color: #404040;
56
+
57
+ --cart-button-font-size: 16px;
58
+ --cart-button-font-weight: normal;
59
+ --cart-button-font-color: #737373;
60
+ --cart-button-font-color-hover: #404040;
61
+ --cart-button-border-color: #e5e5e5;
62
+ --cart-button-border-color-hover: #404040;
63
+ --cart-button-border-radius: 4px;
64
+ --cart-button-background-color: transparent;
65
+ --cart-button-background-color-hover: transparent;
66
+ --cart-button-padding-x: 16px;
67
+ --cart-button-padding-y: 16px;
68
+
69
+ --cart-button-primary-text-color: #fff;
70
+ --cart-button-primary-text-color-hover: #fff;
71
+ --cart-button-primary-border-color: #1d4ed8;
72
+ --cart-button-primary-border-color-hover: #0d59f4;
73
+ --cart-button-primary-background-color: #1d4ed8;
74
+ --cart-button-primary-background-color-hover: #0d59f4;
75
+ /* --cart-shadow-button-primary-hover: 0 10px 4px -8px rgba(0,0,0,.5); */
76
+ }
77
+
78
+ .apirocket-cart * { box-sizing: content-box; }
79
+
80
+ .apirocket-cart {
5
81
  position: fixed;
6
82
  z-index: 10000;
7
83
  right: 0;
8
84
  top: 0;
9
85
  overflow: hidden;
10
- overflow-y: auto;
11
- width: 100%;
86
+ width: var(--cart-width, 540px);
12
87
  height: 100vh;
88
+ box-shadow: 1px 20px 8px rgba(0,0,0,.1);
13
89
  font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
14
- background-color: #fff;
90
+ background-color: var(--cart-background-color, #fff);
15
91
  }
16
92
 
17
- .apirocket-checkout-wrap {
93
+ .apirocket-cart-content {
18
94
  display: flex;
19
- margin: 0 auto;
20
- width: 90%;
21
- min-height: 100%;
22
- max-width: 1100px;
23
- padding: 0 5%;
24
-
95
+ flex-direction: column;
96
+ height: 100%;
97
+ background-color: var(--cart-background-color, #fff);
25
98
  }
26
99
 
27
- .apirocket-checkout-main {
28
- order: 1;
29
- width: 52%;
30
- padding-right: 48px;
100
+ .apirocket-cart-header {
101
+ display: flex;
102
+ flex: 0 0 96px;
103
+ align-items: center;
104
+ justify-content: space-between;
105
+ padding: 0px var(--cart-padding);
106
+ background-color: var(--cart-header-background-color, #f5f5f5);
107
+ border-bottom: var(--cart-header-border-width, 1px) solid var(--cart-header-border-color, #f5f5f5);
31
108
  }
32
109
 
33
- .apirocket-checkout-summary {
34
- order: 2;
35
- position: relative;
36
- width: 40%;
37
- padding-left: 48px;
110
+ .apirocket-cart-header-title {
111
+ font-size: var(--cart-header-text-font-size, 18px);
112
+ font-weight: var(--cart-header-text-font-weight, normal);
113
+ color: var(--cart-header-text-font-color, #404040)
38
114
  }
39
115
 
40
- .apirocket-checkout-summary::after {
41
- position: absolute;
42
- display: block;
43
- top: 0;
44
- left: 0;
45
- content: "";
46
- width: 300%;
47
- height: 100%;
48
- background: #f5f5f5;
49
- z-index: -1;
116
+ .apirocket-cart-header-close-icon {
117
+ height: var(--cart-header-text-close-icon-size, 24px);
118
+ width: var(--cart-header-text-close-icon-size, 24px);
119
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
120
+ cursor: pointer;
50
121
  }
51
122
 
52
- .apirocket-checkout-continue {
53
- display: flex;
123
+ .apirocket-cart-header-continue {
124
+ display: none;
54
125
  align-items: center;
55
126
  text-align: left;
56
- margin-top: 40px;
57
- margin-bottom: 40px;
58
127
  color: #737373;
59
128
  font-size: 16px;
60
129
  font-weight: normal;
61
130
  cursor: pointer;
62
131
  }
63
132
 
64
- .apirocket-checkout-close {
133
+ .apirocket-cart-header-login {
65
134
  display: none;
135
+ align-items: center;
136
+ text-align: right;
137
+ color: #737373;
138
+ font-size: 16px;
139
+ font-weight: normal;
66
140
  cursor: pointer;
67
- position: absolute;
68
- top: 16px;
69
- right: 32px;
70
141
  }
71
142
 
72
- .apirocket-checkout-summary-container {
73
- display: flex;
74
- flex-flow: column;
75
- max-height: calc(100vh - 5%);
76
- overflow: hidden;
77
- }
143
+ .apirocket-cart-header-login svg,
144
+ .apirocket-cart-header-continue svg { margin-right: 16px; }
78
145
 
79
- .apirocket-checkout-summary-top {
80
- flex: 0 0 auto;
146
+ .apirocket-cart-body {
147
+ flex: 1 1 auto;
148
+ padding: 0px;
149
+ background: var(--cart-background-color, #fff);
150
+ overflow-y: auto;
81
151
  }
82
152
 
83
- .apirocket-checkout-summary-content {
84
- flex: 1 1 auto;
85
- overflow-y: scroll;
153
+ .apirocket-cart-body-message {
154
+ font-size: 18px;
155
+ font-weight: var(--cart-item-description-font-weight, lighter);
156
+ color: #666;
157
+ padding: var(--cart-item-padding, 32px) var(--cart-padding, 32px);
158
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
86
159
  }
87
160
 
88
- .apirocket-checkout-summary-footer {
161
+ .apirocket-cart-footer {
89
162
  flex: 0 0 auto;
163
+ padding: var(--cart-padding, 32px);
164
+ background-color: var(--cart-footer-background-color, transparent);
165
+ border-top: var(--cart-footer-border-width, 1px) solid var(--cart-footer-border-color, #e5e5e5);
166
+ font-size: var(--cart-footer-text-font-size, 16px);
167
+ font-weight: var(--cart-footer-text-font-weight, lighter);
168
+ color: var(--cart-footer-text-font-color, #737373);
90
169
  }
91
170
 
92
- .apirocket-checkout-summary-login {
93
- display: flex;
94
- align-items: center;
95
- justify-content: end;
96
- text-align: right;
97
- margin-top: 40px;
98
- margin-bottom: 40px;
99
- color: #737373;
100
- font-size: 16px;
101
- font-weight: normal;
102
- cursor: pointer;
171
+ .apirocket-cart-footer-total {
172
+ font-size: var(--cart-footer-total-font-size, 18px);
173
+ font-weight: var(--cart-footer-total-font-weight, bold);
174
+ color: var(--cart-footer-total-font-color, #000);
103
175
  }
104
176
 
105
- .apirocket-checkout-summary-login svg,
106
- .apirocket-checkout-continue svg { margin-right: 16px; }
107
-
108
- .apirocket-checkout-summary-header {
177
+ .apirocket-cart-row {
109
178
  display: flex;
110
179
  justify-content: space-between;
111
180
  align-items: center;
112
- margin-top: 56px;
113
- margin-bottom: 48px;
114
181
  }
115
182
 
116
- .apirocket-checkout-summary-header :last-child a {
117
- font-size: 14px;
118
- font-weight: normal;
119
- color: #737373;
183
+ .apirocket-cart-col {
184
+ flex: 1 1 auto;
185
+ margin-bottom: 16px;
120
186
  }
121
187
 
122
- .apirocket-checkout-summary-item {
123
- display: flex;
124
- justify-content: stretch;
125
- align-items: flex-start;
126
- padding-bottom: 16px;
127
- border-bottom: 1px solid #d9d9d9;
128
- margin-bottom: 16px;
188
+ .apirocket-cart-item {
189
+ padding: var(--cart-item-padding, 32px) var(--cart-padding, 32px);
190
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
129
191
  }
130
192
 
131
- .apirocket-checkout-summary-item-col-image {
132
- flex: 0 0 auto;
133
- max-width: 100px;
134
- border: 1px solid #e5e5e5;
135
- border-radius: 4px;
136
- overflow: hidden;
193
+ .apirocket-cart-item:last-child {
194
+ border-bottom: none;
195
+ margin-bottom: var(--cart-padding, 32px);
137
196
  }
138
197
 
139
- .apirocket-checkout-summary-item-col-image img {
140
- display: block;
141
- max-width: 100%;
142
- max-height: 100px;
198
+ .apirocket-cart-item-row {
199
+ display: flex;
200
+ justify-content: space-between;
201
+ align-items: center;
143
202
  }
144
203
 
145
- .apirocket-checkout-summary-item-col-description {
146
- flex: 1 1 auto;
147
- padding-left: 16px;
148
- padding-right: 8px;
149
- font-size: 14px;
150
- font-weight: bold;
151
- line-height: 18px;
204
+ .apirocket-cart-item-col-image {
205
+ display: var(--cart-item-image-display, inherit);
206
+ flex: 0 0 var(--cart-item-image-width, 100px);
207
+ align-self: flex-start;
208
+ margin-right: 16px;
152
209
  }
153
210
 
154
- .apirocket-checkout-summary-item-col-description small {
211
+ .apirocket-cart-item-col-image img {
155
212
  display: block;
156
- font-size: 14px;
157
- font-weight: normal;
158
- color: #a3a3a3;
213
+ max-width: 100%;
159
214
  }
160
215
 
161
- .apirocket-checkout-summary-item-col-quantity {
162
- flex: 0 0 50px;
163
- font-size: 16px;
164
- font-weight: normal;
165
- color: #a3a3a3;
166
- text-align: right;
167
- }
168
-
169
- .apirocket-checkout-summary-item-col-price {
170
- flex: 0 0 100px;
171
- font-size: 16px;
172
- font-weight: bold;
173
- color: #404040;
174
- text-align: right;
175
- }
176
-
177
- .apirocket-checkout-summary-row {
178
- display: flex;
179
- justify-content: space-between;
180
- align-items: center;
181
- padding-top: 16px;
182
- }
183
-
184
- .apirocket-checkout-summary-label {
185
- font-size: 16px;
186
- font-weight: normal;
187
- line-height: 18px;
188
- color: #404040;
189
- }
190
-
191
- .apirocket-checkout-summary-value {
192
- font-size: 18px;
193
- font-weight: bold;
194
- line-height: 18px;
195
- color: #404040;
196
- }
197
-
198
- .apirocket-checkout-summary-row-total {
199
- display: flex;
200
- justify-content: space-between;
201
- align-items: flex-start;
202
- border-top: 1px solid #d9d9d9;
203
- margin-top: 24px;
204
- padding-top: 24px;
205
- }
206
-
207
- .apirocket-checkout-summary-label-total {
208
- font-size: 18px;
209
- font-weight: bold;
210
- line-height: 21px;
211
- color: #404040;
212
- }
213
- .apirocket-checkout-summary-label-total small {
214
- display: block;
215
- font-size: 14px;
216
- line-height: 16px;
217
- font-weight: normal;
218
- color: #a3a3a3;
216
+ .apirocket-cart-item-col-description {
217
+ align-self: flex-start;
218
+ padding-right: 32px;
219
+ flex-grow: 1;
219
220
  }
220
221
 
221
- .apirocket-checkout-summary-value-total {
222
- font-size: 24px;
223
- font-weight: bold;
224
- line-height: 24px;
225
- color: #404040;
222
+ .apirocket-cart-item-col-description-name {
223
+ font-size: var(--cart-item-name-font-size, 18px);
224
+ font-weight: var(--cart-item-name-font-weight, bold);
225
+ color: var(--cart-item-name-font-color, #000);
226
226
  }
227
227
 
228
- .apirocket-checkout-breadcrumbs ol {
229
- display: flex;
230
- align-items: center;
231
- list-style: none;
232
- padding: 0;
233
- margin: 0;
234
- margin-top: 24px;
228
+ .apirocket-cart-item-col-description-text {
229
+ font-size: var(--cart-item-description-font-size, 14px);
230
+ font-weight: var(--cart-item-description-font-weight, lighter);
231
+ color: var(--cart-item-description-font-color, #000);
235
232
  }
236
233
 
237
- .apirocket-checkout-breadcrumbs ol li {
234
+ .apirocket-cart-item-col-delete {
235
+ flex: 1 0 auto;
236
+ align-self: flex-start;
237
+ color: var(--cart-item-delete-icon-color, #404040);
238
+ width: var(--cart-item-delete-icon-size, 24px);
238
239
  cursor: pointer;
239
- color: #a3a3a3;
240
- font-size: 14px;
241
- line-height: 1;
240
+ text-align: center;
242
241
  }
243
242
 
244
- .apirocket-checkout-breadcrumbs ol li::after {
245
- width: 5px;
246
- height: 9px;
247
- display: inline-block;
248
- content: "";
249
- background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 9'%3E%3Cpath d='M1.164.2a.682.682 0 00-.964.964l3.154 3.154L.2 7.472a.682.682 0 10.964.965L4.8 4.8a.682.682 0 000-.964L1.164.2z' fill='%23A3A3A3'/%3E%3C/svg%3E");
250
- background-repeat: no-repeat;
251
- background-position: center;
252
- padding: 0 8px;
243
+ .apirocket-cart-item-col-delete:hover {
244
+ color: var(--cart-item-delete-icon-color-hover, #000);
253
245
  }
254
246
 
255
- .apirocket-checkout-breadcrumbs ol li:last-child::after { display: none; }
256
-
257
- .apirocket-checkout-breadcrumbs ol li a {
258
- color: #a3a3a3;
259
- text-decoration: underline;
247
+ .apirocket-cart-item-col-delete svg {
248
+ width: var(--cart-item-delete-icon-size, 18px);
249
+ height: var(--cart-item-delete-icon-size, 18px);
260
250
  }
261
251
 
262
- .apirocket-checkout-breadcrumbs-active {
263
- font-weight: bold;
264
- color: #404040 !important;
252
+ .apirocket-cart-item-label {
253
+ font-size: var(--cart-item-label-font-size, 14px);
254
+ font-weight: var(--cart-item-label-font-weight, lighter);
255
+ color: var(--cart-item-label-font-color, #737373);
256
+ margin-bottom: 4px;
265
257
  }
266
258
 
267
- .apirocket-checkout-steps-summary {
268
- border: 1px solid #d9d9d9;
269
- border-radius: 4px;
270
- overflow: hidden;
271
- margin-top: 48px;
259
+ .apirocket-cart-item-col-quantity {
260
+ margin-top: 16px;
272
261
  }
273
262
 
274
- .apirocket-checkout-steps-summary-row {
263
+ .apirocket-cart-item-quantity-wrapper {
275
264
  display: flex;
276
- position: relative;
277
- border-bottom: 1px solid #d9d9d9;
278
- padding: 16px;
265
+ justify-content: space-between;
266
+ border: var(--cart-item-form-border-width, 1px) solid var(--cart-item-form-border-color, #e5e5e5);
267
+ min-width: 160px;
268
+ user-select: none;
269
+ transition-property: border-color;
270
+ transition-timing-function: ease;
271
+ transition-duration: 350ms;
279
272
  }
280
273
 
281
- .apirocket-checkout-steps-summary-label {
282
- flex: 0 0 90px;
283
- font-size: 14px;
284
- font-weight: normal;
285
- line-height: 14px;
286
- color: #a3a3a3;
274
+ .apirocket-cart-item-quantity-wrapper:hover {
275
+ border-color: var(--cart-item-form-border-color-hover, #000);
287
276
  }
288
277
 
289
- .apirocket-checkout-steps-summary-text {
278
+ .apirocket-cart-item-quantity-number {
290
279
  flex: 1 1 auto;
291
- font-size: 14px;
292
- font-weight: normal;
293
- line-height: 18px;
294
- color: #404040;
280
+ font-size: var(--cart-item-form-text-size, 14px);
281
+ font-weight: var(--cart-item-form-text-weight, normal);
282
+ color: var(--cart-item-form-text-color, #000);
283
+ padding: 16px;
284
+ line-height: 1;
285
+ text-align: center;
295
286
  }
296
287
 
297
- .apirocket-checkout-steps-summary-link {
298
- flex: 0 0 60px;
299
- text-align: right;
300
- font-size: 12px;
301
- font-weight: normal;
302
- line-height: 1;
303
- text-decoration: underline;
304
- color: #737373;
288
+ .apirocket-cart-item-quantity-button {
289
+ display: flex;
290
+ align-items: center;
291
+ background-color: var(--cart-item-quantity-icon-background-color, transparent);
292
+ padding: 0px 12px;
305
293
  cursor: pointer;
306
294
  }
307
295
 
308
- .apirocket-checkout-section {
309
- margin-top: 48px;
296
+ .apirocket-cart-item-quantity-button svg {
297
+ color: var(--cart-item-quantity-icon-color, #737373);
298
+ width: var(--cart-item-quantity-icon-size, 16px);
299
+ height: var(--cart-item-quantity-icon-size, 16px);
310
300
  }
311
301
 
312
- .apirocket-checkout-section-header {
313
- margin-bottom: 24px;
302
+ .apirocket-cart-item-col-price {
303
+ margin-top: 36px;
304
+ font-size: var(--cart-item-price-font-size, 16px);
305
+ font-weight: var(--cart-item-price-font-weight, normal);
306
+ color: var(--cart-item-price-font-color, #404040);
314
307
  }
315
308
 
316
- .apirocket-checkout-section-title {
317
- font-size: 18px;
318
- font-weight: bold;
319
- line-height: 1;
320
- color: #404040;
321
- }
322
309
 
323
- .apirocket-checkout-section-subtitle {
324
- font-size: 12px;
325
- font-weight: normal;
326
- padding-top: 4px;
327
- line-height: 1;
328
- color: #a3a3a3;
329
- text-align: right;
330
- }
310
+ @media (min-width: 720px) {
331
311
 
332
- .apirocket-checkout-button-edit {
333
- cursor: pointer;
334
- }
312
+ .apirocket-cart.apirocket-cart-full-screen {
313
+ width: 100%;
314
+ overflow-y: auto;
315
+ }
335
316
 
336
- .apirocket-checkout-button-edit:hover {
337
- text-decoration: underline;
338
- }
317
+ .apirocket-cart-full-screen .apirocket-cart-content {
318
+ display: block;
319
+ width: 90%;
320
+ max-width: 980px;
321
+ margin: 0 auto;
322
+ }
339
323
 
340
- .apirocket-checkout-section a {
341
- color: #404040;
342
- outline: none;
343
- text-decoration: underline;
344
- }
324
+ .apirocket-cart-full-screen .apirocket-cart-header {
325
+ background-color: #fff;
326
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
327
+ padding: 40px 0px;
328
+ }
345
329
 
346
- .apirocket-checkout-section-text {
347
- font-size: 14px;
348
- line-height: 1;
349
- margin-top: 4px;
350
- color: #737373;
351
- }
330
+ .apirocket-cart-full-screen .apirocket-cart-header-continue { display: flex; }
331
+ .apirocket-cart-full-screen .apirocket-cart-header-login { display: flex; }
352
332
 
353
- .apirocket-checkout-actions {
354
- display: flex;
355
- margin-top: 64px;
356
- align-items: center;
357
- max-width: 100%;
358
- }
333
+ .apirocket-cart-full-screen .apirocket-cart-header-close { display: none; }
359
334
 
360
- .apirocket-checkout-actions > * { flex: 1 1; }
335
+ .apirocket-cart-full-screen .apirocket-cart-footer {
336
+ width: 40%;
337
+ border-top: none;
338
+ margin-left: auto;
339
+ margin-right: 0;
340
+ padding: 0px;
341
+ padding-top: 32px;
342
+ padding-bottom: 96px;
343
+ }
361
344
 
362
- .apirocket-checkout-footer {
363
- margin-top: 72px;
364
- border-top: 1px solid #d9d9d9;
365
- margin-bottom: 64px;
366
- padding-top: 16px;
367
- }
345
+ .apirocket-cart-full-screen .apirocket-cart-item {
346
+ display: flex;
347
+ position: relative;
348
+ padding-left: 0;
349
+ padding-right: 0;
350
+ }
368
351
 
369
- .apirocket-checkout-footer ul {
370
- display: flex;
371
- align-items: center;
372
- list-style: none;
373
- padding: 0;
374
- margin: 0;
375
- }
352
+ .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 60%; }
353
+ .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 40%; }
376
354
 
377
- .apirocket-checkout-footer ul li { margin-right: 16px; }
355
+ .apirocket-cart-full-screen .apirocket-cart-item:last-child {
356
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
357
+ }
378
358
 
379
- .apirocket-checkout-footer ul li a {
380
- color: #404040;
381
- font-size: 14px;
382
- line-height: 1;
383
- text-decoration: none;
384
- }
359
+ .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { margin-top: 0px; }
360
+ .apirocket-cart-full-screen .apirocket-cart-item-col-price {
361
+ align-self: flex-end;
362
+ line-height: 48px;
363
+ }
385
364
 
386
- .apirocket-checkout-footer ul li a:focus {
387
- outline: none;
388
- text-decoration: underline;
389
- }
365
+ .apirocket-cart-full-screen .apirocket-cart-item-col-image {
366
+ flex: 0 0 var(--cart-item-image-width-fullscreen, 150px);
367
+ }
390
368
 
391
- .apircoket-checkout-legal {
392
- margin-top: 16px;
393
- font-size: 14px;
394
- color: #737373;
395
- font-weight: normal;
396
- line-height: 1.4;
369
+ .apirocket-cart-full-screen .apirocket-cart-item-col-description { align-self: flex-start; }
370
+ .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { align-self: flex-end; }
371
+
372
+ .apirocket-cart-full-screen .apirocket-cart-item-col-delete {
373
+ position: absolute;
374
+ right: 0px;
375
+ top: var(--cart-item-padding, 32px);
376
+ }
397
377
  }
398
378
 
399
- .apircoket-checkout-legal a {
400
- text-decoration: underline;
401
- color: #404040;
379
+ @media (min-width: 720px) and (max-width: 920px) {
380
+ .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 55%; }
381
+ .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 35%; }
402
382
  }
403
383
 
404
- .apirocket-checkout-logo img {
384
+ /* Mobile version */
385
+
386
+ @media (max-width: 720px) {
387
+
388
+ .apirocket-cart {
389
+ width: 100%;
390
+ box-shadow: none;
391
+ }
392
+
393
+ .apirocket-cart-header-continue { display: none; }
394
+ .apirocket-cart-header-login { display: none; }
395
+ }
396
+ .apirocket-button,
397
+ button.apirocket-button {
398
+ box-sizing: border-box !important;
405
399
  display: block;
406
- max-height: 80px;
400
+ width: 100%;
401
+ padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
402
+ margin: 0px;
403
+ border-radius: var(--cart-button-border-radius, 4px);
404
+ background-color: var(--cart-button-background-color, transparent);
405
+ border: 1px solid var(--cart-button-border-color, #e5e5e5);
406
+ color: var(--cart-button-font-color, #737373);
407
+ line-height: 1;
408
+ font-size: var(--cart-button-font-size, 16px);
409
+ font-weight: var(--cart-button-font-weight, normal);
410
+ text-align: center;
411
+ transition-property: color, border-color, background-color, box-shadow;
412
+ transition-timing-function: ease;
413
+ transition-duration: 350ms;
414
+ cursor: pointer;
407
415
  }
408
416
 
409
- .apirocket-checkout-mobile { display: none; }
417
+ .apirocket-button:hover {
418
+ background-color: var(--cart-button-background-color-hover, transparent);
419
+ border-color: var(--cart-button-border-color-hover, #404040);
420
+ color: var(--cart-button-font-color-hover, #404040);
421
+ }
410
422
 
411
- .apirocket-checkout-mobile .apirocket-checkout-logo {
412
- display: block;
413
- margin-top: 16px;
414
- margin-bottom: 16px;
423
+ .apirocket-button:focus {
424
+ outline: none;
425
+ text-decoration: underline;
415
426
  }
416
- .apirocket-checkout-mobile .apirocket-checkout-logo img {
417
- display: block;
427
+ /*
428
+ .apirocket-button-loading {
429
+ position: relative;
430
+ } */
431
+
432
+ .apirocket-button-wraper {
433
+ position: relative;
434
+ display: inline-block;
435
+ width: 32px;
436
+ }
437
+
438
+ .apirocket-button-spinner {
439
+ position: absolute;
440
+ width: 22px;
441
+ height: 22px;
442
+ top: -11px;
443
+ left: 0;
444
+ right: 0;
445
+ bottom: 0;
418
446
  margin: auto;
419
- max-height: 80px;
447
+ border: 4px solid currentColor;
448
+ border-top-color: transparent !important;
449
+ border-radius: 50%;
450
+ animation: button-loading-spinner 1s ease infinite;
420
451
  }
421
452
 
422
- .apirocket-checkout-mobile-menu {
423
- background-color: #f5f5f5;
424
- border-top: 1px solid #d9d9d9;
453
+ @keyframes button-loading-spinner {
454
+ from { transform: rotate(0turn) }
455
+ to { transform: rotate(1turn) }
425
456
  }
426
457
 
427
- .apirocket-checkout-mobile-wrapper {
458
+ .apirocket-button-link,
459
+ button.apirocket-button-link {
428
460
  display: flex;
429
- justify-content: space-between;
430
461
  align-items: center;
431
- width: 90%;
432
- max-width: 560px;
433
- margin: 0 auto;
434
- padding: 16px 0px;
435
- color: #404040;
436
- }
437
-
438
- .apirocket-checkout-mobile-wrapper-cart {
439
- display: inline-flex;
462
+ text-align: left;
463
+ justify-content: flex-start;
440
464
  align-items: center;
441
- color: #404040;
442
- cursor: pointer;
465
+ border: none;
466
+ padding-left: 0;
467
+ padding-right: 0;
468
+ width: auto;
469
+ overflow: hidden;
470
+ white-space: nowrap;
471
+ text-overflow: ellipsis;
443
472
  }
444
473
 
445
- .apirocket-checkout-mobile-wrapper-cart svg { margin-right: 8px; }
446
-
447
- .apirocket-checkout-mobile-wrapper-total {
448
- line-height: 20px;
449
- font-size: 20px;
450
- font-weight: bold;
474
+ .apirocket-button-link span {
475
+ margin-left: 16px;
476
+ margin-right: 16px;
451
477
  }
452
478
 
453
- .apirocket-checkout-mobile-summary {
454
- background-color: #f5f5f5;
455
- transition-property: max-height;
456
- transition-timing-function: ease-in;
457
- transition-duration: 350ms;
458
- max-height: 0px;
459
- overflow: hidden;
460
- border-bottom: 1px solid #d9d9d9;
479
+ .apirocket-button-primary,
480
+ button.apirocket-button-primary {
481
+ background-color: var(--cart-button-primary-background-color, #1d4ed8);
482
+ border-color: var(--cart-button-primary-border-color, #1d4ed8);
483
+ color: var(--cart-button-primary-text-color, #fff);
461
484
  }
462
485
 
463
- .apirocket-checkout-mobile-summary--show {
464
- max-height: 1000px;
465
- overflow: auto;
486
+ button.apirocket-button-primary:disabled {
487
+ background-color: #eee;
488
+ border-color: #eee;
489
+ color: #ccc;
466
490
  }
467
491
 
468
- .apirocket-checkout-mobile-summary-wrapper {
469
- width: 90%;
470
- max-width: 560px;
471
- padding: 16px 0px;
472
- margin: 0 auto;
492
+ .apirocket-button-primary:hover {
493
+ background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
494
+ border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
495
+ color: var(--cart-button-primary-text-color-hover, #fff);
496
+ box-shadow: var(--cart-shadow-button-primary-hover, none);
473
497
  }
474
498
 
475
499
 
500
+ @media (max-width: 720px) {
476
501
 
477
- /* Utils */
502
+ .apirocket-button-link {
503
+ width: 100%;
504
+ justify-content: center;
505
+ }
478
506
 
479
- .apirocket-checkout-row {
507
+ }
508
+
509
+ .apirocket-summary {}
510
+
511
+ .apirocket-summary-top {
512
+ margin-top: 56px;
513
+ margin-bottom: 32px;
514
+ }
515
+
516
+ .apirocket-summary-header {
480
517
  display: flex;
481
- justify-content: space-between;
482
- align-items: flex-start;
518
+ justify-content: flex-start;
519
+ align-items: center;
520
+ margin-bottom: 32px;
483
521
  }
484
- .apirocket-checkout-row > * {
485
- flex: 1 1;
522
+
523
+ .apirocket-summary-header-icon {
524
+ flex: 0 1;
486
525
  margin-right: 16px;
487
526
  }
488
527
 
489
- .apirocket-checkout-row > *:last-child { margin-right: 0; }
528
+ .apirocket-summary-header-content {}
490
529
 
491
- .apirocket-checkout-fieldset {
530
+ .apirocket-summary-header-title {
531
+ font-size: 24px;
532
+ font-weight: bold;
533
+ line-height: 1.2;
534
+ color: #404040;
535
+ margin-bottom: 4px;
536
+ }
537
+
538
+ .apirocket-summary-header-subtitle {
539
+ font-size: 18px;
540
+ font-weight: normal;
541
+ line-height: 1.2;
542
+ color: #737373;
543
+ }
544
+
545
+ .apirocket-summary-section {
546
+ margin-top: 16px;
492
547
  border: 1px solid #d9d9d9;
493
548
  border-radius: 4px;
494
- overflow: hidden;
549
+ padding: 24px;
495
550
  }
496
551
 
497
- .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
498
-
499
- .apirocket-checkout-fieldset .apirocket-form-input,
500
- .apirocket-checkout-fieldset .apirocket-form-select,
501
- .apirocket-checkout-fieldset .apirocket-form-checkbox,
502
- .apirocket-checkout-fieldset .apirocket-form-radio { margin-bottom: 0; }
503
- .apirocket-checkout-fieldset .apirocket-form-radio .form-radio-label { font-size: 16px; }
552
+ .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
553
+ .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
504
554
 
505
- .apirocket-checkout-fieldset > * {
506
- padding: 16px;
507
- border-bottom: 1px solid #d9d9d9;
555
+ .apirocket-summary-section-title {
556
+ font-size: 18px;
557
+ font-weight: bold;
558
+ line-height: 1.2;
559
+ color: #404040;
560
+ margin-bottom: 24px;
508
561
  }
509
- .apirocket-checkout-fieldset-row {
510
- display: flex;
511
- justify-content: space-between;
512
- align-items: flex-start;
513
- }
514
- .apirocket-checkout-fieldset-row > * { flex: 1 1; margin-right: 16px; }
515
- .apirocket-checkout-fieldset-row > :first-child { flex: 1 1 auto;}
516
- .apirocket-checkout-fieldset-row > :last-child {
517
- flex: 0 0 auto;
518
- margin-right: 0px;
562
+
563
+ .apirocket-summary-section-subtitle {
519
564
  font-size: 16px;
520
565
  font-weight: bold;
521
- line-height: 20px;
566
+ line-height: 1;
522
567
  color: #404040;
568
+ margin-bottom: 16px;
523
569
  }
524
570
 
525
- .apirocket-checkout-fieldset-row > :last-child img {
526
- display: block;
527
- max-height: 24px;
571
+ .apirocket-summary-section-text {
572
+ font-size: 14px;
573
+ font-weight: normal;
574
+ line-height: 18px;
575
+ color: #404040;
528
576
  }
529
577
 
530
- .apirocket-checkout-fieldset-row-wrapper {
531
- background-color: #f5f5f5;
578
+ .apirocket-summary-help {
579
+ display: flex;
580
+ justify-content: flex-start;
581
+ align-items: center;
532
582
  }
533
583
 
534
- .apirocket-checkout-fieldset-row-wrapper > * { margin-bottom: 16px !important; }
535
- .apirocket-checkout-fieldset-row-wrapper > *:last-child { margin-bottom: 0px !important; }
584
+ .apirocket-summary-help-icon {
585
+ flex: 0 1;
586
+ padding-right: 12px;
587
+ }
536
588
 
537
- /* Responsive */
589
+ .apirocket-summary-help-content {
590
+ font-size: 14px;
591
+ font-weight: normal;
592
+ line-height: 1.2;
593
+ color: #404040;
594
+ }
595
+
596
+ .apirocket-summary-help-content a {
597
+ display: block;
598
+ color: #737373;
599
+ }
538
600
 
539
601
  @media (max-width: 1000px) {
602
+ .apirocket-summary-top { display: none; }
603
+ .apirocket-summary-header { margin-top: 32px; }
604
+ }
540
605
 
541
- .apirocket-checkout-mobile { display: block; }
542
-
543
- .apirocket-checkout-wrap {
544
- flex-flow: column;
545
- margin: 0;
546
- padding: 0;
547
- width: 100%;
606
+ @media (max-width: 720px) {
607
+ .apirocket-summary-section-subtitle { margin-top: 24px; }
608
+ .apirocket-summary-header {
609
+ flex-direction: column;
610
+ align-items: center;
611
+ text-align: center;
548
612
  }
549
-
550
- .apirocket-checkout-main,
551
- .apirocket-checkout-summary {
552
- width: 90%;
553
- max-width: 560px;
554
- margin: 0 auto;
555
- padding: 0;
613
+ .apirocket-summary-header-icon {
614
+ margin-right: 0px;
615
+ margin-bottom: 16px;
556
616
  }
557
-
558
- .apirocket-checkout-summary {
559
- /* order: 0;
560
- padding: 16px 0; */
561
- display: none;
617
+ .apirocket-summary-header-title {
618
+ font-size: 28px;
619
+ margin-bottom: 8px;
562
620
  }
563
- .apirocket-checkout-summary::after { display: none; }
621
+ }.apirocket-modal *,
622
+ .apirocket-modal *::before,
623
+ .apirocket-modal *::after { box-sizing: border-box; }
564
624
 
565
- .apirocket-checkout-summary-header,
566
- .apirocket-checkout-summary-login { display: none; }
625
+ .apirocket-modal {
626
+ display: flex;
627
+ justify-content: center;
628
+ align-items: flex-start;
629
+ position: fixed;
630
+ z-index: 10001;
631
+ right: 0;
632
+ top: 0;
633
+ overflow: hidden;
634
+ overflow-y: auto;
635
+ width: 100%;
636
+ height: 100vh;
637
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
638
+ background-color: #f5f5f5;
639
+ }
567
640
 
568
- .apirocket-checkout-continue { display: none; }
569
- .apirocket-checkout-close { display: block; }
570
-
571
- .apirocket-checkout-breadcrumbs { text-align: center; }
572
- .apirocket-checkout-breadcrumbs ol { display: inline-flex; text-align: center; }
641
+ .apirocket-modal-nav {
642
+ position: absolute;
643
+ display: flex;
644
+ align-items: center;
645
+ width: 90%;
646
+ max-width: 1100px;
647
+ height: 96px;
648
+ }
573
649
 
574
- .apirocket-checkout-logo { display: none; }
650
+ .apirocket-modal-nav-button {
651
+ display: flex;
652
+ align-items: center;
653
+ text-align: left;
654
+ color: #737373;
655
+ font-size: 16px;
656
+ font-weight: normal;
657
+ cursor: pointer;
575
658
  }
576
659
 
660
+ .apirocket-modal-nav-button svg { margin-right: 16px; }
577
661
 
578
- @media (max-width: 720px) {
662
+ .apirocket-modal-content {
663
+ display: flex;
664
+ flex-flow: column;
665
+ width: 480px;
666
+ height: auto;
667
+ padding: 32px;
668
+ background-color: #fff;
669
+ margin-top: 96px;
670
+ margin-bottom: 32px;
671
+ }
579
672
 
580
- .apirocket-checkout-row { display: block; }
581
- .apirocket-checkout-row > * { margin-right: 0; }
582
-
583
- .apirocket-checkout-actions > :first-child { order: 2; }
584
- .apirocket-checkout-actions > :last-child { margin-bottom: 32px; }
585
- .apirocket-checkout-actions {
586
- flex-flow: column;
587
- align-items: stretch;
588
- }
673
+ .apirocket-modal-header {
674
+ position: relative;
675
+ padding-bottom: 32px;
676
+ }
589
677
 
590
- .apirocket-checkout-fieldset-row > :last-child img { max-height: 16px; }
678
+ .apirocket-modal-title {
679
+ font-size: 18px;
680
+ font-weight: bold;
681
+ line-height: 1;
682
+ color: #404040;
683
+ margin-bottom: 8px;
684
+ }
591
685
 
592
- .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row > * { margin-bottom: 16px !important; }
593
- .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row:last-child > *:last-child { margin-bottom: 0px !important; }
594
-
595
- .apirocket-checkout-section-subtitle {
596
- padding-top: 16px;
597
- margin-bottom: -16px;
598
- }
686
+ .apirocket-modal-subtitle {
687
+ font-size: 14px;
688
+ font-weight: normal;
689
+ line-height: 16px;
690
+ color: #737373;
691
+ }
599
692
 
600
- .apirocket-checkout-footer ul {
601
- display: block;
602
- text-align: center !important;
603
- line-height: 32px !important;
604
- }
693
+ .apirocket-modal-close {
694
+ position: absolute;
695
+ right: -16px;
696
+ top: -16px;
697
+ }
605
698
 
606
- .apirocket-checkout-footer ul li {
607
- display: inline-block;
608
- }
699
+ .apirocket-modal-close-icon {
700
+ height: var(--cart-header-text-close-icon-size, 24px);
701
+ width: var(--cart-header-text-close-icon-size, 24px);
702
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
703
+ cursor: pointer;
704
+ }
609
705
 
610
- .apircoket-checkout-legal { text-align: center; }
706
+ .apirocket-modal-body-text-password {
707
+ color: #404040;
708
+ font-size: 14px;
709
+ font-weight: normal;
710
+ line-height: 16px;
711
+ margin-top: -8px;text-align: right;
712
+ cursor: pointer;
713
+ }
611
714
 
612
- .apirocket-checkout-summary-item-col-image {
613
- flex: 0 0 auto;
614
- max-width: 80px;
615
- }
616
-
617
- .apirocket-checkout-summary-item-col-image img {
618
- max-height: 80px;
619
- }
620
-
621
- .apirocket-checkout-summary-item-col-description {
622
- flex: 1 1;
623
- padding-left: 8px;
624
- font-size: 14px;
625
- line-height: 16px;
626
- }
627
-
628
- .apirocket-checkout-summary-item-col-description small { font-size: 12px; }
629
-
630
- .apirocket-checkout-summary-item-col-quantity {
631
- flex: 0 0 25px;
632
- font-size: 12px;
633
- }
634
-
635
- .apirocket-checkout-summary-item-col-price {
636
- flex: 0 0 80px;
637
- font-size: 14px;
638
- }
715
+ .apirocket-modal-body-text-password:hover { text-decoration: underline; }
639
716
 
640
- .apirocket-checkout-summary-label-total {
641
- font-size: 16px;
642
- line-height: 18px;
643
- }
644
- .apirocket-checkout-summary-label-total small {
645
- font-size: 12px;
646
- line-height: 14px;
647
- }
717
+ .apirocket-modal-footer-text {
718
+ color: #a3a3a3;
719
+ font-size: 14px;
720
+ font-weight: normal;
721
+ line-height: 16px;
722
+ text-align: center;
723
+ margin-top: 16px;
724
+ }
648
725
 
649
- .apirocket-checkout-summary-row {
650
- padding-top: 8px;
651
- }
726
+ .apirocket-modal-footer-text span {
727
+ color: #404040;
728
+ cursor: pointer;
729
+ }
652
730
 
653
- .apirocket-checkout-summary-label {
654
- font-size: 14px;
655
- line-height: 14px;
656
- }
657
-
658
- .apirocket-checkout-summary-value,
659
- .apirocket-checkout-summary-value-total {
660
- font-size: 16px;
661
- line-height: 16px;
662
- }
731
+ .apirocket-modal-footer-text span:hover { text-decoration: underline; }
663
732
 
664
- .apirocket-checkout-mobile .apirocket-checkout-logo img {
665
- max-height: 55px;
666
- }
667
733
 
668
- .apirocket-checkout-steps-summary { margin-top: 24px; }
734
+ .apirocket-modal-body {}
669
735
 
670
- .apirocket-checkout-steps-summary-row { position: relative; }
736
+ .apirocket-modal-footer {
737
+ padding-top: 32px;
738
+ }
671
739
 
672
- .apirocket-checkout-steps-summary-label {
673
- position: absolute;
674
- font-size: 14px;
675
- }
740
+ .apirocket-modal-row {
741
+ display: flex;
742
+ justify-content: space-between;
743
+ align-items: flex-start;
744
+ }
676
745
 
677
- .apirocket-checkout-steps-summary-text { margin-top: 18px; }
678
- .apirocket-checkout-steps-summary-link { font-size: 12px; }
679
-
746
+ .apirocket-modal-row > * {
747
+ flex: 1 1;
748
+ margin-right: 16px;
680
749
  }
681
750
 
751
+ .apirocket-modal-row > *:last-child { margin-right: 0; }
682
752
 
683
- :root {
684
- --cart-width: 540px;
685
- --cart-background-color: #fff;
686
- --cart-padding: 32px;
687
- --cart-font-family: Arial, Helvetica, sans-serif;
688
753
 
689
- --cart-header-background-color: #f5f5f5;
690
- --cart-header-border-color: #f5f5f5;
691
- --cart-header-border-width: 1px;
692
- --cart-header-text-font-size: 18px;
693
- --cart-header-text-font-weight: normal;
694
- --cart-header-text-font-color: #404040;
695
- --cart-header-text-close-icon-color: #a3a3a3;
696
- --cart-header-text-close-icon-size: 24px;
754
+ @media (max-width: 720px) {
755
+ .apirocket-modal-row { display: block; }
756
+ .apirocket-modal-row > * { margin-right: 0; }
697
757
 
698
- --cart-footer-background-color: #fff;
699
- --cart-footer-border-color: #e5e5e5;
700
- --cart-footer-border-width: 1px;
701
- --cart-footer-text-font-size: 16px;
702
- --cart-footer-text-font-weight: lighter;
703
- --cart-footer-text-font-color: #404040;
704
- --cart-footer-total-font-size: 18px;
705
- --cart-footer-total-font-weight: bold;
706
- --cart-footer-total-font-color: #000;
758
+ .apirocket-modal-nav { display: none; }
707
759
 
708
- --cart-item-border-color: #e5e5e5;
709
- --cart-item-border-width: 1px;
710
- --cart-item-padding: 32px;
711
- --cart-item-label-font-size: 14px;
712
- --cart-item-label-font-weight: lighter;
713
- --cart-item-label-font-color: #737373;
714
- --cart-item-image-display: inherit;
715
- --cart-item-image-width: 100px;
716
- --cart-item-image-width-fullscreen: 150px;
717
- --cart-item-name-font-size: 18px;
718
- --cart-item-name-font-weight: bold;
719
- --cart-item-name-font-color: #000;
720
- --cart-item-description-font-size: 14px;
721
- --cart-item-description-font-weight: lighter;
722
- --cart-item-description-font-color: #000;
723
- --cart-item-delete-icon-color: #404040;
724
- --cart-item-delete-icon-color-hover: #000;
725
- --cart-item-delete-icon-size: 18px;
726
- --cart-item-form-border-color: #e5e5e5;
727
- --cart-item-form-border-color-hover: #000;
728
- --cart-item-form-border-width: 1px;
729
- --cart-item-form-text-size: 14px;
730
- --cart-item-form-text-weight: normal;
731
- --cart-item-form-text-color: #000;
732
- --cart-item-quantity-icon-color: #737373;
733
- --cart-item-quantity-icon-background-color: transparent;
734
- --cart-item-quantity-icon-size: 16px;
735
- --cart-item-price-font-size: 16px;
736
- --cart-item-price-font-weight: bold;
737
- --cart-item-price-font-color: #404040;
760
+ .apirocket-modal-content {
761
+ width: 95%;
762
+ margin-top: 32px;
763
+ padding: 24px;
764
+ }
738
765
 
739
- --cart-button-font-size: 16px;
740
- --cart-button-font-weight: normal;
741
- --cart-button-font-color: #737373;
742
- --cart-button-font-color-hover: #404040;
743
- --cart-button-border-color: #e5e5e5;
744
- --cart-button-border-color-hover: #404040;
745
- --cart-button-border-radius: 4px;
746
- --cart-button-background-color: transparent;
747
- --cart-button-background-color-hover: transparent;
748
- --cart-button-padding-x: 16px;
749
- --cart-button-padding-y: 16px;
766
+ .apirocket-modal-close {
767
+ right: -8px;
768
+ top: -8px;
769
+ }
770
+ }
750
771
 
751
- --cart-button-primary-text-color: #fff;
752
- --cart-button-primary-text-color-hover: #fff;
753
- --cart-button-primary-border-color: #1d4ed8;
754
- --cart-button-primary-border-color-hover: #0d59f4;
755
- --cart-button-primary-background-color: #1d4ed8;
756
- --cart-button-primary-background-color-hover: #0d59f4;
757
- /* --cart-shadow-button-primary-hover: 0 10px 4px -8px rgba(0,0,0,.5); */
772
+ .apirocket-modal-messaje {
773
+ margin-top: 32px;
774
+ margin-bottom: 32px;
775
+ text-align: center;
758
776
  }
759
777
 
760
- .apirocket-cart * { box-sizing: content-box; }
778
+ .apirocket-modal-message-icon {
779
+ display: inline-flex;
780
+ justify-content: center;
781
+ align-items: center;
782
+ width: 48px;
783
+ height: 48px;
784
+ border-radius: 24px;
785
+ margin: auto;
786
+ margin-bottom: 32px;
787
+ }
761
788
 
762
- .apirocket-cart {
789
+ .apirocket-modal-message-icon-ok {
790
+ background-color: #d1fae5;
791
+ color: #10b981;
792
+ }
793
+
794
+ .apirocket-modal-message-title {
795
+ font-size: 18px;
796
+ font-weight: bold;
797
+ line-height: 1;
798
+ text-align: center;
799
+ color: #404040;
800
+ margin-bottom: 16px;
801
+ }
802
+
803
+ .apirocket-modal-message-text {
804
+ color: #737373;
805
+ font-size: 14px;
806
+ font-weight: normal;
807
+ text-align: center;
808
+ line-height: 16px;
809
+ margin-bottom: 32px;
810
+ }.apirocket-error-block {
811
+ display: flex;
812
+ justify-content: start;
813
+ align-items: center;
814
+ background-color: #fef2f2;
815
+ padding: 16px;
816
+ color: #dc2626;
817
+ font-size: 14px;
818
+ line-height: 18px;
819
+ border-radius: 8px;
820
+ margin-top: 16px;
821
+ margin-bottom: 0px;
822
+ }
823
+
824
+ .apirocket-error-block-icon {
825
+ margin-right: 12px;
826
+ }.apirocket-checkout * { box-sizing: content-box; }
827
+
828
+ .apirocket-checkout {
829
+ display: block;
763
830
  position: fixed;
764
831
  z-index: 10000;
765
832
  right: 0;
766
833
  top: 0;
767
834
  overflow: hidden;
768
- width: var(--cart-width, 540px);
835
+ overflow-y: auto;
836
+ width: 100%;
769
837
  height: 100vh;
770
- box-shadow: 1px 20px 8px rgba(0,0,0,.1);
771
838
  font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
772
- background-color: var(--cart-background-color, #fff);
839
+ background-color: #fff;
773
840
  }
774
841
 
775
- .apirocket-cart-content {
842
+ .apirocket-checkout-wrap {
776
843
  display: flex;
777
- flex-direction: column;
778
- height: 100%;
779
- background-color: var(--cart-background-color, #fff);
844
+ margin: 0 auto;
845
+ width: 90%;
846
+ min-height: 100%;
847
+ max-width: 1100px;
848
+ padding: 0 5%;
849
+
780
850
  }
781
851
 
782
- .apirocket-cart-header {
783
- display: flex;
784
- flex: 0 0 96px;
785
- align-items: center;
786
- justify-content: space-between;
787
- padding: 0px var(--cart-padding);
788
- background-color: var(--cart-header-background-color, #f5f5f5);
789
- border-bottom: var(--cart-header-border-width, 1px) solid var(--cart-header-border-color, #f5f5f5);
852
+ .apirocket-checkout-main {
853
+ order: 1;
854
+ width: 52%;
855
+ padding-right: 48px;
790
856
  }
791
857
 
792
- .apirocket-cart-header-title {
793
- font-size: var(--cart-header-text-font-size, 18px);
794
- font-weight: var(--cart-header-text-font-weight, normal);
795
- color: var(--cart-header-text-font-color, #404040)
858
+ .apirocket-checkout-summary {
859
+ order: 2;
860
+ position: relative;
861
+ width: 40%;
862
+ padding-left: 48px;
796
863
  }
797
864
 
798
- .apirocket-cart-header-close-icon {
799
- height: var(--cart-header-text-close-icon-size, 24px);
800
- width: var(--cart-header-text-close-icon-size, 24px);
801
- color: var(--cart-header-text-close-icon-color, #a3a3a3);
802
- cursor: pointer;
865
+ .apirocket-checkout-summary::after {
866
+ position: absolute;
867
+ display: block;
868
+ top: 0;
869
+ left: 0;
870
+ content: "";
871
+ width: 300%;
872
+ height: 100%;
873
+ background: #f5f5f5;
874
+ z-index: -1;
803
875
  }
804
876
 
805
- .apirocket-cart-header-continue {
806
- display: none;
877
+ .apirocket-checkout-continue {
878
+ display: flex;
807
879
  align-items: center;
808
880
  text-align: left;
881
+ margin-top: 40px;
882
+ margin-bottom: 40px;
809
883
  color: #737373;
810
884
  font-size: 16px;
811
885
  font-weight: normal;
812
886
  cursor: pointer;
813
887
  }
814
888
 
815
- .apirocket-cart-header-login {
889
+ .apirocket-checkout-close {
816
890
  display: none;
817
- align-items: center;
818
- text-align: right;
819
- color: #737373;
820
- font-size: 16px;
821
- font-weight: normal;
822
891
  cursor: pointer;
892
+ position: absolute;
893
+ top: 16px;
894
+ right: 32px;
823
895
  }
824
896
 
825
- .apirocket-cart-header-login svg,
826
- .apirocket-cart-header-continue svg { margin-right: 16px; }
897
+ .apirocket-checkout-summary-container {
898
+ display: flex;
899
+ flex-flow: column;
900
+ max-height: calc(100vh - 5%);
901
+ overflow: hidden;
902
+ }
827
903
 
828
- .apirocket-cart-body {
829
- flex: 1 1 auto;
830
- padding: 0px;
831
- background: var(--cart-background-color, #fff);
832
- overflow-y: auto;
904
+ .apirocket-checkout-summary-top {
905
+ flex: 0 0 auto;
833
906
  }
834
907
 
835
- .apirocket-cart-body-message {
836
- font-size: 18px;
837
- font-weight: var(--cart-item-description-font-weight, lighter);
838
- color: #666;
839
- padding: var(--cart-item-padding, 32px) var(--cart-padding, 32px);
840
- border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
908
+ .apirocket-checkout-summary-content {
909
+ flex: 1 1 auto;
910
+ overflow-y: scroll;
841
911
  }
842
912
 
843
- .apirocket-cart-footer {
913
+ .apirocket-checkout-summary-footer {
844
914
  flex: 0 0 auto;
845
- padding: var(--cart-padding, 32px);
846
- background-color: var(--cart-footer-background-color, transparent);
847
- border-top: var(--cart-footer-border-width, 1px) solid var(--cart-footer-border-color, #e5e5e5);
848
- font-size: var(--cart-footer-text-font-size, 16px);
849
- font-weight: var(--cart-footer-text-font-weight, lighter);
850
- color: var(--cart-footer-text-font-color, #737373);
851
- }
852
-
853
- .apirocket-cart-footer-total {
854
- font-size: var(--cart-footer-total-font-size, 18px);
855
- font-weight: var(--cart-footer-total-font-weight, bold);
856
- color: var(--cart-footer-total-font-color, #000);
857
915
  }
858
916
 
859
- .apirocket-cart-row {
917
+ .apirocket-checkout-summary-login {
860
918
  display: flex;
861
- justify-content: space-between;
862
919
  align-items: center;
920
+ justify-content: end;
921
+ text-align: right;
922
+ margin-top: 40px;
923
+ margin-bottom: 40px;
924
+ color: #737373;
925
+ font-size: 16px;
926
+ font-weight: normal;
927
+ cursor: pointer;
863
928
  }
864
929
 
865
- .apirocket-cart-col {
866
- flex: 1 1 auto;
867
- margin-bottom: 16px;
868
- }
930
+ .apirocket-checkout-summary-login svg,
931
+ .apirocket-checkout-continue svg { margin-right: 16px; }
869
932
 
870
- .apirocket-cart-item {
871
- padding: var(--cart-item-padding, 32px) var(--cart-padding, 32px);
872
- border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
933
+ .apirocket-checkout-summary-header {
934
+ display: flex;
935
+ justify-content: space-between;
936
+ align-items: center;
937
+ margin-top: 56px;
938
+ margin-bottom: 48px;
873
939
  }
874
940
 
875
- .apirocket-cart-item:last-child {
876
- border-bottom: none;
877
- margin-bottom: var(--cart-padding, 32px);
941
+ .apirocket-checkout-summary-header :last-child a {
942
+ font-size: 14px;
943
+ font-weight: normal;
944
+ color: #737373;
878
945
  }
879
946
 
880
- .apirocket-cart-item-row {
947
+ .apirocket-checkout-summary-item {
881
948
  display: flex;
882
- justify-content: space-between;
883
- align-items: center;
949
+ justify-content: stretch;
950
+ align-items: flex-start;
951
+ padding-bottom: 16px;
952
+ border-bottom: 1px solid #d9d9d9;
953
+ margin-bottom: 16px;
884
954
  }
885
955
 
886
- .apirocket-cart-item-col-image {
887
- display: var(--cart-item-image-display, inherit);
888
- flex: 0 0 var(--cart-item-image-width, 100px);
889
- align-self: flex-start;
890
- margin-right: 16px;
956
+ .apirocket-checkout-summary-item-col-image {
957
+ flex: 0 0 auto;
958
+ max-width: 100px;
959
+ border: 1px solid #e5e5e5;
960
+ border-radius: 4px;
961
+ overflow: hidden;
891
962
  }
892
963
 
893
- .apirocket-cart-item-col-image img {
964
+ .apirocket-checkout-summary-item-col-image img {
894
965
  display: block;
895
966
  max-width: 100%;
967
+ max-height: 100px;
896
968
  }
897
969
 
898
- .apirocket-cart-item-col-description {
899
- align-self: flex-start;
900
- padding-right: 32px;
901
- flex-grow: 1;
902
- }
903
-
904
- .apirocket-cart-item-col-description-name {
905
- font-size: var(--cart-item-name-font-size, 18px);
906
- font-weight: var(--cart-item-name-font-weight, bold);
907
- color: var(--cart-item-name-font-color, #000);
970
+ .apirocket-checkout-summary-item-col-description {
971
+ flex: 1 1 auto;
972
+ padding-left: 16px;
973
+ padding-right: 8px;
974
+ font-size: 14px;
975
+ font-weight: bold;
976
+ line-height: 18px;
908
977
  }
909
978
 
910
- .apirocket-cart-item-col-description-text {
911
- font-size: var(--cart-item-description-font-size, 14px);
912
- font-weight: var(--cart-item-description-font-weight, lighter);
913
- color: var(--cart-item-description-font-color, #000);
979
+ .apirocket-checkout-summary-item-col-description small {
980
+ display: block;
981
+ font-size: 14px;
982
+ font-weight: normal;
983
+ color: #a3a3a3;
914
984
  }
915
985
 
916
- .apirocket-cart-item-col-delete {
917
- flex: 1 0 auto;
918
- align-self: flex-start;
919
- color: var(--cart-item-delete-icon-color, #404040);
920
- width: var(--cart-item-delete-icon-size, 24px);
921
- cursor: pointer;
922
- text-align: center;
986
+ .apirocket-checkout-summary-item-col-quantity {
987
+ flex: 0 0 50px;
988
+ font-size: 16px;
989
+ font-weight: normal;
990
+ color: #a3a3a3;
991
+ text-align: right;
923
992
  }
924
993
 
925
- .apirocket-cart-item-col-delete:hover {
926
- color: var(--cart-item-delete-icon-color-hover, #000);
994
+ .apirocket-checkout-summary-item-col-price {
995
+ flex: 0 0 100px;
996
+ font-size: 16px;
997
+ font-weight: bold;
998
+ color: #404040;
999
+ text-align: right;
927
1000
  }
928
1001
 
929
- .apirocket-cart-item-col-delete svg {
930
- width: var(--cart-item-delete-icon-size, 18px);
931
- height: var(--cart-item-delete-icon-size, 18px);
1002
+ .apirocket-checkout-summary-row {
1003
+ display: flex;
1004
+ justify-content: space-between;
1005
+ align-items: center;
1006
+ padding-top: 16px;
932
1007
  }
933
1008
 
934
- .apirocket-cart-item-label {
935
- font-size: var(--cart-item-label-font-size, 14px);
936
- font-weight: var(--cart-item-label-font-weight, lighter);
937
- color: var(--cart-item-label-font-color, #737373);
938
- margin-bottom: 4px;
1009
+ .apirocket-checkout-summary-label {
1010
+ font-size: 16px;
1011
+ font-weight: normal;
1012
+ line-height: 18px;
1013
+ color: #404040;
939
1014
  }
940
1015
 
941
- .apirocket-cart-item-col-quantity {
942
- margin-top: 16px;
1016
+ .apirocket-checkout-summary-value {
1017
+ font-size: 18px;
1018
+ font-weight: bold;
1019
+ line-height: 18px;
1020
+ color: #404040;
943
1021
  }
944
1022
 
945
- .apirocket-cart-item-quantity-wrapper {
1023
+ .apirocket-checkout-summary-row-total {
946
1024
  display: flex;
947
1025
  justify-content: space-between;
948
- border: var(--cart-item-form-border-width, 1px) solid var(--cart-item-form-border-color, #e5e5e5);
949
- min-width: 160px;
950
- user-select: none;
951
- transition-property: border-color;
952
- transition-timing-function: ease;
953
- transition-duration: 350ms;
1026
+ align-items: flex-start;
1027
+ border-top: 1px solid #d9d9d9;
1028
+ margin-top: 24px;
1029
+ padding-top: 24px;
954
1030
  }
955
1031
 
956
- .apirocket-cart-item-quantity-wrapper:hover {
957
- border-color: var(--cart-item-form-border-color-hover, #000);
1032
+ .apirocket-checkout-summary-label-total {
1033
+ font-size: 18px;
1034
+ font-weight: bold;
1035
+ line-height: 21px;
1036
+ color: #404040;
1037
+ }
1038
+ .apirocket-checkout-summary-label-total small {
1039
+ display: block;
1040
+ font-size: 14px;
1041
+ line-height: 16px;
1042
+ font-weight: normal;
1043
+ color: #a3a3a3;
958
1044
  }
959
1045
 
960
- .apirocket-cart-item-quantity-number {
961
- flex: 1 1 auto;
962
- font-size: var(--cart-item-form-text-size, 14px);
963
- font-weight: var(--cart-item-form-text-weight, normal);
964
- color: var(--cart-item-form-text-color, #000);
965
- padding: 16px;
966
- line-height: 1;
967
- text-align: center;
1046
+ .apirocket-checkout-summary-value-total {
1047
+ font-size: 24px;
1048
+ font-weight: bold;
1049
+ line-height: 24px;
1050
+ color: #404040;
968
1051
  }
969
1052
 
970
- .apirocket-cart-item-quantity-button {
1053
+ .apirocket-checkout-breadcrumbs ol {
971
1054
  display: flex;
972
1055
  align-items: center;
973
- background-color: var(--cart-item-quantity-icon-background-color, transparent);
974
- padding: 0px 12px;
975
- cursor: pointer;
1056
+ list-style: none;
1057
+ padding: 0;
1058
+ margin: 0;
1059
+ margin-top: 24px;
976
1060
  }
977
1061
 
978
- .apirocket-cart-item-quantity-button svg {
979
- color: var(--cart-item-quantity-icon-color, #737373);
980
- width: var(--cart-item-quantity-icon-size, 16px);
981
- height: var(--cart-item-quantity-icon-size, 16px);
1062
+ .apirocket-checkout-breadcrumbs ol li {
1063
+ cursor: pointer;
1064
+ color: #a3a3a3;
1065
+ font-size: 14px;
1066
+ line-height: 1;
982
1067
  }
983
1068
 
984
- .apirocket-cart-item-col-price {
985
- margin-top: 36px;
986
- font-size: var(--cart-item-price-font-size, 16px);
987
- font-weight: var(--cart-item-price-font-weight, normal);
988
- color: var(--cart-item-price-font-color, #404040);
1069
+ .apirocket-checkout-breadcrumbs ol li::after {
1070
+ width: 5px;
1071
+ height: 9px;
1072
+ display: inline-block;
1073
+ content: "";
1074
+ background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 9'%3E%3Cpath d='M1.164.2a.682.682 0 00-.964.964l3.154 3.154L.2 7.472a.682.682 0 10.964.965L4.8 4.8a.682.682 0 000-.964L1.164.2z' fill='%23A3A3A3'/%3E%3C/svg%3E");
1075
+ background-repeat: no-repeat;
1076
+ background-position: center;
1077
+ padding: 0 8px;
989
1078
  }
990
1079
 
1080
+ .apirocket-checkout-breadcrumbs ol li:last-child::after { display: none; }
991
1081
 
992
- @media (min-width: 720px) {
1082
+ .apirocket-checkout-breadcrumbs ol li a {
1083
+ color: #a3a3a3;
1084
+ text-decoration: underline;
1085
+ }
993
1086
 
994
- .apirocket-cart.apirocket-cart-full-screen {
995
- width: 100%;
996
- overflow-y: auto;
997
- }
1087
+ .apirocket-checkout-breadcrumbs-active {
1088
+ font-weight: bold;
1089
+ color: #404040 !important;
1090
+ }
998
1091
 
999
- .apirocket-cart-full-screen .apirocket-cart-content {
1000
- display: block;
1001
- width: 90%;
1002
- max-width: 980px;
1003
- margin: 0 auto;
1004
- }
1092
+ .apirocket-checkout-steps-summary {
1093
+ border: 1px solid #d9d9d9;
1094
+ border-radius: 4px;
1095
+ overflow: hidden;
1096
+ margin-top: 48px;
1097
+ }
1005
1098
 
1006
- .apirocket-cart-full-screen .apirocket-cart-header {
1007
- background-color: #fff;
1008
- border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
1009
- padding: 40px 0px;
1010
- }
1011
-
1012
- .apirocket-cart-full-screen .apirocket-cart-header-continue { display: flex; }
1013
- .apirocket-cart-full-screen .apirocket-cart-header-login { display: flex; }
1014
-
1015
- .apirocket-cart-full-screen .apirocket-cart-header-close { display: none; }
1099
+ .apirocket-checkout-steps-summary-row {
1100
+ display: flex;
1101
+ position: relative;
1102
+ border-bottom: 1px solid #d9d9d9;
1103
+ padding: 16px;
1104
+ }
1016
1105
 
1017
- .apirocket-cart-full-screen .apirocket-cart-footer {
1018
- width: 40%;
1019
- border-top: none;
1020
- margin-left: auto;
1021
- margin-right: 0;
1022
- padding: 0px;
1023
- padding-top: 32px;
1024
- padding-bottom: 96px;
1025
- }
1106
+ .apirocket-checkout-steps-summary-label {
1107
+ flex: 0 0 90px;
1108
+ font-size: 14px;
1109
+ font-weight: normal;
1110
+ line-height: 14px;
1111
+ color: #a3a3a3;
1112
+ }
1026
1113
 
1027
- .apirocket-cart-full-screen .apirocket-cart-item {
1028
- display: flex;
1029
- position: relative;
1030
- padding-left: 0;
1031
- padding-right: 0;
1032
- }
1114
+ .apirocket-checkout-steps-summary-text {
1115
+ flex: 1 1 auto;
1116
+ font-size: 14px;
1117
+ font-weight: normal;
1118
+ line-height: 18px;
1119
+ color: #404040;
1120
+ }
1033
1121
 
1034
- .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 60%; }
1035
- .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 40%; }
1122
+ .apirocket-checkout-steps-summary-link {
1123
+ flex: 0 0 60px;
1124
+ text-align: right;
1125
+ font-size: 12px;
1126
+ font-weight: normal;
1127
+ line-height: 1;
1128
+ text-decoration: underline;
1129
+ color: #737373;
1130
+ cursor: pointer;
1131
+ }
1036
1132
 
1037
- .apirocket-cart-full-screen .apirocket-cart-item:last-child {
1038
- border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
1039
- }
1133
+ .apirocket-checkout-section {
1134
+ margin-top: 48px;
1135
+ }
1040
1136
 
1041
- .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { margin-top: 0px; }
1042
- .apirocket-cart-full-screen .apirocket-cart-item-col-price {
1043
- align-self: flex-end;
1044
- line-height: 48px;
1045
- }
1137
+ .apirocket-checkout-section-header {
1138
+ margin-bottom: 24px;
1139
+ }
1046
1140
 
1047
- .apirocket-cart-full-screen .apirocket-cart-item-col-image {
1048
- flex: 0 0 var(--cart-item-image-width-fullscreen, 150px);
1049
- }
1141
+ .apirocket-checkout-section-title {
1142
+ font-size: 18px;
1143
+ font-weight: bold;
1144
+ line-height: 1;
1145
+ color: #404040;
1146
+ }
1050
1147
 
1051
- .apirocket-cart-full-screen .apirocket-cart-item-col-description { align-self: flex-start; }
1052
- .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { align-self: flex-end; }
1148
+ .apirocket-checkout-section-subtitle {
1149
+ font-size: 12px;
1150
+ font-weight: normal;
1151
+ padding-top: 4px;
1152
+ line-height: 1;
1153
+ color: #a3a3a3;
1154
+ text-align: right;
1155
+ }
1053
1156
 
1054
- .apirocket-cart-full-screen .apirocket-cart-item-col-delete {
1055
- position: absolute;
1056
- right: 0px;
1057
- top: var(--cart-item-padding, 32px);
1058
- }
1157
+ .apirocket-checkout-button-edit {
1158
+ cursor: pointer;
1059
1159
  }
1060
1160
 
1061
- @media (min-width: 720px) and (max-width: 920px) {
1062
- .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 55%; }
1063
- .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 35%; }
1161
+ .apirocket-checkout-button-edit:hover {
1162
+ text-decoration: underline;
1064
1163
  }
1065
1164
 
1066
- /* Mobile version */
1165
+ .apirocket-checkout-section a {
1166
+ color: #404040;
1167
+ outline: none;
1168
+ text-decoration: underline;
1169
+ }
1067
1170
 
1068
- @media (max-width: 720px) {
1171
+ .apirocket-checkout-section-text {
1172
+ font-size: 14px;
1173
+ line-height: 1;
1174
+ margin-top: 4px;
1175
+ color: #737373;
1176
+ }
1069
1177
 
1070
- .apirocket-cart {
1071
- width: 100%;
1072
- box-shadow: none;
1073
- }
1178
+ .apirocket-checkout-actions {
1179
+ display: flex;
1180
+ margin-top: 64px;
1181
+ align-items: center;
1182
+ max-width: 100%;
1183
+ }
1074
1184
 
1075
- .apirocket-cart-header-continue { display: none; }
1076
- .apirocket-cart-header-login { display: none; }
1077
- }.apirocket-summary {}
1185
+ .apirocket-checkout-actions > * { flex: 1 1; }
1078
1186
 
1079
- .apirocket-summary-top {
1080
- margin-top: 56px;
1081
- margin-bottom: 32px;
1187
+ .apirocket-checkout-footer {
1188
+ margin-top: 72px;
1189
+ border-top: 1px solid #d9d9d9;
1190
+ margin-bottom: 64px;
1191
+ padding-top: 16px;
1082
1192
  }
1083
1193
 
1084
- .apirocket-summary-header {
1194
+ .apirocket-checkout-footer ul {
1085
1195
  display: flex;
1086
- justify-content: flex-start;
1087
- align-items: center;
1088
- margin-bottom: 32px;
1196
+ align-items: center;
1197
+ list-style: none;
1198
+ padding: 0;
1199
+ margin: 0;
1089
1200
  }
1090
1201
 
1091
- .apirocket-summary-header-icon {
1092
- flex: 0 1;
1093
- margin-right: 16px;
1202
+ .apirocket-checkout-footer ul li { margin-right: 16px; }
1203
+
1204
+ .apirocket-checkout-footer ul li a {
1205
+ color: #404040;
1206
+ font-size: 14px;
1207
+ line-height: 1;
1208
+ text-decoration: none;
1094
1209
  }
1095
1210
 
1096
- .apirocket-summary-header-content {}
1211
+ .apirocket-checkout-footer ul li a:focus {
1212
+ outline: none;
1213
+ text-decoration: underline;
1214
+ }
1097
1215
 
1098
- .apirocket-summary-header-title {
1099
- font-size: 24px;
1100
- font-weight: bold;
1101
- line-height: 1.2;
1216
+ .apircoket-checkout-legal {
1217
+ margin-top: 16px;
1218
+ font-size: 14px;
1219
+ color: #737373;
1220
+ font-weight: normal;
1221
+ line-height: 1.4;
1222
+ }
1223
+
1224
+ .apircoket-checkout-legal a {
1225
+ text-decoration: underline;
1102
1226
  color: #404040;
1103
- margin-bottom: 4px;
1104
1227
  }
1105
1228
 
1106
- .apirocket-summary-header-subtitle {
1107
- font-size: 18px;
1108
- font-weight: normal;
1109
- line-height: 1.2;
1110
- color: #737373;
1229
+ .apirocket-checkout-logo img {
1230
+ display: block;
1231
+ max-height: 80px;
1111
1232
  }
1112
1233
 
1113
- .apirocket-summary-section {
1234
+ .apirocket-checkout-mobile { display: none; }
1235
+
1236
+ .apirocket-checkout-mobile .apirocket-checkout-logo {
1237
+ display: block;
1114
1238
  margin-top: 16px;
1115
- border: 1px solid #d9d9d9;
1116
- border-radius: 4px;
1117
- padding: 24px;
1239
+ margin-bottom: 16px;
1240
+ }
1241
+ .apirocket-checkout-mobile .apirocket-checkout-logo img {
1242
+ display: block;
1243
+ margin: auto;
1244
+ max-height: 80px;
1118
1245
  }
1119
1246
 
1120
- .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
1121
- .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
1247
+ .apirocket-checkout-mobile-menu {
1248
+ background-color: #f5f5f5;
1249
+ border-top: 1px solid #d9d9d9;
1250
+ }
1122
1251
 
1123
- .apirocket-summary-section-title {
1124
- font-size: 18px;
1125
- font-weight: bold;
1126
- line-height: 1.2;
1252
+ .apirocket-checkout-mobile-wrapper {
1253
+ display: flex;
1254
+ justify-content: space-between;
1255
+ align-items: center;
1256
+ width: 90%;
1257
+ max-width: 560px;
1258
+ margin: 0 auto;
1259
+ padding: 16px 0px;
1127
1260
  color: #404040;
1128
- margin-bottom: 24px;
1129
1261
  }
1130
1262
 
1131
- .apirocket-summary-section-subtitle {
1132
- font-size: 16px;
1133
- font-weight: bold;
1134
- line-height: 1;
1263
+ .apirocket-checkout-mobile-wrapper-cart {
1264
+ display: inline-flex;
1265
+ align-items: center;
1135
1266
  color: #404040;
1136
- margin-bottom: 16px;
1267
+ cursor: pointer;
1137
1268
  }
1138
1269
 
1139
- .apirocket-summary-section-text {
1140
- font-size: 14px;
1141
- font-weight: normal;
1142
- line-height: 18px;
1143
- color: #404040;
1270
+ .apirocket-checkout-mobile-wrapper-cart svg { margin-right: 8px; }
1271
+
1272
+ .apirocket-checkout-mobile-wrapper-total {
1273
+ line-height: 20px;
1274
+ font-size: 20px;
1275
+ font-weight: bold;
1144
1276
  }
1145
1277
 
1146
- .apirocket-summary-help {
1278
+ .apirocket-checkout-mobile-summary {
1279
+ background-color: #f5f5f5;
1280
+ transition-property: max-height;
1281
+ transition-timing-function: ease-in;
1282
+ transition-duration: 350ms;
1283
+ max-height: 0px;
1284
+ overflow: hidden;
1285
+ border-bottom: 1px solid #d9d9d9;
1286
+ }
1287
+
1288
+ .apirocket-checkout-mobile-summary--show {
1289
+ max-height: 1000px;
1290
+ overflow: auto;
1291
+ }
1292
+
1293
+ .apirocket-checkout-mobile-summary-wrapper {
1294
+ width: 90%;
1295
+ max-width: 560px;
1296
+ padding: 16px 0px;
1297
+ margin: 0 auto;
1298
+ }
1299
+
1300
+
1301
+
1302
+ /* Utils */
1303
+
1304
+ .apirocket-checkout-row {
1147
1305
  display: flex;
1148
- justify-content: flex-start;
1149
- align-items: center;
1306
+ justify-content: space-between;
1307
+ align-items: flex-start;
1308
+ }
1309
+ .apirocket-checkout-row > * {
1310
+ flex: 1 1;
1311
+ margin-right: 16px;
1150
1312
  }
1151
1313
 
1152
- .apirocket-summary-help-icon {
1153
- flex: 0 1;
1154
- padding-right: 12px;
1314
+ .apirocket-checkout-row > *:last-child { margin-right: 0; }
1315
+
1316
+ .apirocket-checkout-fieldset {
1317
+ border: 1px solid #d9d9d9;
1318
+ border-radius: 4px;
1319
+ overflow: hidden;
1155
1320
  }
1156
1321
 
1157
- .apirocket-summary-help-content {
1158
- font-size: 14px;
1159
- font-weight: normal;
1160
- line-height: 1.2;
1322
+ .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
1323
+
1324
+ .apirocket-checkout-fieldset .apirocket-form-input,
1325
+ .apirocket-checkout-fieldset .apirocket-form-select,
1326
+ .apirocket-checkout-fieldset .apirocket-form-checkbox,
1327
+ .apirocket-checkout-fieldset .apirocket-form-radio { margin-bottom: 0; }
1328
+ .apirocket-checkout-fieldset .apirocket-form-radio .form-radio-label { font-size: 16px; }
1329
+
1330
+ .apirocket-checkout-fieldset > * {
1331
+ padding: 16px;
1332
+ border-bottom: 1px solid #d9d9d9;
1333
+ }
1334
+ .apirocket-checkout-fieldset-row {
1335
+ display: flex;
1336
+ justify-content: space-between;
1337
+ align-items: flex-start;
1338
+ }
1339
+ .apirocket-checkout-fieldset-row > * { flex: 1 1; margin-right: 16px; }
1340
+ .apirocket-checkout-fieldset-row > :first-child { flex: 1 1 auto;}
1341
+ .apirocket-checkout-fieldset-row > :last-child {
1342
+ flex: 0 0 auto;
1343
+ margin-right: 0px;
1344
+ font-size: 16px;
1345
+ font-weight: bold;
1346
+ line-height: 20px;
1161
1347
  color: #404040;
1162
1348
  }
1163
1349
 
1164
- .apirocket-summary-help-content a {
1350
+ .apirocket-checkout-fieldset-row > :last-child img {
1165
1351
  display: block;
1166
- color: #737373;
1352
+ max-height: 24px;
1167
1353
  }
1168
1354
 
1169
- @media (max-width: 1000px) {
1170
- .apirocket-summary-top { display: none; }
1171
- .apirocket-summary-header { margin-top: 32px; }
1355
+ .apirocket-checkout-fieldset-row-wrapper {
1356
+ background-color: #f5f5f5;
1172
1357
  }
1173
1358
 
1174
- @media (max-width: 720px) {
1175
- .apirocket-summary-section-subtitle { margin-top: 24px; }
1176
- .apirocket-summary-header {
1177
- flex-direction: column;
1178
- align-items: center;
1179
- text-align: center;
1359
+ .apirocket-checkout-fieldset-row-wrapper > * { margin-bottom: 16px !important; }
1360
+ .apirocket-checkout-fieldset-row-wrapper > *:last-child { margin-bottom: 0px !important; }
1361
+
1362
+ /* Responsive */
1363
+
1364
+ @media (max-width: 1000px) {
1365
+
1366
+ .apirocket-checkout-mobile { display: block; }
1367
+
1368
+ .apirocket-checkout-wrap {
1369
+ flex-flow: column;
1370
+ margin: 0;
1371
+ padding: 0;
1372
+ width: 100%;
1180
1373
  }
1181
- .apirocket-summary-header-icon {
1182
- margin-right: 0px;
1183
- margin-bottom: 16px;
1374
+
1375
+ .apirocket-checkout-main,
1376
+ .apirocket-checkout-summary {
1377
+ width: 90%;
1378
+ max-width: 560px;
1379
+ margin: 0 auto;
1380
+ padding: 0;
1184
1381
  }
1185
- .apirocket-summary-header-title {
1186
- font-size: 28px;
1187
- margin-bottom: 8px;
1382
+
1383
+ .apirocket-checkout-summary {
1384
+ /* order: 0;
1385
+ padding: 16px 0; */
1386
+ display: none;
1188
1387
  }
1189
- }
1190
- .apirocket-button,
1191
- button.apirocket-button {
1192
- box-sizing: border-box !important;
1193
- display: block;
1194
- width: 100%;
1195
- padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1196
- margin: 0px;
1197
- border-radius: var(--cart-button-border-radius, 4px);
1198
- background-color: var(--cart-button-background-color, transparent);
1199
- border: 1px solid var(--cart-button-border-color, #e5e5e5);
1200
- color: var(--cart-button-font-color, #737373);
1201
- line-height: 1;
1202
- font-size: var(--cart-button-font-size, 16px);
1203
- font-weight: var(--cart-button-font-weight, normal);
1204
- text-align: center;
1205
- transition-property: color, border-color, background-color, box-shadow;
1206
- transition-timing-function: ease;
1207
- transition-duration: 350ms;
1208
- cursor: pointer;
1209
- }
1388
+ .apirocket-checkout-summary::after { display: none; }
1210
1389
 
1211
- .apirocket-button:hover {
1212
- background-color: var(--cart-button-background-color-hover, transparent);
1213
- border-color: var(--cart-button-border-color-hover, #404040);
1214
- color: var(--cart-button-font-color-hover, #404040);
1215
- }
1390
+ .apirocket-checkout-summary-header,
1391
+ .apirocket-checkout-summary-login { display: none; }
1216
1392
 
1217
- .apirocket-button:focus {
1218
- outline: none;
1219
- text-decoration: underline;
1220
- }
1221
- /*
1222
- .apirocket-button-loading {
1223
- position: relative;
1224
- } */
1393
+ .apirocket-checkout-continue { display: none; }
1394
+ .apirocket-checkout-close { display: block; }
1395
+
1396
+ .apirocket-checkout-breadcrumbs { text-align: center; }
1397
+ .apirocket-checkout-breadcrumbs ol { display: inline-flex; text-align: center; }
1225
1398
 
1226
- .apirocket-button-wraper {
1227
- position: relative;
1228
- display: inline-block;
1229
- width: 32px;
1399
+ .apirocket-checkout-logo { display: none; }
1230
1400
  }
1231
1401
 
1232
- .apirocket-button-spinner {
1233
- position: absolute;
1234
- width: 22px;
1235
- height: 22px;
1236
- top: -11px;
1237
- left: 0;
1238
- right: 0;
1239
- bottom: 0;
1240
- margin: auto;
1241
- border: 4px solid currentColor;
1242
- border-top-color: transparent !important;
1243
- border-radius: 50%;
1244
- animation: button-loading-spinner 1s ease infinite;
1245
- }
1246
1402
 
1247
- @keyframes button-loading-spinner {
1248
- from { transform: rotate(0turn) }
1249
- to { transform: rotate(1turn) }
1250
- }
1403
+ @media (max-width: 720px) {
1251
1404
 
1252
- .apirocket-button-link,
1253
- button.apirocket-button-link {
1254
- display: flex;
1255
- align-items: center;
1256
- text-align: left;
1257
- justify-content: flex-start;
1258
- align-items: center;
1259
- border: none;
1260
- padding-left: 0;
1261
- padding-right: 0;
1262
- width: auto;
1263
- overflow: hidden;
1264
- white-space: nowrap;
1265
- text-overflow: ellipsis;
1266
- }
1405
+ .apirocket-checkout-row { display: block; }
1406
+ .apirocket-checkout-row > * { margin-right: 0; }
1407
+
1408
+ .apirocket-checkout-actions > :first-child { order: 2; }
1409
+ .apirocket-checkout-actions > :last-child { margin-bottom: 32px; }
1410
+ .apirocket-checkout-actions {
1411
+ flex-flow: column;
1412
+ align-items: stretch;
1413
+ }
1414
+
1415
+ .apirocket-checkout-fieldset-row > :last-child img { max-height: 16px; }
1416
+
1417
+ .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row > * { margin-bottom: 16px !important; }
1418
+ .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row:last-child > *:last-child { margin-bottom: 0px !important; }
1419
+
1420
+ .apirocket-checkout-section-subtitle {
1421
+ padding-top: 16px;
1422
+ margin-bottom: -16px;
1423
+ }
1424
+
1425
+ .apirocket-checkout-footer ul {
1426
+ display: block;
1427
+ text-align: center !important;
1428
+ line-height: 32px !important;
1429
+ }
1430
+
1431
+ .apirocket-checkout-footer ul li {
1432
+ display: inline-block;
1433
+ }
1434
+
1435
+ .apircoket-checkout-legal { text-align: center; }
1436
+
1437
+ .apirocket-checkout-summary-item-col-image {
1438
+ flex: 0 0 auto;
1439
+ max-width: 80px;
1440
+ }
1441
+
1442
+ .apirocket-checkout-summary-item-col-image img {
1443
+ max-height: 80px;
1444
+ }
1445
+
1446
+ .apirocket-checkout-summary-item-col-description {
1447
+ flex: 1 1;
1448
+ padding-left: 8px;
1449
+ font-size: 14px;
1450
+ line-height: 16px;
1451
+ }
1452
+
1453
+ .apirocket-checkout-summary-item-col-description small { font-size: 12px; }
1454
+
1455
+ .apirocket-checkout-summary-item-col-quantity {
1456
+ flex: 0 0 25px;
1457
+ font-size: 12px;
1458
+ }
1459
+
1460
+ .apirocket-checkout-summary-item-col-price {
1461
+ flex: 0 0 80px;
1462
+ font-size: 14px;
1463
+ }
1464
+
1465
+ .apirocket-checkout-summary-label-total {
1466
+ font-size: 16px;
1467
+ line-height: 18px;
1468
+ }
1469
+ .apirocket-checkout-summary-label-total small {
1470
+ font-size: 12px;
1471
+ line-height: 14px;
1472
+ }
1267
1473
 
1268
- .apirocket-button-link span {
1269
- margin-left: 16px;
1270
- margin-right: 16px;
1271
- }
1474
+ .apirocket-checkout-summary-row {
1475
+ padding-top: 8px;
1476
+ }
1272
1477
 
1273
- .apirocket-button-primary,
1274
- button.apirocket-button-primary {
1275
- background-color: var(--cart-button-primary-background-color, #1d4ed8);
1276
- border-color: var(--cart-button-primary-border-color, #1d4ed8);
1277
- color: var(--cart-button-primary-text-color, #fff);
1278
- }
1478
+ .apirocket-checkout-summary-label {
1479
+ font-size: 14px;
1480
+ line-height: 14px;
1481
+ }
1279
1482
 
1280
- button.apirocket-button-primary:disabled {
1281
- background-color: #eee;
1282
- border-color: #eee;
1283
- color: #ccc;
1284
- }
1483
+ .apirocket-checkout-summary-value,
1484
+ .apirocket-checkout-summary-value-total {
1485
+ font-size: 16px;
1486
+ line-height: 16px;
1487
+ }
1285
1488
 
1286
- .apirocket-button-primary:hover {
1287
- background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1288
- border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1289
- color: var(--cart-button-primary-text-color-hover, #fff);
1290
- box-shadow: var(--cart-shadow-button-primary-hover, none);
1291
- }
1489
+ .apirocket-checkout-mobile .apirocket-checkout-logo img {
1490
+ max-height: 55px;
1491
+ }
1292
1492
 
1493
+ .apirocket-checkout-steps-summary { margin-top: 24px; }
1293
1494
 
1294
- @media (max-width: 720px) {
1495
+ .apirocket-checkout-steps-summary-row { position: relative; }
1295
1496
 
1296
- .apirocket-button-link {
1297
- width: 100%;
1298
- justify-content: center;
1497
+ .apirocket-checkout-steps-summary-label {
1498
+ position: absolute;
1499
+ font-size: 14px;
1299
1500
  }
1300
1501
 
1502
+ .apirocket-checkout-steps-summary-text { margin-top: 18px; }
1503
+ .apirocket-checkout-steps-summary-link { font-size: 12px; }
1504
+
1301
1505
  }
1302
1506
 
1507
+
1303
1508
  .apirocket-form-input {
1304
1509
  display: block;
1305
1510
  position: relative;
@@ -1689,209 +1894,4 @@ button.apirocket-button-primary:disabled {
1689
1894
  .apirocket-form-select.invalid.touched .apirocket-form-select-placeholder { color: #dc2626; }
1690
1895
  .apirocket-form-select.invalid.touched .apirocket-form-select-error-message { display: block; }
1691
1896
 
1692
- .apirocket-modal *,
1693
- .apirocket-modal *::before,
1694
- .apirocket-modal *::after { box-sizing: border-box; }
1695
-
1696
- .apirocket-modal {
1697
- display: flex;
1698
- justify-content: center;
1699
- align-items: flex-start;
1700
- position: fixed;
1701
- z-index: 10001;
1702
- right: 0;
1703
- top: 0;
1704
- overflow: hidden;
1705
- overflow-y: auto;
1706
- width: 100%;
1707
- height: 100vh;
1708
- font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1709
- background-color: #f5f5f5;
1710
- }
1711
-
1712
- .apirocket-modal-nav {
1713
- position: absolute;
1714
- display: flex;
1715
- align-items: center;
1716
- width: 90%;
1717
- max-width: 1100px;
1718
- height: 96px;
1719
- }
1720
-
1721
- .apirocket-modal-nav-button {
1722
- display: flex;
1723
- align-items: center;
1724
- text-align: left;
1725
- color: #737373;
1726
- font-size: 16px;
1727
- font-weight: normal;
1728
- cursor: pointer;
1729
- }
1730
-
1731
- .apirocket-modal-nav-button svg { margin-right: 16px; }
1732
-
1733
- .apirocket-modal-content {
1734
- display: flex;
1735
- flex-flow: column;
1736
- width: 480px;
1737
- height: auto;
1738
- padding: 32px;
1739
- background-color: #fff;
1740
- margin-top: 96px;
1741
- margin-bottom: 32px;
1742
- }
1743
-
1744
- .apirocket-modal-header {
1745
- position: relative;
1746
- padding-bottom: 32px;
1747
- }
1748
-
1749
- .apirocket-modal-title {
1750
- font-size: 18px;
1751
- font-weight: bold;
1752
- line-height: 1;
1753
- color: #404040;
1754
- margin-bottom: 8px;
1755
- }
1756
-
1757
- .apirocket-modal-subtitle {
1758
- font-size: 14px;
1759
- font-weight: normal;
1760
- line-height: 16px;
1761
- color: #737373;
1762
- }
1763
-
1764
- .apirocket-modal-close {
1765
- position: absolute;
1766
- right: -16px;
1767
- top: -16px;
1768
- }
1769
-
1770
- .apirocket-modal-close-icon {
1771
- height: var(--cart-header-text-close-icon-size, 24px);
1772
- width: var(--cart-header-text-close-icon-size, 24px);
1773
- color: var(--cart-header-text-close-icon-color, #a3a3a3);
1774
- cursor: pointer;
1775
- }
1776
-
1777
- .apirocket-modal-body-text-password {
1778
- color: #404040;
1779
- font-size: 14px;
1780
- font-weight: normal;
1781
- line-height: 16px;
1782
- margin-top: -8px;text-align: right;
1783
- cursor: pointer;
1784
- }
1785
-
1786
- .apirocket-modal-body-text-password:hover { text-decoration: underline; }
1787
-
1788
- .apirocket-modal-footer-text {
1789
- color: #a3a3a3;
1790
- font-size: 14px;
1791
- font-weight: normal;
1792
- line-height: 16px;
1793
- text-align: center;
1794
- margin-top: 16px;
1795
- }
1796
-
1797
- .apirocket-modal-footer-text span {
1798
- color: #404040;
1799
- cursor: pointer;
1800
- }
1801
-
1802
- .apirocket-modal-footer-text span:hover { text-decoration: underline; }
1803
-
1804
-
1805
- .apirocket-modal-body {}
1806
-
1807
- .apirocket-modal-footer {
1808
- padding-top: 32px;
1809
- }
1810
-
1811
- .apirocket-modal-row {
1812
- display: flex;
1813
- justify-content: space-between;
1814
- align-items: flex-start;
1815
- }
1816
-
1817
- .apirocket-modal-row > * {
1818
- flex: 1 1;
1819
- margin-right: 16px;
1820
- }
1821
-
1822
- .apirocket-modal-row > *:last-child { margin-right: 0; }
1823
-
1824
-
1825
- @media (max-width: 720px) {
1826
- .apirocket-modal-row { display: block; }
1827
- .apirocket-modal-row > * { margin-right: 0; }
1828
-
1829
- .apirocket-modal-nav { display: none; }
1830
-
1831
- .apirocket-modal-content {
1832
- width: 95%;
1833
- margin-top: 32px;
1834
- padding: 24px;
1835
- }
1836
-
1837
- .apirocket-modal-close {
1838
- right: -8px;
1839
- top: -8px;
1840
- }
1841
- }
1842
-
1843
- .apirocket-modal-messaje {
1844
- margin-top: 32px;
1845
- margin-bottom: 32px;
1846
- text-align: center;
1847
- }
1848
-
1849
- .apirocket-modal-message-icon {
1850
- display: inline-flex;
1851
- justify-content: center;
1852
- align-items: center;
1853
- width: 48px;
1854
- height: 48px;
1855
- border-radius: 24px;
1856
- margin: auto;
1857
- margin-bottom: 32px;
1858
- }
1859
-
1860
- .apirocket-modal-message-icon-ok {
1861
- background-color: #d1fae5;
1862
- color: #10b981;
1863
- }
1864
-
1865
- .apirocket-modal-message-title {
1866
- font-size: 18px;
1867
- font-weight: bold;
1868
- line-height: 1;
1869
- text-align: center;
1870
- color: #404040;
1871
- margin-bottom: 16px;
1872
- }
1873
-
1874
- .apirocket-modal-message-text {
1875
- color: #737373;
1876
- font-size: 14px;
1877
- font-weight: normal;
1878
- text-align: center;
1879
- line-height: 16px;
1880
- margin-bottom: 32px;
1881
- }.apirocket-error-block {
1882
- display: flex;
1883
- justify-content: start;
1884
- align-items: center;
1885
- background-color: #fef2f2;
1886
- padding: 16px;
1887
- color: #dc2626;
1888
- font-size: 14px;
1889
- line-height: 18px;
1890
- border-radius: 8px;
1891
- margin-top: 16px;
1892
- margin-bottom: 0px;
1893
- }
1894
-
1895
- .apirocket-error-block-icon {
1896
- margin-right: 12px;
1897
- }.spinner.svelte-15qwtf3.svelte-15qwtf3{animation:svelte-15qwtf3-rotate 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px}.spinner.svelte-15qwtf3 .path.svelte-15qwtf3{stroke:rgb(161, 161, 170);stroke-linecap:round;animation:svelte-15qwtf3-dash 1.5s ease-in-out infinite}@keyframes svelte-15qwtf3-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-15qwtf3-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}
1897
+ .spinner.svelte-15qwtf3.svelte-15qwtf3{animation:svelte-15qwtf3-rotate 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px}.spinner.svelte-15qwtf3 .path.svelte-15qwtf3{stroke:rgb(161, 161, 170);stroke-linecap:round;animation:svelte-15qwtf3-dash 1.5s ease-in-out infinite}@keyframes svelte-15qwtf3-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-15qwtf3-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}