Skip to content

Commit c3f11a6

Browse files
committed
intermediate fix
1 parent 358880b commit c3f11a6

File tree

7 files changed

+1095
-54
lines changed

7 files changed

+1095
-54
lines changed

Playground.html

Lines changed: 233 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,26 +357,32 @@
357357
margin: 10px 0;
358358
position: relative;
359359
z-index: 1;
360+
transition: all 0.3s ease;
360361
}
361362

362363
.status-indicator.success {
363364
background: linear-gradient(45deg, #56ab2f 0%, #a8e6cf 100%);
364365
color: white;
366+
border: 1px solid rgba(86, 171, 47, 0.3);
365367
}
366368

367369
.status-indicator.warning {
368370
background: linear-gradient(45deg, #ffa751 0%, #ffe259 100%);
369371
color: #333;
372+
border: 1px solid rgba(255, 167, 81, 0.3);
370373
}
371374

372375
.status-indicator.error {
373-
background: linear-gradient(45deg, #ff416c 0%, #ff4b2b 100%);
374-
color: white;
376+
background: linear-gradient(45deg, #ff416c 0%, #ff4b2b 100%) !important;
377+
color: white !important;
378+
border: 1px solid rgba(255, 65, 108, 0.3) !important;
379+
box-shadow: 0 2px 8px rgba(255, 65, 108, 0.2);
375380
}
376381

377382
.status-indicator.info {
378383
background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
379384
color: white;
385+
border: 1px solid rgba(79, 172, 254, 0.3);
380386
}
381387

382388
/* Loading animation */
@@ -436,6 +442,231 @@
436442
.hidden {
437443
display: none;
438444
}
445+
446+
/* Troubleshooting Modal Styles */
447+
.troubleshooting-modal {
448+
position: fixed;
449+
top: 0;
450+
left: 0;
451+
width: 100%;
452+
height: 100%;
453+
background: rgba(0, 0, 0, 0.8);
454+
backdrop-filter: blur(5px);
455+
z-index: 5000;
456+
display: flex;
457+
align-items: center;
458+
justify-content: center;
459+
padding: 20px;
460+
box-sizing: border-box;
461+
opacity: 1;
462+
}
463+
464+
.troubleshooting-content {
465+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
466+
backdrop-filter: blur(20px);
467+
border-radius: 20px;
468+
padding: 30px;
469+
max-width: 800px;
470+
max-height: 90vh;
471+
overflow-y: auto;
472+
border: 1px solid rgba(255, 255, 255, 0.2);
473+
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
474+
color: white;
475+
position: relative;
476+
}
477+
478+
.troubleshooting-header {
479+
display: flex;
480+
justify-content: space-between;
481+
align-items: center;
482+
margin-bottom: 20px;
483+
padding-bottom: 15px;
484+
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
485+
}
486+
487+
.troubleshooting-header h2 {
488+
margin: 0;
489+
color: #ff6b6b;
490+
font-size: 24px;
491+
}
492+
493+
.close-modal {
494+
background: rgba(255, 69, 0, 0.7);
495+
color: white;
496+
border: none;
497+
border-radius: 50%;
498+
width: 35px;
499+
height: 35px;
500+
cursor: pointer;
501+
font-size: 18px;
502+
font-weight: bold;
503+
transition: all 0.3s ease;
504+
}
505+
506+
.close-modal:hover {
507+
background: rgba(255, 69, 0, 0.9);
508+
transform: scale(1.1);
509+
}
510+
511+
.error-details {
512+
background: rgba(255, 69, 0, 0.1);
513+
border: 1px solid rgba(255, 69, 0, 0.3);
514+
border-radius: 10px;
515+
padding: 15px;
516+
margin-bottom: 20px;
517+
}
518+
519+
.error-details p {
520+
margin: 0;
521+
color: #ff6b6b;
522+
font-family: monospace;
523+
font-size: 14px;
524+
}
525+
526+
.troubleshooting-steps h3 {
527+
color: #4facfe;
528+
margin-bottom: 15px;
529+
font-size: 18px;
530+
}
531+
532+
.command-group {
533+
margin-bottom: 20px;
534+
padding: 15px;
535+
background: rgba(255, 255, 255, 0.05);
536+
border-radius: 10px;
537+
border: 1px solid rgba(255, 255, 255, 0.1);
538+
}
539+
540+
.command-group h4 {
541+
color: #fff;
542+
margin-bottom: 10px;
543+
font-size: 16px;
544+
}
545+
546+
.command-box {
547+
display: flex;
548+
align-items: center;
549+
gap: 10px;
550+
margin: 10px 0;
551+
padding: 10px;
552+
background: rgba(0, 0, 0, 0.3);
553+
border-radius: 8px;
554+
border: 1px solid rgba(255, 255, 255, 0.1);
555+
}
556+
557+
.command-box code {
558+
flex: 1;
559+
color: #00ff88;
560+
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
561+
font-size: 14px;
562+
background: transparent;
563+
padding: 0;
564+
}
565+
566+
.copy-btn {
567+
background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
568+
color: white;
569+
border: none;
570+
border-radius: 6px;
571+
padding: 6px 12px;
572+
font-size: 12px;
573+
cursor: pointer;
574+
transition: all 0.3s ease;
575+
}
576+
577+
.copy-btn:hover {
578+
transform: translateY(-1px);
579+
box-shadow: 0 4px 8px rgba(79, 172, 254, 0.4);
580+
}
581+
582+
.command-note {
583+
color: rgba(255, 255, 255, 0.7);
584+
font-size: 12px;
585+
margin: 5px 0;
586+
font-style: italic;
587+
}
588+
589+
.troubleshooting-checklist {
590+
margin: 20px 0;
591+
padding: 15px;
592+
background: rgba(76, 175, 80, 0.1);
593+
border: 1px solid rgba(76, 175, 80, 0.3);
594+
border-radius: 10px;
595+
}
596+
597+
.troubleshooting-checklist h3 {
598+
color: #4caf50;
599+
margin-bottom: 10px;
600+
}
601+
602+
.troubleshooting-checklist ul {
603+
list-style: none;
604+
padding: 0;
605+
}
606+
607+
.troubleshooting-checklist li {
608+
color: rgba(255, 255, 255, 0.8);
609+
margin: 8px 0;
610+
font-size: 14px;
611+
}
612+
613+
.troubleshooting-checklist a {
614+
color: #4facfe;
615+
text-decoration: none;
616+
}
617+
618+
.troubleshooting-checklist a:hover {
619+
text-decoration: underline;
620+
}
621+
622+
.troubleshooting-actions {
623+
display: flex;
624+
gap: 10px;
625+
margin-top: 20px;
626+
flex-wrap: wrap;
627+
}
628+
629+
.troubleshooting-actions .btn {
630+
flex: 1;
631+
min-width: 120px;
632+
margin: 0;
633+
}
634+
635+
/* Connection Status Banner */
636+
.connection-status-banner {
637+
padding: 15px 20px;
638+
border-radius: 12px;
639+
margin-bottom: 20px;
640+
font-size: 16px;
641+
font-weight: 600;
642+
text-align: center;
643+
animation: slideIn 0.3s ease-out;
644+
}
645+
646+
.connection-status-banner.success {
647+
background: linear-gradient(45deg, #56ab2f 0%, #a8e6cf 100%);
648+
color: white;
649+
border: 1px solid rgba(86, 171, 47, 0.3);
650+
box-shadow: 0 4px 15px rgba(86, 171, 47, 0.2);
651+
}
652+
653+
.connection-status-banner.error {
654+
background: linear-gradient(45deg, #ff416c 0%, #ff4b2b 100%);
655+
color: white;
656+
border: 1px solid rgba(255, 65, 108, 0.3);
657+
box-shadow: 0 4px 15px rgba(255, 65, 108, 0.2);
658+
}
659+
660+
@keyframes slideIn {
661+
from {
662+
opacity: 0;
663+
transform: translateY(-10px);
664+
}
665+
to {
666+
opacity: 1;
667+
transform: translateY(0);
668+
}
669+
}
439670
</style>
440671
</head>
441672
<body>

0 commit comments

Comments
 (0)