70c71161f3
- FastAPI backend with full Proxmox VE API integration - ISO builder using proxmox-auto-install-assistant - Premium dark-mode SPA frontend with glassmorphism design - VM lifecycle management (create, start, stop, destroy) - Build pipeline tracking with real-time logs - Deployment automation for custom auto-installer ISOs - Production deployment script (setup.sh + systemd) - Comprehensive README with API documentation
1043 lines
25 KiB
CSS
1043 lines
25 KiB
CSS
/* ============================================================
|
|
Sovereign Orchestrator — Design System
|
|
Premium dark-mode UI with glassmorphism
|
|
============================================================ */
|
|
|
|
/* ---------- Custom Properties ---------- */
|
|
:root {
|
|
/* Core palette */
|
|
--bg-deep: #0a0e1a;
|
|
--bg-surface: #0f1424;
|
|
--bg-elevated: #151b2e;
|
|
--bg-card: rgba(15, 20, 36, 0.65);
|
|
|
|
/* Brand */
|
|
--blue: #3b82f6;
|
|
--blue-glow: rgba(59, 130, 246, 0.35);
|
|
--cyan: #06b6d4;
|
|
--cyan-glow: rgba(6, 182, 212, 0.3);
|
|
--emerald: #10b981;
|
|
--emerald-glow: rgba(16, 185, 129, 0.3);
|
|
--amber: #f59e0b;
|
|
--amber-glow: rgba(245, 158, 11, 0.3);
|
|
--red: #ef4444;
|
|
--red-glow: rgba(239, 68, 68, 0.3);
|
|
|
|
/* Text */
|
|
--text-primary: #f1f5f9;
|
|
--text-secondary:#94a3b8;
|
|
--text-muted: #475569;
|
|
|
|
/* Borders */
|
|
--border-subtle: rgba(148, 163, 184, 0.08);
|
|
--border-hover: rgba(59, 130, 246, 0.3);
|
|
|
|
/* Glass */
|
|
--glass-bg: rgba(15, 20, 40, 0.55);
|
|
--glass-border: rgba(148, 163, 184, 0.1);
|
|
--glass-blur: 16px;
|
|
|
|
/* Radius */
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 16px;
|
|
--radius-xl: 20px;
|
|
|
|
/* Transitions */
|
|
--transition: 0.3s ease;
|
|
--transition-fast: 0.15s ease;
|
|
|
|
/* Sidebar */
|
|
--sidebar-width: 260px;
|
|
|
|
/* Font */
|
|
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
--font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
}
|
|
|
|
/* ---------- Reset ---------- */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html {
|
|
font-size: 15px;
|
|
scroll-behavior: smooth;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
background: var(--bg-deep);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Background grid pattern */
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background-image:
|
|
linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Ambient glow */
|
|
body::after {
|
|
content: '';
|
|
position: fixed;
|
|
top: -40%; left: -20%;
|
|
width: 80vw; height: 80vw;
|
|
background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 70%);
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ---------- Scrollbar ---------- */
|
|
::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }
|
|
|
|
/* ---------- Selection ---------- */
|
|
::selection { background: var(--blue); color: #fff; }
|
|
|
|
/* ============================================================
|
|
SIDEBAR
|
|
============================================================ */
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0; left: 0;
|
|
width: var(--sidebar-width);
|
|
height: 100vh;
|
|
background: rgba(10, 14, 26, 0.92);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border-right: 1px solid var(--glass-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 100;
|
|
transition: transform var(--transition);
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 28px 24px 20px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2rem;
|
|
background: linear-gradient(135deg, var(--blue), var(--cyan));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
filter: drop-shadow(0 0 12px var(--blue-glow));
|
|
animation: logo-shimmer 4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes logo-shimmer {
|
|
0%, 100% { filter: drop-shadow(0 0 12px var(--blue-glow)); }
|
|
50% { filter: drop-shadow(0 0 22px var(--cyan-glow)); }
|
|
}
|
|
|
|
.logo-text { display: flex; flex-direction: column; gap: 1px; }
|
|
.logo-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
background: linear-gradient(135deg, var(--text-primary), var(--cyan));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
.logo-subtitle {
|
|
font-size: 0.72rem;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
letter-spacing: 2.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Nav */
|
|
.nav-list {
|
|
list-style: none;
|
|
padding: 16px 12px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 0.93rem;
|
|
transition: all var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nav-link::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: var(--radius-md);
|
|
background: linear-gradient(135deg, var(--blue-glow), transparent);
|
|
opacity: 0;
|
|
transition: opacity var(--transition);
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(59, 130, 246, 0.08);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--text-primary);
|
|
background: rgba(59, 130, 246, 0.12);
|
|
}
|
|
.nav-link.active::before { opacity: 1; }
|
|
.nav-link.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; top: 25%; bottom: 25%;
|
|
width: 3px;
|
|
border-radius: 0 3px 3px 0;
|
|
background: var(--blue);
|
|
box-shadow: 0 0 12px var(--blue-glow);
|
|
}
|
|
|
|
.nav-icon { font-size: 1.2rem; position: relative; z-index: 1; }
|
|
.nav-label { position: relative; z-index: 1; }
|
|
|
|
/* Sidebar Footer */
|
|
.sidebar-footer {
|
|
padding: 16px 20px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.status-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(16, 185, 129, 0.06);
|
|
border: 1px solid rgba(16, 185, 129, 0.15);
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
transition: all var(--transition);
|
|
}
|
|
.status-badge.error {
|
|
background: rgba(239, 68, 68, 0.06);
|
|
border-color: rgba(239, 68, 68, 0.15);
|
|
}
|
|
|
|
/* Pulse Dot */
|
|
.pulse-dot {
|
|
width: 8px; height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--emerald);
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
.pulse-dot::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -3px;
|
|
border-radius: 50%;
|
|
background: var(--emerald);
|
|
opacity: 0.5;
|
|
animation: pulse-ring 2s ease-out infinite;
|
|
}
|
|
@keyframes pulse-ring {
|
|
0% { transform: scale(1); opacity: 0.5; }
|
|
100% { transform: scale(2.2); opacity: 0; }
|
|
}
|
|
|
|
.status-badge.error .pulse-dot,
|
|
.status-badge.error .pulse-dot::after { background: var(--red); }
|
|
|
|
/* Mobile Toggle */
|
|
.mobile-toggle {
|
|
display: none;
|
|
position: fixed;
|
|
top: 18px; left: 18px;
|
|
z-index: 200;
|
|
width: 44px; height: 44px;
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
.mobile-toggle span {
|
|
display: block;
|
|
width: 20px; height: 2px;
|
|
background: var(--text-primary);
|
|
border-radius: 2px;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
/* ============================================================
|
|
MAIN CONTENT
|
|
============================================================ */
|
|
.main-content {
|
|
margin-left: var(--sidebar-width);
|
|
flex: 1;
|
|
min-height: 100vh;
|
|
padding: 40px 48px 60px;
|
|
transition: margin-left var(--transition);
|
|
}
|
|
|
|
/* Sections */
|
|
.section {
|
|
display: none;
|
|
animation: fadeSlideIn 0.4s ease both;
|
|
}
|
|
.section.active { display: block; }
|
|
|
|
@keyframes fadeSlideIn {
|
|
from { opacity: 0; transform: translateY(16px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.section-header { margin-bottom: 36px; }
|
|
.section-title {
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.5px;
|
|
background: linear-gradient(135deg, var(--text-primary) 30%, var(--blue));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
.section-subtitle {
|
|
color: var(--text-secondary);
|
|
font-size: 0.95rem;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.sub-heading {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
margin: 36px 0 16px;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
/* ============================================================
|
|
GLASS CARD
|
|
============================================================ */
|
|
.glass-card {
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(var(--glass-blur));
|
|
-webkit-backdrop-filter: blur(var(--glass-blur));
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
transition: all var(--transition);
|
|
}
|
|
.glass-card:hover {
|
|
border-color: var(--border-hover);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-hover);
|
|
}
|
|
|
|
/* ============================================================
|
|
STATUS CARDS (Dashboard)
|
|
============================================================ */
|
|
.status-cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.status-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 20px 22px;
|
|
}
|
|
|
|
.status-card-icon {
|
|
width: 48px; height: 48px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.3rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.status-card-icon.blue { background: rgba(59, 130, 246, 0.12); }
|
|
.status-card-icon.cyan { background: rgba(6, 182, 212, 0.12); }
|
|
.status-card-icon.emerald { background: rgba(16, 185, 129, 0.12); }
|
|
.status-card-icon.amber { background: rgba(245, 158, 11, 0.12); }
|
|
|
|
.status-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex: 1;
|
|
}
|
|
.status-card-label {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: 600;
|
|
}
|
|
.status-card-value {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
.status-card-indicator { flex-shrink: 0; }
|
|
|
|
/* ============================================================
|
|
QUICK ACTIONS
|
|
============================================================ */
|
|
.quick-actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.action-card {
|
|
cursor: pointer;
|
|
text-align: center;
|
|
padding: 28px 20px;
|
|
border: 1px solid var(--glass-border);
|
|
background: var(--glass-bg);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-body);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transition: all var(--transition);
|
|
}
|
|
.action-card:hover {
|
|
transform: translateY(-4px) scale(1.02);
|
|
border-color: var(--blue);
|
|
box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
|
|
}
|
|
.action-icon { font-size: 2rem; }
|
|
.action-title { font-weight: 600; font-size: 0.95rem; }
|
|
.action-desc { font-size: 0.8rem; color: var(--text-muted); }
|
|
|
|
/* ============================================================
|
|
TIMELINE
|
|
============================================================ */
|
|
.timeline-card { padding: 24px 28px; max-height: 420px; overflow-y: auto; }
|
|
|
|
.timeline { position: relative; }
|
|
.timeline::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 7px; top: 0; bottom: 0;
|
|
width: 2px;
|
|
background: linear-gradient(180deg, var(--blue), transparent);
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
padding: 0 0 24px 32px;
|
|
}
|
|
.timeline-item:last-child { padding-bottom: 0; }
|
|
|
|
.timeline-dot {
|
|
position: absolute;
|
|
left: 0; top: 4px;
|
|
width: 16px; height: 16px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--blue);
|
|
background: var(--bg-deep);
|
|
z-index: 1;
|
|
}
|
|
.timeline-dot.success { border-color: var(--emerald); background: rgba(16,185,129,0.15); }
|
|
.timeline-dot.error { border-color: var(--red); background: rgba(239,68,68,0.15); }
|
|
.timeline-dot.pending { border-color: var(--amber); background: rgba(245,158,11,0.15); }
|
|
|
|
.timeline-content {
|
|
background: rgba(15, 20, 36, 0.5);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
padding: 14px 18px;
|
|
transition: border-color var(--transition);
|
|
}
|
|
.timeline-content:hover { border-color: var(--border-hover); }
|
|
|
|
.timeline-title {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
.timeline-meta {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
}
|
|
.timeline-id {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ============================================================
|
|
FORMS
|
|
============================================================ */
|
|
.form-card { margin-bottom: 20px; }
|
|
|
|
.form-group-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
color: var(--text-primary);
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
.form-field.full-width { grid-column: 1 / -1; }
|
|
|
|
.form-field label {
|
|
display: block;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8px;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.form-field input,
|
|
.form-field select,
|
|
.form-field textarea {
|
|
width: 100%;
|
|
padding: 11px 16px;
|
|
font-size: 0.9rem;
|
|
font-family: var(--font-body);
|
|
color: var(--text-primary);
|
|
background: rgba(10, 14, 26, 0.7);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
outline: none;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.form-field input::placeholder,
|
|
.form-field textarea::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-field input:focus,
|
|
.form-field select:focus,
|
|
.form-field textarea:focus {
|
|
border-color: var(--blue);
|
|
box-shadow: 0 0 0 3px var(--blue-glow), 0 0 20px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.form-field input:invalid:not(:placeholder-shown) {
|
|
border-color: var(--red);
|
|
box-shadow: 0 0 0 3px var(--red-glow);
|
|
}
|
|
|
|
.form-field select {
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 14px center;
|
|
padding-right: 40px;
|
|
}
|
|
.form-field select option {
|
|
background: var(--bg-elevated);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.form-field textarea { resize: vertical; min-height: 80px; }
|
|
|
|
.field-hint {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* ============================================================
|
|
BUTTONS
|
|
============================================================ */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 11px 24px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
font-family: var(--font-body);
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--blue), #2563eb);
|
|
color: #fff;
|
|
box-shadow: 0 4px 16px var(--blue-glow);
|
|
}
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px) scale(1.03);
|
|
box-shadow: 0 8px 28px var(--blue-glow);
|
|
}
|
|
.btn-primary:active { transform: translateY(0) scale(0.98); }
|
|
|
|
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
.btn-ghost:hover {
|
|
color: var(--text-primary);
|
|
border-color: var(--text-secondary);
|
|
background: rgba(148, 163, 184, 0.06);
|
|
}
|
|
|
|
.btn-success {
|
|
background: linear-gradient(135deg, var(--emerald), #059669);
|
|
color: #fff;
|
|
box-shadow: 0 4px 16px var(--emerald-glow);
|
|
}
|
|
.btn-success:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px var(--emerald-glow);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: linear-gradient(135deg, var(--red), #dc2626);
|
|
color: #fff;
|
|
box-shadow: 0 4px 16px var(--red-glow);
|
|
}
|
|
.btn-danger:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px var(--red-glow);
|
|
}
|
|
|
|
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
}
|
|
|
|
/* Spinner inside buttons */
|
|
.btn-spinner {
|
|
width: 16px; height: 16px;
|
|
border: 2px solid rgba(255,255,255,0.3);
|
|
border-top-color: #fff;
|
|
border-radius: 50%;
|
|
animation: spin 0.6s linear infinite;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
/* ============================================================
|
|
TERMINAL / BUILD LOG
|
|
============================================================ */
|
|
.terminal-card {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(59, 130, 246, 0.15);
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.terminal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 18px;
|
|
background: rgba(10, 14, 26, 0.8);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.terminal-dots { display: flex; gap: 7px; }
|
|
.terminal-dots .dot {
|
|
width: 12px; height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
.terminal-dots .dot.red { background: #ff5f57; }
|
|
.terminal-dots .dot.yellow { background: #febc2e; }
|
|
.terminal-dots .dot.green { background: #28c840; }
|
|
|
|
.terminal-title {
|
|
flex: 1;
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.terminal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
padding: 4px;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
.terminal-close:hover { color: var(--text-primary); }
|
|
|
|
.terminal-body {
|
|
padding: 20px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.82rem;
|
|
line-height: 1.7;
|
|
color: var(--emerald);
|
|
background: rgba(5, 8, 15, 0.9);
|
|
min-height: 180px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* ============================================================
|
|
BUILDS LIST
|
|
============================================================ */
|
|
.builds-list { max-height: 500px; overflow-y: auto; }
|
|
|
|
.build-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
transition: background var(--transition-fast);
|
|
cursor: pointer;
|
|
}
|
|
.build-item:last-child { border-bottom: none; }
|
|
.build-item:hover { background: rgba(59, 130, 246, 0.04); }
|
|
|
|
.build-status-dot {
|
|
width: 10px; height: 10px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
.build-status-dot.success { background: var(--emerald); box-shadow: 0 0 8px var(--emerald-glow); }
|
|
.build-status-dot.error { background: var(--red); box-shadow: 0 0 8px var(--red-glow); }
|
|
.build-status-dot.pending { background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
|
|
|
|
.build-info { flex: 1; min-width: 0; }
|
|
.build-name {
|
|
font-weight: 600;
|
|
font-size: 0.88rem;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.build-detail {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.build-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.build-badge.success { background: rgba(16,185,129,0.12); color: var(--emerald); }
|
|
.build-badge.error { background: rgba(239,68,68,0.12); color: var(--red); }
|
|
.build-badge.pending { background: rgba(245,158,11,0.12); color: var(--amber); }
|
|
|
|
/* ============================================================
|
|
DEPLOY LAYOUT
|
|
============================================================ */
|
|
.deploy-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 24px;
|
|
align-items: start;
|
|
}
|
|
|
|
/* ============================================================
|
|
VM CONTROL
|
|
============================================================ */
|
|
.vm-lookup-card { margin-bottom: 24px; }
|
|
|
|
.vm-lookup-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-end;
|
|
}
|
|
.vm-lookup-row .form-field { flex: 1; }
|
|
.vm-lookup-row .form-field input { margin: 0; }
|
|
|
|
.vm-cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.vm-card { padding: 0; overflow: hidden; }
|
|
|
|
.vm-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 22px;
|
|
background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(6,182,212,0.05));
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.vm-card-title {
|
|
font-weight: 700;
|
|
font-size: 1.05rem;
|
|
}
|
|
.vm-card-title span { color: var(--cyan); font-family: var(--font-mono); }
|
|
|
|
.vm-status-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.vm-status-tag.running {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--emerald);
|
|
}
|
|
.vm-status-tag.stopped {
|
|
background: rgba(148, 163, 184, 0.1);
|
|
color: var(--text-muted);
|
|
}
|
|
.vm-status-tag.unknown {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
}
|
|
.vm-status-tag .tag-dot {
|
|
width: 7px; height: 7px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
|
|
.vm-card-body { padding: 20px 22px; }
|
|
|
|
.vm-info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.vm-info-item { }
|
|
.vm-info-label {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
font-weight: 600;
|
|
}
|
|
.vm-info-value {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.vm-card-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ============================================================
|
|
EMPTY STATE
|
|
============================================================ */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 48px 20px;
|
|
color: var(--text-muted);
|
|
}
|
|
.empty-icon {
|
|
font-size: 3rem;
|
|
display: block;
|
|
margin-bottom: 12px;
|
|
opacity: 0.4;
|
|
}
|
|
.empty-state p { font-size: 0.9rem; }
|
|
|
|
/* ============================================================
|
|
TOAST NOTIFICATIONS
|
|
============================================================ */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 24px;
|
|
right: 24px;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 20px;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(15, 20, 40, 0.92);
|
|
backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
font-size: 0.88rem;
|
|
color: var(--text-primary);
|
|
pointer-events: auto;
|
|
animation: toastIn 0.35s ease both;
|
|
max-width: 420px;
|
|
}
|
|
.toast.leaving { animation: toastOut 0.3s ease both; }
|
|
|
|
.toast.success { border-left: 3px solid var(--emerald); }
|
|
.toast.error { border-left: 3px solid var(--red); }
|
|
.toast.info { border-left: 3px solid var(--blue); }
|
|
.toast.warning { border-left: 3px solid var(--amber); }
|
|
|
|
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
|
|
.toast-message { flex: 1; }
|
|
|
|
@keyframes toastIn {
|
|
from { opacity: 0; transform: translateX(40px) scale(0.95); }
|
|
to { opacity: 1; transform: translateX(0) scale(1); }
|
|
}
|
|
@keyframes toastOut {
|
|
from { opacity: 1; transform: translateX(0) scale(1); }
|
|
to { opacity: 0; transform: translateX(40px) scale(0.95); }
|
|
}
|
|
|
|
/* ============================================================
|
|
LOADING OVERLAY
|
|
============================================================ */
|
|
.loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(10, 14, 26, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-lg);
|
|
z-index: 10;
|
|
}
|
|
|
|
.loader {
|
|
width: 36px; height: 36px;
|
|
border: 3px solid rgba(59, 130, 246, 0.15);
|
|
border-top-color: var(--blue);
|
|
border-radius: 50%;
|
|
animation: spin 0.7s linear infinite;
|
|
}
|
|
|
|
/* ============================================================
|
|
PROGRESS BAR
|
|
============================================================ */
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 4px;
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-top: 8px;
|
|
}
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--blue), var(--cyan));
|
|
border-radius: 4px;
|
|
width: 0%;
|
|
transition: width 0.5s ease;
|
|
position: relative;
|
|
}
|
|
.progress-bar-fill.indeterminate {
|
|
width: 30% !important;
|
|
animation: indeterminate 1.5s ease-in-out infinite;
|
|
}
|
|
@keyframes indeterminate {
|
|
0% { transform: translateX(-100%); }
|
|
100% { transform: translateX(450%); }
|
|
}
|
|
|
|
/* ============================================================
|
|
RESPONSIVE
|
|
============================================================ */
|
|
@media (max-width: 1024px) {
|
|
.deploy-layout { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar { transform: translateX(-100%); }
|
|
.sidebar.open { transform: translateX(0); }
|
|
|
|
.mobile-toggle { display: flex; }
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
padding: 24px 20px 40px;
|
|
}
|
|
|
|
.status-cards-grid { grid-template-columns: 1fr 1fr; }
|
|
.quick-actions-grid { grid-template-columns: 1fr 1fr; }
|
|
.form-grid { grid-template-columns: 1fr; }
|
|
.vm-cards-grid { grid-template-columns: 1fr; }
|
|
.vm-lookup-row { flex-direction: column; align-items: stretch; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.status-cards-grid { grid-template-columns: 1fr; }
|
|
.quick-actions-grid { grid-template-columns: 1fr; }
|
|
.section-title { font-size: 1.5rem; }
|
|
}
|