ns-auth-sdk 1.2.6 → 1.3.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/README.md +33 -16
- package/dist/index.cjs +1397 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +115 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +289 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +232 -157
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1342 -1206
- package/dist/index.mjs.map +1 -1
- package/dist/utils-BR2TqhEA.cjs +3 -0
- package/dist/utils-BVvtCpMQ.mjs +3 -0
- package/dist/utils-CV_lg5Ir.mjs +492 -0
- package/dist/utils-CV_lg5Ir.mjs.map +1 -0
- package/dist/utils-CxLeFzNn.cjs +528 -0
- package/dist/utils-CxLeFzNn.cjs.map +1 -0
- package/package.json +18 -17
- package/dist/index.d.ts +0 -214
- package/dist/index.js +0 -1234
- package/dist/index.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* src/components/auth/Auth.css */
|
|
2
1
|
.auth-container {
|
|
3
2
|
display: flex !important;
|
|
4
3
|
justify-content: center !important;
|
|
@@ -8,6 +7,7 @@
|
|
|
8
7
|
margin-top: 2rem !important;
|
|
9
8
|
width: 100% !important;
|
|
10
9
|
}
|
|
10
|
+
|
|
11
11
|
.auth-card {
|
|
12
12
|
background: white !important;
|
|
13
13
|
border-radius: 12px !important;
|
|
@@ -18,13 +18,9 @@
|
|
|
18
18
|
border: 1px solid #e5e7eb !important;
|
|
19
19
|
margin: 0 auto !important;
|
|
20
20
|
}
|
|
21
|
+
|
|
21
22
|
.auth-card h1 {
|
|
22
|
-
font-family:
|
|
23
|
-
"Inter",
|
|
24
|
-
-apple-system,
|
|
25
|
-
BlinkMacSystemFont,
|
|
26
|
-
"Segoe UI",
|
|
27
|
-
sans-serif;
|
|
23
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
28
24
|
margin: 0 0 1rem 0;
|
|
29
25
|
font-size: 2rem;
|
|
30
26
|
font-weight: 700;
|
|
@@ -32,30 +28,36 @@
|
|
|
32
28
|
letter-spacing: -0.03em;
|
|
33
29
|
line-height: 1.2;
|
|
34
30
|
}
|
|
31
|
+
|
|
35
32
|
.auth-description {
|
|
36
33
|
color: #666;
|
|
37
34
|
margin-bottom: 2rem;
|
|
38
35
|
line-height: 1.6;
|
|
39
36
|
font-size: 0.9375rem;
|
|
40
37
|
}
|
|
38
|
+
|
|
41
39
|
.auth-features {
|
|
42
40
|
display: flex;
|
|
43
41
|
flex-direction: column;
|
|
44
42
|
gap: 1rem;
|
|
45
43
|
margin-bottom: 2rem;
|
|
46
44
|
}
|
|
45
|
+
|
|
47
46
|
.feature-item {
|
|
48
47
|
display: flex;
|
|
49
48
|
align-items: center;
|
|
50
49
|
gap: 0.75rem;
|
|
51
50
|
color: #444;
|
|
52
51
|
}
|
|
52
|
+
|
|
53
53
|
.feature-icon {
|
|
54
54
|
font-size: 1.5rem;
|
|
55
55
|
}
|
|
56
|
+
|
|
56
57
|
.username-section {
|
|
57
58
|
margin-bottom: 1.5rem;
|
|
58
59
|
}
|
|
60
|
+
|
|
59
61
|
.username-label {
|
|
60
62
|
display: block;
|
|
61
63
|
color: #444;
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
font-weight: 500;
|
|
64
66
|
margin-bottom: 0.5rem;
|
|
65
67
|
}
|
|
68
|
+
|
|
66
69
|
.username-input {
|
|
67
70
|
width: 100%;
|
|
68
71
|
padding: 0.875rem 1rem;
|
|
@@ -74,19 +77,23 @@
|
|
|
74
77
|
transition: all 0.2s ease;
|
|
75
78
|
box-sizing: border-box;
|
|
76
79
|
}
|
|
80
|
+
|
|
77
81
|
.username-input:focus {
|
|
78
82
|
outline: none;
|
|
79
83
|
border-color: #2563eb;
|
|
80
84
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
.username-input:disabled {
|
|
83
88
|
opacity: 0.6;
|
|
84
89
|
cursor: not-allowed;
|
|
85
90
|
background: #f9fafb;
|
|
86
91
|
}
|
|
92
|
+
|
|
87
93
|
.username-input::placeholder {
|
|
88
94
|
color: #9ca3af;
|
|
89
95
|
}
|
|
96
|
+
|
|
90
97
|
.auth-button {
|
|
91
98
|
width: 100% !important;
|
|
92
99
|
padding: 0.875rem 1.5rem !important;
|
|
@@ -96,15 +103,12 @@
|
|
|
96
103
|
border-radius: 8px !important;
|
|
97
104
|
cursor: pointer !important;
|
|
98
105
|
transition: all 0.2s ease !important;
|
|
106
|
+
/* Override global button styles */
|
|
99
107
|
background-color: transparent !important;
|
|
100
108
|
color: inherit !important;
|
|
101
|
-
font-family:
|
|
102
|
-
"Inter",
|
|
103
|
-
-apple-system,
|
|
104
|
-
BlinkMacSystemFont,
|
|
105
|
-
"Segoe UI",
|
|
106
|
-
sans-serif !important;
|
|
109
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
|
|
107
110
|
}
|
|
111
|
+
|
|
108
112
|
.auth-button.primary {
|
|
109
113
|
background: #2563eb !important;
|
|
110
114
|
background-color: #2563eb !important;
|
|
@@ -112,26 +116,32 @@
|
|
|
112
116
|
border: none !important;
|
|
113
117
|
border-color: transparent !important;
|
|
114
118
|
}
|
|
119
|
+
|
|
115
120
|
.auth-button.primary:hover:not(:disabled) {
|
|
116
121
|
background: #1d4ed8 !important;
|
|
117
122
|
background-color: #1d4ed8 !important;
|
|
118
123
|
}
|
|
124
|
+
|
|
119
125
|
.auth-button.secondary {
|
|
120
126
|
background: #f3f4f6;
|
|
121
127
|
color: #1a1a1a;
|
|
122
128
|
}
|
|
129
|
+
|
|
123
130
|
.auth-button.secondary:hover:not(:disabled) {
|
|
124
131
|
background: #e5e7eb;
|
|
125
132
|
}
|
|
133
|
+
|
|
126
134
|
.auth-button:disabled {
|
|
127
135
|
opacity: 0.6;
|
|
128
136
|
cursor: not-allowed;
|
|
129
137
|
}
|
|
138
|
+
|
|
130
139
|
.loading-state,
|
|
131
140
|
.success-state {
|
|
132
141
|
text-align: center;
|
|
133
142
|
padding: 2rem 0;
|
|
134
143
|
}
|
|
144
|
+
|
|
135
145
|
.spinner {
|
|
136
146
|
width: 48px;
|
|
137
147
|
height: 48px;
|
|
@@ -141,16 +151,19 @@
|
|
|
141
151
|
animation: spin 1s linear infinite;
|
|
142
152
|
margin: 0 auto 1rem;
|
|
143
153
|
}
|
|
154
|
+
|
|
144
155
|
@keyframes spin {
|
|
145
156
|
to {
|
|
146
157
|
transform: rotate(360deg);
|
|
147
158
|
}
|
|
148
159
|
}
|
|
160
|
+
|
|
149
161
|
.loading-hint {
|
|
150
162
|
color: #666;
|
|
151
163
|
font-size: 0.875rem;
|
|
152
164
|
margin-top: 0.5rem;
|
|
153
165
|
}
|
|
166
|
+
|
|
154
167
|
.loading-hint-small {
|
|
155
168
|
color: #888;
|
|
156
169
|
font-size: 0.75rem;
|
|
@@ -158,6 +171,7 @@
|
|
|
158
171
|
max-width: 400px;
|
|
159
172
|
line-height: 1.4;
|
|
160
173
|
}
|
|
174
|
+
|
|
161
175
|
.success-icon {
|
|
162
176
|
width: 64px;
|
|
163
177
|
height: 64px;
|
|
@@ -171,14 +185,17 @@
|
|
|
171
185
|
font-weight: bold;
|
|
172
186
|
margin: 0 auto 1rem;
|
|
173
187
|
}
|
|
188
|
+
|
|
174
189
|
.success-state p {
|
|
175
190
|
margin: 0.5rem 0;
|
|
176
191
|
color: #1a1a1a;
|
|
177
192
|
}
|
|
193
|
+
|
|
178
194
|
.success-hint {
|
|
179
195
|
color: #666;
|
|
180
196
|
font-size: 0.875rem;
|
|
181
197
|
}
|
|
198
|
+
|
|
182
199
|
.error-message {
|
|
183
200
|
background: #fee2e2;
|
|
184
201
|
color: #991b1b;
|
|
@@ -187,19 +204,23 @@
|
|
|
187
204
|
margin-bottom: 1rem;
|
|
188
205
|
font-size: 0.875rem;
|
|
189
206
|
}
|
|
207
|
+
|
|
190
208
|
.error-message::selection {
|
|
191
209
|
background: #dc2626;
|
|
192
210
|
color: #ffffff;
|
|
193
211
|
}
|
|
212
|
+
|
|
194
213
|
.error-message::-moz-selection {
|
|
195
214
|
background: #dc2626;
|
|
196
215
|
color: #ffffff;
|
|
197
216
|
}
|
|
217
|
+
|
|
198
218
|
.error-message.small {
|
|
199
219
|
font-size: 0.75rem;
|
|
200
220
|
padding: 0.5rem;
|
|
201
221
|
margin-bottom: 0.5rem;
|
|
202
222
|
}
|
|
223
|
+
|
|
203
224
|
.login-button-container {
|
|
204
225
|
display: flex;
|
|
205
226
|
flex-direction: column;
|
|
@@ -207,13 +228,14 @@
|
|
|
207
228
|
gap: 0.5rem;
|
|
208
229
|
}
|
|
209
230
|
|
|
210
|
-
|
|
231
|
+
|
|
211
232
|
.membership-container {
|
|
212
233
|
display: flex;
|
|
213
234
|
justify-content: center;
|
|
214
235
|
padding: 2rem;
|
|
215
236
|
min-height: 60vh;
|
|
216
237
|
}
|
|
238
|
+
|
|
217
239
|
.membership-card {
|
|
218
240
|
background: white;
|
|
219
241
|
border-radius: 12px;
|
|
@@ -222,50 +244,60 @@
|
|
|
222
244
|
width: 100%;
|
|
223
245
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
224
246
|
}
|
|
247
|
+
|
|
225
248
|
.membership-card h1 {
|
|
226
249
|
margin: 0 0 1rem 0;
|
|
227
250
|
font-size: 2rem;
|
|
228
251
|
color: #1a1a1a;
|
|
229
252
|
}
|
|
253
|
+
|
|
230
254
|
.membership-description {
|
|
231
255
|
color: #666;
|
|
232
256
|
margin-bottom: 2rem;
|
|
233
257
|
line-height: 1.6;
|
|
234
258
|
}
|
|
259
|
+
|
|
235
260
|
.save-message {
|
|
236
261
|
padding: 0.875rem;
|
|
237
262
|
border-radius: 6px;
|
|
238
263
|
font-size: 0.875rem;
|
|
239
264
|
margin-bottom: 1.5rem;
|
|
240
265
|
}
|
|
266
|
+
|
|
241
267
|
.save-message.success {
|
|
242
268
|
background: #d1fae5;
|
|
243
269
|
color: #065f46;
|
|
244
270
|
}
|
|
271
|
+
|
|
245
272
|
.save-message.error {
|
|
246
273
|
background: #fee2e2;
|
|
247
274
|
color: #991b1b;
|
|
248
275
|
}
|
|
276
|
+
|
|
249
277
|
.search-section,
|
|
250
278
|
.members-section {
|
|
251
279
|
margin-bottom: 3rem;
|
|
252
280
|
padding-bottom: 2rem;
|
|
253
281
|
border-bottom: 2px solid #e5e7eb;
|
|
254
282
|
}
|
|
283
|
+
|
|
255
284
|
.members-section:last-child {
|
|
256
285
|
border-bottom: none;
|
|
257
286
|
}
|
|
287
|
+
|
|
258
288
|
.search-section h2,
|
|
259
289
|
.members-section h2 {
|
|
260
290
|
margin: 0 0 1.5rem 0;
|
|
261
291
|
font-size: 1.5rem;
|
|
262
292
|
color: #1a1a1a;
|
|
263
293
|
}
|
|
294
|
+
|
|
264
295
|
.search-form {
|
|
265
296
|
display: flex;
|
|
266
297
|
gap: 1rem;
|
|
267
298
|
margin-bottom: 2rem;
|
|
268
299
|
}
|
|
300
|
+
|
|
269
301
|
.search-input {
|
|
270
302
|
flex: 1;
|
|
271
303
|
padding: 0.75rem;
|
|
@@ -275,14 +307,17 @@
|
|
|
275
307
|
font-family: inherit;
|
|
276
308
|
transition: border-color 0.2s ease;
|
|
277
309
|
}
|
|
310
|
+
|
|
278
311
|
.search-input:focus {
|
|
279
312
|
outline: none;
|
|
280
313
|
border-color: #2563eb;
|
|
281
314
|
}
|
|
315
|
+
|
|
282
316
|
.search-input:disabled {
|
|
283
317
|
background: #f3f4f6;
|
|
284
318
|
cursor: not-allowed;
|
|
285
319
|
}
|
|
320
|
+
|
|
286
321
|
.search-button,
|
|
287
322
|
.scanner-toggle {
|
|
288
323
|
padding: 0.75rem 1.5rem;
|
|
@@ -295,27 +330,32 @@
|
|
|
295
330
|
cursor: pointer;
|
|
296
331
|
transition: all 0.2s ease;
|
|
297
332
|
}
|
|
333
|
+
|
|
298
334
|
.search-button:hover:not(:disabled),
|
|
299
335
|
.scanner-toggle:hover:not(:disabled) {
|
|
300
336
|
background: #1d4ed8;
|
|
301
337
|
}
|
|
338
|
+
|
|
302
339
|
.search-button:disabled,
|
|
303
340
|
.scanner-toggle:disabled {
|
|
304
341
|
opacity: 0.6;
|
|
305
342
|
cursor: not-allowed;
|
|
306
343
|
}
|
|
344
|
+
|
|
307
345
|
.profiles-list,
|
|
308
346
|
.members-list {
|
|
309
347
|
display: flex;
|
|
310
348
|
flex-direction: column;
|
|
311
349
|
gap: 1rem;
|
|
312
350
|
}
|
|
351
|
+
|
|
313
352
|
.profiles-list h3,
|
|
314
353
|
.members-list h3 {
|
|
315
354
|
margin: 0 0 1rem 0;
|
|
316
355
|
font-size: 1.25rem;
|
|
317
356
|
color: #374151;
|
|
318
357
|
}
|
|
358
|
+
|
|
319
359
|
.profile-item,
|
|
320
360
|
.member-item {
|
|
321
361
|
display: flex;
|
|
@@ -328,6 +368,7 @@
|
|
|
328
368
|
background: #f9fafb;
|
|
329
369
|
transition: all 0.2s ease;
|
|
330
370
|
}
|
|
371
|
+
|
|
331
372
|
@media (max-width: 640px) {
|
|
332
373
|
.profile-item,
|
|
333
374
|
.member-item {
|
|
@@ -335,27 +376,32 @@
|
|
|
335
376
|
align-items: stretch;
|
|
336
377
|
text-align: left;
|
|
337
378
|
}
|
|
379
|
+
|
|
338
380
|
.profile-item .member-button,
|
|
339
381
|
.member-item .member-button {
|
|
340
382
|
width: 100%;
|
|
341
383
|
margin-top: 0.5rem;
|
|
342
384
|
}
|
|
343
385
|
}
|
|
386
|
+
|
|
344
387
|
@media (max-width: 480px) {
|
|
345
388
|
.search-form {
|
|
346
389
|
flex-direction: column;
|
|
347
390
|
}
|
|
391
|
+
|
|
348
392
|
.search-input,
|
|
349
393
|
.search-button,
|
|
350
394
|
.scanner-toggle {
|
|
351
395
|
width: 100%;
|
|
352
396
|
}
|
|
397
|
+
|
|
353
398
|
.search-button,
|
|
354
399
|
.member-button {
|
|
355
400
|
padding: 0.5rem 0.75rem;
|
|
356
401
|
font-size: 0.9rem;
|
|
357
402
|
}
|
|
358
403
|
}
|
|
404
|
+
|
|
359
405
|
.member-button {
|
|
360
406
|
padding: 0.5rem 1rem;
|
|
361
407
|
font-size: 0.875rem;
|
|
@@ -366,17 +412,20 @@
|
|
|
366
412
|
transition: all 0.2s ease;
|
|
367
413
|
white-space: nowrap;
|
|
368
414
|
}
|
|
415
|
+
|
|
369
416
|
.profile-item:hover,
|
|
370
417
|
.member-item:hover {
|
|
371
418
|
border-color: #d1d5db;
|
|
372
419
|
background: #f3f4f6;
|
|
373
420
|
}
|
|
421
|
+
|
|
374
422
|
.profile-info {
|
|
375
423
|
display: flex;
|
|
376
424
|
align-items: center;
|
|
377
425
|
gap: 1rem;
|
|
378
426
|
flex: 1;
|
|
379
427
|
}
|
|
428
|
+
|
|
380
429
|
.profile-avatar {
|
|
381
430
|
width: 48px;
|
|
382
431
|
height: 48px;
|
|
@@ -384,21 +433,25 @@
|
|
|
384
433
|
object-fit: cover;
|
|
385
434
|
border: 2px solid #e5e7eb;
|
|
386
435
|
}
|
|
436
|
+
|
|
387
437
|
.profile-details {
|
|
388
438
|
flex: 1;
|
|
389
439
|
min-width: 0;
|
|
390
440
|
}
|
|
441
|
+
|
|
391
442
|
.profile-name {
|
|
392
443
|
font-weight: 600;
|
|
393
444
|
color: #1a1a1a;
|
|
394
445
|
margin-bottom: 0.25rem;
|
|
395
446
|
}
|
|
447
|
+
|
|
396
448
|
.profile-pubkey {
|
|
397
449
|
font-size: 0.875rem;
|
|
398
450
|
color: #6b7280;
|
|
399
451
|
font-family: monospace;
|
|
400
452
|
margin-bottom: 0.25rem;
|
|
401
453
|
}
|
|
454
|
+
|
|
402
455
|
.profile-about {
|
|
403
456
|
font-size: 0.875rem;
|
|
404
457
|
color: #4b5563;
|
|
@@ -410,30 +463,37 @@
|
|
|
410
463
|
-webkit-line-clamp: 2;
|
|
411
464
|
-webkit-box-orient: vertical;
|
|
412
465
|
}
|
|
466
|
+
|
|
413
467
|
.profile-petname {
|
|
414
468
|
font-size: 0.875rem;
|
|
415
469
|
color: #059669;
|
|
416
470
|
margin-top: 0.25rem;
|
|
417
471
|
font-style: italic;
|
|
418
472
|
}
|
|
473
|
+
|
|
419
474
|
.member-button.add {
|
|
420
475
|
background: #10b981;
|
|
421
476
|
color: white;
|
|
422
477
|
}
|
|
478
|
+
|
|
423
479
|
.member-button.add:hover:not(:disabled) {
|
|
424
480
|
background: #059669;
|
|
425
481
|
}
|
|
482
|
+
|
|
426
483
|
.member-button.remove {
|
|
427
484
|
background: #ef4444;
|
|
428
485
|
color: white;
|
|
429
486
|
}
|
|
487
|
+
|
|
430
488
|
.member-button.remove:hover:not(:disabled) {
|
|
431
489
|
background: #dc2626;
|
|
432
490
|
}
|
|
491
|
+
|
|
433
492
|
.member-button:disabled {
|
|
434
493
|
opacity: 0.6;
|
|
435
494
|
cursor: not-allowed;
|
|
436
495
|
}
|
|
496
|
+
|
|
437
497
|
.empty-message {
|
|
438
498
|
color: #6b7280;
|
|
439
499
|
font-style: italic;
|
|
@@ -443,6 +503,7 @@
|
|
|
443
503
|
border-radius: 8px;
|
|
444
504
|
border: 2px dashed #e5e7eb;
|
|
445
505
|
}
|
|
506
|
+
|
|
446
507
|
.loading-state {
|
|
447
508
|
display: flex;
|
|
448
509
|
flex-direction: column;
|
|
@@ -450,6 +511,7 @@
|
|
|
450
511
|
justify-content: center;
|
|
451
512
|
padding: 4rem 2rem;
|
|
452
513
|
}
|
|
514
|
+
|
|
453
515
|
.loading-state .spinner {
|
|
454
516
|
width: 48px;
|
|
455
517
|
height: 48px;
|
|
@@ -459,11 +521,13 @@
|
|
|
459
521
|
animation: spin 1s linear infinite;
|
|
460
522
|
margin-bottom: 1rem;
|
|
461
523
|
}
|
|
524
|
+
|
|
462
525
|
@keyframes spin {
|
|
463
526
|
to {
|
|
464
527
|
transform: rotate(360deg);
|
|
465
528
|
}
|
|
466
529
|
}
|
|
530
|
+
|
|
467
531
|
.trust-info {
|
|
468
532
|
margin-bottom: 2rem;
|
|
469
533
|
padding: 1.5rem;
|
|
@@ -471,24 +535,27 @@
|
|
|
471
535
|
border-radius: 8px;
|
|
472
536
|
border-left: 4px solid #2563eb;
|
|
473
537
|
}
|
|
538
|
+
|
|
474
539
|
.trust-info h2 {
|
|
475
540
|
margin: 0 0 1rem 0;
|
|
476
541
|
font-size: 1.25rem;
|
|
477
542
|
color: #1a1a1a;
|
|
478
543
|
}
|
|
544
|
+
|
|
479
545
|
.trust-info p {
|
|
480
546
|
margin: 0.75rem 0;
|
|
481
547
|
color: #374151;
|
|
482
548
|
line-height: 1.6;
|
|
483
549
|
}
|
|
484
550
|
|
|
485
|
-
|
|
551
|
+
|
|
486
552
|
.profile-container {
|
|
487
553
|
display: flex;
|
|
488
554
|
justify-content: center;
|
|
489
555
|
padding: 2rem;
|
|
490
556
|
min-height: 60vh;
|
|
491
557
|
}
|
|
558
|
+
|
|
492
559
|
.profile-card {
|
|
493
560
|
background: white;
|
|
494
561
|
border-radius: 12px;
|
|
@@ -497,31 +564,37 @@
|
|
|
497
564
|
width: 100%;
|
|
498
565
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
499
566
|
}
|
|
567
|
+
|
|
500
568
|
.profile-card h1 {
|
|
501
569
|
margin: 0 0 1rem 0;
|
|
502
570
|
font-size: 2rem;
|
|
503
571
|
color: #1a1a1a;
|
|
504
572
|
}
|
|
573
|
+
|
|
505
574
|
.profile-description {
|
|
506
575
|
color: #666;
|
|
507
576
|
margin-bottom: 2rem;
|
|
508
577
|
line-height: 1.6;
|
|
509
578
|
}
|
|
579
|
+
|
|
510
580
|
.profile-form {
|
|
511
581
|
display: flex;
|
|
512
582
|
flex-direction: column;
|
|
513
583
|
gap: 1.5rem;
|
|
514
584
|
}
|
|
585
|
+
|
|
515
586
|
.form-group {
|
|
516
587
|
display: flex;
|
|
517
588
|
flex-direction: column;
|
|
518
589
|
gap: 0.5rem;
|
|
519
590
|
}
|
|
591
|
+
|
|
520
592
|
.form-group label {
|
|
521
593
|
font-weight: 600;
|
|
522
594
|
color: #374151;
|
|
523
595
|
font-size: 0.875rem;
|
|
524
596
|
}
|
|
597
|
+
|
|
525
598
|
.form-group input,
|
|
526
599
|
.form-group textarea {
|
|
527
600
|
padding: 0.75rem;
|
|
@@ -531,19 +604,23 @@
|
|
|
531
604
|
font-family: inherit;
|
|
532
605
|
transition: border-color 0.2s ease;
|
|
533
606
|
}
|
|
607
|
+
|
|
534
608
|
.form-group input:focus,
|
|
535
609
|
.form-group textarea:focus {
|
|
536
610
|
outline: none;
|
|
537
611
|
border-color: #2563eb;
|
|
538
612
|
}
|
|
613
|
+
|
|
539
614
|
.form-group textarea {
|
|
540
615
|
resize: vertical;
|
|
541
616
|
min-height: 100px;
|
|
542
617
|
}
|
|
618
|
+
|
|
543
619
|
.form-actions {
|
|
544
620
|
display: flex;
|
|
545
621
|
gap: 1rem;
|
|
546
622
|
}
|
|
623
|
+
|
|
547
624
|
.save-button,
|
|
548
625
|
.cancel-button {
|
|
549
626
|
flex: 1;
|
|
@@ -555,37 +632,46 @@
|
|
|
555
632
|
cursor: pointer;
|
|
556
633
|
transition: all 0.2s ease;
|
|
557
634
|
}
|
|
635
|
+
|
|
558
636
|
.save-button {
|
|
559
637
|
background: #2563eb;
|
|
560
638
|
color: white;
|
|
561
639
|
}
|
|
640
|
+
|
|
562
641
|
.save-button:hover:not(:disabled) {
|
|
563
642
|
background: #1d4ed8;
|
|
564
643
|
}
|
|
644
|
+
|
|
565
645
|
.save-button:disabled {
|
|
566
646
|
opacity: 0.6;
|
|
567
647
|
cursor: not-allowed;
|
|
568
648
|
}
|
|
649
|
+
|
|
569
650
|
.cancel-button {
|
|
570
651
|
background: #f3f4f6;
|
|
571
652
|
color: #1a1a1a;
|
|
572
653
|
}
|
|
654
|
+
|
|
573
655
|
.cancel-button:hover {
|
|
574
656
|
background: #e5e7eb;
|
|
575
657
|
}
|
|
658
|
+
|
|
576
659
|
.save-message {
|
|
577
660
|
padding: 0.875rem;
|
|
578
661
|
border-radius: 6px;
|
|
579
662
|
font-size: 0.875rem;
|
|
580
663
|
}
|
|
664
|
+
|
|
581
665
|
.save-message.success {
|
|
582
666
|
background: #d1fae5;
|
|
583
667
|
color: #065f46;
|
|
584
668
|
}
|
|
669
|
+
|
|
585
670
|
.save-message.error {
|
|
586
671
|
background: #fee2e2;
|
|
587
672
|
color: #991b1b;
|
|
588
673
|
}
|
|
674
|
+
|
|
589
675
|
.loading-state {
|
|
590
676
|
display: flex;
|
|
591
677
|
flex-direction: column;
|
|
@@ -593,6 +679,7 @@
|
|
|
593
679
|
justify-content: center;
|
|
594
680
|
padding: 4rem 2rem;
|
|
595
681
|
}
|
|
682
|
+
|
|
596
683
|
.loading-state .spinner {
|
|
597
684
|
width: 48px;
|
|
598
685
|
height: 48px;
|
|
@@ -602,11 +689,13 @@
|
|
|
602
689
|
animation: spin 1s linear infinite;
|
|
603
690
|
margin-bottom: 1rem;
|
|
604
691
|
}
|
|
692
|
+
|
|
605
693
|
@keyframes spin {
|
|
606
694
|
to {
|
|
607
695
|
transform: rotate(360deg);
|
|
608
696
|
}
|
|
609
697
|
}
|
|
698
|
+
|
|
610
699
|
.personhood-info {
|
|
611
700
|
margin-bottom: 2rem;
|
|
612
701
|
padding: 1.5rem;
|
|
@@ -614,11 +703,13 @@
|
|
|
614
703
|
border-radius: 8px;
|
|
615
704
|
border-left: 4px solid #2563eb;
|
|
616
705
|
}
|
|
706
|
+
|
|
617
707
|
.personhood-info p {
|
|
618
708
|
margin: 0.75rem 0;
|
|
619
709
|
color: #374151;
|
|
620
710
|
line-height: 1.6;
|
|
621
711
|
}
|
|
712
|
+
|
|
622
713
|
.role-tag-container {
|
|
623
714
|
margin-top: 1rem;
|
|
624
715
|
padding: 1rem;
|
|
@@ -631,12 +722,14 @@
|
|
|
631
722
|
flex-direction: column;
|
|
632
723
|
justify-content: center;
|
|
633
724
|
}
|
|
725
|
+
|
|
634
726
|
.role-tag-label {
|
|
635
727
|
font-size: 0.875rem;
|
|
636
728
|
font-weight: 600;
|
|
637
729
|
color: #0369a1;
|
|
638
730
|
margin-bottom: 0.5rem;
|
|
639
731
|
}
|
|
732
|
+
|
|
640
733
|
.role-tag {
|
|
641
734
|
display: inline-block;
|
|
642
735
|
padding: 0.5rem 1rem;
|
|
@@ -647,11 +740,13 @@
|
|
|
647
740
|
font-size: 0.875rem;
|
|
648
741
|
width: fit-content;
|
|
649
742
|
}
|
|
743
|
+
|
|
650
744
|
.role-tag-loading {
|
|
651
745
|
display: flex;
|
|
652
746
|
align-items: center;
|
|
653
747
|
gap: 0.5rem;
|
|
654
748
|
}
|
|
749
|
+
|
|
655
750
|
.role-tag-spinner {
|
|
656
751
|
width: 20px;
|
|
657
752
|
height: 20px;
|
|
@@ -660,6 +755,7 @@
|
|
|
660
755
|
border-radius: 50%;
|
|
661
756
|
animation: spin 0.8s linear infinite;
|
|
662
757
|
}
|
|
758
|
+
|
|
663
759
|
@keyframes fadeIn {
|
|
664
760
|
from {
|
|
665
761
|
opacity: 0;
|
|
@@ -670,4 +766,7 @@
|
|
|
670
766
|
transform: translateY(0);
|
|
671
767
|
}
|
|
672
768
|
}
|
|
673
|
-
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
/*# sourceMappingURL=index.css.map*/
|