Clean NOC dashboard UI with real inventory data

This commit is contained in:
2026-04-25 15:04:02 -05:00
parent bf510d74a4
commit 8926acb805
4 changed files with 276 additions and 126 deletions
+94 -82
View File
@@ -187,6 +187,8 @@ a:hover {
.project-card,
.stat-card,
.noc-card,
.noc-metric,
.noc-system-card,
.personal-image-wrap {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
@@ -195,10 +197,6 @@ a:hover {
box-shadow: var(--shadow);
}
.hero-image-card {
padding: 1rem;
}
.hero-image {
border-radius: 16px;
width: 100%;
@@ -270,7 +268,9 @@ a:hover {
.contact-grid,
.personal-grid,
.noc-grid,
.stats-grid {
.stats-grid,
.noc-metrics-grid,
.noc-system-grid {
display: grid;
gap: 1.25rem;
}
@@ -289,18 +289,21 @@ a:hover {
}
.stats-grid,
.noc-grid {
.noc-metrics-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.noc-grid {
.noc-grid,
.noc-system-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card,
.project-card,
.stat-card,
.noc-card {
.noc-card,
.noc-metric,
.noc-system-card {
padding: 1.35rem;
}
@@ -364,13 +367,15 @@ a:hover {
font-weight: 800;
}
.stat-card h3 {
.stat-card h3,
.noc-metric h3 {
margin: 0;
font-size: 2.2rem;
color: var(--accent-2);
}
.stat-card p {
.stat-card p,
.noc-metric p {
margin: 0.25rem 0;
font-weight: 800;
color: var(--text);
@@ -381,6 +386,79 @@ a:hover {
font-size: 0.92rem;
}
.noc-dashboard {
background:
radial-gradient(circle at top left, rgba(142, 240, 207, 0.08), transparent 30%),
linear-gradient(180deg, #070b12 0%, #0d1422 100%);
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.noc-command-bar {
display: flex;
align-items: center;
gap: 0.75rem;
background: rgba(0, 0, 0, 0.28);
border: 1px solid var(--line);
border-radius: 999px;
padding: 0.9rem 1rem;
margin-bottom: 1.25rem;
color: var(--muted);
}
.status-dot,
.mini-status {
width: 11px;
height: 11px;
border-radius: 50%;
display: inline-block;
background: var(--accent-2);
box-shadow: 0 0 16px rgba(142, 240, 207, 0.9);
}
.mini-status.warning {
background: var(--warning);
box-shadow: 0 0 16px rgba(242, 204, 96, 0.9);
}
.mini-status.planned {
background: var(--accent);
box-shadow: 0 0 16px rgba(88, 166, 255, 0.9);
}
.noc-system-top {
display: flex;
align-items: center;
justify-content: space-between;
color: var(--muted);
font-size: 0.85rem;
}
.noc-system-card h3 {
margin: 0.8rem 0 0.35rem;
}
.noc-system-card p {
color: var(--muted);
margin: 0.2rem 0 0.6rem;
}
.noc-system-card code {
display: inline-block;
color: var(--accent-2);
background: rgba(0, 0, 0, 0.25);
padding: 0.25rem 0.45rem;
border-radius: 8px;
font-size: 0.82rem;
}
.noc-system-card small {
display: block;
margin-top: 0.8rem;
color: var(--accent);
font-weight: 700;
}
.noc-section {
background:
linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(142, 240, 207, 0.04));
@@ -423,7 +501,9 @@ a:hover {
@media (max-width: 1050px) {
.projects-grid,
.stats-grid {
.stats-grid,
.noc-metrics-grid,
.noc-system-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@@ -456,7 +536,9 @@ a:hover {
@media (max-width: 620px) {
.projects-grid,
.stats-grid {
.stats-grid,
.noc-metrics-grid,
.noc-system-grid {
grid-template-columns: 1fr;
}
@@ -477,74 +559,4 @@ a:hover {
align-items: flex-start;
gap: 0.5rem;
}
}
.noc-dashboard {
background:
radial-gradient(circle at top left, rgba(142, 240, 207, 0.08), transparent 30%),
linear-gradient(180deg, #070b12 0%, #0d1422 100%);
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.noc-status-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1.25rem;
}
.noc-status-card {
position: relative;
padding: 1.35rem;
border-radius: var(--radius);
background: rgba(17, 28, 46, 0.92);
border: 1px solid var(--line);
box-shadow: var(--shadow);
}
.noc-status-card h3 {
margin-top: 0.7rem;
margin-bottom: 0.5rem;
}
.noc-status-card p {
color: var(--muted);
}
.noc-status-card small {
display: inline-block;
margin-top: 0.8rem;
color: var(--accent-2);
font-weight: 700;
}
.status-dot {
width: 11px;
height: 11px;
border-radius: 50%;
display: inline-block;
background: var(--accent-2);
box-shadow: 0 0 16px rgba(142, 240, 207, 0.9);
}
.noc-status-card.warning .status-dot {
background: var(--warning);
box-shadow: 0 0 16px rgba(242, 204, 96, 0.9);
}
.noc-status-card.planned .status-dot {
background: var(--accent);
box-shadow: 0 0 16px rgba(88, 166, 255, 0.9);
}
@media (max-width: 1050px) {
.noc-status-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 620px) {
.noc-status-grid {
grid-template-columns: 1fr;
}
}