@thenamespace/ens-components 0.0.8-alpha → 0.2.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.
package/dist/index.css CHANGED
@@ -266,26 +266,26 @@
266
266
  --ns-color-primary-contrast:#fff;
267
267
  --ns-color-border:#e5e7eb;
268
268
  --ns-shadow:0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.02);
269
- --ns-alert-error-bg:#fef2f2;
270
- --ns-alert-error-border:#fecaca;
271
- --ns-alert-error-text:#dc2626;
272
- --ns-alert-error-icon:#dc2626;
273
- --ns-alert-error-close-hover:rgba(220,38,38,.1);
274
- --ns-alert-warning-bg:#fffbeb;
275
- --ns-alert-warning-border:#fed7aa;
276
- --ns-alert-warning-text:#d97706;
277
- --ns-alert-warning-icon:#d97706;
278
- --ns-alert-warning-close-hover:rgba(217,119,6,.1);
279
- --ns-alert-info-bg:#eff6ff;
280
- --ns-alert-info-border:#bfdbfe;
281
- --ns-alert-info-text:#257eeb;
282
- --ns-alert-info-icon:#25a2eb;
283
- --ns-alert-info-close-hover:rgba(37,99,235,.1);
284
- --ns-alert-success-bg:#f0fdf4;
285
- --ns-alert-success-border:#bbf7d0;
286
- --ns-alert-success-text:#16a34a;
287
- --ns-alert-success-icon:#16a34a;
288
- --ns-alert-success-close-hover:rgba(22,163,74,.1);
269
+ --ns-alert-error-bg:#fef2f2;
270
+ --ns-alert-error-border:#fecaca;
271
+ --ns-alert-error-text:#dc2626;
272
+ --ns-alert-error-icon:#dc2626;
273
+ --ns-alert-error-close-hover:rgba(220,38,38,.1);
274
+ --ns-alert-warning-bg:#fffbeb;
275
+ --ns-alert-warning-border:#fed7aa;
276
+ --ns-alert-warning-text:#d97706;
277
+ --ns-alert-warning-icon:#d97706;
278
+ --ns-alert-warning-close-hover:rgba(217,119,6,.1);
279
+ --ns-alert-info-bg:#eff6ff;
280
+ --ns-alert-info-border:#bfdbfe;
281
+ --ns-alert-info-text:#257eeb;
282
+ --ns-alert-info-icon:#25a2eb;
283
+ --ns-alert-info-close-hover:rgba(37,99,235,.1);
284
+ --ns-alert-success-bg:#f0fdf4;
285
+ --ns-alert-success-border:#bbf7d0;
286
+ --ns-alert-success-text:#16a34a;
287
+ --ns-alert-success-icon:#16a34a;
288
+ --ns-alert-success-close-hover:rgba(22,163,74,.1);
289
289
  }
290
290
  [data-theme=dark]{
291
291
  --ns-color-bg:#0b0f19;
@@ -316,6 +316,9 @@
316
316
  --ns-alert-success-icon:#86efac;
317
317
  --ns-alert-success-close-hover:rgba(134,239,172,.1);
318
318
  }
319
+ html{
320
+ background-color:#f5f4f5 !important;
321
+ }
319
322
  .ns-reset{
320
323
  color:var(--ns-color-fg);
321
324
  font-family:var(--ns-font-family);
@@ -329,6 +332,250 @@
329
332
  background-color:var(--ns-color-fg);
330
333
  border-radius:4px;
331
334
  }
335
+ .ns-body{
336
+ background:var(--bg);
337
+ display:flex;
338
+ flex:1;
339
+ min-height:calc(100vh - 60px);
340
+ }
341
+ .ns-main{
342
+ flex:1;
343
+ padding:1px 20px;
344
+ }
345
+ .ns-page{
346
+ display:grid;
347
+ gap:24px;
348
+ grid-template-columns:400px 1fr;
349
+ }
350
+ .ns-left{
351
+ align-self:start;
352
+ margin-top:20px;
353
+ }
354
+ .ns-right{
355
+ background-color:#fff;
356
+ border-radius:12px;
357
+ box-shadow:0 4px 12px rgba(0,0,0,.08);
358
+ display:flex;
359
+ flex:1;
360
+ flex-direction:column;
361
+ height:100%;
362
+ margin:16px;
363
+ padding:20px;
364
+ }
365
+ .ns-header{
366
+ align-items:center;
367
+ border-bottom:1px solid var(--border);
368
+ display:flex;
369
+ justify-content:space-between;
370
+ margin-bottom:16px;
371
+ padding-bottom:12px;
372
+ }
373
+ .ns-tabs{
374
+ display:flex;
375
+ font-weight:500;
376
+ gap:16px;
377
+ }
378
+ .ns-actions-buttons{
379
+ display:flex;
380
+ gap:12px;
381
+ padding:0 18px;
382
+ width:-moz-fit-content;
383
+ width:fit-content;
384
+ }
385
+ .ns-tabs span{
386
+ border-radius:6px;
387
+ color:var(--muted);
388
+ cursor:pointer;
389
+ display:flex;
390
+ gap:6px;
391
+ padding:6px 10px;
392
+ transition:all .2s ease;
393
+ }
394
+ .ns-tabs span.active{
395
+ background:#f8f8f9;
396
+ border-radius:8px;
397
+ color:#fff;
398
+ padding:4px 12px;
399
+ transition:background .2s,color .2s;
400
+ }
401
+ .ns-tabs span:hover{
402
+ background:var(--bg);
403
+ color:var(--primary);
404
+ }
405
+ .ns-tabs .count{
406
+ background:#f0f0f0;
407
+ border-radius:10px;
408
+ font-size:12px;
409
+ margin-left:6px;
410
+ padding:2px 6px;
411
+ }
412
+ .ns-search button{
413
+ background:var(--bg);
414
+ border:none;
415
+ border-radius:6px;
416
+ box-shadow:0 2px 6px rgba(0,0,0,.08);
417
+ cursor:pointer;
418
+ font-size:14px;
419
+ padding:6px 10px;
420
+ transition:transform .2s ease,box-shadow .2s ease;
421
+ }
422
+ .ns-search button:hover{
423
+ box-shadow:0 4px 12px rgba(0,0,0,.12);
424
+ transform:translateY(-2px);
425
+ }
426
+ .ns-right-column{
427
+ display:flex;
428
+ flex:1;
429
+ flex-direction:column;
430
+ gap:16px;
431
+ min-width:0;
432
+ }
433
+ .ns-ens-grid{
434
+ display:grid;
435
+ gap:16px;
436
+ grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
437
+ }
438
+ .ns-searchbar{
439
+ border-radius:8px;
440
+ padding:6px 10px;
441
+ }
442
+ .ns-sidebar{
443
+ align-items:center;
444
+ background-color:#fff;
445
+ border-radius:10px;
446
+ border-right:1px solid var(--border);
447
+ box-shadow:0 2px 8px rgba(0,0,0,.08);
448
+
449
+ display:flex;
450
+ flex-direction:column;
451
+ height:70vh;
452
+
453
+ overflow-y:auto;
454
+ padding:12px 8px;
455
+ position:sticky;
456
+ scrollbar-width:thin;
457
+ top:0;
458
+ width:60px;
459
+ }
460
+ .ns-sidebar::-webkit-scrollbar{
461
+ width:4px;
462
+ }
463
+ .ns-sidebar::-webkit-scrollbar-thumb{
464
+ background:rgba(0,0,0,.2);
465
+ border-radius:4px;
466
+ }
467
+ .ns-menu{
468
+ display:flex;
469
+ flex-direction:column;
470
+ gap:16px;
471
+ margin-top:20px;
472
+ }
473
+ .ns-menu span{
474
+ align-items:center;
475
+ border-radius:10px;
476
+ color:var(--muted);
477
+ cursor:pointer;
478
+ display:flex;
479
+ font-size:22px;
480
+ justify-content:center;
481
+ padding:10px;
482
+ transition:all .25s ease-in-out;
483
+ }
484
+ .ns-menu span:hover{
485
+ background:rgba(37,99,235,.08);
486
+ box-shadow:0 2px 6px rgba(0,0,0,.1);
487
+ transform:translateY(-2px);
488
+ }
489
+ .ns-menu .active{
490
+ background:rgba(37,99,235,.12);
491
+ box-shadow:0 2px 8px rgba(37,99,235,.2);
492
+ color:var(--primary);
493
+ font-weight:600;
494
+ }
495
+ .ns-navbar{
496
+ background-color:#fff;
497
+ border-bottom:1px solid var(--border);
498
+ border-radius:var(--ns-radius-md);
499
+ box-shadow:0 2px 6px rgba(0,0,0,.05);
500
+ justify-content:space-between;
501
+ margin-left:20px;
502
+ padding:12px 20px;
503
+ position:sticky;
504
+ top:0;
505
+ width:calc(100% - 100px);
506
+ z-index:50;
507
+ }
508
+ .ns-navbar,.ns-navbar-left{
509
+ align-items:center;
510
+ display:flex;
511
+ }
512
+ .ns-navbar-left{
513
+ gap:16px;
514
+ width:30%;
515
+ }
516
+ .ns-logo{
517
+ background:#000;
518
+ border-radius:20%;
519
+ box-shadow:0 2px 6px rgba(0,0,0,.15);
520
+ color:#fff;
521
+ font-size:20px;
522
+ font-weight:700;
523
+ padding:8px 14px;
524
+ }
525
+ .ns-searchbar{
526
+ border:1px solid var(--border);
527
+ border-radius:10px;
528
+ font-size:14px;
529
+ padding:6px 12px;
530
+ transition:all .2s ease-in-out;
531
+ width:220px;
532
+ }
533
+ .ns-searchbar:focus{
534
+ border-color:#2563eb;
535
+ box-shadow:0 0 0 3px rgba(37,99,235,.15);
536
+ outline:none;
537
+ }
538
+ .ns-navbar-right{
539
+ align-items:center;
540
+ display:flex;
541
+ gap:16px;
542
+ }
543
+ .ns-network{
544
+ background:var(--bg);
545
+ border-radius:10px;
546
+ cursor:pointer;
547
+ font-weight:600;
548
+ padding:6px 12px;
549
+ transition:all .2s ease-in-out;
550
+ }
551
+ .ns-network:hover{
552
+ background:rgba(37,99,235,.08);
553
+ box-shadow:0 2px 6px rgba(37,99,235,.1);
554
+ color:#2563eb;
555
+ }
556
+ .ns-profile{
557
+ align-items:center;
558
+ border-radius:10px;
559
+ cursor:pointer;
560
+ display:flex;
561
+ font-weight:500;
562
+ gap:8px;
563
+ padding:6px 10px;
564
+ transition:all .2s ease-in-out;
565
+ }
566
+ .ns-profile:hover{
567
+ background:rgba(0,0,0,.05);
568
+ box-shadow:0 2px 6px rgba(0,0,0,.08);
569
+ }
570
+ .ns-navbar-profile-avatar{
571
+ border-radius:50%;
572
+ box-shadow:0 2px 6px rgba(0,0,0,.15);
573
+ height:32px;
574
+ -o-object-fit:cover;
575
+ object-fit:cover;
576
+ width:32px;
577
+ }
578
+
332
579
  .ns-btn{
333
580
  --btn-bg:var(--ns-color-primary);
334
581
  --btn-fg:var(--ns-color-primary-contrast);
@@ -903,306 +1150,110 @@
903
1150
  max-width:250px;
904
1151
  padding:6px 10px;
905
1152
  }
