Merge pull request #26 from naturallaw777/copilot/make-port-health-banner-subtle

Soften port health status banner: no flash, neutral text, calmer copy
This commit is contained in:
Sovran_Systems
2026-04-03 13:50:23 -05:00
committed by GitHub
2 changed files with 9 additions and 14 deletions

View File

@@ -1441,7 +1441,7 @@ function _renderPortHealthBanner(data) {
} else { } else {
// critical // critical
$statusBanner.classList.add("status-banner--critical"); $statusBanner.classList.add("status-banner--critical");
html = "🔴 System Alert: Ports Are Down — Some services may not work"; html = " Some ports are closed — certain services may be affected";
} }
var detailsId = "status-banner-detail-body"; var detailsId = "status-banner-detail-body";

View File

@@ -207,16 +207,15 @@ button:disabled {
} }
.status-banner--warn { .status-banner--warn {
background-color: rgba(229, 165, 10, 0.15); background-color: rgba(229, 165, 10, 0.08);
border-bottom: 1px solid var(--yellow); border-bottom: 1px solid rgba(229, 165, 10, 0.4);
color: var(--yellow); color: var(--text-secondary);
} }
.status-banner--critical { .status-banner--critical {
background-color: rgba(224, 27, 36, 0.15); background-color: rgba(224, 27, 36, 0.08);
border-bottom: 1px solid var(--red); border-bottom: 1px solid rgba(224, 27, 36, 0.4);
color: var(--red); color: var(--text-secondary);
animation: pulse-banner-bg 2s ease-in-out infinite;
} }
.status-banner--fade-out { .status-banner--fade-out {
@@ -224,11 +223,6 @@ button:disabled {
pointer-events: none; pointer-events: none;
} }
@keyframes pulse-banner-bg {
0%, 100% { background-color: rgba(224, 27, 36, 0.15); }
50% { background-color: rgba(224, 27, 36, 0.28); }
}
.status-banner-details { .status-banner-details {
margin-top: 8px; margin-top: 8px;
text-align: left; text-align: left;
@@ -259,6 +253,7 @@ button:disabled {
border-collapse: collapse; border-collapse: collapse;
margin-top: 8px; margin-top: 8px;
font-size: 0.8rem; font-size: 0.8rem;
color: var(--text-secondary);
} }
.status-banner-table th { .status-banner-table th {
@@ -269,7 +264,7 @@ button:disabled {
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
font-size: 0.72rem; font-size: 0.72rem;
border-bottom: 1px solid currentColor; border-bottom: 1px solid var(--border-color);
} }
.status-banner-table td { .status-banner-table td {