hvac-optimization / shell.css
subhan07's picture
Match HVAC AI Control Center: all O1-O20 studios, Operations and OEH guide
802f0fa verified
Raw
History Blame Contribute Delete
4.57 kB
html, body {
margin: 0;
min-height: 100%;
background: #05080f;
color: #e2e8f0;
font-family: "Segoe UI", system-ui, sans-serif;
color-scheme: dark;
}
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
.hvac-shell { min-height: 100vh; display: flex; flex-direction: column; background: #05080f; }
.hvac-header {
sticky: top;
position: sticky; top: 0; z-index: 40; height: 4rem;
background: rgba(7, 13, 24, 0.88); backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(255,255,255,0.07);
padding: 0 1.25rem; display: flex; align-items: center;
}
.hvac-header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.logo {
width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
border: 1px solid rgba(34, 211, 238, 0.25);
background: linear-gradient(to bottom right, rgba(34,211,238,0.2), rgba(6,182,212,0.05));
box-shadow: 0 0 24px rgba(34,211,238,0.12);
display: flex; align-items: center; justify-content: center; color: #67e8f9; font-weight: 700;
}
.badge {
font-size: 10px; font-family: ui-monospace, Consolas, monospace;
letter-spacing: 0.06em; text-transform: uppercase;
border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
padding: 3px 8px; background: rgba(255,255,255,0.03);
}
.badge-live { color: #5eead4; border-color: rgba(45,212,191,0.35); }
.badge-warn { color: #fbbf24; border-color: rgba(251,191,36,0.3); }
.badge-danger { color: #f87171; border-color: rgba(248,113,113,0.35); }
.badge-muted { color: #94a3b8; }
.hvac-body { display: flex; flex: 1; min-height: 0; }
.hvac-sidebar {
width: 18rem; flex-shrink: 0; background: #080e18;
border-right: 1px solid rgba(255,255,255,0.07);
height: calc(100vh - 4rem); position: sticky; top: 4rem;
display: flex; flex-direction: column; overflow: hidden;
}
.hvac-sidebar nav { flex: 1; overflow: auto; padding: 0.5rem; }
.nav-sec { padding: 10px 8px 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #475569; }
.nav-item {
display: flex; align-items: center; gap: 8px; padding: 6px 10px;
font-size: 11.5px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; color: #94a3b8;
}
.nav-item:hover { color: #e2e8f0; background: rgba(255,255,255,0.035); }
.nav-item.active { border-left-color: #22d3ee; color: #cffafe; background: rgba(6,182,212,0.1); font-weight: 600; }
.nav-oid { font-family: ui-monospace, Consolas, monospace; width: 2rem; flex-shrink: 0; color: #64748b; }
.nav-item.active .nav-oid { color: #22d3ee; }
.group-btn {
width: 100%; display: flex; align-items: center; justify-content: space-between;
background: none; border: 0; padding: 6px 8px; color: #cbd5e1; font-size: 12px; font-weight: 600; cursor: pointer;
}
.hvac-main { flex: 1; padding: 1.75rem 2rem; overflow: auto; }
.workspace {
border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.08); overflow: hidden;
background: linear-gradient(to bottom, #121c2e, #0d1524);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 32px rgba(0,0,0,0.22);
}
.kpi-tile {
background: #0c121c; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px;
}
.glass-card {
display: flex; flex-direction: column; justify-content: space-between;
padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
background: rgba(12, 18, 28, 0.9);
}
.glass-card:hover h3 { color: #cffafe; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tab-btn {
padding: 6px 12px; font-size: 11px; font-family: ui-monospace, Consolas, monospace;
text-transform: uppercase; letter-spacing: 0.08em; border-radius: 6px; border: 1px solid transparent;
background: transparent; cursor: pointer; color: #64748b;
}
.chart-wrap { height: 180px; position: relative; }
.chart-wrap canvas { width: 100%; height: 100%; }
.slider-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) {
.hvac-sidebar { display: none; }
.slider-row { grid-template-columns: 1fr; }
}
input[type=range] { width: 100%; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.muted { color: #64748b; }
.btn-secondary {
display: inline-flex; align-items: center; justify-content: center;
border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 12px;
background: rgba(255,255,255,0.04); cursor: pointer;
}