@matchain/matchid-sdk-react 0.1.56-alpha.5 → 0.1.56-alpha.7

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 (108) hide show
  1. package/example/package.json +1 -2
  2. package/example/src/pages/Wallet/index.tsx +90 -88
  3. package/example/yarn.lock +2251 -27
  4. package/package.json +7 -4
  5. package/dist/api.d.mts +0 -6
  6. package/dist/api.d.ts +0 -6
  7. package/dist/api.js +0 -1721
  8. package/dist/api.js.map +0 -1
  9. package/dist/api.mjs +0 -23
  10. package/dist/api.mjs.map +0 -1
  11. package/dist/assets/lottie.d.mts +0 -1
  12. package/dist/assets/lottie.d.ts +0 -1
  13. package/dist/assets/lottie.js +0 -68
  14. package/dist/assets/lottie.js.map +0 -1
  15. package/dist/assets/lottie.mjs +0 -22
  16. package/dist/assets/lottie.mjs.map +0 -1
  17. package/dist/chains.d.mts +0 -2
  18. package/dist/chains.d.ts +0 -2
  19. package/dist/chains.js +0 -94
  20. package/dist/chains.js.map +0 -1
  21. package/dist/chains.mjs +0 -11
  22. package/dist/chains.mjs.map +0 -1
  23. package/dist/chunk-2SJCPZJQ.mjs +0 -97
  24. package/dist/chunk-2SJCPZJQ.mjs.map +0 -1
  25. package/dist/chunk-3CR66BEX.mjs +0 -19
  26. package/dist/chunk-3CR66BEX.mjs.map +0 -1
  27. package/dist/chunk-GD7URBBZ.mjs +0 -1399
  28. package/dist/chunk-GD7URBBZ.mjs.map +0 -1
  29. package/dist/chunk-HBOS3RBL.mjs +0 -19
  30. package/dist/chunk-HBOS3RBL.mjs.map +0 -1
  31. package/dist/chunk-IZOOVZAD.mjs +0 -145
  32. package/dist/chunk-IZOOVZAD.mjs.map +0 -1
  33. package/dist/chunk-J5LGTIGS.mjs +0 -10
  34. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  35. package/dist/chunk-JX73EY6V.mjs +0 -67
  36. package/dist/chunk-JX73EY6V.mjs.map +0 -1
  37. package/dist/chunk-UA6XHZHX.mjs +0 -17
  38. package/dist/chunk-UA6XHZHX.mjs.map +0 -1
  39. package/dist/chunk-XM6CYEXN.mjs +0 -53
  40. package/dist/chunk-XM6CYEXN.mjs.map +0 -1
  41. package/dist/chunk-YR46VC65.mjs +0 -7666
  42. package/dist/chunk-YR46VC65.mjs.map +0 -1
  43. package/dist/components.d.mts +0 -6
  44. package/dist/components.d.ts +0 -6
  45. package/dist/components.js +0 -6494
  46. package/dist/components.js.map +0 -1
  47. package/dist/components.mjs +0 -57
  48. package/dist/components.mjs.map +0 -1
  49. package/dist/hooks.d.mts +0 -13
  50. package/dist/hooks.d.ts +0 -13
  51. package/dist/hooks.js +0 -3612
  52. package/dist/hooks.js.map +0 -1
  53. package/dist/hooks.mjs +0 -41
  54. package/dist/hooks.mjs.map +0 -1
  55. package/dist/icon.d.mts +0 -5
  56. package/dist/icon.d.ts +0 -5
  57. package/dist/icon.js +0 -1414
  58. package/dist/icon.js.map +0 -1
  59. package/dist/icon.mjs +0 -112
  60. package/dist/icon.mjs.map +0 -1
  61. package/dist/index-B50DU_xT.d.mts +0 -83
  62. package/dist/index-B50DU_xT.d.ts +0 -83
  63. package/dist/index-BcuSCgol.d.ts +0 -111
  64. package/dist/index-BlMLqmS2.d.mts +0 -3341
  65. package/dist/index-C1Nyy5zx.d.ts +0 -3341
  66. package/dist/index-CBcBTQyU.d.mts +0 -66
  67. package/dist/index-CD0dACxf.d.mts +0 -111
  68. package/dist/index-CER00guz.d.mts +0 -132
  69. package/dist/index-CHgaOUiW.d.mts +0 -52590
  70. package/dist/index-CHgaOUiW.d.ts +0 -52590
  71. package/dist/index-CjekOYJl.d.mts +0 -38
  72. package/dist/index-DN-jrh8-.d.ts +0 -213
  73. package/dist/index-DdN22cwf.d.ts +0 -38
  74. package/dist/index-DkIIQLbh.d.ts +0 -92
  75. package/dist/index-DlaCsN95.d.ts +0 -66
  76. package/dist/index-lh6qBAf_.d.mts +0 -92
  77. package/dist/index-o0WW1c5O.d.ts +0 -132
  78. package/dist/index-xThRnNN3.d.mts +0 -213
  79. package/dist/index.css +0 -2131
  80. package/dist/index.d.mts +0 -789
  81. package/dist/index.d.ts +0 -789
  82. package/dist/index.js +0 -9206
  83. package/dist/index.js.map +0 -1
  84. package/dist/index.mjs +0 -45
  85. package/dist/index.mjs.map +0 -1
  86. package/dist/request-B0CyrGFT.d.mts +0 -15
  87. package/dist/request-B0CyrGFT.d.ts +0 -15
  88. package/dist/types-CheN9vHJ.d.mts +0 -428
  89. package/dist/types-CheN9vHJ.d.ts +0 -428
  90. package/dist/types.d.mts +0 -3
  91. package/dist/types.d.ts +0 -3
  92. package/dist/types.js +0 -44
  93. package/dist/types.js.map +0 -1
  94. package/dist/types.mjs +0 -11
  95. package/dist/types.mjs.map +0 -1
  96. package/dist/ui.d.mts +0 -7
  97. package/dist/ui.d.ts +0 -7
  98. package/dist/ui.js +0 -1682
  99. package/dist/ui.js.map +0 -1
  100. package/dist/ui.mjs +0 -47
  101. package/dist/ui.mjs.map +0 -1
  102. package/dist/utils.d.mts +0 -28
  103. package/dist/utils.d.ts +0 -28
  104. package/dist/utils.js +0 -192
  105. package/dist/utils.js.map +0 -1
  106. package/dist/utils.mjs +0 -34
  107. package/dist/utils.mjs.map +0 -1
  108. package/example/package-lock.json +0 -2965
