@kimafinance/kima-transaction-widget 1.0.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.
Files changed (68) hide show
  1. package/README.md +74 -0
  2. package/dist/assets/icons/Arrow.d.ts +8 -0
  3. package/dist/assets/icons/ArrowRight.d.ts +8 -0
  4. package/dist/assets/icons/Avalanche.d.ts +7 -0
  5. package/dist/assets/icons/Check.d.ts +7 -0
  6. package/dist/assets/icons/Cross.d.ts +8 -0
  7. package/dist/assets/icons/Ethereum.d.ts +7 -0
  8. package/dist/assets/icons/FooterLogo.d.ts +8 -0
  9. package/dist/assets/icons/Minimize.d.ts +8 -0
  10. package/dist/assets/icons/Polygon.d.ts +7 -0
  11. package/dist/assets/icons/Solana.d.ts +7 -0
  12. package/dist/assets/icons/USDC.d.ts +7 -0
  13. package/dist/assets/icons/USDT.d.ts +7 -0
  14. package/dist/assets/icons/Warning.d.ts +7 -0
  15. package/dist/assets/icons/index.d.ts +13 -0
  16. package/dist/assets/loading/180-ring.d.ts +3 -0
  17. package/dist/assets/loading/index.d.ts +1 -0
  18. package/dist/components/KimaTransactionWidget.d.ts +12 -0
  19. package/dist/components/TransactionWidget.d.ts +4 -0
  20. package/dist/components/TransferWidget.d.ts +4 -0
  21. package/dist/components/reusable/AddressInput.d.ts +3 -0
  22. package/dist/components/reusable/CoinDropdown.d.ts +3 -0
  23. package/dist/components/reusable/CoinSelect.d.ts +3 -0
  24. package/dist/components/reusable/ConfirmDetails.d.ts +3 -0
  25. package/dist/components/reusable/CustomCheckbox.d.ts +8 -0
  26. package/dist/components/reusable/Dropdown.d.ts +8 -0
  27. package/dist/components/reusable/ExternalLink.d.ts +9 -0
  28. package/dist/components/reusable/NetworkLabel.d.ts +8 -0
  29. package/dist/components/reusable/NetworkSelect.d.ts +6 -0
  30. package/dist/components/reusable/PrimaryButton.d.ts +9 -0
  31. package/dist/components/reusable/Progressbar.d.ts +9 -0
  32. package/dist/components/reusable/SecondaryButton.d.ts +9 -0
  33. package/dist/components/reusable/SingleForm.d.ts +3 -0
  34. package/dist/components/reusable/Tooltip.d.ts +8 -0
  35. package/dist/components/reusable/WalletButton.d.ts +5 -0
  36. package/dist/components/reusable/WalletConnectModal.d.ts +3 -0
  37. package/dist/components/reusable/WalletSelect.d.ts +3 -0
  38. package/dist/components/reusable/index.d.ts +13 -0
  39. package/dist/contexts/EthereumProviderContext.d.ts +18 -0
  40. package/dist/helpers/fetch-wrapper.d.ts +7 -0
  41. package/dist/helpers/functions.d.ts +2 -0
  42. package/dist/hooks/useAllowance.d.ts +4 -0
  43. package/dist/hooks/useIsWalletReady.d.ts +7 -0
  44. package/dist/hooks/useServiceFee.d.ts +3 -0
  45. package/dist/index.css +809 -0
  46. package/dist/index.d.ts +4 -0
  47. package/dist/index.js +6663 -0
  48. package/dist/index.js.map +1 -0
  49. package/dist/index.modern.js +6226 -0
  50. package/dist/index.modern.js.map +1 -0
  51. package/dist/interface.d.ts +31 -0
  52. package/dist/store/index.d.ts +5 -0
  53. package/dist/store/optionSlice.d.ts +47 -0
  54. package/dist/store/selectors.d.ts +20 -0
  55. package/dist/styles/hooks/index.d.ts +1 -0
  56. package/dist/styles/hooks/useWidth.d.ts +2 -0
  57. package/dist/utils/config.d.ts +8 -0
  58. package/dist/utils/constants.d.ts +50 -0
  59. package/dist/utils/ethereum/common.d.ts +21 -0
  60. package/dist/utils/ethereum/erc20Token.d.ts +171 -0
  61. package/dist/utils/functions.d.ts +1 -0
  62. package/dist/utils/parseError.d.ts +2 -0
  63. package/dist/utils/solana/createAssociatedTokenAccountInstruction.d.ts +2 -0
  64. package/dist/utils/solana/createTransferInstruction.d.ts +39 -0
  65. package/dist/utils/solana/getAccountInfo.d.ts +19 -0
  66. package/dist/utils/solana/getAssociatedTokenAddress.d.ts +2 -0
  67. package/dist/utils/solana/getOrCreateAssociatedTokenAccount.d.ts +14 -0
  68. package/package.json +69 -0
