apirocket 0.0.14 → 0.0.20

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.
@@ -51,7 +51,7 @@
51
51
  --cart-item-quantity-icon-background-color: transparent;
52
52
  --cart-item-quantity-icon-size: 16px;
53
53
  --cart-item-price-font-size: 16px;
54
- --cart-item-price-font-weight: normal;
54
+ --cart-item-price-font-weight: bold;
55
55
  --cart-item-price-font-color: #404040;
56
56
 
57
57
  --cart-button-font-size: 16px;
@@ -121,29 +121,28 @@
121
121
  }
122
122
 
123
123
  .apirocket-cart-header-continue {
124
- display: block;
124
+ display: none;
125
+ align-items: center;
125
126
  text-align: left;
126
127
  color: #737373;
127
128
  font-size: 16px;
128
129
  font-weight: normal;
129
- display: none;
130
130
  cursor: pointer;
131
131
  }
132
132
 
133
133
  .apirocket-cart-header-login {
134
- display: block;
134
+ display: none;
135
+ align-items: center;
135
136
  text-align: right;
136
137
  color: #737373;
137
138
  font-size: 16px;
138
139
  font-weight: normal;
139
- display: none;
140
140
  cursor: pointer;
141
141
  }
142
142
 
143
143
  .apirocket-cart-header-login svg,
144
144
  .apirocket-cart-header-continue svg { margin-right: 16px; }
145
145
 
146
-
147
146
  .apirocket-cart-body {
148
147
  flex: 1 1 auto;
149
148
  padding: 0px;
@@ -151,6 +150,14 @@
151
150
  overflow-y: auto;
152
151
  }