package/dist/index.css DELETED
@@ -1,2131 +0,0 @@
1
- body {
2
- /**value**/
3
- --matchid-light-orange: #FFF3EB;
4
- --matchid-highlight-orange: #FC802D;
5
- --matchid-highlight-orange-light: rgba(252, 128, 45, 0.5);
6
- --matchid-black: #000000;
7
- --matchid-white: #FFFFFF;
8
- --matchid-black-800: #1E1E1E;
9
- --matchid-gray-600: #6E6E6E;
10
- --matchid-gray-400: #B6B6B6;
11
- --matchid-gray-350: #D3D3D3;
12
- --matchid-gray-350-light: rgba(211, 211, 211, 0.5);
13
- --matchid-gray-300: #E3E3E3;
14
- --matchid-gray-200: #F3F3F3;
15
- --matchid-gray-100: #F8F8F8;
16
- --matchid-red-600: #F7585E;
17
- --matchid-green-600: #2CBF68;
18
- --matchid-secondary-grey: var(--matchid-gray-600);
19
- --matchid-light-grey: var(--matchid-gray-100);
20
- --matchid-disabled: var(--matchid-gray-350);
21
- --matchid-success: #2FCC00;
22
- --matchid-error: #F14141;
23
- --matchid-link: #006FFF;
24
-
25
- --matchid-shadow-full: 0px 15px 40px 0px rgba(22, 17, 46, 0.12);
26
- --matchid-shadow-middle: 0px 10px 30px 0px rgba(22, 17, 46, 0.12);
27
- --matchid-shadow-small: 0px 10px 20px 0px rgba(219, 219, 219, 0.50);
28
- /**root component**/
29
- --matchid-placeholder-color: var(--matchid-gray-400);
30
-
31
- --matchid-line: var(--matchid-gray-300);
32
- --matchid-arrow-color: var(--matchid-black);
33
- --matchid-text-color: var(--matchid-black);
34
- --matchid-round: 12px;
35
- --matchid-round-lg: 24px;
36
- --matchid-padding-lg: 32px;
37
- /**login component**/
38
- --matchid-login-method-border-color: var(--matchid-line);
39
- --matchid-login-method-hover-border-color: var(--matchid-highlight-orange);
40
- --matchid-login-method-arrow-color: var(--matchid-arrow-color);
41
- --matchid-login-method-round: var(--matchid-round);
42
- --matchid-login-method-color: var(--matchid-text-color);
43
-
44
- --matchid-login-other-color: var(--matchid-gray-600);
45
-
46
- --matchid-login-recommend-wallet-color: var(--matchid-black);
47
- --matchid-login-recommend-wallet-hover-color: var(--matchid-white);
48
- --matchid-login-recommend-wallet-hover-bg: var(--matchid-highlight-orange);
49
-
50
-
51
- --matchid-login-panel-divide-color: var(--matchid-line);
52
- --matchid-login-panel-title-color: var(--matchid-text-color);
53
- --matchid-login-panel-subtitle-color: var(--matchid-gray-600);
54
-
55
- /**overlay component**/
56
- --matchid-overlay-index: 9999;
57
- --matchid-overlay-color: var(--matchid-black);
58
- /**modal component**/
59
- --matchid-modal-bg: var(--matchid-white);
60
- --matchid-modal-shadow: var(--matchid-shadow-full);
61
- --matchid-modal-border-color: var(--matchid-white);
62
- --matchid-modal-round: var(--matchid-round-lg);
63
- --matchid-modal-padding: var(--matchid-padding-lg);
64
- --matchid-mobile-modal-padding: 20px;
65
-
66
- --matchid-modal-header-border-color: var(--matchid-line);
67
- --matchid-modal-header-color: var(--matchid-text-color);
68
- /**input component**/
69
- --matchid-input-border-color: var(--matchid-line);
70
- --matchid-input-focus-border-color: var(--matchid-highlight-orange);
71
- --matchid-input-color: var(--matchid-text-color);
72
- --matchid-input-placeholder-color: var(--matchid-placeholder-color);
73
- --matchid-input-bg: var(--matchid-gray-100);
74
- --matchid-input-focus-bg: var(--matchid-light-orange);
75
- --matchid-input-delete-icon-color: var(--matchid-highlight-orange);
76
- /**field component**/
77
- --matchid-field-color: var(--matchid-text-color);
78
- --matchid-field-error-color: var(--matchid-red-600);
79
- --matchid-field-required-color: #E60808;
80
- /**popover component**/
81
- --matchid-popover-bg: var(--matchid-white);
82
- /**button component**/
83
- --matchid-btn-border-color: var(--matchid-black);
84
- --matchid-btn-color: var(--matchid-black);
85
- --matchid-btn-bg: var(--matchid-white);
86
-
87
- --matchid-btn-disabled-bg: var(--matchid-gray-350);
88
- --matchid-btn-disabled-color: var(--matchid-white);
89
-
90
- --matchid-btn-hover-bg: var(--matchid-black-800);
91
- --matchid-btn-hover-color: var(--matchid-white);
92
-
93
- --matchid-btn-active-bg: linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.06) 100%), #1E1E1E;
94
- --matchid-btn-active-color: var(--matchid-white);
95
-
96
- --matchid-btn-highlight-bg: var(--matchid-black);
97
- --matchid-btn-highlight-color: var(--matchid-white);
98
-
99
- --matchid-btn-loading-bg: var(--matchid-black-800);
100
- --matchid-btn-loading-color: var(--matchid-white);
101
-
102
- --matchid-login-btn-text-color: var(--matchid-black);
103
- --matchid-login-btn-icon-color: var(--matchid-black);
104
- --matchid-login-btn-border-color: var(--matchid-black);
105
- --matchid-login-btn-bg-color: none;
106
- --matchid-login-btn-hover-text-color: var(--matchid-black);
107
- --matchid-login-btn-hover-icon-color: var(--matchid-highlight-orange);
108
- --matchid-login-btn-hover-border-color: var(--matchid-highlight-orange);
109
- --matchid-login-btn-hover-bg-color: none;
110
- --matchid-login-btn-active-text-color: var(--matchid-black);
111
- --matchid-login-btn-active-icon-color: var(--matchid-highlight-orange);
112
- --matchid-login-btn-active-border-color: var(--matchid-highlight-orange);
113
- --matchid-login-btn-active-bg-color: var(--matchid-white);
114
-
115
-
116
- --matchid-email-verify-header-value-color: var(--matchid-highlight-orange);
117
- --matchid-email-verify-header-value-tips: var(--matchid-gray-600);
118
- /****/
119
- --matchid-valid-error-color: var(--matchid-gray-600);
120
- --matchid-valid-success-color: var(--matchid-black);
121
- --matchid-password-header-color: var(--matchid-black);
122
- --matchid-user-popover-color: var(--matchid-black);
123
- --matchid-user-popover-hover-color: var(--matchid-highlight-orange);
124
- /**switch**/
125
- --matchid-switch-bg: var(--matchid-gray-350);
126
- --matchid-switch-ball: var(--matchid-white);
127
- --matchid-switch-checked-bg: var(--matchid-highlight-orange);
128
- --matchid-switch-disabled-bg: var(--matchid-gray-350-light);
129
- --matchid-switch-disabled-checked-bg: var(--matchid-highlight-orange-light);
130
- --matchid-swicth-loading-color: var(--matchid-white);
131
- /**avatar**/
132
- --matchid-avatar-bg: var(--matchid-gray-350);
133
- --matchid-avatar-color: var(--matchid-gray-600);
134
- /**radio**/
135
- --matchid-radio-line: var(--matchid-gray-300);
136
- --matchid-radio-checked: var(--matchid-highlight-orange);
137
- /**matchid-wallet-asset**/
138
- --matchid-wallet-asset-bg: var(--matchid-white);
139
- --matchid-wallet-asset-color: var(--matchid-black);
140
- /**matchid-transaction-list**/
141
- --matchid-wallet-transaction-bg: var(--matchid-white);
142
- --matchid-wallet-transaction-color: var(--matchid-black);
143
- /**tab**/
144
- --matchid-tab-color: var(--matchid-secondary-grey);
145
- --matchid-tab-active-color: var(--matchid-highlight-orange);
146
-
147
-
148
- }
149
-
150
- .matchid-login-box {
151
- width: 100%;
152
- display: flex;
153
- justify-content: center;
154
- align-items: center;
155
- flex-direction: column;
156
- gap: 64px;
157
- @media screen and (max-width: 768px) {
158
- gap: 48px;
159
- }
160
-
161
- .matchid-login-recommend-list {
162
- width: 100%;
163
- display: flex;
164
- justify-content: center;
165
- align-items: center;
166
- flex-direction: column;
167
- gap: 16px;
168
- @media screen and (max-width: 768px) {
169
- gap: 12px;
170
- }
171
-
172
- .matchid-login-recommend-method {
173
- width: 100%;
174
- position: relative;
175
- display: flex;
176
- justify-content: center;
177
- align-items: center;
178
- flex-direction: column;
179
- border-radius: var(--matchid-login-method-round, 12px);
180
- border: 1px solid var(--matchid-login-method-border-color, #E3E3E3);
181
-
182
- &:hover {
183
- border-color: var(--matchid-login-method-hover-border-color, #FC802D);
184
- }
185
-
186
- .matchid-login-recommend-method-item {
187
- display: flex;
188
- justify-content: space-between;
189
- align-items: center;
190
- gap: 16px;
191
- height: 72px;
192
- width: 100%;
193
- padding: 16px;
194
- cursor: pointer;
195
- color: var(--matchid-login-method-color, #000000);
196
- @media screen and (max-width: 768px) {
197
- height: 56px;
198
- padding: 10px 16px;
199
- }
200
-
201
- .matchid-login-recommend-method-content {
202
- display: flex;
203
- justify-content: flex-start;
204
- align-items: center;
205
- gap: 8px;
206
- font-size: 16px;
207
- font-weight: 600;
208
- @media screen and (max-width: 768px) {
209
- gap: 12px
210
- }
211
- }
212
-
213
- .matchid-login-recommend-method-arrow {
214
- transition: all 0.3s;
215
-
216
- &.matchid-login-recommend-method-arrow-active {
217
- transform: rotate(180deg);
218
- }
219
- }
220
- }
221
-
222
- .matchid-login-recommend-method-popover {
223
- display: none;
224
- width: 100%;
225
- padding: 0 16px 16px;
226
- flex-direction: column;
227
-
228
- &.matchid-login-recommend-method-popover-active {
229
- display: flex;
230
- }
231
-
232
- .matchid-login-recommend-wallet-divider {
233
- height: 1px;
234
- width: 100%;
235
- background: var(--matchid-line);
236
- }
237
-
238
- .matchid-login-recommend-wallet-list {
239
- margin-top: 16px;
240
- display: flex;
241
- flex-direction: column;
242
- gap: 8px;
243
- width: 100%;
244
- @media screen and (max-width: 768px) {
245
- margin-top: 10px;
246
- }
247
-
248
- .matchid-login-recommend-wallet-item {
249
- display: flex;
250
- justify-content: space-between;
251
- align-items: center;
252
- gap: 16px;
253
- height: 56px;
254
- border-radius: 8px;
255
- font-size: 16px;
256
- font-weight: 600;
257
- @media screen and (max-width: 768px) {
258
- height: 48px;
259
- }
260
-
261
- color: var(--matchid-login-recommend-wallet-color, #000000);
262
- cursor: pointer;
263
- padding: 0 16px;
264
-
265
- .matchid-login-recommend-wallet-item-content {
266
- display: flex;
267
- justify-content: space-between;
268
- align-items: center;
269
- gap: 8px;
270
-
271
- .matchid-login-recommend-wallet-item-hover-icon {
272
- display: none;
273
- }
274
- }
275
-
276
- &:hover {
277
- background: var(--matchid-login-recommend-wallet-hover-bg, #FC802D);
278
- color: var(--matchid-login-recommend-wallet-hover-color, #FFF);
279
- --matchid-arrow-color: var(--matchid-login-recommend-wallet-hover-color, #FFF);
280
-
281
- .matchid-login-recommend-wallet-item-hover-icon {
282
- display: block;
283
- }
284
-
285
- .matchid-login-recommend-wallet-item-icon {
286
- display: none;
287
- }
288
-
289
- }
290
- }
291
- }
292
- }
293
-
294
- }
295
- }
296
-
297
- .matchid-login-other {
298
- width: 100%;
299
- gap: 16px;
300
- display: flex;
301
- flex-direction: column;
302
-
303
- .matchid-login-other-text {
304
- text-align: center;
305
- font-size: 14px;
306
- color: var(--matchid-login-other-color, #6E6E6E);
307
- font-weight: 400;
308
- @media screen and (max-width: 768px) {
309
- font-size: 12px;
310
- }
311
- }
312
-
313
- .matchid-login-method-box {
314
- display: grid;
315
- padding: 16px;
316
- gap: 16px 16px;
317
- grid-template-columns: repeat(5, 1fr);
318
-
319
- .matchid-login-method-item {
320
- cursor: pointer;
321
- display: flex;
322
- justify-content: center;
323
- align-items: center;
324
- }
325
- }
326
- }
327
- }
328
-
329
-
330
- .matchid-login-panel {
331
- display: flex;
332
- flex-direction: column;
333
- gap: 24px;
334
- @media screen and (max-width: 768px) {
335
- gap: 16px;
336
- }
337
-
338
- .matchid-login-panel-box {
339
- max-height: 500px;
340
- overflow-y: auto;
341
-
342
- &::-webkit-scrollbar {
343
- width: 8px;
344
- background-color: #D3D3D3;
345
- border-radius: 4px;
346
- }
347
- }
348
-
349
- .matchid-login-panel-divide {
350
- height: 1px;
351
- width: 100%;
352
- background-color: var(--matchid-login-panel-divide-color, #E3E3E3);
353
- }
354
-
355
- .matchid-login-panel-header {
356
- display: flex;
357
- width: 100%;
358
- justify-content: space-between;
359
- align-items: center;
360
-
361
- .matchid-login-panel-header-content {
362
- display: flex;
363
- gap: 4px;
364
- flex-direction: column;
365
- }
366
-
367
- .matchid-login-panel-header-title {
368
- color: var(--matchid-login-panel-title-color, #000000);
369
- font-size: 18px;
370
- font-weight: 600;
371
- @media screen and (max-width: 768px) {
372
- font-size: 16px;
373
- }
374
- }
375
-
376
- .matchid-login-panel-header-subtilte {
377
- color: var(--matchid-login-panel-subtitle-color, #6E6E6E);
378
- font-size: 14px;
379
- font-weight: 400;
380
- line-height: 120%;
381
- @media screen and (max-width: 768px) {
382
- font-size: 12px;
383
- }
384
- }
385
-
386
- .matchid-login-panel-header-close {
387
- cursor: pointer;
388
- }
389
- }
390
-
391
- }
392
-
393
- .matchid-overlay {
394
- position: fixed;
395
- top: 0;
396
- left: 0;
397
- width: 100%;
398
- height: 100%;
399
- display: flex;
400
- justify-content: center;
401
- align-items: center;
402
- z-index: var(--matchid-overlay-index);
403
- overflow: hidden;
404
- backdrop-filter: blur(2px);
405
- background: rgba(0, 0, 0, .3);
406
- color: var(--matchid-overlay-color);
407
- @media screen and (max-width: 768px) {
408
- align-items: center;
409
- }
410
- }
411
-
412
- .matchid-modal {
413
- border-radius: var(--matchid-modal-round, 24px);
414
- border: 1px solid var(--matchid-modal-border-color, #FFF);
415
- background: var(--matchid-modal-bg, #FFF);
416
- box-shadow: var(--matchid-modal-shadow, 0px 15px 40px 0px rgba(22, 17, 46, 0.12));
417
- width: 480px;
418
- max-width: 90vw;
419
- padding: var(--matchid-modal-padding, 32px);
420
- @media screen and (max-width: 768px) {
421
- width: calc(100vw - 20px);
422
- max-width: calc(100vw - 20px);
423
- padding: var(--matchid-mobile-modal-padding, 20px);
424
- padding-top: 0px;
425
- .matchid-modal-mobile-header {
426
- width: 44px;
427
- height: 5px;
428
- border-radius: 3px;
429
- background: var(--matchid-line);
430
- margin: 8px auto 21px;
431
- }
432
- }
433
-
434
- .matchid-modal-header {
435
- padding-bottom: 24px;
436
- height: 54px;
437
- display: flex;
438
- align-items: center;
439
- justify-content: space-between;
440
- @media screen and (max-width: 768px) {
441
- height: 38px;
442
- padding-bottom: 16px;
443
- margin-bottom: 16px;
444
- }
445
-
446
- &.matchid-modal-header-border {
447
- border-bottom: 1px solid var(--matchid-modal-header-border-color, #E3E3E3);
448
- margin-bottom: 24px;
449
- }
450
-
451
- .matchid-modal-header-back, .matchid-modal-header-close {
452
- cursor: pointer;
453
- }
454
-
455
- .matchid-modal-header-content {
456
- display: flex;
457
- align-items: center;
458
- gap: 12px;
459
-
460
- .matchid-modal-header-title {
461
- color: var(--matchid-modal-header-color, #000);
462
- font-size: 20px;
463
- font-weight: 500;
464
- @media screen and (max-width: 768px) {
465
- font-size: 16px;
466
- font-weight: 500;
467
- }
468
- }
469
- }
470
- }
471
-
472
-
473
- }
474
-
475
-
476
- .matchid-input-box {
477
- width: 100%;
478
- height: 72px;
479
- padding-left: 24px;
480
- padding-right: 24px;
481
- border-radius: 12px;
482
- position: relative;
483
- border: 1px solid var(--matchid-input-border-color);
484
- display: flex;
485
- align-items: center;
486
- justify-content: space-between;
487
- background: var(--matchid-input-bg);
488
- gap: 24px;
489
- @media screen and (max-width: 768px) {
490
- height: 48px;
491
- padding-left: 16px;
492
- padding-right: 16px;
493
- }
494
-
495
- &:active, &:focus, &:focus-within {
496
- border-color: var(--matchid-input-focus-border-color);
497
- background: var(--matchid-input-focus-bg);
498
- }
499
-
500
- &.matchid-input-has-content {
501
- background: var(--matchid-input-focus-bg);
502
- }
503
-
504
-
505
- .matchid-input-field{
506
- flex: 1;
507
- height: 100%;
508
- outline: 0;
509
- color: var(--matchid-input-color);
510
- font-size: 18px;
511
- font-weight: 500;
512
- background: none;
513
- min-width: 0;
514
- border:0;
515
- @media screen and (max-width: 768px) {
516
- font-size: 16px;
517
- font-weight: 500;
518
- }
519
-
520
- &::placeholder {
521
- color: var(--matchid-input-placeholder-color);
522
- font-weight: 300;
523
- }
524
-
525
- &:active, &:focus {
526
- outline: 0;
527
- }
528
- }
529
-
530
- .matchid-input-eye-icon {
531
- cursor: pointer;
532
- display: flex;
533
- align-items: center;
534
- width: 20px;
535
- flex-shrink: 1;
536
- @media screen and (max-width: 768px) {
537
- width: 16px;
538
- }
539
- }
540
-
541
- .matchid-input-delete-icon {
542
- opacity: 0;
543
- cursor: pointer;
544
- width: 20px;
545
- flex-shrink: 1;
546
- @media screen and (max-width: 768px) {
547
- width: 16px;
548
- }
549
- }
550
-
551
- &:focus-within {
552
- .matchid-input-delete-icon {
553
- opacity: 1;
554
- }
555
- }
556
- .matchid-input-length{
557
- color:var(--matchid-gray-400);
558
- --icon-color: var(--matchid-gray-400);
559
- position: absolute;
560
- bottom:8px;
561
- right:8px;
562
- display: flex;
563
- align-items: flex-end;
564
- gap:4px;
565
- font-size:18px;
566
- @media screen and (max-width: 768px) {
567
- font-size:14px;
568
- }
569
- }
570
- &:active, &:focus, &:focus-within {
571
- .matchid-input-length{
572
- color:var(--matchid-highlight-orange);
573
- --icon-color: var(--matchid-highlight-orange);
574
- }
575
- }
576
-
577
- &.matchid-input-textarea{
578
- height:auto;
579
- padding:24px;
580
- .matchid-input-field{
581
- line-height: 24px;
582
- height:24px;
583
- max-height: calc(24px * var(--max-rows));
584
- resize: none;
585
- overflow: auto;
586
- }
587
- }
588
- }
589
-
590
- .matchid-field-box {
591
- display: flex;
592
- flex-direction: column;
593
- gap: 16px;
594
- @media screen and (max-width: 768px) {
595
- gap: 8px;
596
- }
597
-
598
- .matchid-field-label {
599
- color: var(--matchid-field-color);
600
- font-size: 18px;
601
- font-weight: 500;
602
- @media screen and (max-width: 768px) {
603
- font-size: 14px;
604
- font-weight: 500;
605
- }
606
-
607
- .matchid-field-required {
608
- color: var(--matchid-field-required-color);
609
- }
610
- }
611
-
612
- .matchid-field-error {
613
- font-size: 14px;
614
- font-weight: 400;
615
- color: var(--matchid-field-error-color);
616
- }
617
- }
618
-
619
-
620
- .matchid-btn {
621
- display: flex;
622
- justify-content: center;
623
- align-items: center;
624
- gap: 10px;
625
- border-radius: 12px;
626
- outline: 0;
627
- cursor: pointer;
628
- border: 1px solid var(--matchid-btn-border-color);
629
- color: var(--matchid-btn-color);
630
- background: var(--matchid-btn-bg);
631
- }
632
-
633
- .matchid-btn:not(:disabled):hover {
634
- background: var(--matchid-btn-hover-bg);
635
- color: var(--matchid-btn-hover-color);
636
- box-shadow: var(--matchid-shadow-middle);
637
- border-color: var(--matchid-btn-hover-bg);
638
- }
639
-
640
- .matchid-btn:focus {
641
- background: var(--matchid-btn-active-bg);
642
- color: var(--matchid-btn-active-color);
643
- box-shadow: var(--matchid-shadow-middle);
644
- border-color: var(--matchid-btn-active-bg);
645
- }
646
-
647
-
648
- .matchid-btn-highlight, .matchid-btn-highlight:hover, .matchid-btn-highlight:focus, .matchid-btn-highlight:not(:disabled):hover {
649
- background: var(--matchid-btn-highlight-bg);
650
- color: var(--matchid-btn-highlight-color);
651
- border: 0;
652
- }
653
-
654
- .matchid-btn:disabled {
655
- cursor: not-allowed;
656
- background: var(--matchid-btn-disabled-bg);
657
- color: var(--matchid-btn-disabled-color);
658
- border-width: 0px;
659
- }
660
-
661
- .matchid-btn-loading {
662
- background: var(--matchid-btn-loading-bg) !important;
663
- color: var(--matchid-btn-loading-color) !important;
664
- cursor: not-allowed;
665
- }
666
-
667
- .matchid-btn-loading-icon {
668
- animation: spin 2s linear infinite;
669
-
670
- }
671
-
672
- @keyframes spin {
673
- 0% {
674
- transform: rotate(0deg);
675
- }
676
- 100% {
677
- transform: rotate(360deg);
678
- }
679
- }
680
-
681
- .matchid-btn-sm {
682
- height: 28px;
683
- font-size: 14px;
684
- padding: 0 16px;
685
- }
686
-
687
- .matchid-btn-df {
688
- height: 40px;
689
- font-size: 18px;
690
- padding: 0 16px;
691
- }
692
-
693
- .matchid-btn-lg {
694
- height: 52px;
695
- font-size: 20px;
696
- padding: 0 48px;
697
- }
698
-
699
- .matchid-btn-block {
700
- width: 100%;
701
- }
702
-
703
- .matchid-btn-rounded {
704
- border-radius: 100px;
705
- }
706
-
707
- @media screen and (max-width: 768px) {
708
- .matchid-btn-sm {
709
- height: 28px;
710
- font-size: 12px;
711
- padding: 0 16px;
712
- }
713
-
714
- .matchid-btn-df {
715
- height: 40px;
716
- font-size: 16px;
717
- padding: 0 16px;
718
- gap: 8px
719
- }
720
-
721
- .matchid-btn-lg {
722
- height: 48px;
723
- font-size: 16px;
724
- padding: 0 32px;
725
- }
726
- }
727
-
728
- .matchid-email-verify-box, .matchid-password-box {
729
- display: flex;
730
- flex-direction: column;
731
- gap: 64px;
732
- @media screen and (max-width: 768px) {
733
- gap: 36px;
734
- }
735
-
736
- .matchid-email-verify-header, .matchid-password-header {
737
- display: flex;
738
- align-items: center;
739
- gap: 16px;
740
- height: 40px;
741
- @media screen and (max-width: 768px) {
742
- gap: 12px;
743
- height: 32px;
744
- }
745
-
746
- .matchid-email-verify-header-icon, .matchid-password-header-icon {
747
- width: 40px;
748
- height: 40px;
749
- display: flex;
750
- justify-content: center;
751
- align-items: center;
752
- border-radius: 8px;
753
- border: 1px solid var(--matchid-black);
754
- @media screen and (max-width: 768px) {
755
- width: 32px;
756
- height: 32px;
757
- }
758
- }
759
-
760
-
761
- .matchid-email-verify-header-content {
762
- flex: 1;
763
- display: flex;
764
- height: 100%;
765
- flex-direction: column;
766
- justify-content: space-between;
767
-
768
- .matchid-email-verify-header-value {
769
- color: var(--matchid-email-verify-header-value-color);
770
- font-size: 24px;
771
- font-weight: 600;
772
- line-height: 100%;
773
- @media screen and (max-width: 768px) {
774
- font-size: 16px;
775
- font-weight: 500;
776
- }
777
- }
778
-
779
- .matchid-email-verify-header-tips {
780
- color: var(--matchid-email-verify-header-value-tips);
781
- font-size: 14px;
782
- line-height: 120%; /* 16.8px */
783
- @media screen and (max-width: 768px) {
784
- font-size: 12px;
785
- }
786
- }
787
- }
788
-
789
- .matchid-password-header-content {
790
- flex:1;
791
- font-size: 14px;
792
- color: var(--matchid-password-header-color);
793
- @media screen and (max-width: 768px) {
794
- font-size: 14px;
795
- }
796
- }
797
- }
798
- }
799
-
800
-
801
- .matchid-unlogin-btn, .matchid-login-btn {
802
- gap: 8px
803
- }
804
-
805
- .matchid-login-btn {
806
- padding: 0 12px 0 4px;
807
- background: var(--matchid-login-btn-bg-color);
808
- color: var(--matchid-login-btn-text-color);
809
- fill: var(--matchid-login-btn-icon-color);
810
- border-color: var(--matchid-login-btn-border-color);
811
- }
812
-
813
- .matchid-login-btn:hover, .matchid-login-btn:not(:disabled):hover {
814
- background: var(--matchid-login-btn-hover-bg-color);
815
- color: var(--matchid-login-btn-hover-text-color);
816
- fill: var(--matchid-login-btn-hover-icon-color);
817
- border-color: var(--matchid-login-btn-hover-border-color);
818
- }
819
-
820
- .matchid-login-btn:focus,
821
- .matchid-login-btn:not(:disabled):focus {
822
- box-shadow: var(--matchid-shadow-small);
823
- background: var(--matchid-login-btn-active-bg-color);
824
- color: var(--matchid-login-btn-active-text-color);
825
- fill: var(--matchid-login-btn-active-icon-color);
826
- border-color: var(--matchid-login-btn-active-border-color);
827
- }
828
-
829
- .matchid-login-btn-box {
830
- position: relative;
831
- }
832
-
833
- .matchid-valid {
834
- margin-top: 24px;
835
- display: flex;
836
- flex-direction: column;
837
- gap: 16px;
838
- @media screen and (max-width: 768px) {
839
- gap: 4px;
840
- }
841
-
842
- .matchid-valid-status-item {
843
- display: flex;
844
- font-size: 14px;
845
- gap: 8px;
846
- align-items: flex-start;
847
- @media screen and (max-width: 768px) {
848
- font-size: 12px;
849
- line-height: normal;
850
- }
851
-
852
- span {
853
- flex: 1;
854
- }
855
-
856
- color: var();
857
-
858
- &.matchid-valid-status-success {
859
- color: var(--matchid-valid-success-color);
860
- }
861
-
862
- &.matchid-valid-status-error {
863
- color: var(--matchid-valid-error-color);
864
- }
865
- }
866
- }
867
-
868
-
869
- .matchid-password-content {
870
- display: flex;
871
- flex-direction: column;
872
- gap: 24px;
873
- }
874
-
875
- .matchid-popover-box {
876
- position: relative;
877
- display: inline-block;
878
-
879
- .matchid-popover-area {
880
- display: none;
881
- position: absolute;
882
- z-index: 100;
883
-
884
- .matchid-popover-content {
885
- background: var(--matchid-popover-bg);
886
- box-shadow: var(--matchid-shadow-middle);
887
- border-radius: 12px;
888
- padding: 16px 0;
889
- border: 1px solid var(--matchid-popover-bg);
890
- }
891
-
892
- .matchid-popover-content:hover {
893
- border: 1px solid var(--matchid-highlight-orange);
894
- }
895
-
896
- }
897
-
898
- &.matchid-popover-click-active {
899
- .matchid-popover-area {
900
- display: block;
901
- }
902
- }
903
-
904
- &.matchid-popover-hover:hover {
905
- .matchid-popover-area {
906
- display: block;
907
- }
908
- }
909
-
910
- &.matchid-popover-left {
911
- .matchid-popover-area {
912
- left: 0;
913
- top: 100%;
914
- }
915
- }
916
-
917
- &.matchid-popover-right {
918
- .matchid-popover-area {
919
- right: 0;
920
- top: 100%;
921
- }
922
- }
923
-
924
- &.matchid-popover-center {
925
- .matchid-popover-area {
926
- left: 50%;
927
- top: 100%;
928
- transform: translateX(-50%);
929
- }
930
- }
931
- }
932
-
933
- .matchid-user-popover-content {
934
- padding: 0 12px;
935
- display: flex;
936
- width: 280px;
937
- flex-direction: column;
938
- gap: 32px;
939
- font-size: 16px;
940
-
941
- .matchid-user-popover-list {
942
- display: flex;
943
- flex-direction: column;
944
- width: 100%;
945
- gap: 8px;
946
-
947
- .matchid-user-popover-item {
948
- display: flex;
949
- justify-content: space-between;
950
- align-items: center;
951
- cursor: pointer;
952
- gap: 8px;
953
- height: 48px;
954
- color: var(--matchid-user-popover-color);
955
- --icon-color: var(--matchid-user-popover-color);
956
-
957
- .matchid-user-popover-item-content {
958
- display: flex;
959
- gap: 8px;
960
- align-items: center;
961
- }
962
-
963
- &:hover {
964
- color: var(--matchid-user-popover-hover-color);
965
- --icon-color: var(--matchid-user-popover-hover-color);
966
-
967
- }
968
-
969
- }
970
- }
971
- }
972
-
973
- .matchid-user-popover-divider {
974
- height: 1px;
975
- width: 100%;
976
- background: var(--matchid-line);
977
- }
978
-
979
- .matchid-wallet-container {
980
- background: #ffffff;
981
- display: flex;
982
- flex-direction: column;
983
- gap: 24px;
984
- align-items: center;
985
- justify-content: center;
986
-
987
- .matchid-wallet-box {
988
- display: flex;
989
- flex-direction: column;
990
- gap: 24px;
991
- align-items: center;
992
- justify-content: center;
993
- padding: 24px;
994
-
995
- .matchid-wallet-content {
996
- img {
997
- width: 128px;
998
- height: 128px;
999
- }
1000
-
1001
- display: flex;
1002
- flex-direction: column;
1003
- align-items: center;
1004
- justify-content: center;
1005
- color: #6E6E6E;
1006
- text-align: center;
1007
- font-size: 20px;
1008
- font-weight: 500;
1009
- line-height: 20px;
1010
- }
1011
- }
1012
-
1013
- }
1014
-
1015
- .matchid-email-verify-field {
1016
- padding-right: 0;
1017
- }
1018
-
1019
- .matchid-cex-modal {
1020
- font-size: 14px;
1021
- display: flex;
1022
- flex-direction: column;
1023
- gap: 12px;
1024
- }
1025
-
1026
- .matchid-drawer {
1027
-
1028
- width: 416px;
1029
- height: 100vh;
1030
- padding: 24px 24px 0;
1031
- background: #FFFFFF;
1032
- display: flex;
1033
- gap: 48px;
1034
- position: absolute;
1035
- top: 0;
1036
- right: 0;
1037
- transition: all 0.3s;
1038
- flex-direction: column;
1039
- border-left: 1px solid #D3D3D3;
1040
- box-shadow: -20px 0px 20px 0px rgba(22, 17, 46, 0.12);
1041
-
1042
- .matchid-drawer-header {
1043
- font-size: 18px;
1044
- font-weight: 500;
1045
- padding-bottom: 24px;
1046
- border-bottom: 1px solid var(--matchid-line);
1047
-
1048
- display: flex;
1049
- justify-content: space-between;
1050
-
1051
- .matchid-drawer-header-content {
1052
- display: flex;
1053
- gap: 12px;
1054
- align-items: center;
1055
- }
1056
-
1057
- .matchid-drawer-header-close {
1058
- cursor: pointer;
1059
- }
1060
-
1061
- .matchid-drawer-header-back {
1062
- cursor: pointer;
1063
- }
1064
- }
1065
- }
1066
-
1067
- .matchid-hashpanel-header {
1068
- font-size: 16px;
1069
- font-weight: 500;
1070
- display: block;
1071
- @media screen and (min-width: 768px) {
1072
- display: none;
1073
- }
1074
- }
1075
-
1076
- .matchid-hashpanel-box {
1077
- display: flex;
1078
- flex-direction: column;
1079
- gap: 36px;
1080
- align-items: center;
1081
- @media screen and (min-width: 768px) {
1082
- justify-content: space-between;
1083
- flex: 1;
1084
- padding-bottom: 120px;
1085
- }
1086
-
1087
- .matchid-hashpanel-content {
1088
- display: flex;
1089
- flex-direction: column;
1090
- gap: 24px;
1091
- align-items: center;
1092
- width: 100%;
1093
- @media screen and (min-width: 768px) {
1094
- gap: 48px;
1095
- }
1096
-
1097
- .matchid-hashpanel-status {
1098
- font-size: 24px;
1099
- font-weight: 500;
1100
- display: none;
1101
- @media screen and (min-width: 768px) {
1102
- display: block;
1103
- }
1104
- }
1105
-
1106
- .matchid-hashpanel-img {
1107
- width: 96px;
1108
- height: 96px;
1109
- }
1110
-
1111
- .matchid-hashpanel-hash,.matchid-hashpanel-text {
1112
- width: 100%;
1113
- font-size: 14px;
1114
- word-break: break-all;
1115
- @media screen and (min-width: 768px) {
1116
- font-size: 16px;
1117
- }
1118
-
1119
- a {
1120
- color: var(--matchid-link);
1121
- text-decoration: none;
1122
- }
1123
- }
1124
- }
1125
- }
1126
-
1127
- .matchid-switch {
1128
- width: 64px;
1129
- height: 32px;
1130
- background-color: var(--matchid-switch-bg);
1131
- border-radius: 16px;
1132
- cursor: pointer;
1133
- position: relative;
1134
- transition: background-color 0.3s ease;
1135
-
1136
- .matchid-switch-ball, .matchid-switch-loading-icon {
1137
- width: 24px;
1138
- height: 24px;
1139
- transition: transform 0.3s ease, left 0.3s, background-color 0.3s ease;
1140
- position: absolute;
1141
- left: 4px;
1142
- top: 4px;
1143
- }
1144
-
1145
- .matchid-switch-ball {
1146
- background-color: var(--matchid-switch-ball);
1147
- border-radius: 50%;
1148
- }
1149
-
1150
- &.matchid-switch-sm {
1151
- width: 48px;
1152
- height: 24px;
1153
- border-radius: 12px;
1154
-
1155
- .matchid-switch-ball, .matchid-switch-loading-icon {
1156
- width: 18px;
1157
- height: 18px;
1158
- left: 3px;
1159
- top: 3px;
1160
- }
1161
- }
1162
-
1163
- &.matchid-switch-checked {
1164
- background-color: var(--matchid-switch-checked-bg);
1165
-
1166
- .matchid-switch-ball, .matchid-switch-loading-icon {
1167
- left: 36px;
1168
- }
1169
-
1170
- &.matchid-switch-sm .matchid-switch-ball, .matchid-switch-sm .matchid-switch-loading-icon {
1171
- left: 27px;
1172
- }
1173
- }
1174
-
1175
- &.matchid-switch-disabled, &.matchid-switch-loading {
1176
- cursor: not-allowed;
1177
- background-color: var(--matchid-switch-disabled-bg);
1178
-
1179
- &.matchid-switch-checked {
1180
- background-color: var(--matchid-switch-disabled-checked-bg);
1181
- }
1182
- }
1183
-
1184
- &.matchid-switch-loading {
1185
- .matchid-switch-loading-icon {
1186
- animation: spin 2s linear infinite;
1187
- }
1188
- }
1189
- }
1190
-
1191
- .matchid-alpha-avatar {
1192
- display: flex;
1193
- justify-content: center;
1194
- align-items: center;
1195
- border-radius: 50%;
1196
- background: var(--matchid-avatar-bg);
1197
- color: var(--matchid-avatar-color);
1198
- font-weight: 500;
1199
- }
1200
-
1201
- .matchid-radio {
1202
- cursor: pointer;
1203
- display: flex;
1204
- justify-content: center;
1205
- align-items: center;
1206
- border-radius: 100%;
1207
- border: 1px solid var(--matchid-radio-line);
1208
-
1209
- &.matchid-radio-checked {
1210
- border-color: var(--matchid-radio-checked);
1211
-
1212
- .matchid-radio-content {
1213
- background: var(--matchid-radio-checked);
1214
- border-radius: 100%;
1215
- }
1216
- }
1217
- }
1218
-
1219
- .matchid-change-network-box {
1220
- display: flex;
1221
- flex-direction: column;
1222
- gap: 48px;
1223
- @media screen and (max-width: 768px) {
1224
- gap: 36px;
1225
- }
1226
-
1227
- .matchid-change-network-list {
1228
- display: flex;
1229
- flex-direction: column;
1230
- gap: 24px;
1231
- @media screen and (max-width: 768px) {
1232
- gap: 16px;
1233
- }
1234
-
1235
- .matchid-change-network-item {
1236
- cursor: pointer;
1237
- display: flex;
1238
- align-items: center;
1239
- gap: 8px;
1240
- justify-content: space-between;
1241
- padding: 16px;
1242
- border: 1px solid var(--matchid-line);
1243
- border-radius: 16px;
1244
- transition: border-color 0.2s;
1245
- @media screen and (max-width: 768px) {
1246
- padding: 10px 16px;
1247
- border-radius: 12px;
1248
- }
1249
-
1250
- &:hover, &.matchid-change-network-selected {
1251
- border-color: var(--matchid-highlight-orange);
1252
- }
1253
-
1254
- .matchid-change-network-item-content {
1255
- display: flex;
1256
- align-items: center;
1257
- gap: 16px;
1258
- @media screen and (max-width: 768px) {
1259
- gap: 8px;
1260
- }
1261
-
1262
- .matchid-change-network-item-icon {
1263
- width: 28px;
1264
- height: 28px;
1265
- border-radius: 8px;
1266
- @media (min-width: 768px) {
1267
- width: 40px;
1268
- height: 40px;
1269
- }
1270
- }
1271
-
1272
- .matchid-change-network-item-name {
1273
- font-size: 14px;
1274
- font-weight: 500;
1275
- @media (min-width: 768px) {
1276
- font-size: 16px;
1277
- }
1278
- }
1279
- }
1280
- }
1281
- }
1282
-
1283
- }
1284
-
1285
- .matchid-toast-box {
1286
- position: fixed;
1287
- top: 20px; /* 5 * 4px = 20px */
1288
- right: 20px; /* 5 * 4px = 20px */
1289
- display: flex;
1290
- flex-direction: column;
1291
- gap: 8px; /* space-y-2 -> 2 * 4px = 8px */
1292
-
1293
- .matchid-toast {
1294
- display: flex;
1295
- align-items: center;
1296
- box-shadow: var(--matchid-shadow-small);
1297
- min-height: 40px;
1298
- padding: 10px 12px;
1299
- gap: 4px;
1300
- color: black;
1301
- background-color: white;
1302
- font-size: 14px;
1303
- border: 1px solid var(--matchid-line);
1304
- border-radius: 100px;
1305
- transform: scale(1);
1306
- transition: all 0.3s ease;
1307
- }
1308
- }
1309
-
1310
- .matchid-receive-modal {
1311
- display: flex;
1312
- flex-direction: column;
1313
- align-items: center;
1314
- flex: 1;
1315
- gap: 48px;
1316
- @media screen and (max-width: 768px) {
1317
- gap: 36px;
1318
- }
1319
-
1320
- .matchid-receive-container {
1321
- display: flex;
1322
- flex-direction: column;
1323
- align-items: center;
1324
- gap: 48px;
1325
- @media screen and (max-width: 768px) {
1326
- gap: 24px;
1327
- }
1328
-
1329
- .matchid-receive-text {
1330
- font-size: 14px;
1331
- font-weight: 500;
1332
-
1333
- @media (min-width: 768px) {
1334
- font-size: 16px;
1335
- }
1336
- }
1337
-
1338
- .matchid-qr-container {
1339
- border: 2px solid var(--matchid-line);
1340
- border-radius: 12px;
1341
- padding: 16px;
1342
- @media screen and (max-width: 768px) {
1343
- padding: 10px;
1344
- }
1345
-
1346
- .matchid-qr-code {
1347
- width: 148px;
1348
- height: 148px;
1349
- @media screen and (max-width: 768px) {
1350
- width: 88px;
1351
- height: 88px;
1352
- }
1353
- }
1354
- }
1355
-
1356
- .matchid-receive-link {
1357
- text-align: center;
1358
- word-break: break-all;
1359
- color: var(--matchid-link);
1360
- font-size: 14px;
1361
- font-weight: 500;
1362
- }
1363
- }
1364
- }
1365
-
1366
- .matchid-import-token {
1367
- display: flex;
1368
- flex-direction: column;
1369
- gap: 48px;
1370
- @media screen and (max-width: 768px) {
1371
- gap: 36px;
1372
- }
1373
-
1374
- .matchid-import-token-form {
1375
- display: flex;
1376
- flex-direction: column;
1377
- gap: 24px;
1378
- @media screen and (max-width: 768px) {
1379
- gap: 16px;
1380
- }
1381
- }
1382
- }
1383
-
1384
- .matchid-wallet-asset-list {
1385
- display: flex;
1386
- flex-direction: column;
1387
- gap: 16px;
1388
- @media screen and (max-width: 768px) {
1389
- gap: 8px;
1390
- }
1391
-
1392
- .matchid-wallet-asset-item {
1393
-
1394
- background: var(--matchid-wallet-asset-bg);
1395
- color: var(--matchid-wallet-asset-color);
1396
- display: flex;
1397
- cursor: pointer;
1398
- gap: 8px;
1399
- align-items: center;
1400
- padding: 16px;
1401
- border: 1px solid var(--matchid-line);
1402
- border-radius: 16px;
1403
- @media screen and (max-width: 768px) {
1404
- padding: 10px 16px;
1405
- }
1406
-
1407
- &:hover {
1408
- border-color: var(--matchid-highlight-orange);
1409
- }
1410
-
1411
- .matchid-wallet-asset-logo {
1412
- position: relative;
1413
- height: 46px;
1414
- width: 42px;
1415
- display: flex;
1416
- align-items: center;
1417
- @media screen and (max-width: 768px) {
1418
- width: 36px;
1419
- height: 36px;
1420
- }
1421
-
1422
- .matchid-wallet-asset-icon {
1423
- width: 40px;
1424
- height: 40px;
1425
- border-radius: 8px;
1426
- @media screen and (max-width: 768px) {
1427
- width: 36px;
1428
- height: 36px;
1429
- }
1430
- }
1431
-
1432
- .matchid-wallet-asset-chain {
1433
- position: absolute;
1434
- border-radius: 100%;
1435
- width: 12px;
1436
- height: 12px;
1437
- right: 0px;
1438
- bottom: 1px;
1439
- @media screen and (max-width: 768px) {
1440
- width: 10px;
1441
- height: 10px;
1442
- }
1443
- }
1444
- }
1445
-
1446
- .matchid-wallet-asset-info {
1447
- height: 46px;
1448
- display: flex;
1449
- flex: 1;
1450
- align-items: center;
1451
- justify-content: space-between;
1452
- gap: 10px;
1453
-
1454
- @media screen and (max-width: 768px) {
1455
- height: 44px;
1456
- }
1457
-
1458
- .matchid-wallet-asset-name {
1459
- font-size: 16px;
1460
- font-weight: 500;
1461
- flex: 1;
1462
- color: var(--matchid-black);
1463
- display: -webkit-box;
1464
- -webkit-line-clamp: 2;
1465
- -webkit-box-orient: vertical;
1466
- overflow: hidden;
1467
- text-overflow: ellipsis;
1468
- @media (max-width: 768px) {
1469
- font-size: 14px;
1470
- }
1471
- }
1472
-
1473
- .matchid-wallet-asset-content {
1474
- display: flex;
1475
- flex-direction: column;
1476
- gap: 4px;
1477
- flex: 1;
1478
-
1479
- .matchid-wallet-asset-price {
1480
- font-size: 16px;
1481
- font-weight: 500;
1482
- color: var(--matchid-black);
1483
- @media (max-width: 768px) {
1484
- font-size: 14px;
1485
- }
1486
- }
1487
-
1488
- .matchid-wallet-asset-value {
1489
- font-size: 14px;
1490
- font-weight: 500;
1491
- color: var(--matchid-gray-600);
1492
- }
1493
-
1494
- }
1495
-
1496
- .matchid-wallet-asset-footer {
1497
- flex: 1;
1498
- display: flex;
1499
- flex-direction: column;
1500
- gap: 4px;
1501
- align-items: end;
1502
-
1503
- .matchid-wallet-asset-balance {
1504
- font-size: 16px;
1505
- font-weight: 500;
1506
- color: var(--matchid-success);
1507
- @media (max-width: 768px) {
1508
- font-size: 14px;
1509
- }
1510
- }
1511
-
1512
- .matchid-wallet-asset-change {
1513
- font-size: 14px;
1514
- font-weight: 400;
1515
- }
1516
- }
1517
- }
1518
- }
1519
-
1520
- .matchid-wallet-asset-down {
1521
- color: var(--matchid-error);
1522
- }
1523
-
1524
- .matchid-wallet-asset-up {
1525
- color: var(--matchid-success);
1526
- }
1527
- }
1528
-
1529
- .matchid-token-detail {
1530
- flex: 1;
1531
- display: flex;
1532
- justify-content: space-between;
1533
- flex-direction: column;
1534
- padding-bottom: 200px;
1535
- gap: 48px;
1536
-
1537
- @media (max-width: 768px) {
1538
- padding-bottom: 0px;
1539
- gap: 36px;
1540
- }
1541
-
1542
- .matchid-token-main {
1543
- display: flex;
1544
- flex-direction: column;
1545
- gap: 24px;
1546
- align-items: center;
1547
-
1548
- .matchid-token-info {
1549
- display: flex;
1550
- flex-direction: column;
1551
- gap: 8px;
1552
- align-items: center;
1553
-
1554
- .matchid-token-logo {
1555
- position: relative;
1556
- width: 48px;
1557
- height: 48px;
1558
-
1559
- .matchid-token-icon {
1560
- width: 100%;
1561
- height: 100%;
1562
- border-radius: 100%
1563
- }
1564
-
1565
- .matchid-token-chain {
1566
- position: absolute;
1567
- border-radius: 100%;
1568
- width: 12px;
1569
- height: 12px;
1570
- right: 0px;
1571
- bottom: 0px;
1572
- }
1573
- }
1574
-
1575
- .matchid-token-name {
1576
- font-size: 20px;
1577
- font-weight: 500;
1578
- color: var(--matchid-black);
1579
- @media (max-width: 768px) {
1580
- font-size: 16px;
1581
- }
1582
- }
1583
- }
1584
-
1585
- .matchid-token-contract {
1586
- gap: 16px;
1587
- display: flex;
1588
- flex-direction: column;
1589
- padding: 16px;
1590
- background: var(--matchid-gray-100);
1591
- border-radius: 12px;
1592
- @media (max-width: 768px) {
1593
- gap: 8px;
1594
- }
1595
-
1596
- .matchid-token-contract-title {
1597
- color: var(--matchid-black);
1598
- font-size: 16px;
1599
- font-weight: 500;
1600
- @media (max-width: 768px) {
1601
- font-size: 14px;
1602
- }
1603
- }
1604
-
1605
- .matchid-token-contract-address {
1606
- width: 100%;
1607
- word-break: break-all;
1608
- font-size: 14px;
1609
- color: var(--matchid-secondary-grey);
1610
- @media (max-width: 768px) {
1611
- font-size: 12px;
1612
- }
1613
- }
1614
- }
1615
- }
1616
- }
1617
-
1618
- .matchid-token-send-box {
1619
- flex: 1;
1620
- display: flex;
1621
- justify-content: space-between;
1622
- flex-direction: column;
1623
- padding-bottom: 200px;
1624
- gap: 40px;
1625
- @media (max-width: 768px) {
1626
- padding-bottom: 0px;
1627
- gap: 68px;
1628
- }
1629
-
1630
- .matchid-token-send-content {
1631
- display: flex;
1632
- flex-direction: column;
1633
- gap: 16px;
1634
-
1635
- .matchid-token-amount-content, .matchid-token-address-content {
1636
- padding: 16px;
1637
- background: var(--matchid-light-grey);
1638
- border-radius: 16px;
1639
- display: flex;
1640
- gap: 16px;
1641
- flex-direction: column;
1642
- position: relative;
1643
- }
1644
-
1645
- .matchid-token-amount-content {
1646
- .matchid-token-amount-transfer {
1647
- position: absolute;
1648
- left: 50%;
1649
- bottom: -20px;
1650
- transform: translateX(-50%);
1651
- }
1652
-
1653
- .matchid-token-amount-header {
1654
- display: flex;
1655
- justify-content: space-between;
1656
- align-items: center;
1657
-
1658
- .matchid-token-amount-title {
1659
- font-size: 16px;
1660
- font-weight: 500;
1661
- color: var(--matchid-black);
1662
- @media (max-width: 768px) {
1663
- font-size: 14px;
1664
- }
1665
- }
1666
-
1667
- .matchid-token-amount-chain {
1668
- display: flex;
1669
- align-items: center;
1670
- gap: 4px;
1671
- border-radius: 100px;
1672
- padding: 4px 8px;
1673
- background: var(--matchid-white);
1674
-
1675
- .matchid-token-amount-chain-icon {
1676
- width: 16px;
1677
- height: 16px;
1678
- border-radius: 50%;
1679
- }
1680
-
1681
- span {
1682
-
1683
- font-size: 12px;
1684
- font-weight: 500;
1685
- color: var(--matchid-black);
1686
- }
1687
- }
1688
- }
1689
-
1690
- .matchid-token-amount-footer {
1691
- display: flex;
1692
- align-items: center;
1693
- gap: 8px;
1694
- font-size: 14px;
1695
- @media (max-width: 768px) {
1696
- font-size: 12px;
1697
- }
1698
-
1699
- .matchid-token-amount-title {
1700
- font-weight: 300;
1701
- color: var(--matchid-secondary-grey);
1702
- }
1703
-
1704
- .matchid-token-amount-value {
1705
- color: var(--matchid-black);
1706
- font-weight: 500;
1707
- }
1708
- }
1709
- }
1710
-
1711
- .matchid-token-address-content {
1712
- .matchid-token-address-header {
1713
- .matchid-token-address-title {
1714
- font-size: 16px;
1715
- font-weight: 500;
1716
- color: var(--matchid-black);
1717
- @media (max-width: 768px) {
1718
- font-size: 14px;
1719
- }
1720
- }
1721
- }
1722
- }
1723
- }
1724
- }
1725
-
1726
- .matchid-token-input-box {
1727
- display: flex;
1728
- flex-direction: column;
1729
- gap: 8px;
1730
-
1731
- .matchid-token-input {
1732
- width: 100%;
1733
- background: transparent;
1734
- font-size: 24px;
1735
- color: var(--matchid-black);
1736
- padding: 10px 0;
1737
- border: none;
1738
- font-weight: 600;
1739
- border-bottom: 1px solid var(--matchid-line);
1740
- caret-color: var(--matchid-black);
1741
- @media (max-width: 768px) {
1742
- font-size: 20px;
1743
- }
1744
-
1745
- &::placeholder {
1746
- color: var(--matchid-disabled);
1747
- font-weight: 300;
1748
- }
1749
-
1750
- &.matchid-token-input-error {
1751
- border-color: var(--matchid-highlight-orange);
1752
- }
1753
-
1754
- &:focus {
1755
- outline: none;
1756
- }
1757
- }
1758
-
1759
- &.matchid-token-input-sm {
1760
- .matchid-token-input {
1761
- font-size: 16px;
1762
- @media (max-width: 768px) {
1763
- font-size: 14px;
1764
- }
1765
- }
1766
- }
1767
-
1768
- .matchid-token-input-error-text {
1769
- font-size: 12px;
1770
- color: var(--matchid-error);
1771
- font-weight: 500;
1772
- }
1773
- }
1774
-
1775
- .matchid-token-send-list-box {
1776
- flex: 1;
1777
- display: flex;
1778
- flex-direction: column;
1779
- justify-content: space-between;
1780
- gap: 48px;
1781
- overflow-y: scroll;
1782
- max-height: 70vh;
1783
-
1784
-
1785
- @media (max-width: 768px) {
1786
- padding-bottom: 0px;
1787
- gap: 36px;
1788
- }
1789
-
1790
- .matchid-token-send-list {
1791
- display: flex;
1792
- flex-direction: column;
1793
- gap: 24px;
1794
- flex: 1;
1795
- overflow-y: scroll;
1796
- max-height: calc(70vh - 48px - 50px);
1797
- @media (max-width: 768px) {
1798
- max-height: calc(70vh - 48px - 38px);
1799
- }
1800
-
1801
- .matchid-token-send-item {
1802
- cursor: pointer;
1803
- display: flex;
1804
- align-items: center;
1805
- gap: 8px;
1806
- justify-content: space-between;
1807
- padding: 16px;
1808
- border: 1px solid var(--matchid-line);
1809
- border-radius: 16px;
1810
- transition: border-color 0.2s;
1811
- @media (max-width: 768px) {
1812
- padding: 10px 16px;
1813
- border-radius: 12px;
1814
- }
1815
-
1816
- &:hover, &.matchid-token-send-checked {
1817
- border-color: var(--matchid-highlight-orange);
1818
- }
1819
-
1820
- .matchid-token-send-content {
1821
- display: flex;
1822
- align-items: center;
1823
- flex: 1;
1824
- gap: 16px;
1825
- @media (max-width: 768px) {
1826
- gap: 8px;
1827
- }
1828
-
1829
- .matchid-token-send-logo {
1830
- width: 28px;
1831
- height: 28px;
1832
- position: relative;
1833
-
1834
- .matchid-token-send-icon {
1835
- width: 100%;
1836
- height: 100%;
1837
- border-radius: 8px;
1838
- }
1839
-
1840
- .matchid-token-send-chain {
1841
- position: absolute;
1842
- border-radius: 100%;
1843
- width: 12px;
1844
- height: 12px;
1845
- right: -1px;
1846
- bottom: -1px;
1847
- }
1848
-
1849
- @media (min-width: 768px) {
1850
- width: 40px;
1851
- height: 40px;
1852
- }
1853
- }
1854
-
1855
- .matchid-token-send-info {
1856
- font-size: 14px;
1857
- font-weight: 500;
1858
- display: flex;
1859
- flex: 1;
1860
- align-items: center;
1861
- justify-content: space-between;
1862
- gap: 10px;
1863
- @media (min-width: 768px) {
1864
- font-size: 16px;
1865
- }
1866
- }
1867
- }
1868
- }
1869
- }
1870
-
1871
- }
1872
-
1873
- .matchid-rotate {
1874
- animation: spin 2s linear infinite;
1875
- }
1876
-
1877
- .matchid-transaction-item {
1878
- padding: 16px;
1879
- display: flex;
1880
- justify-content: space-between;
1881
- border: 1px solid var(--matchid-line);
1882
- border-radius: 16px;
1883
- height: 78px;
1884
- background: var(--matchid-wallet-transaction-bg);
1885
- color: var(--matchid-wallet-transaction-color);
1886
- @media screen and (max-width: 768px) {
1887
- height: 64px;
1888
- }
1889
-
1890
- &:hover {
1891
- border-color: var(--matchid-highlight-orange);
1892
- }
1893
-
1894
- .matchid-transacton-item-container {
1895
- display: flex;
1896
- gap: 8px;
1897
- align-items: center;
1898
-
1899
- .matchid-transaction-item-icon {
1900
- background-color: var(--matchid-light-grey);
1901
- border-radius: 8px;
1902
- width: 40px;
1903
- height: 40px;
1904
- display: flex;
1905
- align-items: center;
1906
- justify-content: center;
1907
- @media screen and (max-width: 768px) {
1908
- width: 36px;
1909
- height: 36px;
1910
- }
1911
-
1912
- .rotate-180 {
1913
- transform: rotate(180deg);
1914
- }
1915
- }
1916
-
1917
- .matchid-transaction-item-details {
1918
- display: flex;
1919
- flex-direction: column;
1920
- justify-content: space-between;
1921
-
1922
- .matchid-transaction-item-address {
1923
- font-size: 16px;
1924
- font-weight: 500;
1925
- color: black;
1926
- @media screen and (max-width: 768px) {
1927
- font-size: 14px;
1928
- }
1929
-
1930
- }
1931
-
1932
- .matchid-transaction-item-timestamp {
1933
-
1934
- font-size: 14px;
1935
- color: var(--matchid-secondary-grey);
1936
-
1937
- @media screen and (max-width: 768px) {
1938
- font-size: 12px;
1939
- }
1940
- }
1941
- }
1942
-
1943
- }
1944
-
1945
- .matchid-transaction-item-amount {
1946
- display: flex;
1947
- align-items: center;
1948
- gap: 8px;
1949
- font-size: 16px;
1950
- font-weight: 500;
1951
-
1952
- span {
1953
- text-align: right;
1954
- }
1955
-
1956
- @media screen and (max-width: 768px) {
1957
- font-size: 14px;
1958
- }
1959
- }
1960
-
1961
- .matchid-transaction-item-loading {
1962
- color: var(--matchid-black);
1963
- }
1964
-
1965
- .matchid-transaction-item-success {
1966
- color: var(--matchid-success);
1967
- }
1968
-
1969
- .matchid-transaction-item-error {
1970
- color: var(--matchid-error);
1971
- }
1972
-
1973
- }
1974
-
1975
- .matchid-transaction-list {
1976
- display: flex;
1977
- flex-direction: column;
1978
- gap: 16px;
1979
- @media screen and (max-width: 768px) {
1980
- gap: 8px;
1981
- }
1982
- }
1983
-
1984
- .matchid-list-nomore {
1985
- gap: 8px;
1986
- text-align: center;
1987
- font-size: 16px;
1988
- padding: 16px 0;
1989
- display: flex;
1990
- align-items: center;
1991
- justify-content: center;
1992
- color: var(--matchid-secondary-grey);
1993
- @media screen and (max-width: 768px) {
1994
- font-size: 14px;
1995
- }
1996
- }
1997
-
1998
- .matchid-flex {
1999
- display: flex;
2000
- }
2001
-
2002
- .matchid-import-token-result {
2003
- display: flex;
2004
- flex: 1;
2005
- flex-direction: column;
2006
- padding-bottom: 100px;
2007
- gap: 24px;
2008
- justify-content: space-between;
2009
- @media screen and (max-width: 768px) {
2010
- padding-bottom: 0;
2011
- gap: 115px;
2012
- }
2013
-
2014
- .matchid-import-token-result-box {
2015
- display: flex;
2016
- flex-direction: column;
2017
- gap: 48px;
2018
- align-items: center;
2019
- @media screen and (max-width: 768px) {
2020
- gap: 24px;
2021
- }
2022
-
2023
- .matchid-import-token-result-img {
2024
- width: 96px;
2025
- height: 96px;
2026
- }
2027
-
2028
- .matchid-import-token-result-text {
2029
- font-size: 24px;
2030
- font-weight: 500;
2031
- color: var(--matchid-success);
2032
- @media screen and (max-width: 768px) {
2033
- font-size: 18px;
2034
- }
2035
- }
2036
-
2037
- .matchid-import-token-result-text-fail {
2038
- color: var(--matchid-error);
2039
- }
2040
- }
2041
-
2042
- }
2043
-
2044
- .matchid-error {
2045
- color: var(--matchid-red-600);
2046
- }
2047
-
2048
- .matchid-skeleton {
2049
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
2050
- background-size: 200% 100%;
2051
- animation: matchid-loading 1.5s infinite;
2052
- }
2053
-
2054
- @keyframes matchid-loading {
2055
- 0% {
2056
- background-position: 200% 0;
2057
- }
2058
- 100% {
2059
- background-position: -200% 0;
2060
- }
2061
- }
2062
-
2063
- .matchid-nomore {
2064
- display: flex;
2065
- justify-content: center;
2066
- align-items: center;
2067
- font-weight: 500;
2068
- font-size: 16px;
2069
- color: var(--matchid-secondary-grey);
2070
- padding: 20px 0;
2071
- @media screen and (max-width: 768px) {
2072
- font-size: 14px;
2073
- }
2074
- }
2075
-
2076
- .matchid-tabs {
2077
- gap: 36px;
2078
- align-items: start;
2079
- display: flex;
2080
- }
2081
-
2082
- .matchid-tab {
2083
- color: var(--matchid-tab-color);
2084
- font-weight: 500;
2085
- font-size: 20px;
2086
- cursor: pointer;
2087
-
2088
- @media screen and (max-width: 768px) {
2089
- font-size: 14px;
2090
- padding: 10px 0;
2091
- }
2092
-
2093
- &.matchid-tab-active {
2094
- color: var(--matchid-tab-active-color);
2095
- border-bottom: 2px solid var(--matchid-tab-active-color);
2096
- }
2097
- }
2098
-
2099
- .matchid-cursor-pointer {
2100
- cursor: pointer;
2101
- }
2102
-
2103
- .matchid-remove-box {
2104
- padding: 0px 20px;
2105
- min-width: 150px;
2106
- display: flex;
2107
- justify-content: center;
2108
- }
2109
-
2110
-
2111
-
2112
- .matchid-w-full {
2113
- width: 100%;
2114
- }
2115
-
2116
- .matchid-confirm-modal {
2117
- display: flex;
2118
- flex-direction: column;
2119
- font-size: 14px;
2120
- color: black;
2121
- gap: 8px;
2122
- width: 100%;
2123
- align-items: center;
2124
- justify-content: center;
2125
- @media (min-width: 768px) {
2126
- font-size: 16px;
2127
- gap: 12px;
2128
- }
2129
-
2130
- }
2131
-