1238 lines
48 KiB
CSS
1238 lines
48 KiB
CSS
/* ═══════════════════════════════════════════════════════════════
|
|
Ops Platform — Server 173.249.20.244
|
|
Fonts: Syne (display) + Geist Mono (data/code)
|
|
Design ported from 83.171.248.100 platform
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&display=swap');
|
|
|
|
/* ── DARK THEME (default) ──────────────────────────────────── */
|
|
:root {
|
|
--bg: #07080c;
|
|
--surface: #0e1017;
|
|
--surface2: #141820;
|
|
--border: #1a2030;
|
|
--border2: #252d42;
|
|
|
|
--text: #eef1f8;
|
|
--text2: #8b95aa;
|
|
--text3: #525d72;
|
|
|
|
--accent: #4f8cff;
|
|
--accent2: #7eb3ff;
|
|
--green: #2dd47a;
|
|
--red: #f05252;
|
|
--yellow: #f5b942;
|
|
--purple: #b794ff;
|
|
--cyan: #3ee0f0;
|
|
|
|
--shadow: 0 1px 2px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.22);
|
|
--shadow-md: 0 4px 16px rgba(0,0,0,0.28), 0 12px 40px rgba(0,0,0,0.18);
|
|
--shadow-lg: 0 8px 32px rgba(0,0,0,0.4), 0 24px 64px rgba(0,0,0,0.25);
|
|
--glow-accent: 0 0 24px rgba(79,140,255,0.18);
|
|
|
|
--radius: 12px;
|
|
--radius-lg: 18px;
|
|
--radius-xl: 22px;
|
|
--font: 'Syne', sans-serif;
|
|
--mono: 'Geist Mono', monospace;
|
|
--trans: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
--bg2: var(--surface);
|
|
--bg3: var(--surface2);
|
|
--bg4: #1a2235;
|
|
--purple-d: #6366f1;
|
|
--sidebar-w: 236px;
|
|
--sans: 'Syne', sans-serif;
|
|
}
|
|
|
|
/* ── LIGHT THEME ───────────────────────────────────────────── */
|
|
[data-theme="light"] {
|
|
--bg: #eef1f8;
|
|
--surface: #ffffff;
|
|
--surface2: #f4f6fb;
|
|
--border: #dde3ef;
|
|
--border2: #c5cfe0;
|
|
|
|
--text: #0c0e14;
|
|
--text2: #4a5578;
|
|
--text3: #8b95aa;
|
|
|
|
--accent: #2563eb;
|
|
--accent2: #3b82f6;
|
|
--green: #16a34a;
|
|
--red: #dc2626;
|
|
--yellow: #d97706;
|
|
--purple: #7c3aed;
|
|
--cyan: #0891b2;
|
|
|
|
--shadow: 0 1px 3px rgba(15,23,42,0.06), 0 6px 20px rgba(15,23,42,0.05);
|
|
--shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 12px 32px rgba(15,23,42,0.06);
|
|
--shadow-lg: 0 8px 32px rgba(15,23,42,0.1), 0 20px 48px rgba(15,23,42,0.08);
|
|
--glow-accent: 0 0 20px rgba(37,99,235,0.12);
|
|
|
|
--bg2: var(--surface);
|
|
--bg3: var(--surface2);
|
|
--bg4: #e8edf8;
|
|
}
|
|
|
|
/* ── RESET ─────────────────────────────────────────────────── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
transition: background 0.35s, color 0.35s;
|
|
}
|
|
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
background:
|
|
radial-gradient(ellipse 90% 60% at 10% -10%, rgba(79,140,255,0.07), transparent 55%),
|
|
radial-gradient(ellipse 70% 50% at 95% 20%, rgba(183,148,255,0.05), transparent 50%),
|
|
radial-gradient(ellipse 50% 40% at 50% 100%, rgba(62,224,240,0.04), transparent 45%);
|
|
}
|
|
[data-theme="light"] body::before {
|
|
background:
|
|
radial-gradient(ellipse 90% 60% at 10% -10%, rgba(37,99,235,0.06), transparent 55%),
|
|
radial-gradient(ellipse 70% 50% at 95% 20%, rgba(124,58,237,0.04), transparent 50%);
|
|
}
|
|
|
|
::-webkit-scrollbar { width: 5px; height: 5px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--text3); }
|
|
|
|
/* ── LAYOUT ────────────────────────────────────────────────── */
|
|
.layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }
|
|
|
|
/* ── SIDEBAR ───────────────────────────────────────────────── */
|
|
.sidebar {
|
|
width: var(--sidebar-w);
|
|
min-width: var(--sidebar-w);
|
|
background: rgba(14,16,23,0.88);
|
|
backdrop-filter: blur(20px) saturate(1.4);
|
|
-webkit-backdrop-filter: blur(20px) saturate(1.4);
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
top: 0; left: 0; bottom: 0;
|
|
z-index: 100;
|
|
padding: 22px 14px;
|
|
transition: background 0.35s, border-color 0.35s;
|
|
}
|
|
[data-theme="light"] .sidebar {
|
|
background: rgba(255,255,255,0.92);
|
|
}
|
|
|
|
.sidebar-brand,
|
|
a.sidebar-brand-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 8px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 20px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 38px; height: 38px;
|
|
background: linear-gradient(135deg, #4f8cff 0%, #6366f1 100%);
|
|
border-radius: 11px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-family: var(--mono); font-weight: 600; font-size: 12px; color: #fff;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 4px 14px rgba(79,140,255,0.35);
|
|
}
|
|
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
|
|
.brand-sub { font-size: 9px; color: var(--text3); font-family: var(--mono); letter-spacing: 0.14em; margin-top: 1px; }
|
|
|
|
/* nav */
|
|
.nav { flex: 1; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
|
|
.nav-group-label,
|
|
.nav-section-label {
|
|
font-size: 9px; letter-spacing: 0.12em; color: var(--text3);
|
|
font-family: var(--mono); padding: 0 8px;
|
|
margin-bottom: 6px; margin-top: 8px;
|
|
}
|
|
.nav-item {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 10px 12px; border-radius: var(--radius);
|
|
color: var(--text2); text-decoration: none;
|
|
font-size: 13px; font-weight: 500; cursor: pointer;
|
|
transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
|
|
margin-bottom: 2px;
|
|
border: 1px solid transparent;
|
|
position: relative;
|
|
}
|
|
.nav-item i { width: 16px; text-align: center; font-size: 13px; opacity: 0.85; }
|
|
.nav-item span { flex: 1; }
|
|
.nav-item:hover { background: var(--surface2); color: var(--text); transform: translateX(2px); }
|
|
.nav-item.active {
|
|
background: linear-gradient(90deg, rgba(79,140,255,0.16) 0%, rgba(79,140,255,0.04) 100%);
|
|
color: var(--text);
|
|
border-color: rgba(79,140,255,0.22);
|
|
box-shadow: inset 3px 0 0 var(--accent);
|
|
}
|
|
.nav-item.active i { color: var(--accent2); opacity: 1; }
|
|
[data-theme="light"] .nav-item.active {
|
|
background: linear-gradient(90deg, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0.02) 100%);
|
|
}
|
|
.nav-badge {
|
|
margin-left: auto; font-family: var(--mono); font-size: 10px;
|
|
background: var(--bg4); color: var(--text2);
|
|
padding: 2px 7px; border-radius: 20px;
|
|
border: 1px solid var(--border);
|
|
font-weight: 600;
|
|
}
|
|
.nav-item.active .nav-badge {
|
|
background: rgba(79,140,255,0.2); color: var(--accent2);
|
|
border-color: rgba(79,140,255,0.25);
|
|
}
|
|
|
|
/* sidebar footer */
|
|
.sidebar-footer {
|
|
display: flex; align-items: center; gap: 8px;
|
|
padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto;
|
|
}
|
|
.server-pill,
|
|
.status-pill {
|
|
flex: 1; display: flex; align-items: center; gap: 7px;
|
|
background: var(--surface2); border-radius: 20px;
|
|
padding: 7px 12px; font-family: var(--mono);
|
|
font-size: 11px; color: var(--text2); overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
}
|
|
.pulse-dot {
|
|
width: 7px; height: 7px; border-radius: 50%;
|
|
background: var(--text3); flex-shrink: 0; transition: background 0.3s;
|
|
}
|
|
.pulse-dot.online { background: var(--green); animation: pulse 2s infinite; }
|
|
.pulse-dot.offline { background: var(--red); }
|
|
@keyframes pulse {
|
|
0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
|
|
50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
|
|
}
|
|
|
|
.logout-btn,
|
|
.icon-btn-sm {
|
|
width: 32px; height: 32px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
border-radius: 8px; color: var(--text3); text-decoration: none;
|
|
background: transparent; border: none; cursor: pointer; font-size: 13px;
|
|
transition: background var(--trans), color var(--trans);
|
|
}
|
|
.logout-btn:hover { background: var(--red); color: #fff; }
|
|
.icon-btn-sm:hover { background: var(--surface2); color: var(--text); }
|
|
|
|
/* theme toggle */
|
|
.theme-toggle {
|
|
width: 34px; height: 34px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
border-radius: 10px; background: var(--surface2);
|
|
border: 1px solid var(--border); color: var(--text2);
|
|
cursor: pointer; font-size: 14px;
|
|
transition: background var(--trans), color var(--trans), border-color var(--trans), box-shadow var(--trans);
|
|
}
|
|
.theme-toggle:hover {
|
|
background: var(--bg4); color: var(--accent2);
|
|
border-color: rgba(79,140,255,0.3);
|
|
box-shadow: var(--glow-accent);
|
|
}
|
|
|
|
/* ── MAIN ──────────────────────────────────────────────────── */
|
|
.main {
|
|
margin-left: var(--sidebar-w);
|
|
flex: 1;
|
|
display: flex; flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── TOPBAR ────────────────────────────────────────────────── */
|
|
.topbar {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
padding: 20px 32px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(14,16,23,0.75);
|
|
backdrop-filter: blur(16px) saturate(1.3);
|
|
-webkit-backdrop-filter: blur(16px) saturate(1.3);
|
|
flex-shrink: 0;
|
|
position: sticky; top: 0; z-index: 50;
|
|
transition: background 0.35s, border-color 0.35s;
|
|
}
|
|
[data-theme="light"] .topbar { background: rgba(255,255,255,0.82); }
|
|
.topbar-left { display: flex; align-items: baseline; gap: 14px; }
|
|
.page-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
|
|
.page-subtitle,
|
|
.page-sub { font-family: var(--mono); font-size: 11px; color: var(--text3); padding: 3px 10px; background: var(--surface2); border-radius: 20px; border: 1px solid var(--border); }
|
|
.topbar-right { display: flex; align-items: center; gap: 10px; }
|
|
|
|
.icon-btn {
|
|
width: 36px; height: 36px; background: var(--surface2);
|
|
border: 1px solid var(--border); border-radius: 10px;
|
|
color: var(--text2); cursor: pointer;
|
|
display: flex; align-items: center; justify-content: center;
|
|
transition: background var(--trans), color var(--trans), border-color var(--trans), box-shadow var(--trans);
|
|
font-size: 13px;
|
|
}
|
|
.icon-btn:hover { background: var(--bg4); color: var(--accent2); border-color: rgba(79,140,255,0.3); box-shadow: var(--glow-accent); }
|
|
.icon-btn.spinning i,
|
|
.icon-btn .spinning { animation: spin 0.8s linear infinite; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
.uptime-chip {
|
|
font-family: var(--mono); font-size: 11px; color: var(--text2);
|
|
background: var(--surface2); border: 1px solid var(--border);
|
|
padding: 6px 14px; border-radius: 20px;
|
|
display: flex; align-items: center; gap: 6px;
|
|
}
|
|
.uptime-chip::before {
|
|
content: ''; width: 6px; height: 6px; border-radius: 50%;
|
|
background: var(--green); box-shadow: 0 0 8px rgba(45,212,122,0.5);
|
|
}
|
|
|
|
/* ── CONTENT ───────────────────────────────────────────────── */
|
|
.content {
|
|
flex: 1; padding: 28px 32px;
|
|
display: flex; flex-direction: column; gap: 22px;
|
|
}
|
|
.content > .card,
|
|
.content > .metrics-row,
|
|
.content > .dash-charts,
|
|
.content > .two-col { animation: contentIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
|
|
.content > *:nth-child(1) { animation-delay: 0.04s; }
|
|
.content > *:nth-child(2) { animation-delay: 0.08s; }
|
|
.content > *:nth-child(3) { animation-delay: 0.12s; }
|
|
.content > *:nth-child(4) { animation-delay: 0.16s; }
|
|
.content > *:nth-child(5) { animation-delay: 0.20s; }
|
|
@keyframes contentIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* ── CARDS ─────────────────────────────────────────────────── */
|
|
.card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 22px 24px;
|
|
box-shadow: var(--shadow);
|
|
transition: background 0.35s, border-color 0.35s, box-shadow var(--trans);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(79,140,255,0.25), rgba(183,148,255,0.15), transparent);
|
|
pointer-events: none;
|
|
}
|
|
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border2); }
|
|
.card-header {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
margin-bottom: 18px;
|
|
}
|
|
.card-title {
|
|
font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
display: flex; align-items: center; gap: 9px; color: var(--text);
|
|
}
|
|
.card-title i {
|
|
color: var(--accent2); font-size: 12px;
|
|
width: 28px; height: 28px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
background: rgba(79,140,255,0.1);
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(79,140,255,0.15);
|
|
}
|
|
.card-meta,
|
|
.badge-chip {
|
|
font-family: var(--mono); font-size: 11px; color: var(--text3);
|
|
background: var(--surface2); border: 1px solid var(--border);
|
|
padding: 4px 10px; border-radius: 20px;
|
|
}
|
|
|
|
/* ── METRICS ROW ───────────────────────────────────────────── */
|
|
.metrics-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
}
|
|
.metric-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 20px 22px;
|
|
position: relative; overflow: hidden;
|
|
transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.metric-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--border2);
|
|
}
|
|
.metric-card::before {
|
|
content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
|
|
background: linear-gradient(90deg, var(--accent), var(--accent2));
|
|
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
}
|
|
.metric-card:nth-child(2)::before { background: linear-gradient(90deg, var(--purple), #c4b5fd); }
|
|
.metric-card:nth-child(3)::before { background: linear-gradient(90deg, var(--cyan), #67e8f9); }
|
|
.metric-card:nth-child(4)::before { background: linear-gradient(90deg, var(--yellow), #fcd34d); }
|
|
.metric-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -30px; right: -30px;
|
|
width: 100px; height: 100px;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
.metric-card.cpu::after { background: radial-gradient(circle, rgba(79,140,255,0.12), transparent 70%); }
|
|
.metric-card.mem::after { background: radial-gradient(circle, rgba(183,148,255,0.12), transparent 70%); }
|
|
.metric-card.disk::after { background: radial-gradient(circle, rgba(62,224,240,0.12), transparent 70%); }
|
|
.metric-card.load::after { background: radial-gradient(circle, rgba(245,185,66,0.12), transparent 70%); }
|
|
|
|
.metric-top {
|
|
display: flex; align-items: flex-start; justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
.metric-icon {
|
|
width: 36px; height: 36px; border-radius: 10px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-size: 14px; flex-shrink: 0;
|
|
background: rgba(79,140,255,0.1);
|
|
border: 1px solid rgba(79,140,255,0.15);
|
|
color: var(--accent2);
|
|
}
|
|
.metric-card.mem .metric-icon { background: rgba(183,148,255,0.1); border-color: rgba(183,148,255,0.15); color: var(--purple); }
|
|
.metric-card.disk .metric-icon { background: rgba(62,224,240,0.1); border-color: rgba(62,224,240,0.15); color: var(--cyan); }
|
|
.metric-card.load .metric-icon { background: rgba(245,185,66,0.1); border-color: rgba(245,185,66,0.15); color: var(--yellow); }
|
|
|
|
.metric-label {
|
|
font-family: var(--mono); font-size: 9px; font-weight: 700;
|
|
letter-spacing: 0.14em; color: var(--text3);
|
|
}
|
|
.metric-value {
|
|
font-family: var(--mono); font-size: 28px; font-weight: 700;
|
|
letter-spacing: -0.03em; color: var(--text);
|
|
line-height: 1; margin-bottom: 14px;
|
|
}
|
|
.metric-value span { font-size: 14px; color: var(--text3); font-weight: 500; margin-left: 2px; }
|
|
.metric-value.small { font-size: 17px; line-height: 1.35; margin-bottom: 14px; }
|
|
.metric-unit { font-size: 13px; color: var(--text3); font-weight: 400; }
|
|
|
|
.gauge-bar,
|
|
.gauge-track { height: 5px; background: var(--border2); border-radius: 99px; overflow: hidden; }
|
|
.gauge-fill {
|
|
height: 100%; border-radius: 99px;
|
|
background: linear-gradient(90deg, var(--accent), var(--accent2));
|
|
transition: width 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
|
|
max-width: 100%;
|
|
box-shadow: 0 0 10px rgba(79,140,255,0.35);
|
|
}
|
|
.metric-card:nth-child(2) .gauge-fill { background: linear-gradient(90deg, var(--purple), #c4b5fd); box-shadow: 0 0 10px rgba(183,148,255,0.3); }
|
|
.metric-card:nth-child(3) .gauge-fill { background: linear-gradient(90deg, var(--cyan), #67e8f9); box-shadow: 0 0 10px rgba(62,224,240,0.3); }
|
|
.metric-card:nth-child(4) .gauge-fill { background: linear-gradient(90deg, var(--yellow), #fcd34d); box-shadow: 0 0 10px rgba(245,185,66,0.3); }
|
|
|
|
@media (max-width: 1100px) { .metrics-row { grid-template-columns: repeat(2, 1fr); } }
|
|
@media (max-width: 560px) { .metrics-row { grid-template-columns: 1fr; } }
|
|
|
|
/* ── STAT ROW ──────────────────────────────────────────────── */
|
|
/* 173 uses stat-box; 83 uses stat-card — support both */
|
|
.stat-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.stat-box {
|
|
flex: 1; text-align: center;
|
|
padding: 16px 8px;
|
|
border-right: 1px solid var(--border);
|
|
}
|
|
.stat-box:last-child { border-right: none; }
|
|
.stat-num {
|
|
font-size: 28px; font-weight: 700;
|
|
font-family: var(--mono); letter-spacing: -0.02em; margin-bottom: 4px;
|
|
color: var(--text);
|
|
}
|
|
.stat-num.green { color: var(--green); }
|
|
.stat-num.cyan { color: var(--cyan); }
|
|
.stat-num.dim { color: var(--text3); font-size: 14px; }
|
|
.stat-lbl { font-size: 10px; color: var(--text3); letter-spacing: 0.06em; }
|
|
|
|
.stat-row .stat-card {
|
|
text-align: center;
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px 12px;
|
|
transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.stat-row .stat-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(160deg, rgba(79,140,255,0.04) 0%, transparent 60%);
|
|
pointer-events: none;
|
|
}
|
|
.stat-row .stat-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(79,140,255,0.25);
|
|
box-shadow: var(--glow-accent);
|
|
background: var(--bg4);
|
|
}
|
|
.stat-number {
|
|
font-family: var(--mono); font-size: 30px; font-weight: 700;
|
|
color: var(--accent2); line-height: 1;
|
|
letter-spacing: -0.03em;
|
|
position: relative;
|
|
}
|
|
.stat-label {
|
|
font-size: 10px; color: var(--text3); margin-top: 7px;
|
|
letter-spacing: 0.08em; text-transform: uppercase;
|
|
font-weight: 600; position: relative;
|
|
}
|
|
|
|
/* ── TABLES ────────────────────────────────────────────────── */
|
|
.table-wrap,
|
|
.ct-table-wrap { overflow-x: auto; }
|
|
|
|
.data-table,
|
|
.ct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
|
|
|
.data-table th,
|
|
.ct-table th {
|
|
text-align: left;
|
|
font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--text3); padding: 8px 14px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface2);
|
|
}
|
|
.data-table td,
|
|
.ct-table td {
|
|
padding: 11px 14px; border-bottom: 1px solid var(--border);
|
|
vertical-align: middle;
|
|
}
|
|
.data-table tr:last-child td,
|
|
.ct-table tr:last-child td { border-bottom: none; }
|
|
.data-table tbody tr,
|
|
.ct-table tbody tr { transition: background var(--trans); }
|
|
.data-table tr:hover td,
|
|
.ct-table tr:hover td { background: rgba(79,140,255,0.04); }
|
|
[data-theme="light"] .data-table tr:hover td,
|
|
[data-theme="light"] .ct-table tr:hover td { background: rgba(37,99,235,0.03); }
|
|
.ct-table-wrap,
|
|
.table-wrap {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
background: var(--surface2);
|
|
}
|
|
|
|
.ct-name { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--text); }
|
|
.ct-image { font-family: var(--mono); font-size: 11px; color: var(--text3); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.ct-ports { font-family: var(--mono); font-size: 11px; color: var(--cyan); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.mono { font-family: var(--mono); }
|
|
.dim { color: var(--text3); font-size: 12px; }
|
|
|
|
/* ── BADGES ────────────────────────────────────────────────── */
|
|
.badge {
|
|
display: inline-flex; align-items: center; gap: 5px;
|
|
padding: 3px 9px; border-radius: 20px;
|
|
font-family: var(--mono); font-size: 11px; font-weight: 500;
|
|
}
|
|
/* support both naming conventions */
|
|
.badge-run, .badge.run { background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
|
|
.badge-stop, .badge.stop { background: rgba(239,68,68,0.12); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }
|
|
.badge-run::before, .badge.run::before { content:''; width:5px; height:5px; background:var(--green); border-radius:50%; }
|
|
.badge-stop::before, .badge.stop::before { content:''; width:5px; height:5px; background:var(--red); border-radius:50%; }
|
|
[data-theme="light"] .badge-run, [data-theme="light"] .badge.run { background: rgba(22,163,74,0.1); }
|
|
[data-theme="light"] .badge-stop, [data-theme="light"] .badge.stop { background: rgba(220,38,38,0.1); }
|
|
|
|
/* ── INLINE STAT BARS ──────────────────────────────────────── */
|
|
/* 173 uses bar-wrap/bar-bg/bar-fill; 83 uses stat-bar-wrap etc — support both */
|
|
.stat-bar-wrap,
|
|
.bar-wrap { display: flex; align-items: center; gap: 6px; min-width: 90px; }
|
|
.stat-bar-bg,
|
|
.bar-bg { flex: 1; height: 4px; background: var(--border2); border-radius: 4px; overflow: hidden; }
|
|
.stat-bar-fill,
|
|
.bar-fill { height: 100%; border-radius: 4px; background: var(--accent); transition: width 0.5s ease; }
|
|
.bar-fill.warn,
|
|
.stat-bar-fill.warn { background: var(--yellow); }
|
|
.bar-fill.crit,
|
|
.stat-bar-fill.crit { background: var(--red); }
|
|
.stat-pct,
|
|
.stat-val { font-family: var(--mono); font-size: 11px; color: var(--text3); min-width: 36px; }
|
|
.stat-val.cyan { color: var(--cyan); }
|
|
|
|
/* ── ACTION BUTTONS ────────────────────────────────────────── */
|
|
/* unified: 83 uses ctr-action-btn; 173 uses act-btn — both work */
|
|
.action-btns { display: flex; gap: 4px; align-items: center; }
|
|
|
|
.ctr-action-btn,
|
|
.act-btn {
|
|
width: 28px; height: 28px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
border-radius: 7px; border: none; cursor: pointer; font-size: 11px;
|
|
transition: background 0.15s, transform 0.1s, opacity 0.15s;
|
|
}
|
|
.ctr-action-btn:hover,
|
|
.act-btn:hover { transform: scale(1.12); }
|
|
.ctr-action-btn:disabled,
|
|
.act-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
|
|
|
|
.ctr-action-btn.restart,
|
|
.act-btn.restart { background: rgba(59,130,246,0.15); color: var(--accent2); }
|
|
.ctr-action-btn.restart:hover,
|
|
.act-btn.restart:hover { background: rgba(59,130,246,0.3); }
|
|
|
|
.ctr-action-btn.stop,
|
|
.act-btn.stop { background: rgba(239,68,68,0.12); color: var(--red); }
|
|
.ctr-action-btn.stop:hover,
|
|
.act-btn.stop:hover { background: rgba(239,68,68,0.25); }
|
|
|
|
.ctr-action-btn.start,
|
|
.act-btn.start { background: rgba(34,197,94,0.12); color: var(--green); }
|
|
.ctr-action-btn.start:hover,
|
|
.act-btn.start:hover { background: rgba(34,197,94,0.25); }
|
|
|
|
/* ── BUTTONS ───────────────────────────────────────────────── */
|
|
.btn {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
padding: 9px 16px; border-radius: 10px;
|
|
font-size: 13px; font-weight: 600; font-family: var(--font);
|
|
cursor: pointer; border: none; text-decoration: none;
|
|
transition: opacity var(--trans), filter var(--trans), transform var(--trans), box-shadow var(--trans);
|
|
}
|
|
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
|
|
.btn:active { transform: translateY(0); }
|
|
.btn:disabled { opacity: 0.4; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
|
|
|
|
.btn-primary, .btn.primary {
|
|
background: linear-gradient(135deg, var(--accent) 0%, #6366f1 100%);
|
|
color: #fff;
|
|
box-shadow: 0 4px 14px rgba(79,140,255,0.3);
|
|
}
|
|
.btn-primary:hover, .btn.primary:hover { box-shadow: 0 6px 20px rgba(79,140,255,0.4); }
|
|
.btn-danger, .btn.danger {
|
|
background: rgba(240,82,82,0.1); color: var(--red);
|
|
border: 1px solid rgba(240,82,82,0.28);
|
|
}
|
|
.btn-danger:hover, .btn.danger:hover { background: rgba(240,82,82,0.16); box-shadow: 0 4px 14px rgba(240,82,82,0.15); }
|
|
.btn-success { background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; box-shadow: 0 4px 14px rgba(45,212,122,0.25); }
|
|
.btn-ghost, .btn.ghost {
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border2);
|
|
color: var(--text2);
|
|
}
|
|
.btn-ghost:hover, .btn.ghost:hover {
|
|
background: var(--bg4); color: var(--text);
|
|
border-color: rgba(79,140,255,0.25);
|
|
filter: none;
|
|
}
|
|
.btn-sm, .btn.sm { padding: 5px 11px; font-size: 12px; }
|
|
.btn-lg, .btn.lg { padding: 12px 24px; font-size: 14px; }
|
|
|
|
/* ── RESTORE FORM ──────────────────────────────────────────── */
|
|
.restore-form { max-width: 820px; display: flex; flex-direction: column; gap: 0; }
|
|
.form-section { padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
|
|
.form-section:last-child { border-bottom: none; }
|
|
.form-section-title {
|
|
font-size: 9px; font-family: var(--mono); font-weight: 700;
|
|
letter-spacing: 0.12em; color: var(--text3); margin-bottom: 14px;
|
|
}
|
|
.form-group { display: flex; flex-direction: column; gap: 6px; }
|
|
.form-label {
|
|
font-size: 11px; font-weight: 600; color: var(--text2);
|
|
letter-spacing: 0.06em;
|
|
}
|
|
.form-input {
|
|
background: var(--surface2); border: 1px solid var(--border2);
|
|
border-radius: 10px; padding: 10px 14px; font-size: 13px;
|
|
font-family: var(--mono); color: var(--text); width: 100%;
|
|
transition: border-color var(--trans), background 0.3s, box-shadow var(--trans);
|
|
}
|
|
.form-input:focus {
|
|
outline: none; border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px rgba(79,140,255,0.12);
|
|
}
|
|
.form-input[readonly] { opacity: 0.6; cursor: default; }
|
|
.form-row { display: flex; gap: 12px; }
|
|
.form-row .form-group { flex: 1; }
|
|
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; align-items: end; }
|
|
.form-note { font-size: 12px; color: var(--text3); margin-top: 8px; }
|
|
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
|
|
.form-check input { accent-color: var(--accent); width: 14px; height: 14px; }
|
|
|
|
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
.radio-card { cursor: pointer; flex: 1; min-width: 160px; }
|
|
.radio-card.sm { flex: unset; }
|
|
.radio-card input { display: none; }
|
|
.radio-body {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 13px 16px; border: 1px solid var(--border2);
|
|
border-radius: var(--radius); background: var(--surface2);
|
|
transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
|
|
}
|
|
.radio-card:hover .radio-body { border-color: var(--border2); background: var(--bg4); }
|
|
.radio-card.sm .radio-body { padding: 9px 12px; min-width: 110px; }
|
|
.radio-card input:checked + .radio-body {
|
|
border-color: rgba(79,140,255,0.45);
|
|
background: rgba(79,140,255,0.08);
|
|
box-shadow: 0 0 0 1px rgba(79,140,255,0.1), var(--glow-accent);
|
|
}
|
|
[data-theme="light"] .radio-card input:checked + .radio-body { background: rgba(37,99,235,0.06); }
|
|
.radio-icon { font-size: 16px; color: var(--accent2); }
|
|
.radio-label { font-size: 13px; font-weight: 600; }
|
|
.radio-desc { font-size: 11px; color: var(--text3); font-family: var(--mono); margin-top: 2px; }
|
|
.radio-desc code { background: var(--border2); padding: 1px 5px; border-radius: 4px; font-family: var(--mono); }
|
|
|
|
/* ── APP PICKER (restore step 3) ───────────────────────────── */
|
|
.app-picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.app-picker-card { cursor: pointer; display: block; position: relative; }
|
|
.app-picker-card input {
|
|
position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
|
|
}
|
|
.app-picker-body {
|
|
display: flex; align-items: center; gap: 12px;
|
|
padding: 13px 14px; border: 1px solid var(--border2);
|
|
border-radius: var(--radius); background: var(--surface2);
|
|
transition: border-color var(--trans), background var(--trans), opacity var(--trans);
|
|
}
|
|
.app-picker-card:hover .app-picker-body { border-color: var(--border2); background: var(--bg4); }
|
|
.app-picker-card input:checked + .app-picker-body {
|
|
border-color: var(--accent); background: rgba(59,130,246,0.08);
|
|
}
|
|
.app-picker-card input:not(:checked) + .app-picker-body { opacity: 0.62; }
|
|
[data-theme="light"] .app-picker-card input:checked + .app-picker-body { background: rgba(37,99,235,0.06); }
|
|
.app-picker-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
|
|
.app-picker-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
|
|
.app-picker-desc { font-size: 11px; color: var(--text3); margin-top: 2px; }
|
|
.app-picker-check {
|
|
margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
|
|
border: 1.5px solid var(--border2); display: flex; align-items: center; justify-content: center;
|
|
font-size: 10px; color: transparent; flex-shrink: 0;
|
|
transition: background var(--trans), border-color var(--trans), color var(--trans);
|
|
}
|
|
.app-picker-card input:checked + .app-picker-body .app-picker-check {
|
|
background: var(--accent); border-color: var(--accent); color: #fff;
|
|
}
|
|
.app-picker-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.app-picker-note {
|
|
color: var(--text3); font-size: 12px; line-height: 1.55; margin-bottom: 14px;
|
|
padding: 10px 14px; border-radius: 8px;
|
|
background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.12);
|
|
display: flex; align-items: flex-start; gap: 10px;
|
|
}
|
|
.app-picker-note i { color: var(--accent2); margin-top: 2px; flex-shrink: 0; }
|
|
|
|
/* ── USERS GRID ────────────────────────────────────────────── */
|
|
.users-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.user-card {
|
|
padding: 18px; border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
cursor: pointer;
|
|
transition: border-color var(--trans), background var(--trans), box-shadow var(--trans), transform var(--trans);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.user-card:hover {
|
|
border-color: rgba(79,140,255,0.35);
|
|
background: var(--bg4);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
.user-card.selected {
|
|
border-color: rgba(79,140,255,0.45);
|
|
background: rgba(79,140,255,0.07);
|
|
box-shadow: 0 0 0 1px rgba(79,140,255,0.15), var(--glow-accent);
|
|
}
|
|
[data-theme="light"] .user-card.selected { background: rgba(37,99,235,0.06); }
|
|
.user-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
|
|
.user-avatar {
|
|
width: 42px; height: 42px; border-radius: 10px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-weight: 700; font-size: 17px; color: #fff; flex-shrink: 0;
|
|
}
|
|
.user-name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
|
|
.user-uid { font-size: 11px; color: var(--text3); font-family: var(--mono); margin-top: 2px; }
|
|
.user-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; min-height: 24px; }
|
|
.user-tag {
|
|
display: inline-flex; align-items: center; gap: 5px;
|
|
padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 600;
|
|
font-family: var(--mono); letter-spacing: 0.03em;
|
|
}
|
|
.user-tag.docker { background: rgba(37,99,235,0.12); color: #60a5fa; border: 1px solid rgba(37,99,235,0.2); }
|
|
.user-tag.linger { background: rgba(167,139,250,0.12); color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }
|
|
.user-tag.vdisk { background: rgba(34,211,238,0.12); color: var(--cyan); border: 1px solid rgba(34,211,238,0.2); }
|
|
.user-stats {
|
|
display: flex; gap: 10px; padding-top: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.user-stat {
|
|
flex: 1; display: flex; flex-direction: column; gap: 3px;
|
|
font-size: 12px; color: var(--text3);
|
|
}
|
|
.user-stat-label {
|
|
font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
|
|
text-transform: uppercase; font-family: var(--mono);
|
|
}
|
|
.user-stat strong { font-size: 13px; color: var(--text); font-family: var(--mono); }
|
|
.user-detail-table-wrap {
|
|
padding: 0 4px 4px; overflow-x: auto;
|
|
}
|
|
.user-containers-table { margin-top: 4px; }
|
|
.user-containers-table th { white-space: nowrap; }
|
|
.user-containers-table .ct-image { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.user-containers-table .ct-ports { font-family: var(--mono); font-size: 11px; color: var(--text3); max-width: 180px; }
|
|
|
|
/* ── LOG CONSOLE ───────────────────────────────────────────── */
|
|
.log-header {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--text2);
|
|
}
|
|
.log-console {
|
|
background: linear-gradient(180deg, #040508 0%, #080a10 100%);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px 18px;
|
|
font-family: var(--mono); font-size: 12px; line-height: 1.75;
|
|
max-height: 400px; overflow-y: auto; color: #8b95aa;
|
|
white-space: pre-wrap; word-break: break-all;
|
|
box-shadow: inset 0 2px 12px rgba(0,0,0,0.35);
|
|
}
|
|
[data-theme="light"] .log-console { background: #1a1f2e; border-color: #2d3555; }
|
|
.log-line { margin: 0; }
|
|
.log-elapsed { font-size: 11px; font-family: var(--mono); color: var(--text3); margin-top: 6px; }
|
|
|
|
/* ── BACKUP LIST ───────────────────────────────────────────── */
|
|
/* ── BACKUP LIST ───────────────────────────────────────────── */
|
|
.backup-columns {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 22px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.backup-columns { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.backup-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
|
|
.backup-column-header {
|
|
display: flex; flex-direction: column; gap: 8px;
|
|
padding: 14px 16px;
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
.backup-column-header .section-title { margin: 0; font-size: 12px; }
|
|
.backup-column-header .card-meta {
|
|
align-self: flex-start;
|
|
font-size: 10px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.backup-list { display: flex; flex-direction: column; gap: 10px; }
|
|
|
|
.backup-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
padding: 14px 16px;
|
|
border-radius: var(--radius);
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
|
|
}
|
|
.backup-item:hover {
|
|
border-color: rgba(79,140,255,0.28);
|
|
background: var(--bg4);
|
|
box-shadow: var(--glow-accent);
|
|
}
|
|
|
|
.backup-item-main { min-width: 0; padding-bottom: 12px; }
|
|
.backup-item:not(:has(.backup-actions)) .backup-item-main { padding-bottom: 0; }
|
|
|
|
.backup-name {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: var(--text);
|
|
word-break: break-all;
|
|
display: block;
|
|
}
|
|
.backup-name i { margin-right: 6px; opacity: 0.85; }
|
|
|
|
.backup-meta {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 10px;
|
|
color: var(--text3);
|
|
font-family: var(--mono);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.backup-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
align-items: center;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.backup-actions .btn-sm { font-size: 11px; padding: 5px 10px; }
|
|
.backup-actions .btn-sm:not(.btn-audit):not(.btn-delete-backup) { min-height: 30px; }
|
|
|
|
.btn-delete-backup { color: var(--red) !important; opacity: 0.75; transition: opacity 0.15s; }
|
|
.btn-delete-backup:hover { opacity: 1; }
|
|
.btn-audit { color: var(--cyan) !important; opacity: 0.9; }
|
|
.btn-audit:hover { opacity: 1; }
|
|
|
|
/* ── CLOUD PAGE ────────────────────────────────────────────── */
|
|
.cloud-status-card .card-header { display: none; }
|
|
|
|
.cloud-status-hero {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
padding-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.cloud-status-hero-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
}
|
|
.cloud-status-icon {
|
|
width: 48px; height: 48px; border-radius: 14px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-size: 20px; color: var(--accent2); flex-shrink: 0;
|
|
background: rgba(79,140,255,0.1);
|
|
border: 1px solid rgba(79,140,255,0.18);
|
|
box-shadow: var(--glow-accent);
|
|
}
|
|
.cloud-status-title {
|
|
font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
|
|
color: var(--text); line-height: 1.2;
|
|
}
|
|
.cloud-status-sub {
|
|
font-size: 12px; color: var(--text3); margin-top: 4px; line-height: 1.4;
|
|
}
|
|
.cloud-status-hero-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.cloud-conn-badge {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
padding: 6px 12px; border-radius: 20px;
|
|
font-family: var(--mono); font-size: 11px; font-weight: 600;
|
|
background: rgba(79,140,255,0.1);
|
|
border: 1px solid rgba(79,140,255,0.2);
|
|
color: var(--accent2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cloud-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
@media (max-width: 900px) {
|
|
.cloud-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 480px) {
|
|
.cloud-stats-grid { grid-template-columns: 1fr; }
|
|
}
|
|
.cloud-stats-grid .stat-card {
|
|
text-align: left;
|
|
padding: 16px 18px;
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
.cloud-stats-grid .stat-number {
|
|
font-size: 26px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.cloud-stats-grid .stat-number.is-text {
|
|
font-size: 14px;
|
|
line-height: 1.35;
|
|
word-break: break-all;
|
|
}
|
|
.cloud-stats-grid .stat-label {
|
|
text-align: left;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.cloud-conn-msg {
|
|
color: var(--text3);
|
|
font-size: 11px;
|
|
font-family: var(--mono);
|
|
margin-top: 14px;
|
|
padding: 10px 14px;
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.cloud-upload-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
max-width: 560px;
|
|
}
|
|
.cloud-upload-form .form-group { width: 100%; }
|
|
.cloud-upload-form .btn-primary { align-self: flex-start; }
|
|
|
|
.cloud-backup-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ── MODAL ─────────────────────────────────────────────────── */
|
|
.modal-overlay {
|
|
position: fixed; inset: 0; z-index: 1000;
|
|
background: rgba(4,5,8,0.78);
|
|
backdrop-filter: blur(10px) saturate(1.2);
|
|
-webkit-backdrop-filter: blur(10px) saturate(1.2);
|
|
display: flex; align-items: center; justify-content: center;
|
|
padding: 20px; animation: fadeIn 0.2s ease;
|
|
}
|
|
.modal-box {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border2);
|
|
border-radius: var(--radius-xl);
|
|
width: 100%; max-width: 600px;
|
|
max-height: 88vh; overflow-y: auto; padding: 24px;
|
|
box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04);
|
|
position: relative;
|
|
animation: modalIn 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
|
|
}
|
|
@keyframes modalIn {
|
|
from { opacity: 0; transform: translateY(16px) scale(0.97); }
|
|
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
}
|
|
[data-theme="light"] .modal-box { box-shadow: var(--shadow-lg); }
|
|
.modal-header {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
margin-bottom: 20px; padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
[data-theme="light"] .modal-header { border-bottom-color: var(--border); }
|
|
.modal-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--text); }
|
|
[data-theme="light"] .modal-title { color: var(--text); }
|
|
.modal-close {
|
|
background: var(--surface2); border: 1px solid var(--border);
|
|
cursor: pointer; color: var(--text3);
|
|
font-size: 14px; line-height: 1; padding: 6px 10px; border-radius: 8px;
|
|
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.modal-close:hover { background: rgba(240,82,82,0.12); color: var(--red); border-color: rgba(240,82,82,0.25); }
|
|
.modal-body { padding: 4px 0 0; }
|
|
.audit-footer {
|
|
display: flex; gap: 8px; margin-top: 18px; padding-top: 14px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
[data-theme="light"] .audit-footer { border-top-color: var(--border); }
|
|
|
|
/* ── NOTICE ────────────────────────────────────────────────── */
|
|
.notice {
|
|
padding: 12px 16px; border-radius: var(--radius);
|
|
font-size: 13px; display: flex; align-items: flex-start; gap: 10px;
|
|
}
|
|
.notice.warning {
|
|
background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
|
|
color: var(--yellow);
|
|
}
|
|
.notice code { font-family: var(--mono); font-size: 12px; background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 4px; }
|
|
|
|
/* ── ALERTS ────────────────────────────────────────────────── */
|
|
.alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; display: none; }
|
|
.alert.show { display: block; }
|
|
.alert-success { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
|
|
.alert-error { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }
|
|
|
|
/* ── EMPTY STATE ───────────────────────────────────────────── */
|
|
.empty-state,
|
|
.empty {
|
|
text-align: center; padding: 40px 24px; color: var(--text3);
|
|
font-size: 13px;
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
|
|
background: var(--surface2);
|
|
border: 1px dashed var(--border2);
|
|
border-radius: var(--radius);
|
|
}
|
|
.empty-state i { font-size: 28px; opacity: 0.3; color: var(--text3); }
|
|
.empty.warn { color: var(--yellow); border-color: rgba(245,185,66,0.25); background: rgba(245,185,66,0.04); }
|
|
|
|
/* ── SETTINGS ──────────────────────────────────────────────── */
|
|
.settings-grid { display: flex; flex-direction: column; gap: 0; }
|
|
.settings-row {
|
|
display: flex; justify-content: space-between; align-items: flex-start;
|
|
gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border);
|
|
}
|
|
.settings-row:last-child { border-bottom: none; }
|
|
.settings-label {
|
|
font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
|
|
color: var(--text3); text-transform: uppercase; flex: 0 0 180px;
|
|
}
|
|
.settings-value { font-size: 14px; color: var(--text2); text-align: right; flex: 1; line-height: 1.45; }
|
|
|
|
/* ── TWO COL ───────────────────────────────────────────────── */
|
|
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
|
|
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }
|
|
|
|
/* ── UTILITIES ─────────────────────────────────────────────── */
|
|
.row-gap { display: flex; align-items: center; gap: 8px; }
|
|
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
|
|
.section-title {
|
|
font-size: 11px; font-weight: 700; color: var(--text2);
|
|
font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
|
|
}
|
|
|
|
/* ── ANIMATION ─────────────────────────────────────────────── */
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(5px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* manual backup wrapper */
|
|
#manual-backup-wrapper { border-top: 1px solid var(--border); padding-top: 16px; }
|
|
|
|
/* ── DASHBOARD CHARTS ──────────────────────────────────────── */
|
|
.dash-charts {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 18px;
|
|
}
|
|
.dash-chart-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 22px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: 280px;
|
|
box-shadow: var(--shadow);
|
|
transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.dash-chart-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(79,140,255,0.2), transparent);
|
|
}
|
|
.dash-chart-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--border2);
|
|
}
|
|
.dash-chart-card h3 {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--text2);
|
|
margin: 0 0 16px;
|
|
align-self: flex-start;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
width: 100%;
|
|
}
|
|
.dash-chart-card h3 i {
|
|
color: var(--accent2);
|
|
font-size: 11px;
|
|
width: 26px; height: 26px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
background: rgba(79,140,255,0.1);
|
|
border-radius: 7px;
|
|
border: 1px solid rgba(79,140,255,0.12);
|
|
}
|
|
.dash-chart-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 210px;
|
|
height: 210px;
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.dash-chart-legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 14px;
|
|
justify-content: center;
|
|
margin-top: 14px;
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
color: var(--text2);
|
|
width: 100%;
|
|
}
|
|
.dash-chart-legend span {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
padding: 4px 10px;
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border);
|
|
border-radius: 20px;
|
|
}
|
|
.dash-chart-legend .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
|
|
.dash-quick-links {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 14px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding-top: 14px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
@media (max-width: 1100px) {
|
|
.dash-charts { grid-template-columns: 1fr; }
|
|
.content { padding: 20px 18px; }
|
|
.topbar { padding: 16px 18px; }
|
|
} |