|
23 | 23 | overflow: hidden; |
24 | 24 | box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); |
25 | 25 | animation: slideIn 0.3s ease-out; |
| 26 | + display: flex; |
| 27 | + flex-direction: column; |
26 | 28 | } |
27 | 29 |
|
28 | 30 | @keyframes slideIn { |
|
44 | 46 | padding: 16px 20px; |
45 | 47 | border-bottom: 1px solid #333; |
46 | 48 | background: #1a1a1a; |
| 49 | + flex-shrink: 0; |
47 | 50 | } |
48 | 51 |
|
49 | 52 | .request-header h3 { |
|
71 | 74 | .request-content { |
72 | 75 | padding: 20px; |
73 | 76 | color: #ffffff; |
| 77 | + flex: 1; |
| 78 | + overflow-y: auto; |
| 79 | + min-height: 0; |
| 80 | +} |
| 81 | + |
| 82 | +/* Custom scrollbar styling */ |
| 83 | +.request-content::-webkit-scrollbar { |
| 84 | + width: 8px; |
| 85 | +} |
| 86 | + |
| 87 | +.request-content::-webkit-scrollbar-track { |
| 88 | + background: #1a1a1a; |
| 89 | + border-radius: 4px; |
| 90 | +} |
| 91 | + |
| 92 | +.request-content::-webkit-scrollbar-thumb { |
| 93 | + background: #444; |
| 94 | + border-radius: 4px; |
| 95 | + border: 1px solid #333; |
| 96 | +} |
| 97 | + |
| 98 | +.request-content::-webkit-scrollbar-thumb:hover { |
| 99 | + background: #555; |
74 | 100 | } |
75 | 101 |
|
76 | 102 | .request-site { |
|
210 | 236 | } |
211 | 237 |
|
212 | 238 | .wallet-checkbox input[type="radio"] { |
| 239 | + appearance: none; |
| 240 | + -webkit-appearance: none; |
| 241 | + -moz-appearance: none; |
| 242 | + width: 18px; |
| 243 | + height: 18px; |
| 244 | + border: 2px solid #555; |
| 245 | + border-radius: 50%; |
| 246 | + background: #1a1a1a; |
213 | 247 | margin: 0; |
214 | 248 | cursor: pointer; |
215 | | - accent-color: #007acc; |
| 249 | + position: relative; |
| 250 | + transition: all 0.2s ease; |
| 251 | +} |
| 252 | + |
| 253 | +.wallet-checkbox input[type="radio"]:hover { |
| 254 | + border-color: #007acc; |
| 255 | +} |
| 256 | + |
| 257 | +.wallet-checkbox input[type="radio"]:checked { |
| 258 | + border-color: #007acc; |
| 259 | + background: #007acc; |
| 260 | +} |
| 261 | + |
| 262 | +.wallet-checkbox input[type="radio"]:checked::after { |
| 263 | + content: ''; |
| 264 | + position: absolute; |
| 265 | + top: 50%; |
| 266 | + left: 50%; |
| 267 | + transform: translate(-50%, -50%); |
| 268 | + width: 6px; |
| 269 | + height: 6px; |
| 270 | + border-radius: 50%; |
| 271 | + background: #ffffff; |
| 272 | +} |
| 273 | + |
| 274 | +.wallet-checkbox input[type="radio"]:focus { |
| 275 | + outline: none; |
| 276 | + box-shadow: 0 0 5px rgba(0, 122, 204, 0.5); |
216 | 277 | } |
217 | 278 |
|
218 | 279 | .wallet-info { |
|
294 | 355 | padding: 16px 20px; |
295 | 356 | border-top: 1px solid #333; |
296 | 357 | background: #1a1a1a; |
297 | | -} |
298 | | - |
299 | | -.error-message { |
300 | | - background: #ff6b6b20; |
301 | | - border: 1px solid #ff6b6b; |
302 | | - border-radius: 6px; |
303 | | - padding: 8px 12px; |
304 | | - color: #ff6b6b; |
305 | | - font-size: 13px; |
306 | | - text-align: center; |
307 | | -} |
308 | | - |
309 | | -.request-buttons { |
310 | | - display: flex; |
311 | | - gap: 12px; |
312 | | -} |
313 | | - |
314 | | -.request-buttons .btn { |
315 | | - flex: 1; |
316 | | -} |
317 | | - |
318 | | -.btn { |
319 | | - padding: 12px 16px; |
320 | | - border: none; |
321 | | - border-radius: 8px; |
322 | | - font-size: 14px; |
323 | | - font-weight: 600; |
324 | | - cursor: pointer; |
325 | | - transition: all 0.2s ease; |
326 | | - display: flex; |
327 | | - align-items: center; |
328 | | - justify-content: center; |
329 | | - gap: 6px; |
330 | | -} |
331 | | - |
332 | | -.btn:disabled { |
333 | | - opacity: 0.6; |
334 | | - cursor: not-allowed; |
335 | | - transform: none !important; |
336 | | - box-shadow: none !important; |
337 | | -} |
338 | | - |
339 | | -.btn-primary { |
340 | | - background: #0066ff; |
341 | | - color: #ffffff; |
342 | | -} |
343 | | - |
344 | | -.btn-primary:hover { |
345 | | - background: #0052cc; |
346 | | - transform: translateY(-1px); |
347 | | - box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3); |
348 | | -} |
349 | | - |
350 | | -.btn-secondary { |
351 | | - background: #333; |
352 | | - color: #ffffff; |
353 | | - border: 1px solid #555; |
354 | | -} |
355 | | - |
356 | | -.btn-secondary:hover { |
357 | | - background: #444; |
358 | | - transform: translateY(-1px); |
359 | | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); |
360 | | -} |
361 | | - |
362 | | -.request-loading, |
363 | | -.request-error { |
364 | | - padding: 40px 20px; |
365 | | - text-align: center; |
366 | | - color: #cccccc; |
367 | | -} |
368 | | - |
369 | | -.spinner { |
370 | | - width: 24px; |
371 | | - height: 24px; |
372 | | - border: 2px solid #333; |
373 | | - border-top: 2px solid #0066ff; |
374 | | - border-radius: 50%; |
375 | | - animation: spin 1s linear infinite; |
376 | | - margin: 0 auto 12px; |
377 | | -} |
378 | | - |
379 | | -@keyframes spin { |
380 | | - 0% { |
381 | | - transform: rotate(0deg); |
382 | | - } |
383 | | - |
384 | | - 100% { |
385 | | - transform: rotate(360deg); |
386 | | - } |
387 | | -} |
388 | | - |
389 | | -.spinner-small { |
390 | | - width: 16px; |
391 | | - height: 16px; |
392 | | - border: 2px solid #ffffff40; |
393 | | - border-top: 2px solid #ffffff; |
394 | | - border-radius: 50%; |
395 | | - animation: spin 1s linear infinite; |
396 | | -} |
397 | | - |
398 | | -.request-error p { |
399 | | - color: #ff6b6b; |
400 | | - margin-bottom: 16px; |
401 | | -} |
402 | | - |
403 | | -.wallet-selector { |
404 | | - background: #1a1a1a; |
405 | | - border: 1px solid #444; |
406 | | - border-radius: 6px; |
407 | | - color: #ffffff; |
408 | | - padding: 8px 12px; |
409 | | - font-size: 13px; |
410 | | - width: 100%; |
411 | | - cursor: pointer; |
412 | | -} |
413 | | - |
414 | | -.wallet-selector:focus { |
415 | | - outline: none; |
416 | | - border-color: #0066ff; |
417 | | -} |
418 | | - |
419 | | -.connect-wallets { |
420 | | - background: #252525; |
421 | | - border: 1px solid #333; |
422 | | - border-radius: 8px; |
423 | | - padding: 16px; |
424 | | - margin-bottom: 20px; |
425 | | -} |
426 | | - |
427 | | -.request-dialog { |
428 | | - background: #1a1a1a; |
429 | | - border: 1px solid #333; |
430 | | - border-radius: 12px; |
431 | | - width: 90%; |
432 | | - max-width: 400px; |
433 | | - max-height: 80vh; |
434 | | - overflow: hidden; |
435 | | - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); |
436 | | - animation: slideIn 0.3s ease-out; |
437 | | -} |
438 | | - |
439 | | -@keyframes slideIn { |
440 | | - from { |
441 | | - opacity: 0; |
442 | | - transform: translateY(-20px) scale(0.95); |
443 | | - } |
444 | | - |
445 | | - to { |
446 | | - opacity: 1; |
447 | | - transform: translateY(0) scale(1); |
448 | | - } |
449 | | -} |
450 | | - |
451 | | -.request-header { |
452 | | - display: flex; |
453 | | - align-items: center; |
454 | | - justify-content: space-between; |
455 | | - padding: 16px 20px; |
456 | | - border-bottom: 1px solid #333; |
457 | | - background: #1a1a1a; |
458 | | -} |
459 | | - |
460 | | -.request-header h3 { |
461 | | - margin: 0; |
462 | | - color: #ffffff; |
463 | | - font-size: 16px; |
464 | | - font-weight: 600; |
465 | | -} |
466 | | - |
467 | | -.close-btn { |
468 | | - background: none; |
469 | | - border: none; |
470 | | - color: #888; |
471 | | - cursor: pointer; |
472 | | - padding: 4px; |
473 | | - border-radius: 4px; |
474 | | - transition: all 0.2s ease; |
475 | | -} |
476 | | - |
477 | | -.close-btn:hover { |
478 | | - color: #ffffff; |
479 | | - background: #333; |
480 | | -} |
481 | | - |
482 | | -.request-content { |
483 | | - padding: 20px; |
484 | | - color: #ffffff; |
485 | | -} |
486 | | - |
487 | | -.transaction-details, |
488 | | -.message-details { |
489 | | - background: #252525; |
490 | | - border: 1px solid #333; |
491 | | - border-radius: 8px; |
492 | | - padding: 16px; |
493 | | - margin-bottom: 20px; |
494 | | -} |
495 | | - |
496 | | -.detail-row { |
497 | | - display: flex; |
498 | | - justify-content: space-between; |
499 | | - align-items: flex-start; |
500 | | - gap: 12px; |
501 | | - margin-bottom: 12px; |
502 | | -} |
503 | | - |
504 | | -.detail-row:last-child { |
505 | | - margin-bottom: 0; |
506 | | -} |
507 | | - |
508 | | -.detail-row .label { |
509 | | - color: #888; |
510 | | - font-size: 13px; |
511 | | - min-width: 60px; |
512 | 358 | flex-shrink: 0; |
513 | 359 | } |
514 | 360 |
|
515 | | -.detail-row .value { |
516 | | - color: #ffffff; |
517 | | - font-size: 13px; |
518 | | - font-weight: 500; |
519 | | - text-align: right; |
520 | | - word-break: break-all; |
521 | | -} |
522 | | - |
523 | | -.message-text { |
524 | | - font-family: monospace; |
525 | | - background: #1a1a1a; |
526 | | - padding: 8px; |
527 | | - border-radius: 4px; |
528 | | - font-size: 12px; |
529 | | - max-width: 200px; |
530 | | - overflow: hidden; |
531 | | - text-overflow: ellipsis; |
532 | | -} |
533 | | - |
534 | | -.request-actions { |
535 | | - display: flex; |
536 | | - flex-direction: column; |
537 | | - gap: 12px; |
538 | | - padding: 16px 20px; |
539 | | - border-top: 1px solid #333; |
540 | | - background: #1a1a1a; |
541 | | -} |
542 | | - |
543 | 361 | .error-message { |
544 | 362 | background: #ff6b6b20; |
545 | 363 | border: 1px solid #ff6b6b; |
|
0 commit comments