package/dist/index.css ADDED
@@ -0,0 +1,809 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
2
+ .kima-card {
3
+ position: relative; }
4
+ .kima-card .kima-card-header .topbar {
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: space-between; }
8
+ @media (max-width: 768px) {
9
+ .kima-card .kima-card-header .topbar {
10
+ flex-direction: column-reverse;
11
+ align-items: flex-start; } }
12
+ .kima-card .kima-card-header .topbar .title {
13
+ display: flex;
14
+ align-items: center;
15
+ font-size: 1.2em; }
16
+ .kima-card .kima-card-header .topbar .title h3 {
17
+ margin: 0; }
18
+ .kima-card .kima-card-header .topbar .title span {
19
+ color: #5aa0db;
20
+ font-weight: bold;
21
+ margin: 0 0 0 1em; }
22
+ @media (max-width: 768px) {
23
+ .kima-card .kima-card-header .topbar .title {
24
+ flex-direction: column;
25
+ align-items: flex-start; }
26
+ .kima-card .kima-card-header .topbar .title p {
27
+ margin: 0; } }
28
+ .kima-card .kima-card-header .topbar .control-buttons {
29
+ display: flex;
30
+ align-items: center; }
31
+ @media (max-width: 768px) {
32
+ .kima-card .kima-card-header .topbar .control-buttons {
33
+ margin-left: auto; } }
34
+ .kima-card .kima-card-header .topbar .control-buttons .icon-button {
35
+ background: transparent;
36
+ border: none;
37
+ font-size: 1em;
38
+ cursor: pointer;
39
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
40
+ .kima-card .kima-card-header .topbar .control-buttons .icon-button:hover {
41
+ opacity: 0.6; }
42
+ .kima-card .kima-card-header .topbar .control-buttons .icon-button svg {
43
+ width: 1em;
44
+ height: 1em; }
45
+ .kima-card .kima-card-header .topbar .control-buttons .icon-button:first-of-type svg {
46
+ margin-top: 0.5em; }
47
+ .kima-card .kima-card-header .topbar .control-buttons .maximize {
48
+ color: #5aa0db;
49
+ cursor: pointer; }
50
+ .kima-card .kima-card-footer {
51
+ display: flex;
52
+ align-items: center;
53
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
54
+ max-height: 3em;
55
+ padding-top: 2em;
56
+ opacity: 1;
57
+ box-sizing: content-box; }
58
+ .kima-card .kima-card-footer svg {
59
+ width: 10em;
60
+ height: 2.5em; }
61
+ .kima-card .kima-card-footer p {
62
+ font-size: 0.8em;
63
+ margin: 0 0 0 1em; }
64
+ .kima-card .kima-card-footer a,
65
+ .kima-card .kima-card-footer .menu-button {
66
+ margin-left: auto;
67
+ color: #5aa0db;
68
+ text-decoration: none;
69
+ cursor: pointer; }
70
+ .kima-card .kima-card-footer button {
71
+ margin-left: 1em; }
72
+ @media (max-width: 768px) {
73
+ .kima-card .kima-card-footer p {
74
+ display: none; } }
75
+
76
+ .kima-card .kima-card-content .kima-progressbar {
77
+ height: 1em;
78
+ width: 100%;
79
+ position: relative;
80
+ border-radius: 1em;
81
+ margin-bottom: 4em; }
82
+ @media (max-width: 768px) {
83
+ .kima-card .kima-card-content .kima-progressbar {
84
+ font-size: 1.5em; } }
85
+ .kima-card .kima-card-content .kima-progressbar .value {
86
+ position: absolute;
87
+ z-index: 10;
88
+ height: 100%;
89
+ width: 100%;
90
+ border-radius: 1em;
91
+ background: linear-gradient(90deg, #85d2dd 8.08%, #579dda 96.15%);
92
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
93
+ transition-duration: 1000ms; }
94
+ .kima-card .kima-card-content .kima-progressbar .step-indicators {
95
+ position: relative;
96
+ z-index: 20;
97
+ display: flex;
98
+ justify-content: space-between;
99
+ margin: 0 -0.2em;
100
+ padding-bottom: 4em; }
101
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step {
102
+ width: 1.4em;
103
+ height: 1.4em;
104
+ margin-top: -0.2em;
105
+ position: relative;
106
+ cursor: pointer; }
107
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step:before {
108
+ content: '';
109
+ border-radius: 100%;
110
+ position: absolute;
111
+ left: 0.3em;
112
+ top: 0.3em;
113
+ width: 0.8em;
114
+ height: 0.8em;
115
+ background: white;
116
+ box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15); }
117
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step:hover:before {
118
+ width: 1em;
119
+ height: 1em;
120
+ left: 0;
121
+ top: 0;
122
+ background: #5aa0db;
123
+ border: 0.2em solid white; }
124
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info {
125
+ position: absolute;
126
+ width: 10em;
127
+ left: -4em;
128
+ top: 2em;
129
+ display: flex;
130
+ justify-content: center;
131
+ align-items: center;
132
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
133
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info:hover {
134
+ color: #5aa0db; }
135
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info span {
136
+ text-align: center;
137
+ margin-left: 0.5em; }
138
+ @media (max-width: 768px) {
139
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info {
140
+ width: 3em;
141
+ left: -0.5em;
142
+ flex-direction: column;
143
+ position: relative;
144
+ margin-left: -0.3em; }
145
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info span {
146
+ font-size: 0.66em;
147
+ text-overflow: ellipsis;
148
+ overflow: hidden;
149
+ white-space: nowrap;
150
+ margin-left: 0;
151
+ margin-top: 1em;
152
+ width: 100%; }
153
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info svg {
154
+ position: absolute;
155
+ top: 0; }
156
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info:hover {
157
+ align-items: center; }
158
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step .step-info:hover span {
159
+ overflow: visible !important;
160
+ text-overflow: inherit !important;
161
+ white-space: inherit !important;
162
+ display: flex;
163
+ justify-content: center; } }
164
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step:first-of-type .step-info {
165
+ left: 0;
166
+ justify-content: flex-start; }
167
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step:last-of-type .step-info {
168
+ left: unset;
169
+ right: 0;
170
+ justify-content: flex-end; }
171
+ @media (max-width: 768px) {
172
+ .kima-card .kima-card-content .kima-progressbar .step-indicators .step:last-of-type .step-info {
173
+ right: 1em; } }
174
+
175
+ .kima-card .kima-card-content .kima-tooltip {
176
+ padding-top: 2em;
177
+ width: 100%;
178
+ position: relative; }
179
+ .kima-card .kima-card-content .kima-tooltip > div {
180
+ position: relative;
181
+ height: -moz-fit-content;
182
+ height: fit-content;
183
+ width: 50%;
184
+ display: flex;
185
+ justify-content: center;
186
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
187
+ .kima-card .kima-card-content .kima-tooltip > div.position-first {
188
+ left: -1em !important;
189
+ justify-content: flex-start; }
190
+ .kima-card .kima-card-content .kima-tooltip > div.position-first .content-wrapper:before {
191
+ left: 1em; }
192
+ .kima-card .kima-card-content .kima-tooltip > div.position-last {
193
+ left: calc(50% + 1em) !important;
194
+ justify-content: flex-end; }
195
+ .kima-card .kima-card-content .kima-tooltip > div.position-last .content-wrapper:before {
196
+ left: calc(100% - 3em) !important; }
197
+ @media (max-width: 768px) {
198
+ .kima-card .kima-card-content .kima-tooltip > div {
199
+ width: 100%;
200
+ left: 0 !important; }
201
+ .kima-card .kima-card-content .kima-tooltip > div.position-last {
202
+ left: 1em !important; } }
203
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper {
204
+ width: 20em;
205
+ border: 1px solid #66aae5;
206
+ border-radius: 1em;
207
+ padding: 1.5em;
208
+ position: relative; }
209
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper:before {
210
+ position: absolute;
211
+ content: '';
212
+ width: 2em;
213
+ height: 1.5em;
214
+ left: calc(50% - 1em);
215
+ top: -1.5em;
216
+ background: #66aae5;
217
+ -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
218
+ clip-path: polygon(50% 0, 100% 100%, 0 100%);
219
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
220
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper .info-item {
221
+ position: relative; }
222
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper .info-item:not(:first-of-type) {
223
+ margin-top: 0.8em; }
224
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper .info-item p {
225
+ margin-left: 1.5em; }
226
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper .info-item svg {
227
+ position: absolute;
228
+ margin-top: 0.3em; }
229
+ @media (max-width: 768px) {
230
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper {
231
+ width: 100%; }
232
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper:before {
233
+ opacity: 0; }
234
+ .kima-card .kima-card-content .kima-tooltip > div .content-wrapper .arrow {
235
+ position: absolute;
236
+ position: absolute;
237
+ content: '';
238
+ width: 2em;
239
+ height: 1.5em;
240
+ top: -1.5em;
241
+ background: #66aae5;
242
+ -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
243
+ clip-path: polygon(50% 0, 100% 100%, 0 100%);
244
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); } }
245
+
246
+ .kima-card .kima-card-content .network-select p {
247
+ font-size: 1.2em;
248
+ font-weight: 500;
249
+ text-align: center; }
250
+
251
+ .kima-card .kima-card-content .network-select .network-container {
252
+ display: flex;
253
+ -moz-column-gap: 1em;
254
+ column-gap: 1em;
255
+ align-items: center;
256
+ justify-content: center;
257
+ margin-top: 2em; }
258
+
259
+ .kima-card .kima-card-content .single-form {
260
+ padding-left: 2em; }
261
+ .kima-card .kima-card-content .single-form .form-item {
262
+ display: flex;
263
+ align-items: center; }
264
+ .kima-card .kima-card-content .single-form .form-item:not(:first-of-type) {
265
+ margin-top: 2em; }
266
+ .kima-card .kima-card-content .single-form .form-item > span {
267
+ font-size: 1.16em;
268
+ width: 10em; }
269
+ .kima-card .kima-card-content .single-form .form-item .network-item {
270
+ display: flex;
271
+ align-items: center;
272
+ width: 9em;
273
+ height: 3.5em;
274
+ border-radius: 0.8em;
275
+ padding: 0 0.8em;
276
+ cursor: pointer;
277
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
278
+ .kima-card .kima-card-content .single-form .form-item .network-item svg {
279
+ width: 2em;
280
+ height: 2em;
281
+ border-radius: 100%; }
282
+ .kima-card .kima-card-content .single-form .form-item .network-item p {
283
+ width: 100%;
284
+ text-align: center;
285
+ font-weight: bold; }
286
+ .kima-card .kima-card-content .single-form .form-item .network-item:not(:first-of-type) {
287
+ margin-left: 0.5em; }
288
+ .kima-card .kima-card-content .single-form .form-item .network-item.light {
289
+ background: #e3e3e3; }
290
+ .kima-card .kima-card-content .single-form .form-item .network-item.dark {
291
+ background: #4f5156; }
292
+ .kima-card .kima-card-content .single-form .form-item .network-item.active {
293
+ background: #66aae5; }
294
+ .kima-card .kima-card-content .single-form .form-item .network-item.active p {
295
+ color: white; }
296
+ .kima-card .kima-card-content .single-form .form-item .network-item:hover {
297
+ opacity: 0.7; }
298
+ .kima-card .kima-card-content .single-form .form-item input {
299
+ border: 1px solid #979797;
300
+ border-radius: 0.8em;
301
+ height: 3em;
302
+ background: transparent;
303
+ color: white;
304
+ outline: none;
305
+ font: unset;
306
+ width: 10em;
307
+ padding: 0.3em 0.5em 0.3em 1em;
308
+ box-sizing: content-box; }
309
+ .kima-card .kima-card-content .single-form .form-item input.kima-address-input {
310
+ width: 20em; }
311
+ .kima-card .kima-card-content .single-form .form-item.light input {
312
+ color: black; }
313
+ .kima-card .kima-card-content .single-form .coin-dropdown {
314
+ position: relative;
315
+ border-radius: 1em;
316
+ padding: 0.5em;
317
+ padding-right: 3em;
318
+ height: 2.8em;
319
+ display: flex;
320
+ align-items: center;
321
+ margin-left: 0.5em;
322
+ cursor: pointer;
323
+ box-sizing: content-box; }
324
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-wrapper {
325
+ display: flex;
326
+ align-items: center;
327
+ border-radius: 1em;
328
+ font-size: 1em;
329
+ font-weight: 500;
330
+ padding: 0.2em;
331
+ padding-right: 0.5em;
332
+ background: white;
333
+ color: black; }
334
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-wrapper svg {
335
+ width: 1.5em;
336
+ height: 1.5em;
337
+ margin-right: 0.5em; }
338
+ .kima-card .kima-card-content .single-form .coin-dropdown.dark .coin-wrapper {
339
+ background: #979797;
340
+ color: white; }
341
+ .kima-card .kima-card-content .single-form .coin-dropdown:before {
342
+ position: absolute;
343
+ content: '';
344
+ width: 0.8em;
345
+ height: 0.8em;
346
+ right: 1.1em;
347
+ top: 1.7em;
348
+ border-top: 2px solid;
349
+ border-right: 2px solid;
350
+ border-color: white;
351
+ transform: rotate(-45deg);
352
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
353
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu {
354
+ box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
355
+ position: absolute;
356
+ z-index: 100;
357
+ max-height: 10em;
358
+ width: 100%;
359
+ top: 100%;
360
+ left: 0;
361
+ overflow: hidden;
362
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
363
+ padding: 0.5em 0; }
364
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu .coin-item {
365
+ padding: 0em 1em;
366
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
367
+ display: flex;
368
+ align-items: center; }
369
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu .coin-item svg {
370
+ width: 2.5em;
371
+ height: 2.5em; }
372
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu .coin-item p {
373
+ width: 100%;
374
+ text-align: center;
375
+ margin: 0; }
376
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu .coin-item:hover {
377
+ background: #5aa0db80; }
378
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu.light {
379
+ background: white; }
380
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu.dark {
381
+ background: #4f5156; }
382
+ .kima-card .kima-card-content .single-form .coin-dropdown .coin-menu.collapsed {
383
+ max-height: 0;
384
+ opacity: 0; }
385
+ .kima-card .kima-card-content .single-form .coin-dropdown.light {
386
+ background: #e3e3e3; }
387
+ .kima-card .kima-card-content .single-form .coin-dropdown.light:before {
388
+ border-color: black; }
389
+ .kima-card .kima-card-content .single-form .coin-dropdown.collapsed:before {
390
+ transform: rotate(135deg);
391
+ top: 1.2em; }
392
+ .kima-card .kima-card-content .single-form .coin-dropdown.dark {
393
+ background: #4f5156; }
394
+
395
+ .kima-card .kima-card-content .wallet-button {
396
+ font-size: 1.16em;
397
+ display: flex;
398
+ align-items: center; }
399
+ .kima-card .kima-card-content .wallet-button button {
400
+ width: 12em;
401
+ height: 3.5em; }
402
+ .kima-card .kima-card-content .wallet-button .provider-error {
403
+ color: red;
404
+ font-size: 0.8em;
405
+ margin-left: 1em; }
406
+ .kima-card .kima-card-content .wallet-button.error-below {
407
+ flex-direction: column; }
408
+ .kima-card .kima-card-content .wallet-button.error-below .provider-error {
409
+ margin-left: 0;
410
+ margin-top: 1em; }
411
+
412
+ .kima-card .kima-card-content .connect-wallet-step {
413
+ display: flex;
414
+ flex-direction: column;
415
+ align-items: center;
416
+ justify-content: center; }
417
+ .kima-card .kima-card-content .connect-wallet-step p {
418
+ font-size: 1.2em;
419
+ font-weight: 500;
420
+ margin-bottom: 2em; }
421
+
422
+ .kima-card .kima-card-content .coin-select p {
423
+ font-size: 1.2em;
424
+ font-weight: 500;
425
+ text-align: center; }
426
+
427
+ .kima-card .kima-card-content .coin-select .coin-list-container {
428
+ display: flex;
429
+ -moz-column-gap: 1em;
430
+ column-gap: 1em;
431
+ align-items: center;
432
+ justify-content: center;
433
+ margin-top: 2em; }
434
+
435
+ .kima-card .kima-card-content .coin-select .amount-input {
436
+ display: flex;
437
+ align-items: center;
438
+ justify-content: center;
439
+ margin-top: 2em; }
440
+ .kima-card .kima-card-content .coin-select .amount-input > span {
441
+ margin-right: 1.5em;
442
+ font-size: 1.2em; }
443
+ .kima-card .kima-card-content .coin-select .amount-input .input-wrapper {
444
+ position: relative; }
445
+ .kima-card .kima-card-content .coin-select .amount-input .input-wrapper input {
446
+ border: 1px solid #979797;
447
+ border-radius: 0.8em;
448
+ height: 3em;
449
+ background: transparent;
450
+ color: white;
451
+ outline: none;
452
+ font: unset;
453
+ width: 12em;
454
+ padding: 0.3em 0.5em 0.3em 1em;
455
+ box-sizing: content-box; }
456
+ .kima-card .kima-card-content .coin-select .amount-input .input-wrapper .coin-label {
457
+ position: absolute;
458
+ display: flex;
459
+ align-items: center;
460
+ padding: 0.3em 0.5em 0.3em 0.3em;
461
+ border-radius: 1em;
462
+ right: 0.8em;
463
+ top: 0.8em; }
464
+ .kima-card .kima-card-content .coin-select .amount-input .input-wrapper .coin-label svg {
465
+ width: 1.5em;
466
+ height: 1.5em; }
467
+ .kima-card .kima-card-content .coin-select .amount-input .input-wrapper .coin-label span {
468
+ margin-left: 0.5em; }
469
+ .kima-card .kima-card-content .coin-select .amount-input.light input {
470
+ color: black; }
471
+ .kima-card .kima-card-content .coin-select .amount-input.light .coin-label {
472
+ background: #e3e3e3; }
473
+ .kima-card .kima-card-content .coin-select .amount-input.dark .coin-label {
474
+ background: #4f5156; }
475
+
476
+ .kima-card .kima-card-content .confirm-details {
477
+ padding: 0 8em;
478
+ font-size: 1.2em; }
479
+ .kima-card .kima-card-content .confirm-details > p {
480
+ text-align: center; }
481
+ .kima-card .kima-card-content .confirm-details .detail-item {
482
+ padding: 1em 2em;
483
+ display: flex;
484
+ align-items: center;
485
+ border-top: 1px solid #e3e3e3; }
486
+ .kima-card .kima-card-content .confirm-details .detail-item p {
487
+ margin: 0; }
488
+ .kima-card .kima-card-content .confirm-details .detail-item .label {
489
+ font-weight: bold;
490
+ width: 8em; }
491
+ .kima-card .kima-card-content .confirm-details .detail-item .kima-card-network-label {
492
+ display: flex;
493
+ padding: 0.3em 0.5em 0.3em 0.5em;
494
+ border-radius: 1em;
495
+ margin-left: 1em; }
496
+ .kima-card .kima-card-content .confirm-details .detail-item:last-of-type {
497
+ border-bottom: 1px solid #e3e3e3; }
498
+ .kima-card .kima-card-content .confirm-details.light .kima-card-network-label {
499
+ background: #e3e3e3; }
500
+ .kima-card .kima-card-content .confirm-details.dark .kima-card-network-label {
501
+ background: #4f5156; }
502
+
503
+ .kima-card .kima-card-content .kima-custom-checkbox {
504
+ margin-left: 2em;
505
+ display: flex;
506
+ align-items: center; }
507
+ .kima-card .kima-card-content .kima-custom-checkbox .icon-wrapper {
508
+ border: 1px solid #ffffff;
509
+ height: 1em;
510
+ width: 1em;
511
+ border-radius: 0.2em;
512
+ display: flex;
513
+ justify-content: center;
514
+ align-items: center;
515
+ cursor: pointer; }
516
+ .kima-card .kima-card-content .kima-custom-checkbox .icon-wrapper.light {
517
+ border-color: #4f5156; }
518
+ .kima-card .kima-card-content .kima-custom-checkbox .icon-wrapper svg {
519
+ margin-top: 0.2em;
520
+ margin-left: 1px; }
521
+ .kima-card .kima-card-content .kima-custom-checkbox > span {
522
+ margin-left: 0.5em; }
523
+
524
+ .kima-card .card-item {
525
+ width: 10em;
526
+ height: 9em;
527
+ border-radius: 1em;
528
+ display: flex;
529
+ flex-direction: column;
530
+ justify-content: center;
531
+ align-items: center;
532
+ cursor: pointer;
533
+ text-decoration: none;
534
+ color: inherit;
535
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
536
+ .kima-card .card-item svg,
537
+ .kima-card .card-item img {
538
+ width: 3em;
539
+ height: 3em;
540
+ border-radius: 100%; }
541
+ .kima-card .card-item span {
542
+ font-weight: bold;
543
+ margin-top: 1em;
544
+ text-align: center; }
545
+ .kima-card .card-item.light {
546
+ background: #e3e3e3; }
547
+ .kima-card .card-item.dark {
548
+ background: #4f5156; }
549
+ .kima-card .card-item.active {
550
+ background: #66aae5; }
551
+ .kima-card .card-item.active span {
552
+ color: white; }
553
+ .kima-card .card-item:hover {
554
+ opacity: 0.7; }
555
+
556
+ .kima-card .kima-card-network-label {
557
+ display: flex;
558
+ align-items: center;
559
+ -moz-column-gap: 0.5em;
560
+ column-gap: 0.5em;
561
+ padding-top: 1em; }
562
+ .kima-card .kima-card-network-label > svg {
563
+ width: 1em;
564
+ height: 1em; }
565
+ .kima-card .kima-card-network-label .label {
566
+ display: flex;
567
+ border-radius: 1em;
568
+ font-size: 1em;
569
+ -moz-column-gap: 0.3em;
570
+ column-gap: 0.3em;
571
+ align-items: center;
572
+ padding: 0.2em 0.4em; }
573
+ .kima-card .kima-card-network-label .label .icon-wrapper {
574
+ display: flex;
575
+ justify-content: center;
576
+ align-items: center;
577
+ width: 1.2em;
578
+ height: 1.2em; }
579
+ .kima-card .kima-card-network-label .label .icon-wrapper svg {
580
+ width: 100%;
581
+ height: 100%; }
582
+ .kima-card .kima-card-network-label .warning-container {
583
+ margin-left: 1em;
584
+ display: flex;
585
+ align-items: center;
586
+ -moz-column-gap: 0.5em;
587
+ column-gap: 0.5em; }
588
+
589
+ .kima-card .primary-button {
590
+ background: #66aae5;
591
+ border-radius: 0.8em;
592
+ width: 10em;
593
+ height: 3em;
594
+ cursor: pointer;
595
+ color: white;
596
+ font-size: 1em;
597
+ font-weight: bold;
598
+ font-family: inherit;
599
+ border: none;
600
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
601
+ display: flex;
602
+ align-items: center;
603
+ justify-content: center; }
604
+ .kima-card .primary-button:hover {
605
+ opacity: 0.7; }
606
+ .kima-card .primary-button .loading-indicator {
607
+ margin-right: 0.5em; }
608
+ .kima-card .primary-button .loading-indicator svg {
609
+ width: 1.5em;
610
+ height: 1.5em;
611
+ margin-top: 0.3em; }
612
+
613
+ .kima-card .secondary-button {
614
+ border-radius: 0.8em;
615
+ width: 10em;
616
+ height: 3em;
617
+ cursor: pointer;
618
+ font-size: 1em;
619
+ font-weight: bold;
620
+ font-family: inherit;
621
+ border: none;
622
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
623
+ .kima-card .secondary-button.dark {
624
+ color: white;
625
+ background: #4f5156; }
626
+ .kima-card .secondary-button.light {
627
+ color: black;
628
+ background: #e3e3e3; }
629
+ .kima-card .secondary-button:hover {
630
+ opacity: 0.7; }
631
+
632
+ .kima-card .dropdown-menu {
633
+ box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
634
+ position: absolute;
635
+ z-index: 100;
636
+ max-height: 10em;
637
+ overflow: hidden;
638
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
639
+ padding: 0.5em 0; }
640
+ .kima-card .dropdown-menu .menu-item {
641
+ padding: 0.5em 1em;
642
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
643
+ .kima-card .dropdown-menu .menu-item:hover {
644
+ background: #5aa0db80; }
645
+ .kima-card .dropdown-menu.light {
646
+ background: white; }
647
+ .kima-card .dropdown-menu.dark {
648
+ background: #1b1e25; }
649
+ .kima-card .dropdown-menu.closed {
650
+ max-height: 0;
651
+ opacity: 0;
652
+ pointer-events: none; }
653
+
654
+ .kima-card .modal {
655
+ position: absolute;
656
+ z-index: 100;
657
+ width: calc(100% - 8em);
658
+ height: 0;
659
+ opacity: 0;
660
+ padding: 2em;
661
+ left: 2em;
662
+ top: 2em;
663
+ border: 1px solid #66aae5;
664
+ box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
665
+ border-radius: 1em;
666
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
667
+ overflow: hidden; }
668
+ .kima-card .modal.light {
669
+ background: white;
670
+ color: black; }
671
+ .kima-card .modal.dark {
672
+ background: #1b1e25;
673
+ color: white; }
674
+ .kima-card .modal.open {
675
+ height: calc(100% - 8em);
676
+ opacity: 1; }
677
+ .kima-card .modal-content {
678
+ width: 100%;
679
+ height: calc(100% - 8em);
680
+ display: flex;
681
+ align-items: center;
682
+ justify-content: center; }
683
+ .kima-card .modal-content .wallet-select {
684
+ width: 100%;
685
+ position: relative; }
686
+ .kima-card .modal-content .wallet-select .scroll-button {
687
+ position: absolute;
688
+ width: 100%;
689
+ bottom: 8em; }
690
+ .kima-card .modal-content .wallet-select .scroll-button svg {
691
+ width: 2em;
692
+ height: 4em;
693
+ cursor: pointer;
694
+ position: absolute; }
695
+ .kima-card .modal-content .wallet-select .scroll-button svg:first-of-type {
696
+ left: 4em; }
697
+ .kima-card .modal-content .wallet-select .scroll-button svg:last-of-type {
698
+ right: 4em;
699
+ transform: rotate(180deg); }
700
+ .kima-card .modal-content .wallet-select p {
701
+ font-size: 1.2em;
702
+ font-weight: 500;
703
+ text-align: center; }
704
+ .kima-card .modal-content .wallet-select .slide-area {
705
+ width: 40em;
706
+ padding: 2em;
707
+ margin: 0 auto;
708
+ overflow: hidden;
709
+ overflow-x: scroll;
710
+ -webkit-mask-image: linear-gradient(90deg, #00000020 0%, black 5%, black 95%, #00000020 100%);
711
+ mask-image: linear-gradient(90deg, #00000020 0%, black 5%, black 95%, #00000020 100%);
712
+ position: relative; }
713
+ .kima-card .modal-content .wallet-select .slide-area .wallet-container {
714
+ display: flex;
715
+ width: -moz-max-content;
716
+ width: max-content;
717
+ -moz-column-gap: 1em;
718
+ column-gap: 1em;
719
+ align-items: center;
720
+ justify-content: center;
721
+ margin-top: 2em; }
722
+
723
+ .kima-card {
724
+ border-radius: 1em;
725
+ width: 100%;
726
+ padding: 2em;
727
+ border: 1px solid #66aae5;
728
+ box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
729
+ font-family: 'Poppins', sans-serif;
730
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
731
+ transition-delay: 0.2s;
732
+ /* Firefox */ }
733
+ .kima-card.light {
734
+ background: white;
735
+ color: black; }
736
+ .kima-card.light .kima-card-header .kima-card-network-label .label {
737
+ background: #e3e3e3; }
738
+ .kima-card.light .kima-card-content .kima-progressbar {
739
+ background: #e3e3e3; }
740
+ .kima-card.light .kima-card-content .kima-tooltip .content-wrapper {
741
+ background: white; }
742
+ .kima-card.dark {
743
+ background: #1b1e25;
744
+ color: white; }
745
+ .kima-card.dark .kima-card-header .kima-card-network-label .label {
746
+ background: #4f5156; }
747
+ .kima-card.dark .kima-card-content .kima-progressbar {
748
+ background: #4f5156; }
749
+ .kima-card.dark .kima-card-content .kima-tooltip .content-wrapper {
750
+ background: #0c0f17; }
751
+ .kima-card.font-large {
752
+ font-size: 20px;
753
+ max-width: 1200px; }
754
+ .kima-card.font-medium {
755
+ font-size: 16px;
756
+ max-width: 1000px; }
757
+ .kima-card.font-small {
758
+ font-size: 12px;
759
+ max-width: 800px; }
760
+ @media (max-width: 768px) {
761
+ .kima-card {
762
+ max-width: 100vh !important;
763
+ font-size: 14px !important;
764
+ padding: 1.5em;
765
+ border-radius: 0; } }
766
+ @media (max-width: 500px) {
767
+ .kima-card {
768
+ padding: 1em; } }
769
+ .kima-card-content {
770
+ width: 100%;
771
+ margin: 2em 0;
772
+ opacity: 1;
773
+ max-height: 40em;
774
+ min-height: 25em;
775
+ position: relative;
776
+ z-index: 10;
777
+ display: flex;
778
+ flex-direction: column;
779
+ justify-content: center;
780
+ transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
781
+ .kima-card.transaction-card .kima-card-content {
782
+ display: block;
783
+ min-height: 15em;
784
+ margin: 2em 0 4em; }
785
+ .kima-card.minimized {
786
+ max-width: 30em; }
787
+ .kima-card.minimized .kima-card-content {
788
+ opacity: 0;
789
+ max-height: 0;
790
+ min-height: 0;
791
+ margin: 0;
792
+ pointer-events: none; }
793
+ .kima-card.minimized .kima-card-footer {
794
+ opacity: 0;
795
+ max-height: 0;
796
+ pointer-events: none; }
797
+ .kima-card input::-webkit-outer-spin-button,
798
+ .kima-card input::-webkit-inner-spin-button {
799
+ -webkit-appearance: none;
800
+ margin: 0; }
801
+ .kima-card input[type='number'] {
802
+ -moz-appearance: textfield; }
803
+ .kima-card .hide-scrollbar {
804
+ -ms-overflow-style: none;
805
+ /* IE and Edge */
806
+ scrollbar-width: none;
807
+ /* Firefox */ }
808
+ .kima-card .hide-scrollbar::-webkit-scrollbar {
809
+ display: none; }