Skip to content

Commit 21c909a

Browse files
updated
1 parent c2cea2c commit 21c909a

File tree

5 files changed

+23336
-4637
lines changed

5 files changed

+23336
-4637
lines changed

docs/css/style.css

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,3 +599,97 @@ footer a:hover {
599599
grid-template-columns: 1fr;
600600
}
601601
}
602+
/* Test Results Styles */
603+
.test-results-section {
604+
background: var(--bg-card);
605+
border-radius: 8px;
606+
padding: 1.5rem;
607+
margin-top: 1rem;
608+
box-shadow: var(--shadow);
609+
}
610+
611+
.test-results-content {
612+
margin-top: 1rem;
613+
}
614+
615+
.test-case {
616+
padding: 1rem;
617+
margin-bottom: 0.5rem;
618+
border-radius: 6px;
619+
border-left: 4px solid;
620+
background: #f8f9fa;
621+
}
622+
623+
.test-case.passed {
624+
border-left-color: var(--success-color);
625+
background: #d4edda;
626+
}
627+
628+
.test-case.failed {
629+
border-left-color: var(--danger-color);
630+
background: #f8d7da;
631+
}
632+
633+
.test-case-header {
634+
display: flex;
635+
justify-content: space-between;
636+
align-items: center;
637+
margin-bottom: 0.5rem;
638+
font-weight: 600;
639+
}
640+
641+
.test-case-header .status {
642+
display: flex;
643+
align-items: center;
644+
gap: 0.5rem;
645+
}
646+
647+
.test-case-header .passed {
648+
color: var(--success-color);
649+
}
650+
651+
.test-case-header .failed {
652+
color: var(--danger-color);
653+
}
654+
655+
.test-case-details {
656+
font-family: 'Courier New', monospace;
657+
font-size: 0.9rem;
658+
margin-top: 0.5rem;
659+
}
660+
661+
.test-case-details div {
662+
margin: 0.25rem 0;
663+
}
664+
665+
.test-case-details strong {
666+
display: inline-block;
667+
min-width: 80px;
668+
}
669+
670+
.test-summary {
671+
padding: 1rem;
672+
border-radius: 6px;
673+
margin-bottom: 1rem;
674+
font-weight: 600;
675+
text-align: center;
676+
}
677+
678+
.test-summary.all-passed {
679+
background: #d4edda;
680+
color: #155724;
681+
border: 2px solid var(--success-color);
682+
}
683+
684+
.test-summary.some-failed {
685+
background: #f8d7da;
686+
color: #721c24;
687+
border: 2px solid var(--danger-color);
688+
}
689+
690+
.hidden-test-info {
691+
color: var(--gray);
692+
font-style: italic;
693+
font-size: 0.9rem;
694+
margin-top: 0.5rem;
695+
}

0 commit comments

Comments
 (0)