Pro / static /style_v5.css
Crypto0203
Deploy ParleDowntime Pro Space
8def838
Raw History Blame Contribute Delete
12.8 kB
/* StatusPilot Ultra Dashboard v6 — Fusion of 3 Designs */
:root {
--bg-main: #0b1120;
--bg-card: #111b2a;
--bg-sidebar: #0a0f1e;
--accent: #10b981;
--accent-glow: rgba(16,185,129,0.15);
--primary: #0ea5e9;
--primary-glow: rgba(14,165,233,0.15);
--danger: #f43f5e;
--danger-glow: rgba(244,63,94,0.1);
--warning: #f59e0b;
--text-primary: #e2e8f0;
--text-secondary: #64748b;
--text-dim: #475569;
--border: rgba(148,163,184,0.12);
--border-hover: rgba(148,163,184,0.25);
--radius: 12px;
--font: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg-main); color: var(--text-primary); min-height: 100vh; }
/* ===== LAYOUT ===== */
.app { display: flex; min-height: 100vh; }
/* ===== SIDEBAR ===== */
.sidebar {
width: 220px; min-width: 220px;
background: var(--bg-sidebar);
border-right: 1px solid var(--border);
display: flex; flex-direction: column;
padding: 1.25rem 0;
}
.sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 0 1rem; margin-bottom: 1.5rem; }
.sidebar-logo .icon { color: var(--primary); font-size: 1.2rem; position: relative; }
.sidebar-logo .dot { position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.sidebar-logo span { font-size: 0.8rem; font-weight: 800; letter-spacing: 1.5px; color: var(--primary); text-transform: uppercase; }
.sidebar-nav { flex: 1; padding: 0 0.6rem; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
display: flex; align-items: center; gap: 10px;
padding: 0.6rem 0.8rem; border-radius: 8px;
color: var(--text-secondary); text-decoration: none;
font-size: 0.8rem; font-weight: 600;
transition: all 0.15s; border: 1px solid transparent;
}
.sidebar-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.sidebar-nav a.active { background: rgba(14,165,233,0.08); color: var(--primary); border-color: rgba(14,165,233,0.2); }
.sidebar-footer { padding: 0 0.8rem; }
.sidebar-status {
background: rgba(148,163,184,0.06); border: 1px solid rgba(148,163,184,0.1);
border-radius: 10px; padding: 0.7rem; font-size: 0.65rem;
}
.sidebar-status .label { color: var(--text-dim); font-weight: 600; margin-bottom: 4px; }
.sidebar-status .value { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.pulse { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
/* ===== MAIN ===== */
.main { flex: 1; overflow-y: auto; }
.topbar {
position: sticky; top: 0; z-index: 30;
display: flex; align-items: center; justify-content: space-between;
padding: 0.9rem 1.5rem;
background: rgba(11,17,32,0.92); backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left h1 { font-size: 1.15rem; font-weight: 800; color: #fff; }
.topbar-left .live-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 2px; animation: pulse 2s infinite; }
.topbar-left .clock { font-size: 0.7rem; color: var(--text-dim); font-family: monospace; margin-left: 4px; }
.topbar-right { display: flex; gap: 8px; }
.btn-outline {
display: flex; align-items: center; gap: 6px;
padding: 6px 12px; background: rgba(148,163,184,0.06);
border: 1px solid var(--border); border-radius: 8px;
color: var(--text-secondary); font-size: 0.75rem; font-weight: 600;
cursor: pointer; transition: 0.15s;
}
.btn-outline:hover { border-color: var(--border-hover); color: var(--text-primary); }
.content { padding: 1.2rem 1.5rem; max-width: 1400px; margin: 0 auto; }
/* ===== CARDS ===== */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem 1.2rem;
transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-hover); }
.card-title {
display: flex; align-items: center; gap: 6px;
font-size: 0.65rem; font-weight: 800; color: var(--text-dim);
text-transform: uppercase; letter-spacing: 1.2px;
margin-bottom: 0.8rem;
}
.card-title .dot { width: 5px; height: 5px; border-radius: 50%; }
/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.stat-value { font-size: 1.5rem; font-weight: 800; margin-top: 2px; }
/* ===== LATENCY MATRIX ===== */
.latency-section { margin-bottom: 1rem; }
.latency-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.latency-row .name { width: 160px; font-size: 0.68rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latency-row .bar-track { flex: 1; height: 5px; background: rgba(148,163,184,0.08); border-radius: 3px; overflow: hidden; }
.latency-row .bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(14,165,233,0.7), rgba(6,182,212,0.7)); transition: width 0.8s ease; }
.latency-row .ms { width: 55px; text-align: right; font-size: 0.65rem; font-family: monospace; color: var(--text-dim); }
.live-badge { display: flex; align-items: center; gap: 4px; font-size: 0.55rem; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
/* ===== SEARCH ===== */
.search-bar {
width: 100%; padding: 0.6rem 0.8rem 0.6rem 2.2rem;
background: var(--bg-card); border: 1px solid var(--border);
border-radius: var(--radius); color: var(--text-primary);
font-size: 0.8rem; outline: none; transition: 0.2s;
margin-bottom: 0.8rem; position: relative;
}
.search-bar:focus { border-color: rgba(14,165,233,0.4); }
.search-wrap { position: relative; margin-bottom: 0.8rem; }
.search-wrap i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-size: 0.8rem; }
/* ===== SERVICE ROWS ===== */
.svc-list { display: flex; flex-direction: column; gap: 6px; }
.svc-row {
display: grid;
grid-template-columns: 2fr 0.7fr 2.5fr 0.8fr 0.7fr;
align-items: center; gap: 1rem;
padding: 0.7rem 1rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer; transition: all 0.15s;
}
.svc-row:hover { border-color: rgba(148,163,184,0.2); background: #15202f; }
.svc-name { font-size: 0.82rem; font-weight: 700; color: #fff; }
.svc-url { font-size: 0.6rem; color: var(--text-dim); margin-top: 1px; }
.scope-badge {
display: inline-block; padding: 2px 8px; border-radius: 4px;
font-size: 0.55rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
border: 1px solid;
}
.scope-badge.global { background: rgba(14,165,233,0.08); color: var(--primary); border-color: rgba(14,165,233,0.15); }
.scope-badge.web { background: rgba(168,85,247,0.08); color: #a855f7; border-color: rgba(168,85,247,0.15); }
.scope-badge.security { background: rgba(16,185,129,0.08); color: var(--accent); border-color: rgba(16,185,129,0.15); }
.uptime-bars { display: flex; gap: 2px; justify-content: center; }
.uptime-bars .bar { width: 4px; height: 14px; border-radius: 1px; }
.uptime-bars .bar.up { background: var(--accent); }
.uptime-bars .bar.down { background: var(--danger); }
.uptime-bars .bar.none { background: rgba(255,255,255,0.04); }
.status-label { font-size: 0.7rem; font-weight: 700; text-align: right; }
.status-label.up { color: var(--accent); }
.status-label.down { color: var(--danger); }
.latency-chip {
font-size: 0.68rem; font-family: monospace; font-weight: 600;
color: var(--primary); background: rgba(14,165,233,0.08);
padding: 3px 8px; border-radius: 5px; text-align: center;
}
/* ===== MODAL ===== */
.modal-overlay {
display: none; position: fixed; inset: 0;
background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
z-index: 999; justify-content: center; align-items: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
width: 700px; max-width: 95vw; max-height: 88vh; overflow-y: auto;
background: var(--bg-card); border: 1px solid var(--border);
border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.modal-header {
display: flex; justify-content: space-between; align-items: center;
padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 1.1rem; font-weight: 800; }
.modal-header p { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }
.modal-close {
background: none; border: none; color: var(--text-secondary);
font-size: 1.3rem; cursor: pointer; padding: 4px 8px; border-radius: 6px;
transition: 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.05); color: #fff; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 1.2rem 1.5rem; }
.modal-card {
background: rgba(0,0,0,0.2); border: 1px solid var(--border);
border-radius: 10px; padding: 0.8rem;
}
.modal-card h4 {
display: flex; align-items: center; gap: 6px;
font-size: 0.72rem; font-weight: 700; margin-bottom: 0.6rem;
}
.modal-card canvas { width: 100% !important; height: 130px !important; }
/* ===== TOOLTIPS ===== */
.tip {
display: inline-flex; align-items: center; justify-content: center;
width: 14px; height: 14px; border-radius: 50%;
background: rgba(14,165,233,0.08); color: var(--text-dim);
font-size: 0.5rem; font-weight: 900; cursor: help;
position: relative; margin-left: 4px; border: 1px solid rgba(14,165,233,0.15);
}
.tip:hover::after {
content: attr(data-tip);
position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
background: #1a2332; color: var(--text-primary);
padding: 6px 10px; border-radius: 6px; font-size: 0.62rem; font-weight: 500;
white-space: nowrap; z-index: 100; border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0,0,0,0.4); pointer-events: none;
max-width: 250px; white-space: normal; line-height: 1.4;
}
/* ===== OPS TAB ===== */
.ops-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; }
.input-group { margin-bottom: 0.6rem; }
.input-group label { display: block; font-size: 0.6rem; font-weight: 800; color: var(--text-dim); letter-spacing: 0.5px; margin-bottom: 4px; text-transform: uppercase; }
.pro-input {
width: 100%; padding: 8px 12px; background: rgba(0,0,0,0.25);
border: 1px solid var(--border); border-radius: 8px;
color: #fff; font-size: 0.78rem; outline: none; transition: 0.2s;
}
.pro-input:focus { border-color: rgba(14,165,233,0.4); }
.btn-primary {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
width: 100%; padding: 10px; background: linear-gradient(135deg, var(--primary), #0284c7);
color: #fff; border: none; border-radius: 8px;
font-size: 0.75rem; font-weight: 800; cursor: pointer;
text-transform: uppercase; letter-spacing: 0.5px; transition: 0.2s;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-danger-outline {
width: 100%; padding: 8px; background: transparent;
border: 1px solid rgba(244,63,94,0.2); border-radius: 8px;
color: var(--danger); font-size: 0.7rem; font-weight: 700; cursor: pointer;
}
.manage-item {
display: flex; justify-content: space-between; align-items: center;
padding: 6px 10px; background: rgba(0,0,0,0.15);
border: 1px solid var(--border); border-radius: 6px; margin-bottom: 4px;
}
.manage-item b { font-size: 0.75rem; }
.manage-item span { font-size: 0.6rem; color: var(--text-dim); }
.btn-remove {
padding: 3px 8px; background: rgba(244,63,94,0.08);
border: 1px solid rgba(244,63,94,0.15); border-radius: 4px;
color: var(--danger); font-size: 0.6rem; font-weight: 800;
cursor: pointer; transition: 0.15s; text-transform: uppercase;
}
.btn-remove:hover { background: var(--danger); color: #fff; }
/* ===== LICENSE OVERLAYS ===== */
.auth-overlay {
position: fixed; inset: 0; background: var(--bg-main);
display: flex; justify-content: center; align-items: center; z-index: 99999;
}
.auth-box { max-width: 380px; width: 90%; text-align: center; }
/* ===== ANIMATIONS ===== */
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: slideUp 0.35s ease forwards; }
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }