@rhinestone/deposit-modal 0.1.65 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DepositModalReown-Y4M3RA73.mjs → DepositModalReown-EYIV6APK.mjs} +3 -3
- package/dist/{DepositModalReown-6ZMLUWWD.cjs → DepositModalReown-UPYZN2XA.cjs} +4 -4
- package/dist/{WithdrawModalReown-HVBMAUPM.mjs → WithdrawModalReown-6VYKKKJN.mjs} +3 -3
- package/dist/{WithdrawModalReown-WJ5SHBV4.cjs → WithdrawModalReown-WHPQDJJJ.cjs} +4 -4
- package/dist/{chunk-RKRF7ANK.mjs → chunk-5FDIQNJJ.mjs} +22 -19
- package/dist/{chunk-4CZ7W3RS.cjs → chunk-FLVSQDP4.cjs} +181 -132
- package/dist/{chunk-GAHX5RAT.mjs → chunk-IUW3SJQT.mjs} +103 -54
- package/dist/{chunk-MGV75YLV.cjs → chunk-LTLFJPHO.cjs} +106 -103
- package/dist/{chunk-R6U6BHCV.cjs → chunk-MUWVDVY4.cjs} +13 -1
- package/dist/{chunk-IYZGLNY6.mjs → chunk-NFE5ZLD3.mjs} +1171 -374
- package/dist/{chunk-CIXHTOO3.mjs → chunk-SDZKKUCJ.mjs} +13 -1
- package/dist/{chunk-OWV4KVBM.cjs → chunk-UDKZWFCM.cjs} +1251 -454
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +4 -4
- package/dist/styles.css +696 -34
- package/dist/{types-BLIqLF0c.d.ts → types-DGQzvl6v.d.ts} +12 -1
- package/dist/{types-7IoN8k-P.d.cts → types-DJ1fzNC7.d.cts} +12 -1
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +3 -3
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
background-color: var(--rs-background);
|
|
103
103
|
-webkit-font-smoothing: antialiased;
|
|
104
104
|
-moz-osx-font-smoothing: grayscale;
|
|
105
|
+
position: relative;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
/* =============================================================================
|
|
@@ -292,6 +293,7 @@
|
|
|
292
293
|
flex-direction: column;
|
|
293
294
|
min-height: 280px;
|
|
294
295
|
overflow-y: auto;
|
|
296
|
+
overscroll-behavior: none;
|
|
295
297
|
}
|
|
296
298
|
|
|
297
299
|
.rs-modal-body::-webkit-scrollbar {
|
|
@@ -1188,7 +1190,7 @@
|
|
|
1188
1190
|
flex-direction: column;
|
|
1189
1191
|
align-items: center;
|
|
1190
1192
|
justify-content: center;
|
|
1191
|
-
padding:
|
|
1193
|
+
padding: 24px 12px 16px;
|
|
1192
1194
|
gap: 6px;
|
|
1193
1195
|
}
|
|
1194
1196
|
|
|
@@ -1214,6 +1216,25 @@
|
|
|
1214
1216
|
border-radius: 6px;
|
|
1215
1217
|
}
|
|
1216
1218
|
|
|
1219
|
+
.rs-empty-disconnect {
|
|
1220
|
+
margin-top: 8px;
|
|
1221
|
+
padding: 0;
|
|
1222
|
+
font-size: 11px;
|
|
1223
|
+
font-weight: 400;
|
|
1224
|
+
color: var(--rs-muted-foreground);
|
|
1225
|
+
background: transparent;
|
|
1226
|
+
border: none;
|
|
1227
|
+
cursor: pointer;
|
|
1228
|
+
transition: color 0.15s;
|
|
1229
|
+
font-family: inherit;
|
|
1230
|
+
text-decoration: underline;
|
|
1231
|
+
text-underline-offset: 2px;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.rs-empty-disconnect:hover {
|
|
1235
|
+
color: var(--rs-foreground);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1217
1238
|
/* =============================================================================
|
|
1218
1239
|
Link Styles
|
|
1219
1240
|
============================================================================= */
|
|
@@ -1349,17 +1370,17 @@
|
|
|
1349
1370
|
width: 100%;
|
|
1350
1371
|
display: flex;
|
|
1351
1372
|
flex-direction: column;
|
|
1352
|
-
gap:
|
|
1373
|
+
gap: 6px;
|
|
1353
1374
|
}
|
|
1354
1375
|
|
|
1355
1376
|
.rs-connect-wallet-row {
|
|
1356
1377
|
display: flex;
|
|
1357
1378
|
align-items: center;
|
|
1358
|
-
gap:
|
|
1379
|
+
gap: 10px;
|
|
1359
1380
|
width: 100%;
|
|
1360
|
-
padding:
|
|
1381
|
+
padding: 12px 14px;
|
|
1361
1382
|
border: 1px solid var(--rs-border-surface);
|
|
1362
|
-
border-radius: var(--rs-radius-
|
|
1383
|
+
border-radius: var(--rs-radius-lg);
|
|
1363
1384
|
background: var(--rs-background-secondary);
|
|
1364
1385
|
color: inherit;
|
|
1365
1386
|
cursor: pointer;
|
|
@@ -1387,9 +1408,9 @@
|
|
|
1387
1408
|
display: flex;
|
|
1388
1409
|
align-items: center;
|
|
1389
1410
|
justify-content: center;
|
|
1390
|
-
width:
|
|
1391
|
-
height:
|
|
1392
|
-
min-width:
|
|
1411
|
+
width: 32px;
|
|
1412
|
+
height: 32px;
|
|
1413
|
+
min-width: 32px;
|
|
1393
1414
|
border-radius: 50%;
|
|
1394
1415
|
background: var(--rs-surface);
|
|
1395
1416
|
color: var(--rs-muted);
|
|
@@ -1399,8 +1420,8 @@
|
|
|
1399
1420
|
}
|
|
1400
1421
|
|
|
1401
1422
|
.rs-connect-wallet-icon svg {
|
|
1402
|
-
width:
|
|
1403
|
-
height:
|
|
1423
|
+
width: 20px;
|
|
1424
|
+
height: 20px;
|
|
1404
1425
|
}
|
|
1405
1426
|
|
|
1406
1427
|
.rs-connect-wallet-icon--selected {
|
|
@@ -1447,14 +1468,14 @@
|
|
|
1447
1468
|
}
|
|
1448
1469
|
|
|
1449
1470
|
.rs-connect-wallet-label {
|
|
1450
|
-
font-size:
|
|
1451
|
-
|
|
1471
|
+
font-size: 14px;
|
|
1472
|
+
font-weight: 600;
|
|
1473
|
+
color: var(--rs-foreground);
|
|
1452
1474
|
}
|
|
1453
1475
|
|
|
1454
1476
|
.rs-connect-wallet-address {
|
|
1455
|
-
font-size:
|
|
1456
|
-
|
|
1457
|
-
color: var(--rs-foreground);
|
|
1477
|
+
font-size: 12px;
|
|
1478
|
+
color: var(--rs-muted);
|
|
1458
1479
|
}
|
|
1459
1480
|
|
|
1460
1481
|
.rs-connect-wallet-manage {
|
|
@@ -1728,11 +1749,11 @@
|
|
|
1728
1749
|
}
|
|
1729
1750
|
|
|
1730
1751
|
.rs-modal-header-nav-right {
|
|
1731
|
-
width: 28px;
|
|
1732
1752
|
display: flex;
|
|
1733
1753
|
align-items: center;
|
|
1734
1754
|
justify-content: flex-end;
|
|
1735
1755
|
flex-shrink: 0;
|
|
1756
|
+
gap: 2px;
|
|
1736
1757
|
}
|
|
1737
1758
|
|
|
1738
1759
|
.rs-modal-header-title {
|
|
@@ -2514,9 +2535,10 @@
|
|
|
2514
2535
|
|
|
2515
2536
|
.rs-deposit-address-dropdown-label {
|
|
2516
2537
|
font-size: 11px;
|
|
2517
|
-
color: var(--rs-
|
|
2538
|
+
color: var(--rs-foreground);
|
|
2518
2539
|
margin-bottom: 4px;
|
|
2519
2540
|
font-weight: 500;
|
|
2541
|
+
opacity: 0.65;
|
|
2520
2542
|
}
|
|
2521
2543
|
|
|
2522
2544
|
.rs-deposit-address-dropdown-trigger {
|
|
@@ -2575,6 +2597,7 @@
|
|
|
2575
2597
|
gap: 2px;
|
|
2576
2598
|
max-height: 200px;
|
|
2577
2599
|
overflow-y: auto;
|
|
2600
|
+
overscroll-behavior: none;
|
|
2578
2601
|
animation: rs-dropdown-in 0.12s ease-out;
|
|
2579
2602
|
}
|
|
2580
2603
|
|
|
@@ -2609,28 +2632,30 @@
|
|
|
2609
2632
|
display: flex;
|
|
2610
2633
|
align-items: center;
|
|
2611
2634
|
justify-content: center;
|
|
2612
|
-
padding:
|
|
2635
|
+
padding: 4px;
|
|
2613
2636
|
background: var(--rs-surface);
|
|
2614
|
-
border-radius: var(--rs-radius-
|
|
2637
|
+
border-radius: var(--rs-radius-md);
|
|
2615
2638
|
margin: 4px 0;
|
|
2616
2639
|
}
|
|
2617
2640
|
|
|
2641
|
+
.rs-deposit-address-qr canvas,
|
|
2618
2642
|
.rs-deposit-address-qr svg {
|
|
2619
|
-
|
|
2643
|
+
display: block;
|
|
2644
|
+
border-radius: var(--rs-radius-md);
|
|
2620
2645
|
}
|
|
2621
2646
|
|
|
2622
2647
|
.rs-deposit-address-info {
|
|
2623
2648
|
display: flex;
|
|
2624
2649
|
flex-direction: column;
|
|
2625
|
-
|
|
2626
|
-
gap: 8px;
|
|
2650
|
+
gap: 0;
|
|
2627
2651
|
width: 100%;
|
|
2628
2652
|
}
|
|
2629
2653
|
|
|
2630
2654
|
.rs-deposit-address-label {
|
|
2631
2655
|
font-size: 13px;
|
|
2632
|
-
font-weight:
|
|
2633
|
-
color: var(--rs-muted
|
|
2656
|
+
font-weight: 600;
|
|
2657
|
+
color: var(--rs-muted);
|
|
2658
|
+
margin-bottom: 8px;
|
|
2634
2659
|
}
|
|
2635
2660
|
|
|
2636
2661
|
.rs-deposit-address-value {
|
|
@@ -2640,31 +2665,35 @@
|
|
|
2640
2665
|
monospace;
|
|
2641
2666
|
color: var(--rs-foreground);
|
|
2642
2667
|
word-break: break-all;
|
|
2643
|
-
text-align:
|
|
2644
|
-
padding:
|
|
2645
|
-
background:
|
|
2646
|
-
border: 1px solid var(--rs-border
|
|
2647
|
-
border-radius: var(--rs-radius-sm);
|
|
2668
|
+
text-align: left;
|
|
2669
|
+
padding: 8px 12px;
|
|
2670
|
+
background: transparent;
|
|
2671
|
+
border: 1px solid var(--rs-border);
|
|
2672
|
+
border-radius: var(--rs-radius-sm) var(--rs-radius-sm) 0 0;
|
|
2673
|
+
border-bottom: none;
|
|
2648
2674
|
width: 100%;
|
|
2649
2675
|
}
|
|
2650
2676
|
|
|
2651
2677
|
.rs-deposit-address-copy {
|
|
2652
2678
|
display: flex;
|
|
2653
2679
|
align-items: center;
|
|
2680
|
+
justify-content: center;
|
|
2654
2681
|
gap: 6px;
|
|
2682
|
+
width: 100%;
|
|
2655
2683
|
padding: 8px 16px;
|
|
2656
|
-
border:
|
|
2657
|
-
|
|
2658
|
-
|
|
2684
|
+
border: 1px solid var(--rs-border);
|
|
2685
|
+
border-radius: 0 0 var(--rs-radius-sm) var(--rs-radius-sm);
|
|
2686
|
+
background: var(--rs-surface);
|
|
2687
|
+
color: var(--rs-foreground);
|
|
2659
2688
|
font-size: 13px;
|
|
2660
2689
|
font-weight: 500;
|
|
2661
2690
|
cursor: pointer;
|
|
2662
|
-
transition:
|
|
2691
|
+
transition: background 0.15s;
|
|
2663
2692
|
font-family: inherit;
|
|
2664
2693
|
}
|
|
2665
2694
|
|
|
2666
2695
|
.rs-deposit-address-copy:hover {
|
|
2667
|
-
|
|
2696
|
+
background: var(--rs-surface-hover);
|
|
2668
2697
|
}
|
|
2669
2698
|
|
|
2670
2699
|
.rs-deposit-address-balance {
|
|
@@ -2743,6 +2772,209 @@
|
|
|
2743
2772
|
color: var(--rs-foreground);
|
|
2744
2773
|
}
|
|
2745
2774
|
|
|
2775
|
+
/* =============================================================================
|
|
2776
|
+
Deposit Notifications (QR flow toast cards)
|
|
2777
|
+
============================================================================= */
|
|
2778
|
+
|
|
2779
|
+
.rs-step--with-notifications {
|
|
2780
|
+
position: relative;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
.rs-deposit-notifications {
|
|
2784
|
+
position: absolute;
|
|
2785
|
+
bottom: 12px;
|
|
2786
|
+
left: 12px;
|
|
2787
|
+
right: 12px;
|
|
2788
|
+
z-index: 10;
|
|
2789
|
+
display: flex;
|
|
2790
|
+
flex-direction: column;
|
|
2791
|
+
gap: 8px;
|
|
2792
|
+
pointer-events: none;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
.rs-deposit-notification {
|
|
2796
|
+
pointer-events: auto;
|
|
2797
|
+
background: var(--rs-background);
|
|
2798
|
+
border: 1px solid var(--rs-border);
|
|
2799
|
+
border-radius: var(--rs-radius-lg);
|
|
2800
|
+
overflow: hidden;
|
|
2801
|
+
box-shadow:
|
|
2802
|
+
0 -4px 20px rgba(0, 0, 0, 0.10),
|
|
2803
|
+
0 -1px 6px rgba(0, 0, 0, 0.06);
|
|
2804
|
+
animation: rs-notification-slide-up 0.3s ease-out;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
@keyframes rs-notification-slide-up {
|
|
2808
|
+
from {
|
|
2809
|
+
opacity: 0;
|
|
2810
|
+
transform: translateY(16px);
|
|
2811
|
+
}
|
|
2812
|
+
to {
|
|
2813
|
+
opacity: 1;
|
|
2814
|
+
transform: translateY(0);
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
.rs-deposit-notification-header {
|
|
2819
|
+
display: flex;
|
|
2820
|
+
align-items: flex-start;
|
|
2821
|
+
gap: 10px;
|
|
2822
|
+
padding: 14px 14px 0;
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
.rs-deposit-notification-icon {
|
|
2826
|
+
flex-shrink: 0;
|
|
2827
|
+
padding-top: 1px;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
.rs-deposit-notification-badge {
|
|
2831
|
+
width: 32px;
|
|
2832
|
+
height: 32px;
|
|
2833
|
+
border-radius: 50%;
|
|
2834
|
+
display: flex;
|
|
2835
|
+
align-items: center;
|
|
2836
|
+
justify-content: center;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
.rs-deposit-notification-badge svg {
|
|
2840
|
+
width: 14px;
|
|
2841
|
+
height: 14px;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
.rs-deposit-notification-badge .rs-spinner {
|
|
2845
|
+
width: 16px;
|
|
2846
|
+
height: 16px;
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
.rs-deposit-notification-badge--complete {
|
|
2850
|
+
background-color: var(--rs-success-tint);
|
|
2851
|
+
color: var(--rs-success);
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
.rs-deposit-notification-badge--failed {
|
|
2855
|
+
background-color: var(--rs-error-tint);
|
|
2856
|
+
color: var(--rs-error);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
.rs-deposit-notification-badge--processing {
|
|
2860
|
+
background-color: var(--rs-primary-tint);
|
|
2861
|
+
color: var(--rs-primary);
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
.rs-deposit-notification-content {
|
|
2865
|
+
flex: 1;
|
|
2866
|
+
min-width: 0;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
.rs-deposit-notification-title {
|
|
2870
|
+
font-size: 14px;
|
|
2871
|
+
font-weight: 600;
|
|
2872
|
+
color: var(--rs-foreground);
|
|
2873
|
+
line-height: 1.3;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
.rs-deposit-notification-subtitle {
|
|
2877
|
+
font-size: 12px;
|
|
2878
|
+
color: var(--rs-muted-foreground);
|
|
2879
|
+
line-height: 1.4;
|
|
2880
|
+
margin-top: 2px;
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
.rs-deposit-notification-close {
|
|
2884
|
+
flex-shrink: 0;
|
|
2885
|
+
width: 24px;
|
|
2886
|
+
height: 24px;
|
|
2887
|
+
display: flex;
|
|
2888
|
+
align-items: center;
|
|
2889
|
+
justify-content: center;
|
|
2890
|
+
border: none;
|
|
2891
|
+
background: transparent;
|
|
2892
|
+
color: var(--rs-muted-foreground);
|
|
2893
|
+
cursor: pointer;
|
|
2894
|
+
border-radius: 4px;
|
|
2895
|
+
padding: 0;
|
|
2896
|
+
transition: color 0.15s, background 0.15s;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
.rs-deposit-notification-close:hover {
|
|
2900
|
+
color: var(--rs-foreground);
|
|
2901
|
+
background: var(--rs-surface);
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
.rs-deposit-notification-close svg {
|
|
2905
|
+
width: 16px;
|
|
2906
|
+
height: 16px;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
.rs-deposit-notification-details {
|
|
2910
|
+
margin: 10px 14px 0;
|
|
2911
|
+
padding: 8px 10px;
|
|
2912
|
+
background: var(--rs-surface);
|
|
2913
|
+
border-radius: var(--rs-radius-sm);
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
.rs-deposit-notification-row {
|
|
2917
|
+
display: flex;
|
|
2918
|
+
align-items: center;
|
|
2919
|
+
justify-content: space-between;
|
|
2920
|
+
padding: 5px 0;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
.rs-deposit-notification-row + .rs-deposit-notification-row {
|
|
2924
|
+
border-top: 1px solid var(--rs-border-surface);
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
.rs-deposit-notification-label {
|
|
2928
|
+
font-size: 12px;
|
|
2929
|
+
color: var(--rs-muted-foreground);
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
.rs-deposit-notification-value {
|
|
2933
|
+
font-size: 12px;
|
|
2934
|
+
font-weight: 500;
|
|
2935
|
+
color: var(--rs-muted);
|
|
2936
|
+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
.rs-deposit-notification-link {
|
|
2940
|
+
display: inline-flex;
|
|
2941
|
+
align-items: center;
|
|
2942
|
+
gap: 3px;
|
|
2943
|
+
color: var(--rs-muted);
|
|
2944
|
+
text-decoration: none;
|
|
2945
|
+
transition: color 0.15s;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
.rs-deposit-notification-link:hover {
|
|
2949
|
+
color: var(--rs-foreground);
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
.rs-deposit-notification-link-icon {
|
|
2953
|
+
width: 10px;
|
|
2954
|
+
height: 10px;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
.rs-deposit-notification-toggle {
|
|
2958
|
+
display: flex;
|
|
2959
|
+
align-items: center;
|
|
2960
|
+
justify-content: center;
|
|
2961
|
+
width: 100%;
|
|
2962
|
+
padding: 10px 0;
|
|
2963
|
+
border: none;
|
|
2964
|
+
border-top: 1px solid var(--rs-border-surface);
|
|
2965
|
+
background: transparent;
|
|
2966
|
+
color: var(--rs-muted-foreground);
|
|
2967
|
+
font-size: 12px;
|
|
2968
|
+
font-weight: 500;
|
|
2969
|
+
cursor: pointer;
|
|
2970
|
+
transition: color 0.15s;
|
|
2971
|
+
margin-top: 10px;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
.rs-deposit-notification-toggle:hover {
|
|
2975
|
+
color: var(--rs-foreground);
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2746
2978
|
/* =============================================================================
|
|
2747
2979
|
Step Indicator (numbered circles with dotted line)
|
|
2748
2980
|
============================================================================= */
|
|
@@ -2963,3 +3195,433 @@
|
|
|
2963
3195
|
color: var(--rs-muted-foreground);
|
|
2964
3196
|
margin-top: 8px;
|
|
2965
3197
|
}
|
|
3198
|
+
|
|
3199
|
+
/* =============================================================================
|
|
3200
|
+
History Button (Header)
|
|
3201
|
+
============================================================================= */
|
|
3202
|
+
|
|
3203
|
+
.rs-modal-header-history {
|
|
3204
|
+
display: flex;
|
|
3205
|
+
align-items: center;
|
|
3206
|
+
justify-content: center;
|
|
3207
|
+
width: 30px;
|
|
3208
|
+
height: 30px;
|
|
3209
|
+
padding: 0;
|
|
3210
|
+
margin-right: 2px;
|
|
3211
|
+
border: none;
|
|
3212
|
+
border-radius: var(--rs-radius);
|
|
3213
|
+
background: transparent;
|
|
3214
|
+
color: var(--rs-muted-foreground);
|
|
3215
|
+
cursor: pointer;
|
|
3216
|
+
transition: color 0.15s, background-color 0.15s;
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
.rs-modal-header-history:hover:not(:disabled) {
|
|
3220
|
+
color: var(--rs-foreground);
|
|
3221
|
+
background: var(--rs-surface);
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
.rs-modal-header-history:active:not(:disabled) {
|
|
3225
|
+
background: var(--rs-surface-hover);
|
|
3226
|
+
transform: scale(0.96);
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
.rs-modal-header-history:disabled {
|
|
3230
|
+
opacity: 0.3;
|
|
3231
|
+
cursor: not-allowed;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
.rs-modal-header-history svg {
|
|
3235
|
+
width: 15px;
|
|
3236
|
+
height: 15px;
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
/* =============================================================================
|
|
3240
|
+
Deposit History Panel
|
|
3241
|
+
============================================================================= */
|
|
3242
|
+
|
|
3243
|
+
.rs-history-panel {
|
|
3244
|
+
position: absolute;
|
|
3245
|
+
inset: 0;
|
|
3246
|
+
z-index: 10;
|
|
3247
|
+
display: flex;
|
|
3248
|
+
flex-direction: column;
|
|
3249
|
+
background: var(--rs-background);
|
|
3250
|
+
border-radius: inherit;
|
|
3251
|
+
animation: rs-history-slide-in 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3254
|
+
@keyframes rs-history-slide-in {
|
|
3255
|
+
from {
|
|
3256
|
+
opacity: 0;
|
|
3257
|
+
transform: translateX(8px);
|
|
3258
|
+
}
|
|
3259
|
+
to {
|
|
3260
|
+
opacity: 1;
|
|
3261
|
+
transform: translateX(0);
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
/* Header */
|
|
3266
|
+
|
|
3267
|
+
.rs-history-header {
|
|
3268
|
+
display: flex;
|
|
3269
|
+
align-items: center;
|
|
3270
|
+
gap: 8px;
|
|
3271
|
+
padding: 12px 16px;
|
|
3272
|
+
border-bottom: 1px solid var(--rs-border-surface);
|
|
3273
|
+
min-height: var(--rs-height-titlebar);
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
.rs-history-back {
|
|
3277
|
+
display: flex;
|
|
3278
|
+
align-items: center;
|
|
3279
|
+
justify-content: center;
|
|
3280
|
+
width: 28px;
|
|
3281
|
+
height: 28px;
|
|
3282
|
+
padding: 0;
|
|
3283
|
+
border: none;
|
|
3284
|
+
border-radius: var(--rs-radius);
|
|
3285
|
+
background: transparent;
|
|
3286
|
+
color: var(--rs-muted-foreground);
|
|
3287
|
+
cursor: pointer;
|
|
3288
|
+
transition: color 0.15s, background-color 0.15s;
|
|
3289
|
+
flex-shrink: 0;
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
.rs-history-back:hover {
|
|
3293
|
+
color: var(--rs-foreground);
|
|
3294
|
+
background: var(--rs-surface);
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3297
|
+
.rs-history-back svg {
|
|
3298
|
+
width: 16px;
|
|
3299
|
+
height: 16px;
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
.rs-history-header-title {
|
|
3303
|
+
flex: 1;
|
|
3304
|
+
font-size: 14px;
|
|
3305
|
+
font-weight: 600;
|
|
3306
|
+
color: var(--rs-foreground);
|
|
3307
|
+
letter-spacing: -0.01em;
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
.rs-history-header-spacer {
|
|
3311
|
+
width: 28px;
|
|
3312
|
+
flex-shrink: 0;
|
|
3313
|
+
}
|
|
3314
|
+
|
|
3315
|
+
/* Scrollable body */
|
|
3316
|
+
|
|
3317
|
+
.rs-history-body {
|
|
3318
|
+
flex: 1;
|
|
3319
|
+
overflow-y: auto;
|
|
3320
|
+
min-height: 0;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
.rs-history-body::-webkit-scrollbar {
|
|
3324
|
+
width: 4px;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
.rs-history-body::-webkit-scrollbar-thumb {
|
|
3328
|
+
background: var(--rs-border);
|
|
3329
|
+
border-radius: 2px;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
/* State screens (loading, empty, error) */
|
|
3333
|
+
|
|
3334
|
+
.rs-history-state {
|
|
3335
|
+
display: flex;
|
|
3336
|
+
flex-direction: column;
|
|
3337
|
+
align-items: center;
|
|
3338
|
+
justify-content: center;
|
|
3339
|
+
gap: 10px;
|
|
3340
|
+
padding: 56px 24px;
|
|
3341
|
+
text-align: center;
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
.rs-history-spinner {
|
|
3345
|
+
width: 24px;
|
|
3346
|
+
height: 24px;
|
|
3347
|
+
color: var(--rs-muted-foreground);
|
|
3348
|
+
animation: rs-spinner 1s linear infinite;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.rs-history-spinner svg {
|
|
3352
|
+
width: 100%;
|
|
3353
|
+
height: 100%;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
.rs-history-state-icon {
|
|
3357
|
+
width: 32px;
|
|
3358
|
+
height: 32px;
|
|
3359
|
+
color: var(--rs-muted-foreground);
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
.rs-history-state-icon--error {
|
|
3363
|
+
color: var(--rs-error);
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
.rs-history-state-icon svg {
|
|
3367
|
+
width: 100%;
|
|
3368
|
+
height: 100%;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
.rs-history-state-text {
|
|
3372
|
+
font-size: 13px;
|
|
3373
|
+
font-weight: 500;
|
|
3374
|
+
color: var(--rs-muted);
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
.rs-history-state-hint {
|
|
3378
|
+
font-size: 12px;
|
|
3379
|
+
color: var(--rs-muted-foreground);
|
|
3380
|
+
margin-top: -4px;
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
/* List */
|
|
3384
|
+
|
|
3385
|
+
.rs-history-list {
|
|
3386
|
+
display: flex;
|
|
3387
|
+
flex-direction: column;
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
/* Row */
|
|
3391
|
+
|
|
3392
|
+
.rs-history-row {
|
|
3393
|
+
display: flex;
|
|
3394
|
+
flex-direction: column;
|
|
3395
|
+
gap: 6px;
|
|
3396
|
+
padding: 12px 16px;
|
|
3397
|
+
border-bottom: 1px solid var(--rs-border-surface);
|
|
3398
|
+
transition: background-color 0.12s;
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
.rs-history-row:last-child {
|
|
3402
|
+
border-bottom: none;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
.rs-history-row:hover {
|
|
3406
|
+
background: var(--rs-background-secondary);
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
/* Row primary: route + status */
|
|
3410
|
+
|
|
3411
|
+
.rs-history-row-primary {
|
|
3412
|
+
display: flex;
|
|
3413
|
+
align-items: center;
|
|
3414
|
+
justify-content: space-between;
|
|
3415
|
+
gap: 8px;
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
/* Chain route with icons */
|
|
3419
|
+
|
|
3420
|
+
.rs-history-route {
|
|
3421
|
+
display: flex;
|
|
3422
|
+
align-items: center;
|
|
3423
|
+
gap: 6px;
|
|
3424
|
+
min-width: 0;
|
|
3425
|
+
}
|
|
3426
|
+
|
|
3427
|
+
.rs-history-chain {
|
|
3428
|
+
display: inline-flex;
|
|
3429
|
+
align-items: center;
|
|
3430
|
+
gap: 5px;
|
|
3431
|
+
min-width: 0;
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
.rs-history-chain-icon {
|
|
3435
|
+
width: 18px;
|
|
3436
|
+
height: 18px;
|
|
3437
|
+
border-radius: 4px;
|
|
3438
|
+
flex-shrink: 0;
|
|
3439
|
+
object-fit: cover;
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
.rs-history-chain-name {
|
|
3443
|
+
font-size: 13px;
|
|
3444
|
+
font-weight: 500;
|
|
3445
|
+
color: var(--rs-foreground);
|
|
3446
|
+
white-space: nowrap;
|
|
3447
|
+
overflow: hidden;
|
|
3448
|
+
text-overflow: ellipsis;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
.rs-history-route-arrow {
|
|
3452
|
+
width: 12px;
|
|
3453
|
+
height: 12px;
|
|
3454
|
+
color: var(--rs-muted-foreground);
|
|
3455
|
+
flex-shrink: 0;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
/* Status with dot indicator */
|
|
3459
|
+
|
|
3460
|
+
.rs-history-status {
|
|
3461
|
+
display: inline-flex;
|
|
3462
|
+
align-items: center;
|
|
3463
|
+
gap: 5px;
|
|
3464
|
+
font-size: 11px;
|
|
3465
|
+
font-weight: 500;
|
|
3466
|
+
letter-spacing: 0.01em;
|
|
3467
|
+
line-height: 1;
|
|
3468
|
+
white-space: nowrap;
|
|
3469
|
+
flex-shrink: 0;
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
.rs-history-dot {
|
|
3473
|
+
width: 6px;
|
|
3474
|
+
height: 6px;
|
|
3475
|
+
border-radius: 50%;
|
|
3476
|
+
flex-shrink: 0;
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
.rs-history-dot--pending {
|
|
3480
|
+
background: var(--color-amber8);
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
.rs-history-dot--processing {
|
|
3484
|
+
background: var(--color-blue9);
|
|
3485
|
+
animation: rs-history-dot-pulse 1.5s ease-in-out infinite;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
.rs-history-dot--completed {
|
|
3489
|
+
background: var(--color-green9);
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
.rs-history-dot--failed {
|
|
3493
|
+
background: var(--color-red9);
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
@keyframes rs-history-dot-pulse {
|
|
3497
|
+
0%, 100% { opacity: 1; }
|
|
3498
|
+
50% { opacity: 0.4; }
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
.rs-history-status--completed {
|
|
3502
|
+
color: var(--color-green10);
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
.rs-history-status--failed {
|
|
3506
|
+
color: var(--color-red10);
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
.rs-history-status--processing {
|
|
3510
|
+
color: var(--color-blue11);
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
.rs-history-status--pending {
|
|
3514
|
+
color: var(--color-amber8);
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
/* Row secondary: amount + time */
|
|
3518
|
+
|
|
3519
|
+
.rs-history-row-secondary {
|
|
3520
|
+
display: flex;
|
|
3521
|
+
align-items: baseline;
|
|
3522
|
+
justify-content: space-between;
|
|
3523
|
+
gap: 8px;
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
.rs-history-amount {
|
|
3527
|
+
font-size: 12px;
|
|
3528
|
+
color: var(--rs-muted);
|
|
3529
|
+
white-space: nowrap;
|
|
3530
|
+
overflow: hidden;
|
|
3531
|
+
text-overflow: ellipsis;
|
|
3532
|
+
min-width: 0;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
.rs-history-token {
|
|
3536
|
+
font-weight: 500;
|
|
3537
|
+
color: var(--rs-foreground);
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
.rs-history-token-target {
|
|
3541
|
+
color: var(--rs-muted-foreground);
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
.rs-history-no-amount {
|
|
3545
|
+
color: var(--rs-muted-foreground);
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
.rs-history-time {
|
|
3549
|
+
font-size: 11px;
|
|
3550
|
+
color: var(--rs-muted-foreground);
|
|
3551
|
+
white-space: nowrap;
|
|
3552
|
+
flex-shrink: 0;
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
/* Tx hash links */
|
|
3556
|
+
|
|
3557
|
+
.rs-history-row-links {
|
|
3558
|
+
display: flex;
|
|
3559
|
+
align-items: center;
|
|
3560
|
+
gap: 6px;
|
|
3561
|
+
margin-top: 1px;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
.rs-history-tx-link {
|
|
3565
|
+
display: inline-flex;
|
|
3566
|
+
align-items: center;
|
|
3567
|
+
gap: 3px;
|
|
3568
|
+
padding: 2px 6px;
|
|
3569
|
+
border-radius: 4px;
|
|
3570
|
+
background: var(--rs-surface);
|
|
3571
|
+
color: var(--rs-muted-foreground);
|
|
3572
|
+
text-decoration: none;
|
|
3573
|
+
transition: color 0.12s, background-color 0.12s;
|
|
3574
|
+
cursor: pointer;
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
.rs-history-tx-link:hover {
|
|
3578
|
+
color: var(--rs-foreground);
|
|
3579
|
+
background: var(--rs-surface-hover);
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
.rs-history-tx-hash {
|
|
3583
|
+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
|
3584
|
+
font-size: 10px;
|
|
3585
|
+
letter-spacing: 0.01em;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
.rs-history-ext-icon {
|
|
3589
|
+
width: 10px;
|
|
3590
|
+
height: 10px;
|
|
3591
|
+
flex-shrink: 0;
|
|
3592
|
+
opacity: 0.5;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
.rs-history-tx-link:hover .rs-history-ext-icon {
|
|
3596
|
+
opacity: 1;
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
/* Load more */
|
|
3600
|
+
|
|
3601
|
+
.rs-history-load-more {
|
|
3602
|
+
display: flex;
|
|
3603
|
+
align-items: center;
|
|
3604
|
+
justify-content: center;
|
|
3605
|
+
margin: 4px 16px 12px;
|
|
3606
|
+
padding: 8px 16px;
|
|
3607
|
+
border: 1px solid var(--rs-border-surface);
|
|
3608
|
+
border-radius: var(--rs-radius);
|
|
3609
|
+
background: transparent;
|
|
3610
|
+
color: var(--rs-muted);
|
|
3611
|
+
font-size: 12px;
|
|
3612
|
+
font-weight: 500;
|
|
3613
|
+
font-family: inherit;
|
|
3614
|
+
cursor: pointer;
|
|
3615
|
+
transition: color 0.15s, background-color 0.15s, border-color 0.15s;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
.rs-history-load-more:hover:not(:disabled) {
|
|
3619
|
+
color: var(--rs-foreground);
|
|
3620
|
+
background: var(--rs-background-secondary);
|
|
3621
|
+
border-color: var(--rs-border);
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
.rs-history-load-more:disabled {
|
|
3625
|
+
opacity: 0.5;
|
|
3626
|
+
cursor: not-allowed;
|
|
3627
|
+
}
|