906
-
1153
+
907
1154
  .ns-tooltip__arrow{
908
1155
  border-width:5px;
909
1156
  }
910
1157
  }
911
1158
 
912
- .ns-pending-tx{
913
- align-items:center;
914
- box-shadow:var(--ns-shadow);
915
- display:flex;
916
- flex-direction:column;
917
- margin:0 auto;
918
- max-width:400px;
1159
+ .card{
1160
+ background:#fff;
1161
+ border:1px solid #e5e7eb;
1162
+ border-radius:16px;
1163
+ box-shadow:0 2px 6px rgba(0,0,0,.08);
919
1164
  overflow:hidden;
920
- padding:24px;
921
- position:relative;
922
- text-align:center;
923
1165
  }
924
1166
 
925
- .ns-pending-tx:before{
926
- background:linear-gradient(90deg, var(--ns-color-primary), var(--ns-color-muted));
927
- border-radius:var(--ns-radius-lg) var(--ns-radius-lg) 0 0;
928
- content:"";
929
- height:4px;
930
- left:0;
931
- position:absolute;
932
- right:0;
933
- top:0;
1167
+ .ns-card{
1168
+ background:var(--ns-color-bg);
1169
+ border:1px solid var(--ns-color-border);
1170
+ border-radius:var(--ns-radius-md);
1171
+ box-shadow:var(--ns-shadow);
1172
+ transition:background .2s ease,border .2s ease;
934
1173
  }
935
1174
 
936
- .ns-pending-tx--in-progress:before{
937
- animation:progress-shimmer 2s ease-in-out infinite;
938
- background:linear-gradient(90deg, #3b82f6, #1d4ed8);
1175
+ .ns-dropdown{
1176
+ display:inline-block;
1177
+ position:relative;
939
1178
  }
940
1179
 
941
- .ns-pending-tx--completed:before{
942
- background:linear-gradient(90deg, var(--ns-alert-success-text), #16a34a);
1180
+ .ns-dropdown__trigger{
1181
+ cursor:pointer;
1182
+ -webkit-user-select:none;
1183
+ -moz-user-select:none;
1184
+ user-select:none;
943
1185
  }
944
1186
 
945
- .ns-pending-tx--failed:before{
946
- background:linear-gradient(90deg, var(--ns-alert-error-text), #dc2626);
1187
+ .ns-dropdown__trigger:focus-visible{
1188
+ outline:2px solid var(--ns-color-primary);
1189
+ outline-offset:2px;
947
1190
  }
948
1191
 
949
- @keyframes progress-shimmer{
950
- 0%{
951
- background-position:-200% 0;
952
- }
953
- to{
954
- background-position:200% 0;
955
- }
1192
+ .ns-dropdown__menu{
1193
+ animation:ns-dropdown-fade-in .2s cubic-bezier(.4, 0, .2, 1);
1194
+
1195
+ background:var(--ns-color-bg);
1196
+ border:1px solid var(--ns-color-border);
1197
+ border-radius:var(--ns-radius-md);
1198
+ box-shadow:var(--ns-shadow);
1199
+ box-sizing:border-box;
1200
+ position:absolute;
1201
+ transform-origin:top center;
1202
+
1203
+ width:-moz-max-content;
1204
+
1205
+ width:max-content;
1206
+ z-index:1000;
956
1207
  }
957
1208
 
958
- .ns-pending-tx__content{
959
- align-items:center;
960
- display:flex;
961
- flex-direction:column;
962
- gap:16px;
963
- width:100%;
1209
+ .ns-dropdown--align-start{
1210
+ left:0;
1211
+ right:auto;
964
1212
  }
965
1213
 
966
- .ns-pending-tx__status{
967
- align-items:center;
968
- display:flex;
969
- font-size:16px;
970
- font-weight:500;
971
- gap:12px;
1214
+ .ns-dropdown--align-center{
1215
+ left:50%;
1216
+ right:auto;
1217
+ transform:translateX(-50%);
972
1218
  }
973
1219
 
974
- .ns-pending-tx__icon{
975
- align-items:center;
976
- border-radius:50%;
977
- display:flex;
978
- height:48px;
979
- justify-content:center;
980
- position:relative;
981
- width:48px;
1220
+ .ns-dropdown--align-end{
1221
+ left:auto;
1222
+ right:0;
982
1223
  }
983
1224
 
984
- .ns-pending-tx__icon--in-progress{
985
- animation:pulse 2s ease-in-out infinite;
986
- background:rgba(59,130,246,.1);
987
- color:#3b82f6;
1225
+ .ns-dropdown--bottom{
1226
+ margin-top:.25rem;
1227
+ top:100%;
1228
+ transform-origin:top center;
988
1229
  }
989
1230
 
990
- .ns-pending-tx__icon--completed{
991
- animation:success-bounce .6s ease-out;
992
- background:rgba(22,163,74,.1);
993
- color:var(--ns-alert-success-text);
1231
+ .ns-dropdown--top{
1232
+ bottom:100%;
1233
+ margin-bottom:.25rem;
1234
+ transform-origin:bottom center;
994
1235
  }
995
1236
 
996
- .ns-pending-tx__icon--failed{
997
- animation:error-shake .5s ease-in-out;
998
- background:rgba(220,38,38,.1);
999
- color:var(--ns-alert-error-text);
1237
+ .ns-dropdown--left{
1238
+ margin-right:.25rem;
1239
+ right:100%;
1240
+ transform-origin:right center;
1000
1241
  }
1001
1242
 
1002
- @keyframes pulse{
1003
- 0%,to{
1004
- opacity:1;
1005
- transform:scale(1);
1006
- }
1007
- 50%{
1008
- opacity:.8;
1009
- transform:scale(1.05);
1010
- }
1243
+ .ns-dropdown--right{
1244
+ left:100%;
1245
+ margin-left:.25rem;
1246
+ transform-origin:left center;
1011
1247
  }
1012
1248
 
1013
- @keyframes success-bounce{
1249
+ @keyframes ns-dropdown-fade-in{
1014
1250
  0%{
1015
- transform:scale(.3);
1016
- }
1017
- 50%{
1018
- transform:scale(1.1);
1251
+ opacity:0;
1252
+ transform:scale(.95) translateY(-8px);
1019
1253
  }
1020
1254
  to{
1021
- transform:scale(1);
1022
- }
1023
- }
1024
-
1025
- @keyframes error-shake{
1026
- 0%,to{
1027
- transform:translateX(0);
1028
- }
1029
- 25%{
1030
- transform:translateX(-5px);
1031
- }
1032
- 75%{
1033
- transform:translateX(5px);
1034
- }
1035
- }
1036
-
1037
- .ns-pending-tx__spinner{
1038
- animation:spin 1s linear infinite;
1039
- border:2px solid rgba(59,130,246,.2);
1040
- border-radius:50%;
1041
- border-top-color:#3b82f6;
1042
- height:24px;
1043
- width:24px;
1044
- }
1045
-
1046
- @keyframes spin{
1047
- 0%{
1048
- transform:rotate(0deg);
1049
- }
1050
- to{
1051
- transform:rotate(1turn);
1052
- }
1053
- }
1054
-
1055
- .ns-pending-tx__message{
1056
- color:var(--ns-color-muted);
1057
- font-size:14px;
1058
- margin:0;
1059
- }
1060
-
1061
- .ns-pending-tx__link{
1062
- align-items:center;
1063
- background:var(--ns-color-bg-accent);
1064
- border:1px solid var(--ns-color-border);
1065
- border-radius:var(--ns-radius-md);
1066
- color:var(--ns-color-fg);
1067
- display:inline-flex;
1068
- font-size:14px;
1069
- font-weight:500;
1070
- gap:8px;
1071
- padding:12px 20px;
1072
- text-decoration:none;
1073
- transition:all .2s ease;
1074
- }
1075
-
1076
- .ns-pending-tx__link:hover{
1077
- background:var(--ns-color-bg-accent-hover);
1078
- box-shadow:0 4px 12px rgba(0,0,0,.1);
1079
- transform:translateY(-1px);
1080
- }
1081
-
1082
- .ns-pending-tx__link:active{
1083
- transform:translateY(0);
1084
- }
1085
-
1086
- .ns-pending-tx__link-icon{
1087
- transition:transform .2s ease;
1088
- }
1089
-
1090
- .ns-pending-tx__link:hover .ns-pending-tx__link-icon{
1091
- transform:translateX(2px);
1092
- }
1093
-
1094
- [data-theme=dark] .ns-pending-tx{
1095
- background:var(--ns-color-bg);
1096
- border-color:var(--ns-color-border);
1097
- }
1098
-
1099
- [data-theme=dark] .ns-pending-tx__link{
1100
- background:var(--ns-color-bg-accent);
1101
- border-color:var(--ns-color-border);
1102
- }
1103
-
1104
- [data-theme=dark] .ns-pending-tx__link:hover{
1105
- background:var(--ns-color-bg-accent-hover);
1106
- }
1107
-
1108
- @media (max-width:480px){
1109
- .ns-pending-tx{
1110
- margin:0 16px;
1111
- padding:20px;
1112
- }
1113
-
1114
- .ns-pending-tx__status{
1115
- font-size:14px;
1116
- }
1117
-
1118
- .ns-pending-tx__icon{
1119
- height:40px;
1120
- width:40px;
1121
- }
1122
- }
1123
-
1124
- .ns-dropdown{
1125
- display:inline-block;
1126
- position:relative;
1127
- }
1128
-
1129
- .ns-dropdown__trigger{
1130
- cursor:pointer;
1131
- -webkit-user-select:none;
1132
- -moz-user-select:none;
1133
- user-select:none;
1134
- }
1135
-
1136
- .ns-dropdown__trigger:focus-visible{
1137
- outline:2px solid var(--ns-color-primary);
1138
- outline-offset:2px;
1139
- }
1140
-
1141
- .ns-dropdown__menu{
1142
- animation:ns-dropdown-fade-in .2s cubic-bezier(.4, 0, .2, 1);
1143
-
1144
- background:var(--ns-color-bg);
1145
- border:1px solid var(--ns-color-border);
1146
- border-radius:var(--ns-radius-md);
1147
- box-shadow:var(--ns-shadow);
1148
- box-sizing:border-box;
1149
- position:absolute;
1150
- transform-origin:top center;
1151
-
1152
- width:-moz-max-content;
1153
-
1154
- width:max-content;
1155
- z-index:1000;
1156
- }
1157
-
1158
- .ns-dropdown--align-start{
1159
- left:0;
1160
- right:auto;
1161
- }
1162
-
1163
- .ns-dropdown--align-center{
1164
- left:50%;
1165
- right:auto;
1166
- transform:translateX(-50%);
1167
- }
1168
-
1169
- .ns-dropdown--align-end{
1170
- left:auto;
1171
- right:0;
1172
- }
1173
-
1174
- .ns-dropdown--bottom{
1175
- margin-top:.25rem;
1176
- top:100%;
1177
- transform-origin:top center;
1178
- }
1179
-
1180
- .ns-dropdown--top{
1181
- bottom:100%;
1182
- margin-bottom:.25rem;
1183
- transform-origin:bottom center;
1184
- }
1185
-
1186
- .ns-dropdown--left{
1187
- margin-right:.25rem;
1188
- right:100%;
1189
- transform-origin:right center;
1190
- }
1191
-
1192
- .ns-dropdown--right{
1193
- left:100%;
1194
- margin-left:.25rem;
1195
- transform-origin:left center;
1196
- }
1197
-
1198
- @keyframes ns-dropdown-fade-in{
1199
- 0%{
1200
- opacity:0;
1201
- transform:scale(.95) translateY(-8px);
1202
- }
1203
- to{
1204
- opacity:1;
1205
- transform:scale(1) translateY(0);
1255
+ opacity:1;
1256
+ transform:scale(1) translateY(0);
1206
1257
  }
1207
1258
  }
1208
1259
 
@@ -1325,11 +1376,11 @@
1325
1376
  font-size:13px;
1326
1377
  padding:10px 12px;
1327
1378
  }
1328
-
1379
+
1329
1380
  .ns-alert-content{
1330
1381
  gap:10px;
1331
1382
  }
1332
-
1383
+
1333
1384
  .ns-alert-icon{
1334
1385
  margin-top:1px;
1335
1386
  }
@@ -1355,11 +1406,17 @@
1355
1406
  width:100%;
1356
1407
  }
1357
1408
 
1358
- .ns-modal--sm{ max-width:420px; }
1409
+ .ns-modal--sm{
1410
+ max-width:420px;
1411
+ }
1359
1412
 
1360
- .ns-modal--md{ max-width:640px; }
1413
+ .ns-modal--md{
1414
+ max-width:640px;
1415
+ }
1361
1416
 
1362
- .ns-modal--lg{ max-width:920px; }
1417
+ .ns-modal--lg{
1418
+ max-width:920px;
1419
+ }
1363
1420
 
1364
1421
  .ns-modal__header{
1365
1422
  align-items:center;
@@ -1369,7 +1426,9 @@
1369
1426
  padding:16px 20px;
1370
1427
  }
1371
1428
 
1372
- .ns-modal__title{ margin-right:12px; }
1429
+ .ns-modal__title{
1430
+ margin-right:12px;
1431
+ }
1373
1432
 
1374
1433
  .ns-modal__close{
1375
1434
  -webkit-appearance:none;
@@ -1383,7 +1442,9 @@
1383
1442
  opacity:.7;
1384
1443
  }
1385
1444
 
1386
- .ns-modal__close:hover{ opacity:1; }
1445
+ .ns-modal__close:hover{
1446
+ opacity:1;
1447
+ }
1387
1448
 
1388
1449
  .ns-modal__body{
1389
1450
  overflow:auto;
@@ -1399,7 +1460,116 @@
1399
1460
  padding:14px 20px;
1400
1461
  }
1401
1462
 
1463
+ .ns-profile-header{
1464
+ align-items:center;
1465
+ background:var(--ns-color-bg);
1466
+ border:1px solid var(--ns-color-border);
1467
+ border-radius:var(--ns-radius-lg);
1468
+ box-shadow:var(--ns-shadow);
1469
+ display:flex;
1470
+ flex-direction:column;
1471
+ overflow:hidden;
1472
+ text-align:center;
1473
+ }
1474
+
1475
+ .ns-profile-header__banner{
1476
+ height:140px;
1477
+ overflow:hidden;
1478
+ width:100%;
1479
+ }
1480
+
1481
+ .ns-profile-header__banner img{
1482
+ height:100%;
1483
+ -o-object-fit:cover;
1484
+ object-fit:cover;
1485
+ width:100%;
1486
+ }
1487
+
1488
+ .ns-profile-header__avatar{
1489
+ margin-top:-50px;
1490
+ position:relative;
1491
+ }
1492
+
1493
+ .ns-avatar-img{
1494
+ border:4px solid var(--ns-color-bg);
1495
+ border-radius:50%;
1496
+ height:100px;
1497
+ -o-object-fit:cover;
1498
+ object-fit:cover;
1499
+ width:100px;
1500
+ }
1501
+
1502
+ .ns-profile-header__chain{
1503
+ background:var(--ns-color-bg);
1504
+ border-radius:50%;
1505
+ bottom:0;
1506
+ box-shadow:var(--ns-shadow);
1507
+ padding:4px;
1508
+ position:absolute;
1509
+ right:0;
1510
+ }
1511
+
1512
+ .ns-profile-header__chain img{
1513
+ height:20px;
1514
+ width:20px;
1515
+ }
1516
+
1517
+ .ns-profile-header__info{
1518
+ padding:12px;
1519
+ }
1520
+
1521
+ .ns-profile-header__username{
1522
+ color:var(--ns-color-muted);
1523
+ font-size:.85rem;
1524
+ margin-bottom:4px;
1525
+ }
1526
+
1527
+ .ns-profile-header__name{
1528
+ color:var(--ns-color-fg);
1529
+ font-size:1.4rem;
1530
+ font-weight:600;
1531
+ margin:0;
1532
+ }
1533
+
1534
+ .ns-profile-header__primary{
1535
+ background:var(--ns-color-bg-accent);
1536
+ border-radius:var(--ns-radius-sm);
1537
+ color:var(--ns-color-fg);
1538
+ display:inline-block;
1539
+ font-size:.75rem;
1540
+ margin-top:6px;
1541
+ padding:2px 8px;
1542
+ }
1543
+
1544
+ .ns-profile-header__bio{
1545
+ color:var(--ns-color-muted);
1546
+ font-size:.9rem;
1547
+ margin:8px 0;
1548
+ }
1549
+
1550
+ .ns-profile-header__stats{
1551
+ align-items:center;
1552
+ color:var(--ns-color-fg);
1553
+ display:flex;
1554
+ font-size:.85rem;
1555
+ gap:6px;
1556
+ margin-top:10px;
1557
+ }
1558
+
1559
+ .ns-profile-header__follow{
1560
+ background:var(--ns-color-primary);
1561
+ border:none;
1562
+ border-radius:var(--ns-radius-md);
1563
+ color:var(--ns-color-primary-contrast);
1564
+ cursor:pointer;
1565
+ font-size:.85rem;
1566
+ margin-left:8px;
1567
+ padding:4px 12px;
1568
+ }
1402
1569
 
1570
+ .ns-profile-header__follow:hover{
1571
+ background:var(--ns-color-fg);
1572
+ }
1403
1573
 
1404
1574
  .ns-select-records-form{
1405
1575
  background-color:var(--ns-color-bg-accent);
@@ -1528,6 +1698,7 @@
1528
1698
  width:100%;
1529
1699
  }
1530
1700
  }
1701
+
1531
1702
  .ns-image-records{
1532
1703
  position:relative;
1533
1704
  z-index:15;
@@ -1627,16 +1798,610 @@
1627
1798
  opacity:1;
1628
1799
  }
1629
1800
 
1630
- .ns-edit-records-form{
1631
- background-color:var(--ns-color-bg-accent);
1632
- width:500px;
1633
- }
1801
+ .ns-pending-tx{
1802
+ align-items:center;
1803
+ box-shadow:var(--ns-shadow);
1804
+ display:flex;
1805
+ flex-direction:column;
1806
+ margin:0 auto;
1807
+ max-width:400px;
1808
+ overflow:hidden;
1809
+ padding:24px;
1810
+ position:relative;
1811
+ text-align:center;
1812
+ }
1813
+
1814
+ .ns-pending-tx:before{
1815
+ background:linear-gradient(
1816
+ 90deg,
1817
+ var(--ns-color-primary),
1818
+ var(--ns-color-muted)
1819
+ );
1820
+ border-radius:var(--ns-radius-lg) var(--ns-radius-lg) 0 0;
1821
+ content:"";
1822
+ height:4px;
1823
+ left:0;
1824
+ position:absolute;
1825
+ right:0;
1826
+ top:0;
1827
+ }
1828
+
1829
+ .ns-pending-tx--in-progress:before{
1830
+ animation:progress-shimmer 2s ease-in-out infinite;
1831
+ background:linear-gradient(90deg, #3b82f6, #1d4ed8);
1832
+ }
1833
+
1834
+ .ns-pending-tx--completed:before{
1835
+ background:linear-gradient(90deg, var(--ns-alert-success-text), #16a34a);
1836
+ }
1837
+
1838
+ .ns-pending-tx--failed:before{
1839
+ background:linear-gradient(90deg, var(--ns-alert-error-text), #dc2626);
1840
+ }
1841
+
1842
+ @keyframes progress-shimmer{
1843
+ 0%{
1844
+ background-position:-200% 0;
1845
+ }
1846
+ to{
1847
+ background-position:200% 0;
1848
+ }
1849
+ }
1850
+
1851
+ .ns-pending-tx__content{
1852
+ align-items:center;
1853
+ display:flex;
1854
+ flex-direction:column;
1855
+ gap:16px;
1856
+ width:100%;
1857
+ }
1858
+
1859
+ .ns-pending-tx__status{
1860
+ align-items:center;
1861
+ display:flex;
1862
+ font-size:16px;
1863
+ font-weight:500;
1864
+ gap:12px;
1865
+ }
1866
+
1867
+ .ns-pending-tx__icon{
1868
+ align-items:center;
1869
+ border-radius:50%;
1870
+ display:flex;
1871
+ height:48px;
1872
+ justify-content:center;
1873
+ position:relative;
1874
+ width:48px;
1875
+ }
1876
+
1877
+ .ns-pending-tx__icon--in-progress{
1878
+ animation:pulse 2s ease-in-out infinite;
1879
+ background:rgba(59,130,246,.1);
1880
+ color:#3b82f6;
1881
+ }
1882
+
1883
+ .ns-pending-tx__icon--completed{
1884
+ animation:success-bounce .6s ease-out;
1885
+ background:rgba(22,163,74,.1);
1886
+ color:var(--ns-alert-success-text);
1887
+ }
1888
+
1889
+ .ns-pending-tx__icon--failed{
1890
+ animation:error-shake .5s ease-in-out;
1891
+ background:rgba(220,38,38,.1);
1892
+ color:var(--ns-alert-error-text);
1893
+ }
1894
+
1895
+ @keyframes pulse{
1896
+ 0%,to{
1897
+ opacity:1;
1898
+ transform:scale(1);
1899
+ }
1900
+ 50%{
1901
+ opacity:.8;
1902
+ transform:scale(1.05);
1903
+ }
1904
+ }
1905
+
1906
+ @keyframes success-bounce{
1907
+ 0%{
1908
+ transform:scale(.3);
1909
+ }
1910
+ 50%{
1911
+ transform:scale(1.1);
1912
+ }
1913
+ to{
1914
+ transform:scale(1);
1915
+ }
1916
+ }
1917
+
1918
+ @keyframes error-shake{
1919
+ 0%,to{
1920
+ transform:translateX(0);
1921
+ }
1922
+ 25%{
1923
+ transform:translateX(-5px);
1924
+ }
1925
+ 75%{
1926
+ transform:translateX(5px);
1927
+ }
1928
+ }
1929
+
1930
+ .ns-pending-tx__spinner{
1931
+ animation:spin 1s linear infinite;
1932
+ border:2px solid rgba(59,130,246,.2);
1933
+ border-radius:50%;
1934
+ border-top-color:#3b82f6;
1935
+ height:24px;
1936
+ width:24px;
1937
+ }
1938
+
1939
+ @keyframes spin{
1940
+ 0%{
1941
+ transform:rotate(0deg);
1942
+ }
1943
+ to{
1944
+ transform:rotate(1turn);
1945
+ }
1946
+ }
1947
+
1948
+ .ns-pending-tx__message{
1949
+ color:var(--ns-color-muted);
1950
+ font-size:14px;
1951
+ margin:0;
1952
+ }
1953
+
1954
+ .ns-pending-tx__link{
1955
+ align-items:center;
1956
+ background:var(--ns-color-bg-accent);
1957
+ border:1px solid var(--ns-color-border);
1958
+ border-radius:var(--ns-radius-md);
1959
+ color:var(--ns-color-fg);
1960
+ display:inline-flex;
1961
+ font-size:14px;
1962
+ font-weight:500;
1963
+ gap:8px;
1964
+ padding:12px 20px;
1965
+ text-decoration:none;
1966
+ transition:all .2s ease;
1967
+ }
1968
+
1969
+ .ns-pending-tx__link:hover{
1970
+ background:var(--ns-color-bg-accent-hover);
1971
+ box-shadow:0 4px 12px rgba(0,0,0,.1);
1972
+ transform:translateY(-1px);
1973
+ }
1974
+
1975
+ .ns-pending-tx__link:active{
1976
+ transform:translateY(0);
1977
+ }
1978
+
1979
+ .ns-pending-tx__link-icon{
1980
+ transition:transform .2s ease;
1981
+ }
1982
+
1983
+ .ns-pending-tx__link:hover .ns-pending-tx__link-icon{
1984
+ transform:translateX(2px);
1985
+ }
1986
+
1987
+ [data-theme=dark] .ns-pending-tx{
1988
+ background:var(--ns-color-bg);
1989
+ border-color:var(--ns-color-border);
1990
+ }
1991
+
1992
+ [data-theme=dark] .ns-pending-tx__link{
1993
+ background:var(--ns-color-bg-accent);
1994
+ border-color:var(--ns-color-border);
1995
+ }
1996
+
1997
+ [data-theme=dark] .ns-pending-tx__link:hover{
1998
+ background:var(--ns-color-bg-accent-hover);
1999
+ }
2000
+
2001
+ @media (max-width:480px){
2002
+ .ns-pending-tx{
2003
+ margin:0 16px;
2004
+ padding:20px;
2005
+ }
2006
+
2007
+ .ns-pending-tx__status{
2008
+ font-size:14px;
2009
+ }
2010
+
2011
+ .ns-pending-tx__icon{
2012
+ height:40px;
2013
+ width:40px;
2014
+ }
2015
+ }
2016
+
2017
+ .ens-name-card{
2018
+ background:var(--ns-color-bg);
2019
+ border:1px solid var(--ns-color-border);
2020
+ border-radius:var(--ns-radius-md);
2021
+ box-shadow:var(--ns-shadow);
2022
+ cursor:pointer;
2023
+ display:flex;
2024
+ flex-direction:column;
2025
+ overflow:hidden;
2026
+ transition:transform .2s ease,box-shadow .2s ease;
2027
+ }
2028
+
2029
+ .ens-name-card:hover{
2030
+ box-shadow:0 4px 12px rgba(0,0,0,.08);
2031
+ transform:translateY(-3px);
2032
+ }
2033
+
2034
+ .ens-card-image-container{
2035
+ height:180px;
2036
+ overflow:hidden;
2037
+ position:relative;
2038
+ width:100%;
2039
+ }
2040
+
2041
+ .ens-card-image{
2042
+ background:var(--ns-color-bg-accent);
2043
+ height:100%;
2044
+ -o-object-fit:cover;
2045
+ object-fit:cover;
2046
+ width:100%;
2047
+ }
2048
+
2049
+ .ens-card-badge{
2050
+ border-radius:50%;
2051
+ box-shadow:var(--ns-shadow);
2052
+ padding:1px;
2053
+ position:absolute;
2054
+ right:8px;
2055
+ top:8px;
2056
+ }
2057
+
2058
+ .ens-card-badge-icon{
2059
+ height:18px;
2060
+ width:18px;
2061
+ }
2062
+
2063
+ .ens-card-body{
2064
+ display:flex;
2065
+ flex-direction:column;
2066
+ gap:6px;
2067
+ padding:10px 12px;
2068
+ }
2069
+
2070
+ .ens-card-title{
2071
+ color:var(--ns-color-fg);
2072
+ font-size:1.2rem;
2073
+ font-weight:700;
2074
+ }
2075
+
2076
+ .ens-card-expiry{
2077
+ align-items:center;
2078
+ color:var(--ns-color-muted);
2079
+ display:flex;
2080
+ font-size:.9rem;
2081
+ gap:4px;
2082
+ }
2083
+
2084
+ .ens-expiry-icon{
2085
+ stroke-width:1.8;
2086
+ }
2087
+
2088
+ .ens-expiry-text{
2089
+ line-height:1;
2090
+ }
2091
+
2092
+ .ns-profile-card{
2093
+ display:flex;
2094
+ flex-direction:column;
2095
+ gap:16px;
2096
+ }
2097
+
2098
+ .ns-profile-info,.ns-profile-section{
2099
+ background:#fff;
2100
+ border-radius:12px;
2101
+ box-shadow:0 1px 4px rgba(0,0,0,.05);
2102
+ padding:16px;
2103
+ }
2104
+
2105
+ .ns-profile-section{
2106
+ display:flex;
2107
+ flex-wrap:wrap;
2108
+ gap:8px;
2109
+ }
2110
+
2111
+ .ns-address-box{
2112
+ align-items:center;
2113
+ background:#f9f9f9;
2114
+ border:1px solid #ddd;
2115
+ border-radius:8px;
2116
+ display:flex;
2117
+ padding:6px 10px;
2118
+ }
2119
+
2120
+ .ns-address-text{
2121
+ color:#333;
2122
+ font-size:14px;
2123
+ margin-right:8px;
2124
+ }
2125
+
2126
+ .ns-profile-banner{
2127
+ background:#eaeaea;
2128
+ height:150px;
2129
+ position:relative;
2130
+ }
2131
+
2132
+ .ns-profile-banner img{
2133
+ height:100%;
2134
+ -o-object-fit:cover;
2135
+ object-fit:cover;
2136
+ width:100%;
2137
+ }
2138
+
2139
+ .ns-profile-avatar{
2140
+ bottom:-40px;
2141
+ left:50%;
2142
+ position:absolute;
2143
+ transform:translateX(-50%);
2144
+ }
2145
+
2146
+ .ns-profile-avatar img{
2147
+ border:6px solid #fff;
2148
+ border-radius:20%;
2149
+ box-shadow:0 2px 8px rgba(0,0,0,.2);
2150
+ height:100px;
2151
+ width:100px;
2152
+ }
2153
+
2154
+ .ns-avatar-badge{
2155
+ align-items:center;
2156
+ background:#fff;
2157
+ border-radius:50%;
2158
+ box-shadow:0 1px 3px rgba(0,0,0,.1);
2159
+ display:flex;
2160
+ justify-content:center;
2161
+ overflow:hidden;
2162
+ position:absolute;
2163
+ right:-10px;
2164
+ top:-10px;
2165
+ }
2166
+
2167
+ .ns-avatar-badge,.ns-avatar-badge-icon{
2168
+ height:10px;
2169
+ width:10px;
2170
+ }
2171
+
2172
+ .ns-profile-body{
2173
+ padding:60px 16px 20px;
2174
+ text-align:center;
2175
+ }
2176
+
2177
+ .ns-profile-tag{
2178
+ background:#f3f3f3;
2179
+ border-radius:12px;
2180
+ font-size:12px;
2181
+ font-weight:500;
2182
+ padding:4px 10px;
2183
+ }
2184
+
2185
+ .ns-username-container{
2186
+ align-items:center;
2187
+ display:flex;
2188
+ gap:8px;
2189
+ justify-content:center;
2190
+ margin:8px 0 4px;
2191
+ }
2192
+
2193
+ .ns-profile-username{
2194
+ font-size:20px;
2195
+ font-weight:600;
2196
+ margin:0;
2197
+ }
2198
+
2199
+ .ns-edit-btn{
2200
+ background:none;
2201
+ border:none;
2202
+ color:#555;
2203
+ cursor:pointer;
2204
+ }
1634
2205
 
1635
- @media screen and (max-width:600px){
1636
- .ns-edit-records-form{
1637
- width:100%;
1638
- }
2206
+ .ns-profile-bio{
2207
+ margin-bottom:12px;
2208
+ }
2209
+
2210
+ .ns-profile-socials{
2211
+ display:flex;
2212
+ gap:10px;
2213
+ justify-content:center;
2214
+ margin-bottom:12px;
2215
+ }
2216
+
2217
+ .ns-profile-socials button{
2218
+ background:#fff;
2219
+ border:1px solid #ccc;
2220
+ border-radius:8px;
2221
+ box-shadow:0 1px 3px rgba(0,0,0,.05);
2222
+ height:36px;
2223
+ width:36px;
2224
+ }
2225
+
2226
+ .ns-copy-btn,.ns-profile-socials button,.ns-social-btn{
2227
+ align-items:center;
2228
+ color:#555;
2229
+ cursor:pointer;
2230
+ display:flex;
2231
+ justify-content:center;
2232
+ padding:6px;
2233
+ }
2234
+
2235
+ .ns-copy-btn,.ns-social-btn{
2236
+ background:#f3f3f3;
2237
+ border:none;
2238
+ border-radius:8px;
2239
+ box-shadow:none;
2240
+ }
2241
+
2242
+ .ns-profile-stats{
2243
+ flex-direction:column;
2244
+ gap:10px;
2245
+ margin:14px 0;
2246
+ }
2247
+
2248
+ .ns-profile-stats,.ns-stats-row{
2249
+ align-items:center;
2250
+ display:flex;
2251
+ }
2252
+
2253
+ .ns-stats-row{
2254
+ color:#374151;
2255
+ gap:6px;
2256
+ justify-items:center;
2257
+ }
2258
+
2259
+ .ns-stats-row span{
2260
+ color:#111827;
2261
+ font-size:small;
2262
+ font-weight:600;
2263
+ }
2264
+
2265
+ .ns-follow-btn{
2266
+ background:#2563eb;
2267
+ border:none;
2268
+ border-radius:8px;
2269
+ color:#fff;
2270
+ cursor:pointer;
2271
+ font-size:10px;
2272
+ font-weight:500;
2273
+ padding:7px 18px;
2274
+ transition:background .2s;
2275
+ }
2276
+
2277
+ .ns-follow-btn:hover{
2278
+ background:#1d4ed8;
2279
+ }
2280
+
2281
+ .ns-profile-extra{
2282
+ background:transparent;
2283
+ border-radius:12px;
2284
+ display:flex;
2285
+ flex-wrap:wrap;
2286
+ gap:8px;
2287
+ padding:2px;
2288
+ }
2289
+
2290
+ .ns-extra-item{
2291
+ background:#eef2ff;
2292
+ border-radius:8px;
2293
+ color:#2563eb;
2294
+ font-size:13px;
2295
+ font-weight:500;
2296
+ gap:6px;
2297
+ padding:8px 14px;
2298
+ }
2299
+
2300
+ .ns-extra-item,.ns-extra-text{
2301
+ align-items:center;
2302
+ display:flex;
2303
+ }
2304
+
2305
+ .ns-extra-text{
2306
+ font-weight:400;
2307
+ gap:4px;
2308
+ }
2309
+
2310
+ .ns-extra-btn{
2311
+ background:transparent;
2312
+ border:none;
2313
+ color:#2563eb;
2314
+ cursor:pointer;
2315
+ }
2316
+
2317
+ .ns-extra-btn,.ns-extra-item span{
2318
+ align-items:center;
2319
+ display:flex;
2320
+ }
2321
+
2322
+ .ns-extra-item span{
2323
+ gap:4px;
2324
+ }
2325
+
2326
+ .ns-profile-extra a{
2327
+ color:#2563eb;
2328
+ text-decoration:none;
2329
+ }
2330
+
2331
+ .ns-profile-footer{
2332
+ align-items:center;
2333
+ background:#fff;
2334
+ border-radius:12px;
2335
+ box-shadow:0 1px 4px rgba(0,0,0,.05);
2336
+ padding:16px;
2337
+ }
2338
+
2339
+ .ns-footer-item,.ns-profile-footer{
2340
+ display:flex;
2341
+ gap:8px;
2342
+ justify-content:center;
2343
+ }
2344
+
2345
+ .ns-footer-item{
2346
+ text-align:center;
2347
+ width:100%;
2348
+ }
2349
+
2350
+ .ns-footer-label{
2351
+ color:#111827;
2352
+ font-size:18px;
2353
+ font-weight:600;
2354
+ }
2355
+
2356
+ .ns-footer-text{
2357
+ color:#6b7280;
2358
+ font-size:16px;
2359
+ }
2360
+
2361
+ .ns-navbar-profile{
2362
+ align-items:center;
2363
+ background:#f8f9fa;
2364
+ border-radius:12px;
2365
+ box-shadow:0 2px 6px rgba(0,0,0,.06);
2366
+ display:flex;
2367
+ gap:10px;
2368
+ padding:8px 12px;
2369
+ transition:all .2s ease-in-out;
2370
+ }
2371
+
2372
+ .ns-navbar-profile:hover{
2373
+ box-shadow:0 4px 10px rgba(0,0,0,.08);
2374
+ }
2375
+
2376
+ .ns-navbar-profile-avatar{
2377
+ border-radius:10%;
2378
+ height:36px;
2379
+ -o-object-fit:cover;
2380
+ object-fit:cover;
2381
+ width:36px;
2382
+ }
2383
+
2384
+ .ns-navbar-profile-info{
2385
+ display:flex;
2386
+ flex:1;
2387
+ flex-direction:column;
2388
+ min-width:0;
2389
+ }
2390
+
2391
+ .ns-navbar-profile-action{
2392
+ background:transparent;
2393
+ border:none;
2394
+ border-radius:8px;
2395
+ color:#3b82f6;
2396
+ cursor:pointer;
2397
+ padding:6px;
2398
+ transition:background .2s ease-in-out;
2399
+ }
2400
+
2401
+ .ns-navbar-profile-action:hover{
2402
+ background:rgba(59,130,246,.1);
1639
2403
  }
2404
+
1640
2405
  :root{
1641
2406
  --ns-font-family:"Satoshi", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
1642
2407
  --ns-radius-sm:4px;
@@ -1653,26 +2418,26 @@
1653
2418
  --ns-color-primary-contrast:#fff;
1654
2419
  --ns-color-border:#e5e7eb;
1655
2420
  --ns-shadow:0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.02);
1656
- --ns-alert-error-bg:#fef2f2;
1657
- --ns-alert-error-border:#fecaca;
1658
- --ns-alert-error-text:#dc2626;
1659
- --ns-alert-error-icon:#dc2626;
1660
- --ns-alert-error-close-hover:rgba(220,38,38,.1);
1661
- --ns-alert-warning-bg:#fffbeb;
1662
- --ns-alert-warning-border:#fed7aa;
1663
- --ns-alert-warning-text:#d97706;
1664
- --ns-alert-warning-icon:#d97706;
1665
- --ns-alert-warning-close-hover:rgba(217,119,6,.1);
1666
- --ns-alert-info-bg:#eff6ff;
1667
- --ns-alert-info-border:#bfdbfe;
1668
- --ns-alert-info-text:#257eeb;
1669
- --ns-alert-info-icon:#25a2eb;
1670
- --ns-alert-info-close-hover:rgba(37,99,235,.1);
1671
- --ns-alert-success-bg:#f0fdf4;
1672
- --ns-alert-success-border:#bbf7d0;
1673
- --ns-alert-success-text:#16a34a;
1674
- --ns-alert-success-icon:#16a34a;
1675
- --ns-alert-success-close-hover:rgba(22,163,74,.1);
2421
+ --ns-alert-error-bg:#fef2f2;
2422
+ --ns-alert-error-border:#fecaca;
2423
+ --ns-alert-error-text:#dc2626;
2424
+ --ns-alert-error-icon:#dc2626;
2425
+ --ns-alert-error-close-hover:rgba(220,38,38,.1);
2426
+ --ns-alert-warning-bg:#fffbeb;
2427
+ --ns-alert-warning-border:#fed7aa;
2428
+ --ns-alert-warning-text:#d97706;
2429
+ --ns-alert-warning-icon:#d97706;
2430
+ --ns-alert-warning-close-hover:rgba(217,119,6,.1);
2431
+ --ns-alert-info-bg:#eff6ff;
2432
+ --ns-alert-info-border:#bfdbfe;
2433
+ --ns-alert-info-text:#257eeb;
2434
+ --ns-alert-info-icon:#25a2eb;
2435
+ --ns-alert-info-close-hover:rgba(37,99,235,.1);
2436
+ --ns-alert-success-bg:#f0fdf4;
2437
+ --ns-alert-success-border:#bbf7d0;
2438
+ --ns-alert-success-text:#16a34a;
2439
+ --ns-alert-success-icon:#16a34a;
2440
+ --ns-alert-success-close-hover:rgba(22,163,74,.1);
1676
2441
  }
1677
2442
 
1678
2443
  [data-theme=dark]{
@@ -1705,6 +2470,10 @@
1705
2470
  --ns-alert-success-close-hover:rgba(134,239,172,.1);
1706
2471
  }
1707
2472
 
2473
+ html{
2474
+ background-color:#f5f4f5 !important;
2475
+ }
2476
+
1708
2477
  .ns-reset{
1709
2478
  color:var(--ns-color-fg);
1710
2479
  font-family:var(--ns-font-family);
@@ -1721,5 +2490,283 @@
1721
2490
  border-radius:4px;
1722
2491
  }
1723
2492
 
2493
+ .ns-body{
2494
+ background:var(--bg);
2495
+ display:flex;
2496
+ flex:1;
2497
+ min-height:calc(100vh - 60px);
2498
+ }
2499
+
2500
+ .ns-main{
2501
+ flex:1;
2502
+ padding:1px 20px;
2503
+ }
2504
+
2505
+ .ns-page{
2506
+ display:grid;
2507
+ gap:24px;
2508
+ grid-template-columns:400px 1fr;
2509
+ }
2510
+
2511
+ .ns-left{
2512
+ align-self:start;
2513
+ margin-top:20px;
2514
+ }
2515
+
2516
+ .ns-right{
2517
+ background-color:#fff;
2518
+ border-radius:12px;
2519
+ box-shadow:0 4px 12px rgba(0,0,0,.08);
2520
+ display:flex;
2521
+ flex:1;
2522
+ flex-direction:column;
2523
+ height:100%;
2524
+ margin:16px;
2525
+ padding:20px;
2526
+ }
2527
+
2528
+ .ns-header{
2529
+ align-items:center;
2530
+ border-bottom:1px solid var(--border);
2531
+ display:flex;
2532
+ justify-content:space-between;
2533
+ margin-bottom:16px;
2534
+ padding-bottom:12px;
2535
+ }
2536
+
2537
+ .ns-tabs{
2538
+ display:flex;
2539
+ font-weight:500;
2540
+ gap:16px;
2541
+ }
2542
+
2543
+ .ns-actions-buttons{
2544
+ display:flex;
2545
+ gap:12px;
2546
+ padding:0 18px;
2547
+ width:-moz-fit-content;
2548
+ width:fit-content;
2549
+ }
2550
+
2551
+ .ns-tabs span{
2552
+ border-radius:6px;
2553
+ color:var(--muted);
2554
+ cursor:pointer;
2555
+ display:flex;
2556
+ gap:6px;
2557
+ padding:6px 10px;
2558
+ transition:all .2s ease;
2559
+ }
2560
+
2561
+ .ns-tabs span.active{
2562
+ background:#f8f8f9;
2563
+ border-radius:8px;
2564
+ color:#fff;
2565
+ padding:4px 12px;
2566
+ transition:background .2s,color .2s;
2567
+ }
2568
+
2569
+ .ns-tabs span:hover{
2570
+ background:var(--bg);
2571
+ color:var(--primary);
2572
+ }
2573
+
2574
+ .ns-tabs .count{
2575
+ background:#f0f0f0;
2576
+ border-radius:10px;
2577
+ font-size:12px;
2578
+ margin-left:6px;
2579
+ padding:2px 6px;
2580
+ }
2581
+
2582
+ .ns-search button{
2583
+ background:var(--bg);
2584
+ border:none;
2585
+ border-radius:6px;
2586
+ box-shadow:0 2px 6px rgba(0,0,0,.08);
2587
+ cursor:pointer;
2588
+ font-size:14px;
2589
+ padding:6px 10px;
2590
+ transition:transform .2s ease,box-shadow .2s ease;
2591
+ }
2592
+
2593
+ .ns-search button:hover{
2594
+ box-shadow:0 4px 12px rgba(0,0,0,.12);
2595
+ transform:translateY(-2px);
2596
+ }
2597
+
2598
+ .ns-right-column{
2599
+ display:flex;
2600
+ flex:1;
2601
+ flex-direction:column;
2602
+ gap:16px;
2603
+ min-width:0;
2604
+ }
2605
+
2606
+ .ns-ens-grid{
2607
+ display:grid;
2608
+ gap:16px;
2609
+ grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
2610
+ }
2611
+
2612
+ .ns-searchbar{
2613
+ border-radius:8px;
2614
+ padding:6px 10px;
2615
+ }
2616
+
2617
+ .ns-sidebar{
2618
+ align-items:center;
2619
+ background-color:#fff;
2620
+ border-radius:10px;
2621
+ border-right:1px solid var(--border);
2622
+ box-shadow:0 2px 8px rgba(0,0,0,.08);
2623
+
2624
+ display:flex;
2625
+ flex-direction:column;
2626
+ height:70vh;
2627
+
2628
+ overflow-y:auto;
2629
+ padding:12px 8px;
2630
+ position:sticky;
2631
+ scrollbar-width:thin;
2632
+ top:0;
2633
+ width:60px;
2634
+ }
2635
+
2636
+ .ns-sidebar::-webkit-scrollbar{
2637
+ width:4px;
2638
+ }
2639
+
2640
+ .ns-sidebar::-webkit-scrollbar-thumb{
2641
+ background:rgba(0,0,0,.2);
2642
+ border-radius:4px;
2643
+ }
2644
+
2645
+ .ns-menu{
2646
+ display:flex;
2647
+ flex-direction:column;
2648
+ gap:16px;
2649
+ margin-top:20px;
2650
+ }
2651
+
2652
+ .ns-menu span{
2653
+ align-items:center;
2654
+ border-radius:10px;
2655
+ color:var(--muted);
2656
+ cursor:pointer;
2657
+ display:flex;
2658
+ font-size:22px;
2659
+ justify-content:center;
2660
+ padding:10px;
2661
+ transition:all .25s ease-in-out;
2662
+ }
2663
+
2664
+ .ns-menu span:hover{
2665
+ background:rgba(37,99,235,.08);
2666
+ box-shadow:0 2px 6px rgba(0,0,0,.1);
2667
+ transform:translateY(-2px);
2668
+ }
2669
+
2670
+ .ns-menu .active{
2671
+ background:rgba(37,99,235,.12);
2672
+ box-shadow:0 2px 8px rgba(37,99,235,.2);
2673
+ color:var(--primary);
2674
+ font-weight:600;
2675
+ }
2676
+
2677
+ .ns-navbar{
2678
+ background-color:#fff;
2679
+ border-bottom:1px solid var(--border);
2680
+ border-radius:var(--ns-radius-md);
2681
+ box-shadow:0 2px 6px rgba(0,0,0,.05);
2682
+ justify-content:space-between;
2683
+ margin-left:20px;
2684
+ padding:12px 20px;
2685
+ position:sticky;
2686
+ top:0;
2687
+ width:calc(100% - 100px);
2688
+ z-index:50;
2689
+ }
2690
+
2691
+ .ns-navbar,.ns-navbar-left{
2692
+ align-items:center;
2693
+ display:flex;
2694
+ }
2695
+
2696
+ .ns-navbar-left{
2697
+ gap:16px;
2698
+ width:30%;
2699
+ }
2700
+
2701
+ .ns-logo{
2702
+ background:#000;
2703
+ border-radius:20%;
2704
+ box-shadow:0 2px 6px rgba(0,0,0,.15);
2705
+ color:#fff;
2706
+ font-size:20px;
2707
+ font-weight:700;
2708
+ padding:8px 14px;
2709
+ }
2710
+
2711
+ .ns-searchbar{
2712
+ border:1px solid var(--border);
2713
+ border-radius:10px;
2714
+ font-size:14px;
2715
+ padding:6px 12px;
2716
+ transition:all .2s ease-in-out;
2717
+ width:220px;
2718
+ }
2719
+
2720
+ .ns-searchbar:focus{
2721
+ border-color:#2563eb;
2722
+ box-shadow:0 0 0 3px rgba(37,99,235,.15);
2723
+ outline:none;
2724
+ }
2725
+
2726
+ .ns-navbar-right{
2727
+ align-items:center;
2728
+ display:flex;
2729
+ gap:16px;
2730
+ }
2731
+
2732
+ .ns-network{
2733
+ background:var(--bg);
2734
+ border-radius:10px;
2735
+ cursor:pointer;
2736
+ font-weight:600;
2737
+ padding:6px 12px;
2738
+ transition:all .2s ease-in-out;
2739
+ }
2740
+
2741
+ .ns-network:hover{
2742
+ background:rgba(37,99,235,.08);
2743
+ box-shadow:0 2px 6px rgba(37,99,235,.1);
2744
+ color:#2563eb;
2745
+ }
2746
+
2747
+ .ns-profile{
2748
+ align-items:center;
2749
+ border-radius:10px;
2750
+ cursor:pointer;
2751
+ display:flex;
2752
+ font-weight:500;
2753
+ gap:8px;
2754
+ padding:6px 10px;
2755
+ transition:all .2s ease-in-out;
2756
+ }
2757
+
2758
+ .ns-profile:hover{
2759
+ background:rgba(0,0,0,.05);
2760
+ box-shadow:0 2px 6px rgba(0,0,0,.08);
2761
+ }
2762
+
2763
+ .ns-navbar-profile-avatar{
2764
+ border-radius:50%;
2765
+ box-shadow:0 2px 6px rgba(0,0,0,.15);
2766
+ height:32px;
2767
+ -o-object-fit:cover;
2768
+ object-fit:cover;
2769
+ width:32px;
2770
+ }
1724
2771
 
1725
2772
  /*# sourceMappingURL=index.css.map */