153
152
 
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);
159
+ }
160
+
154
161
  .apirocket-cart-footer {
155
162
  flex: 0 0 auto;
156
163
  padding: var(--cart-padding, 32px);
@@ -209,6 +216,7 @@
209
216
  .apirocket-cart-item-col-description {
210
217
  align-self: flex-start;
211
218
  padding-right: 32px;
219
+ flex-grow: 1;
212
220
  }
213
221
 
214
222
  .apirocket-cart-item-col-description-name {
@@ -319,8 +327,9 @@
319
327
  padding: 40px 0px;
320
328
  }
321
329
 
322
- .apirocket-cart-full-screen .apirocket-cart-header-continue { display: block; }
323
- .apirocket-cart-full-screen .apirocket-cart-header-login { display: block; }
330
+ .apirocket-cart-full-screen .apirocket-cart-header-continue { display: flex; }
331
+ .apirocket-cart-full-screen .apirocket-cart-header-login { display: flex; }
332
+
324
333
  .apirocket-cart-full-screen .apirocket-cart-header-close { display: none; }
325
334
 
326
335
  .apirocket-cart-full-screen .apirocket-cart-footer {
@@ -329,6 +338,7 @@
329
338
  margin-left: auto;
330
339
  margin-right: 0;
331
340
  padding: 0px;
341
+ padding-top: 32px;
332
342
  padding-bottom: 96px;
333
343
  }
334
344
 
@@ -374,10 +384,14 @@
374
384
  /* Mobile version */
375
385
 
376
386
  @media (max-width: 720px) {
387
+
377
388
  .apirocket-cart {
378
389
  width: 100%;
379
390
  box-shadow: none;
380
391
  }
392
+
393
+ .apirocket-cart-header-continue { display: none; }
394
+ .apirocket-cart-header-login { display: none; }
381
395
  }.apirocket-checkout * { box-sizing: content-box; }
382
396
 
383
397
  .apirocket-checkout {
@@ -430,7 +444,8 @@
430
444
  }
431
445
 
432
446
  .apirocket-checkout-continue {
433
- display: block;
447
+ display: flex;
448
+ align-items: center;
434
449
  text-align: left;
435
450
  margin-top: 40px;
436
451
  margin-bottom: 40px;
@@ -440,8 +455,38 @@
440
455
  cursor: pointer;
441
456
  }
442
457
 
458
+ .apirocket-checkout-close {
459
+ display: none;
460
+ cursor: pointer;
461
+ position: absolute;
462
+ top: 16px;
463
+ right: 32px;
464
+ }
465
+
466
+ .apirocket-checkout-summary-container {
467
+ display: flex;
468
+ flex-flow: column;
469
+ max-height: calc(100vh - 5%);
470
+ overflow: hidden;
471
+ }
472
+
473
+ .apirocket-checkout-summary-top {
474
+ flex: 0 0 auto;
475
+ }
476
+
477
+ .apirocket-checkout-summary-content {
478
+ flex: 1 1 auto;
479
+ overflow-y: scroll;
480
+ }
481
+
482
+ .apirocket-checkout-summary-footer {
483
+ flex: 0 0 auto;
484
+ }
485
+
443
486
  .apirocket-checkout-summary-login {
444
- display: block;
487
+ display: flex;
488
+ align-items: center;
489
+ justify-content: end;
445
490
  text-align: right;
446
491
  margin-top: 40px;
447
492
  margin-bottom: 40px;
@@ -471,7 +516,7 @@
471
516
  .apirocket-checkout-summary-item {
472
517
  display: flex;
473
518
  justify-content: stretch;
474
- align-items: center;
519
+ align-items: flex-start;
475
520
  padding-bottom: 16px;
476
521
  border-bottom: 1px solid #d9d9d9;
477
522
  margin-bottom: 16px;
@@ -480,6 +525,9 @@
480
525
  .apirocket-checkout-summary-item-col-image {
481
526
  flex: 0 0 auto;
482
527
  max-width: 100px;
528
+ border: 1px solid #e5e5e5;
529
+ border-radius: 4px;
530
+ overflow: hidden;
483
531
  }
484
532
 
485
533
  .apirocket-checkout-summary-item-col-image img {
@@ -492,9 +540,9 @@
492
540
  flex: 1 1 auto;
493
541
  padding-left: 16px;
494
542
  padding-right: 8px;
495
- font-size: 16px;
543
+ font-size: 14px;
496
544
  font-weight: bold;
497
- line-height: 20px;
545
+ line-height: 18px;
498
546
  }
499
547
 
500
548
  .apirocket-checkout-summary-item-col-description small {
@@ -581,6 +629,7 @@
581
629
  }
582
630
 
583
631
  .apirocket-checkout-breadcrumbs ol li {
632
+ cursor: pointer;
584
633
  color: #a3a3a3;
585
634
  font-size: 14px;
586
635
  line-height: 1;
@@ -674,6 +723,14 @@
674
723
  text-align: right;
675
724
  }
676
725
 
726
+ .apirocket-checkout-button-edit {
727
+ cursor: pointer;
728
+ }
729
+
730
+ .apirocket-checkout-button-edit:hover {
731
+ text-decoration: underline;
732
+ }
733
+
677
734
  .apirocket-checkout-section a {
678
735
  color: #404040;
679
736
  outline: none;
@@ -717,8 +774,13 @@
717
774
  color: #404040;
718
775
  font-size: 14px;
719
776
  line-height: 1;
777
+ text-decoration: none;
720
778
  }
721
779
 
780
+ .apirocket-checkout-footer ul li a:focus {
781
+ outline: none;
782
+ text-decoration: underline;
783
+ }
722
784
 
723
785
  .apircoket-checkout-legal {
724
786
  margin-top: 16px;
@@ -828,11 +890,11 @@
828
890
 
829
891
  .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
830
892
 
831
- .apirocket-checkout-fieldset .form-input,
832
- .apirocket-checkout-fieldset .form-select,
833
- .apirocket-checkout-fieldset .form-checkbox,
834
- .apirocket-checkout-fieldset .form-radio { margin-bottom: 0; }
835
- .apirocket-checkout-fieldset .form-radio .form-radio-label { font-size: 16px; }
893
+ .apirocket-checkout-fieldset .apirocket-form-input,
894
+ .apirocket-checkout-fieldset .apirocket-form-select,
895
+ .apirocket-checkout-fieldset .apirocket-form-checkbox,
896
+ .apirocket-checkout-fieldset .apirocket-form-radio { margin-bottom: 0; }
897
+ .apirocket-checkout-fieldset .apirocket-form-radio .form-radio-label { font-size: 16px; }
836
898
 
837
899
  .apirocket-checkout-fieldset > * {
838
900
  padding: 16px;
@@ -897,7 +959,8 @@
897
959
  .apirocket-checkout-summary-header,
898
960
  .apirocket-checkout-summary-login { display: none; }
899
961
 
900
- .apirocket-checkout-continue { display: none;}
962
+ .apirocket-checkout-continue { display: none; }
963
+ .apirocket-checkout-close { display: block; }
901
964
 
902
965
  .apirocket-checkout-breadcrumbs { text-align: center; }
903
966
  .apirocket-checkout-breadcrumbs ol { display: inline-flex; text-align: center; }
@@ -945,7 +1008,9 @@
945
1008
  max-width: 80px;
946
1009
  }
947
1010
 
948
- .apirocket-checkout-summary-item-col-image img { max-height: 80px; }
1011
+ .apirocket-checkout-summary-item-col-image img {
1012
+ max-height: 80px;
1013
+ }
949
1014
 
950
1015
  .apirocket-checkout-summary-item-col-description {
951
1016
  flex: 1 1;
@@ -1009,73 +1074,7 @@
1009
1074
  }
1010
1075
 
1011
1076
 
1012
-
1013
- .apirocket-button {
1014
- box-sizing: border-box !important;
1015
- display: block;
1016
- width: 100%;
1017
- padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1018
- margin: 0px;
1019
- border-radius: var(--cart-button-border-radius, 4px);
1020
- background-color: var(--cart-button-background-color, transparent);
1021
- border: 1px solid var(--cart-button-border-color, #e5e5e5);
1022
- color: var(--cart-button-font-color, #737373);
1023
- line-height: 1;
1024
- font-size: var(--cart-button-font-size, 16px);
1025
- font-weight: var(--cart-button-font-weight, normal);
1026
- text-align: center;
1027
- transition-property: color, border-color, background-color, box-shadow;
1028
- transition-timing-function: ease;
1029
- transition-duration: 350ms;
1030
- cursor: pointer;
1031
- }
1032
-
1033
- .apirocket-button:hover {
1034
- background-color: var(--cart-button-background-color-hover, transparent);
1035
- border-color: var(--cart-button-border-color-hover, #404040);
1036
- color: var(--cart-button-font-color-hover, #404040);
1037
- }
1038
-
1039
- .apirocket-button-link {
1040
- display: block;
1041
- text-align: left;
1042
- justify-content: flex-start;
1043
- align-items: center;
1044
- border: none;
1045
- padding-left: 0;
1046
- padding-right: 0;
1047
- width: auto;
1048
- overflow: hidden;
1049
- white-space: nowrap;
1050
- text-overflow: ellipsis;
1051
- }
1052
- .apirocket-button-link span {
1053
- margin-left: 16px;
1054
- margin-right: 16px;
1055
- }
1056
-
1057
- .apirocket-button-primary {
1058
- background-color: var(--cart-button-primary-background-color, #1d4ed8);
1059
- border-color: var(--cart-button-primary-border-color, #1d4ed8);
1060
- color: var(--cart-button-primary-text-color, #fff);
1061
- }
1062
-
1063
- .apirocket-button-primary:hover {
1064
- background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1065
- border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1066
- color: var(--cart-button-primary-text-color-hover, #fff);
1067
- box-shadow: var(--cart-shadow-button-primary-hover, none);
1068
- }
1069
-
1070
-
1071
- @media (max-width: 720px) {
1072
-
1073
- .apirocket-button-link {
1074
- width: 100%;
1075
- text-align: center;
1076
- }
1077
-
1078
- }.apirocket-modal *,
1077
+ .apirocket-modal *,
1079
1078
  .apirocket-modal *::before,
1080
1079
  .apirocket-modal *::after { box-sizing: border-box; }
1081
1080
 
@@ -1104,16 +1103,17 @@
1104
1103
  height: 96px;
1105
1104
  }
1106
1105
 
1107
- .apirocket-modal-nav > div {
1108
- display: block;
1106
+ .apirocket-modal-nav-button {
1107
+ display: flex;
1108
+ align-items: center;
1109
1109
  text-align: left;
1110
1110
  color: #737373;
1111
1111
  font-size: 16px;
1112
1112
  font-weight: normal;
1113
- cursor: pointer;
1113
+ cursor: pointer;
1114
1114
  }
1115
1115
 
1116
- .apirocket-modal-nav > div svg { margin-right: 16px; }
1116
+ .apirocket-modal-nav-button svg { margin-right: 16px; }
1117
1117
 
1118
1118
  .apirocket-modal-content {
1119
1119
  display: flex;
@@ -1223,129 +1223,14 @@
1223
1223
  right: -8px;
1224
1224
  top: -8px;
1225
1225
  }
1226
- }.apirocket-summary {}
1227
-
1228
- .apirocket-summary-top {
1229
- margin-top: 56px;
1230
- margin-bottom: 32px;
1231
- }
1232
-
1233
- .apirocket-summary-header {
1234
- display: flex;
1235
- justify-content: flex-start;
1236
- align-items: center;
1237
- margin-bottom: 32px;
1238
- }
1239
-
1240
- .apirocket-summary-header-icon {
1241
- flex: 0 1;
1242
- margin-right: 16px;
1243
- }
1244
-
1245
- .apirocket-summary-header-content {}
1246
-
1247
- .apirocket-summary-header-title {
1248
- font-size: 24px;
1249
- font-weight: bold;
1250
- line-height: 1.2;
1251
- color: #404040;
1252
- margin-bottom: 4px;
1253
- }
1254
-
1255
- .apirocket-summary-header-subtitle {
1256
- font-size: 18px;
1257
- font-weight: normal;
1258
- line-height: 1.2;
1259
- color: #737373;
1260
- }
1261
-
1262
- .apirocket-summary-section {
1263
- margin-top: 16px;
1264
- border: 1px solid #d9d9d9;
1265
- border-radius: 4px;
1266
- padding: 24px;
1267
- }
1268
-
1269
- .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
1270
- .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
1271
-
1272
- .apirocket-summary-section-title {
1273
- font-size: 18px;
1274
- font-weight: bold;
1275
- line-height: 1.2;
1276
- color: #404040;
1277
- margin-bottom: 24px;
1278
- }
1279
-
1280
- .apirocket-summary-section-subtitle {
1281
- font-size: 16px;
1282
- font-weight: bold;
1283
- line-height: 1;
1284
- color: #404040;
1285
- margin-bottom: 16px;
1286
- }
1287
-
1288
- .apirocket-summary-section-text {
1289
- font-size: 14px;
1290
- font-weight: normal;
1291
- line-height: 18px;
1292
- color: #404040;
1293
- }
1294
-
1295
- .apirocket-summary-help {
1296
- display: flex;
1297
- justify-content: flex-start;
1298
- align-items: center;
1299
- }
1300
-
1301
- .apirocket-summary-help-icon {
1302
- flex: 0 1;
1303
- padding-right: 12px;
1304
- }
1305
-
1306
- .apirocket-summary-help-content {
1307
- font-size: 14px;
1308
- font-weight: normal;
1309
- line-height: 1.2;
1310
- color: #404040;
1311
- }
1312
-
1313
- .apirocket-summary-help-content a {
1314
- display: block;
1315
- color: #737373;
1316
- }
1317
-
1318
- @media (max-width: 1000px) {
1319
- .apirocket-summary-top { display: none; }
1320
- .apirocket-summary-header { margin-top: 32px; }
1321
- }
1322
-
1323
- @media (max-width: 720px) {
1324
- .apirocket-summary-section-subtitle { margin-top: 24px; }
1325
- .apirocket-summary-header {
1326
- flex-direction: column;
1327
- align-items: center;
1328
- text-align: center;
1329
- }
1330
- .apirocket-summary-header-icon {
1331
- margin-right: 0px;
1332
- margin-bottom: 16px;
1333
- }
1334
- .apirocket-summary-header-title {
1335
- font-size: 28px;
1336
- margin-bottom: 8px;
1337
- }
1338
- }
1339
-
1340
-
1341
-
1342
- .form-input {
1226
+ }.apirocket-form-input {
1343
1227
  display: block;
1344
1228
  position: relative;
1345
1229
  margin-bottom: 16px;
1346
1230
  }
1347
1231
 
1348
- .form-input input {
1232
+ .apirocket-form-input input {
1233
+ all: unset;
1349
1234
  appearance: none;
1350
1235
  -moz-appearance: none;
1351
1236
  -webkit-appearance: none;
@@ -1365,19 +1250,19 @@
1365
1250
  box-sizing: border-box;
1366
1251
  }
1367
1252
 
1368
- .form-input input:focus {
1253
+ .apirocket-form-input input:focus {
1369
1254
  border-color: #404040;
1370
1255
  box-shadow: 0 0 0 1px #404040;
1371
1256
  }
1372
1257
 
1373
- .form-input input:not(:placeholder-shown) {
1258
+ .apirocket-form-input input:not(:placeholder-shown) {
1374
1259
  padding-top: 22px;
1375
1260
  padding-bottom: 6px;
1376
1261
  }
1377
1262
 
1378
- .form-input input:disabled { background-color: #f5f5f5; opacity: 0.8; color: #404040; }
1263
+ .apirocket-form-input input:disabled { background-color: #f5f5f5; opacity: 0.8; color: #404040; }
1379
1264
 
1380
- .form-input-placeholder {
1265
+ .apirocket-form-input-placeholder {
1381
1266
  position: absolute;
1382
1267
  font-size: 12px;
1383
1268
  line-height: 1;
@@ -1392,12 +1277,12 @@
1392
1277
  text-overflow: ellipsis;
1393
1278
  }
1394
1279
 
1395
- .form-input input:not(:placeholder-shown) ~ span.form-input-placeholder {
1280
+ .apirocket-form-input input:not(:placeholder-shown) ~ span.apirocket-form-input-placeholder {
1396
1281
  opacity: 1;
1397
1282
  transform: translateY(0%);
1398
1283
  }
1399
1284
 
1400
- .form-input .form-input-error-message {
1285
+ .apirocket-form-input .apirocket-form-input-error-message {
1401
1286
  display: none;
1402
1287
  font-size: 14px;
1403
1288
  line-height: 1.2;
@@ -1406,18 +1291,15 @@
1406
1291
  color: #dc2626;
1407
1292
  }
1408
1293
 
1409
- .form-input.invalid.touched input {
1294
+ .apirocket-form-input.invalid.touched input {
1410
1295
  border-color: #dc2626;
1411
1296
  box-shadow: 0 0 0 1px #dc2626;
1412
1297
  }
1413
1298
 
1414
- .form-input.invalid.touched .form-input-placeholder { color: #dc2626; }
1415
- .form-input.invalid.touched .form-input-error-message { display: block; }
1416
-
1299
+ .apirocket-form-input.invalid.touched .apirocket-form-input-placeholder { color: #dc2626; }
1300
+ .apirocket-form-input.invalid.touched .apirocket-form-input-error-message { display: block; }
1417
1301
 
1418
-
1419
-
1420
- .form-checkbox {
1302
+ .apirocket-form-checkbox {
1421
1303
  display: flex;
1422
1304
  align-items: flex-start;
1423
1305
  justify-content: start;
@@ -1425,7 +1307,7 @@
1425
1307
  margin-bottom: 16px;
1426
1308
  }
1427
1309
 
1428
- .form-checkbox-label {
1310
+ .apirocket-form-checkbox-label {
1429
1311
  flex: 0 1 auto;
1430
1312
  display: block;
1431
1313
  font-size: 14px;
@@ -1435,13 +1317,14 @@
1435
1317
  cursor: pointer;
1436
1318
  }
1437
1319
 
1438
- .form-checkbox-label small {
1320
+ .apirocket-form-checkbox-label small {
1439
1321
  display: block;
1440
1322
  color: #a3a3a3;
1441
1323
  font-size: 12px;
1442
1324
  }
1443
1325
 
1444
- .form-checkbox input {
1326
+ .apirocket-form-checkbox input {
1327
+ all: unset;
1445
1328
  flex: 0 0 auto;
1446
1329
  appearance: none;
1447
1330
  -moz-appearance: none;
@@ -1464,20 +1347,20 @@
1464
1347
  background-color: #fff;
1465
1348
  }
1466
1349
 
1467
- .form-checkbox input:focus {
1350
+ .apirocket-form-checkbox input:focus {
1468
1351
  border-color: #404040;
1469
1352
  box-shadow: 0 0 0 1px #404040;
1470
1353
  }
1471
1354
 
1472
- .form-checkbox input:checked {
1355
+ .apirocket-form-checkbox input:checked {
1473
1356
  background-color: #404040;
1474
1357
  border-color: #404040;
1475
1358
  }
1476
1359
 
1477
- .form-checkbox input:disabled { background-color: #f5f5f5; }
1478
- .form-checkbox input:disabled + .form-checkbox-label { color: #a3a3a3; }
1360
+ .apirocket-form-checkbox input:disabled { background-color: #f5f5f5; }
1361
+ .apirocket-form-checkbox input:disabled + .apirocket-form-checkbox-label { color: #a3a3a3; }
1479
1362
 
1480
- .form-checkbox input::after {
1363
+ .apirocket-form-checkbox input::after {
1481
1364
  display: block;
1482
1365
  position: absolute;
1483
1366
  width: 20px;
@@ -1490,11 +1373,11 @@
1490
1373
  transform: scale(0);
1491
1374
  }
1492
1375
 
1493
- .form-checkbox input:checked::after {
1376
+ .apirocket-form-checkbox input:checked::after {
1494
1377
  transform: scale(1);
1495
1378
  }
1496
1379
 
1497
- .form-checkbox-error-message {
1380
+ .apirocket-form-checkbox-error-message {
1498
1381
  display: none;
1499
1382
  position: absolute;
1500
1383
  left: 32px;
@@ -1504,17 +1387,14 @@
1504
1387
  color: #dc2626;
1505
1388
  }
1506
1389
 
1507
- .form-checkbox.invalid.touched input {
1390
+ .apirocket-form-checkbox.invalid.touched input {
1508
1391
  border-color: #dc2626;
1509
1392
  box-shadow: 0 0 0 1px #dc2626;
1510
1393
  }
1511
1394
 
1512
- .form-checkbox.invalid.touched .form-checkbox-error-message { display: block; }
1513
-
1514
-
1395
+ .apirocket-form-checkbox.invalid.touched .apirocket-form-checkbox-error-message { display: block; }
1515
1396
 
1516
-
1517
- .form-radio {
1397
+ .apirocket-form-radio {
1518
1398
  display: flex;
1519
1399
  align-items: flex-start;
1520
1400
  justify-content: start;
@@ -1522,7 +1402,7 @@
1522
1402
  margin-bottom: 16px;
1523
1403
  }
1524
1404
 
1525
- .form-radio-label {
1405
+ .apirocket-form-radio-label {
1526
1406
  position: relative;
1527
1407
  flex: 0 1 auto;
1528
1408
  display: inline-block;
@@ -1533,20 +1413,20 @@
1533
1413
  cursor: pointer;
1534
1414
  }
1535
1415
 
1536
- .form-radio-label small {
1416
+ .apirocket-form-radio-label small {
1537
1417
  display: block;
1538
1418
  color: #a3a3a3;
1539
1419
  font-size: 12px;
1540
1420
  }
1541
1421
 
1542
- .form-radio input:checked ~ .form-radio-label { font-weight: bold; }
1543
- .form-radio input:checked ~ .form-radio-label small { font-weight: normal; }
1422
+ .apirocket-form-radio input:checked ~ .apirocket-form-radio-label { font-weight: bold; }
1423
+ .apirocket-form-radio input:checked ~ .apirocket-form-radio-label small { font-weight: normal; }
1544
1424
 
1545
- .form-radio input:disabled { background-color: #f5f5f5; }
1546
- .form-radio input:disabled + .form-radio-label { color: #a3a3a3; }
1425
+ .apirocket-form-radio input:disabled { background-color: #f5f5f5; }
1426
+ .apirocket-form-radio input:disabled + .apirocket-form-radio-label { color: #a3a3a3; }
1547
1427
 
1548
- .form-radio-label img,
1549
- .form-radio-label svg {
1428
+ .apirocket-form-radio-label img,
1429
+ .apirocket-form-radio-label svg {
1550
1430
  position: absolute;
1551
1431
  display: inline-block;
1552
1432
  height: 24px;
@@ -1554,7 +1434,7 @@
1554
1434
  top: -2px;
1555
1435
  }
1556
1436
 
1557
- .form-radio input {
1437
+ .apirocket-form-radio input {
1558
1438
  flex: 0 0 auto;
1559
1439
  appearance: none;
1560
1440
  -moz-appearance: none;
@@ -1577,17 +1457,17 @@
1577
1457
  background-color: #fff;
1578
1458
  }
1579
1459
 
1580
- .form-radio input:focus {
1460
+ .apirocket-form-radio input:focus {
1581
1461
  border-color: #404040;
1582
1462
  box-shadow: 0 0 0 1px #404040;
1583
1463
  }
1584
1464
 
1585
- .form-radio input:checked {
1465
+ .apirocket-form-radio input:checked {
1586
1466
  background-color: #404040;
1587
1467
  border-color: #404040;
1588
1468
  }
1589
1469
 
1590
- .form-radio input::after {
1470
+ .apirocket-form-radio input::after {
1591
1471
  display: block;
1592
1472
  position: absolute;
1593
1473
  width: 20px;
@@ -1600,11 +1480,11 @@
1600
1480
  transform: scale(0);
1601
1481
  }
1602
1482
 
1603
- .form-radio input:checked::after {
1483
+ .apirocket-form-radio input:checked::after {
1604
1484
  transform: scale(1);
1605
1485
  }
1606
1486
 
1607
- .form-radio-error-message {
1487
+ .apirocket-form-radio-error-message {
1608
1488
  display: none;
1609
1489
  position: absolute;
1610
1490
  left: 32px;
@@ -1614,23 +1494,21 @@
1614
1494
  color: #dc2626;
1615
1495
  }
1616
1496
 
1617
- .form-radio.invalid.touched input {
1497
+ .apirocket-form-radio.invalid.touched input {
1618
1498
  border-color: #dc2626;
1619
1499
  box-shadow: 0 0 0 1px #dc2626;
1620
1500
  }
1621
1501
 
1622
- .form-radio.invalid.touched .form-radio-error-message { display: block; }
1623
-
1624
-
1502
+ .apirocket-form-radio.invalid.touched .apirocket-form-radio-error-message { display: block; }
1625
1503
 
1626
-
1627
- .form-select {
1504
+ .apirocket-form-select {
1628
1505
  display: block;
1629
1506
  position: relative;
1630
1507
  margin-bottom: 16px;
1631
1508
  }
1632
1509
 
1633
- .form-select select {
1510
+ .apirocket-form-select select {
1511
+ all: unset;
1634
1512
  appearance: none;
1635
1513
  -moz-appearance: none;
1636
1514
  -webkit-appearance: none;
@@ -1650,19 +1528,19 @@
1650
1528
  cursor: pointer;
1651
1529
  }
1652
1530
 
1653
- .form-select select:focus {
1531
+ .apirocket-form-select select:focus {
1654
1532
  border-color: #404040;
1655
1533
  box-shadow: 0 0 0 1px #404040;
1656
1534
  }
1657
1535
 
1658
- .form-select select:not(:placeholder-shown) {
1536
+ .apirocket-form-select select:not(:placeholder-shown) {
1659
1537
  padding-top: 22px;
1660
1538
  padding-bottom: 6px;
1661
1539
  }
1662
1540
 
1663
- .form-select select:disabled { background-color: #f5f5f5; color: #404040; opacity: 0.8; }
1541
+ .apirocket-form-select select:disabled { background-color: #f5f5f5; color: #404040; opacity: 0.8; }
1664
1542
 
1665
- .form-select::before {
1543
+ .apirocket-form-select::before {
1666
1544
  display: block;
1667
1545
  position: absolute;
1668
1546
  top: 8px;
@@ -1677,7 +1555,7 @@
1677
1555
  pointer-events: none;
1678
1556
  }
1679
1557
 
1680
- .form-select-placeholder {
1558
+ .apirocket-form-select-placeholder {
1681
1559
  position: absolute;
1682
1560
  font-size: 12px;
1683
1561
  line-height: 1;
@@ -1692,12 +1570,12 @@
1692
1570
  text-overflow: ellipsis;
1693
1571
  }
1694
1572
 
1695
- .form-select select:not(:placeholder-shown) ~ span.form-select-placeholder {
1573
+ .apirocket-form-select select:not(:placeholder-shown) ~ span.apirocket-form-select-placeholder {
1696
1574
  opacity: 1;
1697
1575
  transform: translateY(0%);
1698
1576
  }
1699
1577
 
1700
- .form-select .form-select-error-message {
1578
+ .apirocket-form-select .apirocket-form-select-error-message {
1701
1579
  display: none;
1702
1580
  font-size: 14px;
1703
1581
  line-height: 1.2;
@@ -1706,11 +1584,205 @@
1706
1584
  color: #dc2626;
1707
1585
  }
1708
1586
 
1709
- .form-select.invalid.touched select {
1587
+ .apirocket-form-select.invalid.touched select {
1710
1588
  border-color: #dc2626;
1711
1589
  box-shadow: 0 0 0 1px #dc2626;
1712
1590
  }
1713
1591
 
1714
- .form-select.invalid.touched .form-select-placeholder { color: #dc2626; }
1715
- .form-select.invalid.touched .form-select-error-message { display: block; }
1592
+ .apirocket-form-select.invalid.touched .apirocket-form-select-placeholder { color: #dc2626; }
1593
+ .apirocket-form-select.invalid.touched .apirocket-form-select-error-message { display: block; }
1594
+
1716
1595
 
1596
+ .apirocket-button,
1597
+ button.apirocket-button {
1598
+ box-sizing: border-box !important;
1599
+ display: block;
1600
+ width: 100%;
1601
+ padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1602
+ margin: 0px;
1603
+ border-radius: var(--cart-button-border-radius, 4px);
1604
+ background-color: var(--cart-button-background-color, transparent);
1605
+ border: 1px solid var(--cart-button-border-color, #e5e5e5);
1606
+ color: var(--cart-button-font-color, #737373);
1607
+ line-height: 1;
1608
+ font-size: var(--cart-button-font-size, 16px);
1609
+ font-weight: var(--cart-button-font-weight, normal);
1610
+ text-align: center;
1611
+ transition-property: color, border-color, background-color, box-shadow;
1612
+ transition-timing-function: ease;
1613
+ transition-duration: 350ms;
1614
+ cursor: pointer;
1615
+ }
1616
+
1617
+ .apirocket-button:hover {
1618
+ background-color: var(--cart-button-background-color-hover, transparent);
1619
+ border-color: var(--cart-button-border-color-hover, #404040);
1620
+ color: var(--cart-button-font-color-hover, #404040);
1621
+ }
1622
+
1623
+ .apirocket-button:focus {
1624
+ outline: none;
1625
+ text-decoration: underline;
1626
+ }
1627
+
1628
+ .apirocket-button-link,
1629
+ button.apirocket-button-link {
1630
+ display: flex;
1631
+ align-items: center;
1632
+ text-align: left;
1633
+ justify-content: flex-start;
1634
+ align-items: center;
1635
+ border: none;
1636
+ padding-left: 0;
1637
+ padding-right: 0;
1638
+ width: auto;
1639
+ overflow: hidden;
1640
+ white-space: nowrap;
1641
+ text-overflow: ellipsis;
1642
+ }
1643
+
1644
+ .apirocket-button-link span {
1645
+ margin-left: 16px;
1646
+ margin-right: 16px;
1647
+ }
1648
+
1649
+ .apirocket-button-primary,
1650
+ button.apirocket-button-primary {
1651
+ background-color: var(--cart-button-primary-background-color, #1d4ed8);
1652
+ border-color: var(--cart-button-primary-border-color, #1d4ed8);
1653
+ color: var(--cart-button-primary-text-color, #fff);
1654
+ }
1655
+
1656
+ button.apirocket-button-primary:disabled {
1657
+ background-color: #eee;
1658
+ border-color: #eee;
1659
+ color: #ccc;
1660
+ }
1661
+
1662
+ .apirocket-button-primary:hover {
1663
+ background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1664
+ border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1665
+ color: var(--cart-button-primary-text-color-hover, #fff);
1666
+ box-shadow: var(--cart-shadow-button-primary-hover, none);
1667
+ }
1668
+
1669
+ @media (max-width: 720px) {
1670
+
1671
+ .apirocket-button-link {
1672
+ width: 100%;
1673
+ justify-content: center;
1674
+ }
1675
+
1676
+ }.apirocket-summary {}
1677
+
1678
+ .apirocket-summary-top {
1679
+ margin-top: 56px;
1680
+ margin-bottom: 32px;
1681
+ }
1682
+
1683
+ .apirocket-summary-header {
1684
+ display: flex;
1685
+ justify-content: flex-start;
1686
+ align-items: center;
1687
+ margin-bottom: 32px;
1688
+ }
1689
+
1690
+ .apirocket-summary-header-icon {
1691
+ flex: 0 1;
1692
+ margin-right: 16px;
1693
+ }
1694
+
1695
+ .apirocket-summary-header-content {}
1696
+
1697
+ .apirocket-summary-header-title {
1698
+ font-size: 24px;
1699
+ font-weight: bold;
1700
+ line-height: 1.2;
1701
+ color: #404040;
1702
+ margin-bottom: 4px;
1703
+ }
1704
+
1705
+ .apirocket-summary-header-subtitle {
1706
+ font-size: 18px;
1707
+ font-weight: normal;
1708
+ line-height: 1.2;
1709
+ color: #737373;
1710
+ }
1711
+
1712
+ .apirocket-summary-section {
1713
+ margin-top: 16px;
1714
+ border: 1px solid #d9d9d9;
1715
+ border-radius: 4px;
1716
+ padding: 24px;
1717
+ }
1718
+
1719
+ .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
1720
+ .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
1721
+
1722
+ .apirocket-summary-section-title {
1723
+ font-size: 18px;
1724
+ font-weight: bold;
1725
+ line-height: 1.2;
1726
+ color: #404040;
1727
+ margin-bottom: 24px;
1728
+ }
1729
+
1730
+ .apirocket-summary-section-subtitle {
1731
+ font-size: 16px;
1732
+ font-weight: bold;
1733
+ line-height: 1;
1734
+ color: #404040;
1735
+ margin-bottom: 16px;
1736
+ }
1737
+
1738
+ .apirocket-summary-section-text {
1739
+ font-size: 14px;
1740
+ font-weight: normal;
1741
+ line-height: 18px;
1742
+ color: #404040;
1743
+ }
1744
+
1745
+ .apirocket-summary-help {
1746
+ display: flex;
1747
+ justify-content: flex-start;
1748
+ align-items: center;
1749
+ }
1750
+
1751
+ .apirocket-summary-help-icon {
1752
+ flex: 0 1;
1753
+ padding-right: 12px;
1754
+ }
1755
+
1756
+ .apirocket-summary-help-content {
1757
+ font-size: 14px;
1758
+ font-weight: normal;
1759
+ line-height: 1.2;
1760
+ color: #404040;
1761
+ }
1762
+
1763
+ .apirocket-summary-help-content a {
1764
+ display: block;
1765
+ color: #737373;
1766
+ }
1767
+
1768
+ @media (max-width: 1000px) {
1769
+ .apirocket-summary-top { display: none; }
1770
+ .apirocket-summary-header { margin-top: 32px; }
1771
+ }
1772
+
1773
+ @media (max-width: 720px) {
1774
+ .apirocket-summary-section-subtitle { margin-top: 24px; }
1775
+ .apirocket-summary-header {
1776
+ flex-direction: column;
1777
+ align-items: center;
1778
+ text-align: center;
1779
+ }
1780
+ .apirocket-summary-header-icon {
1781
+ margin-right: 0px;
1782
+ margin-bottom: 16px;
1783
+ }
1784
+ .apirocket-summary-header-title {
1785
+ font-size: 28px;
1786
+ margin-bottom: 8px;
1787
+ }
1788
+ }.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}}