/* ═══════════════════════════════════════════════════════════ AutoDeployer — Design System Premium dark theme with glassmorphism ═══════════════════════════════════════════════════════════ */ /* ─── CSS Variables ──────────────────────────────────────── */ :root { --bg-primary: #0a0e1a; --bg-secondary: #111827; --bg-card: rgba(17, 24, 39, 0.7); --bg-card-hover: rgba(30, 41, 59, 0.8); --bg-glass: rgba(255, 255, 255, 0.03); --bg-glass-hover: rgba(255, 255, 255, 0.06); --bg-input: rgba(255, 255, 255, 0.05); --bg-input-focus: rgba(255, 255, 255, 0.08); --border-primary: rgba(255, 255, 255, 0.06); --border-hover: rgba(255, 255, 255, 0.12); --border-focus: rgba(99, 102, 241, 0.5); --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-tertiary: #64748b; --text-muted: #475569; --accent: #6366f1; --accent-hover: #818cf8; --accent-muted: rgba(99, 102, 241, 0.15); --accent-glow: rgba(99, 102, 241, 0.3); --status-running: #10b981; --status-running-bg: rgba(16, 185, 129, 0.12); --status-building: #f59e0b; --status-building-bg: rgba(245, 158, 11, 0.12); --status-error: #ef4444; --status-error-bg: rgba(239, 68, 68, 0.12); --status-stopped: #64748b; --status-stopped-bg: rgba(100, 116, 139, 0.12); --status-queued: #8b5cf6; --status-queued-bg: rgba(139, 92, 246, 0.12); --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 20px var(--accent-glow); --sidebar-width: 260px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px; --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'JetBrains Mono', 'Fira Code', monospace; --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1); --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1); } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 14px; -webkit-font-smoothing: antialiased; } body { font-family: var(--font-sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; overflow-x: hidden; } body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.03) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.03) 0%, transparent 50%); pointer-events: none; z-index: 0; } #app { position: relative; z-index: 1; } a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: var(--accent-hover); } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); } /* ─── Layout ─────────────────────────────────────────────── */ .app-layout { display: flex; min-height: 100vh; } .main-content { flex: 1; margin-left: var(--sidebar-width); padding: 32px; max-width: calc(100vw - var(--sidebar-width)); min-height: 100vh; } /* ─── Sidebar ────────────────────────────────────────────── */ .sidebar { position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh; background: rgba(17, 24, 39, 0.85); backdrop-filter: blur(20px); border-right: 1px solid var(--border-primary); display: flex; flex-direction: column; z-index: 100; overflow-y: auto; } .sidebar-brand { padding: 24px 20px; border-bottom: 1px solid var(--border-primary); display: flex; align-items: center; gap: 12px; } .sidebar-brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--accent), #8b5cf6); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-glow); color: white; } .sidebar-brand h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--text-primary), var(--accent-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; } .sidebar-section { margin-top: 20px; margin-bottom: 8px; padding: 0 8px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); } .sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: all var(--transition-fast); cursor: pointer; border: 1px solid transparent; } .sidebar-link:hover { background: var(--bg-glass-hover); color: var(--text-primary); } .sidebar-link.active { background: var(--accent-muted); color: var(--accent-hover); border-color: rgba(99, 102, 241, 0.2); } .sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; } .sidebar-footer { padding: 16px; border-top: 1px solid var(--border-primary); } /* ─── Page Header ────────────────────────────────────────── */ .page-header { margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; } .page-header h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; } .page-header p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; } /* ─── Cards ──────────────────────────────────────────────── */ .card { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-primary); border-radius: var(--radius-lg); padding: 24px; transition: all var(--transition-normal); } .card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); } .card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .card-title { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; } .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; } /* ─── Status Badges ──────────────────────────────────────── */ .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; } .status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } .status-badge.running { background: var(--status-running-bg); color: var(--status-running); } .status-badge.running::before { background: var(--status-running); box-shadow: 0 0 6px var(--status-running); } .status-badge.building { background: var(--status-building-bg); color: var(--status-building); animation: pulse-badge 2s ease-in-out infinite; } .status-badge.building::before { background: var(--status-building); } .status-badge.error, .status-badge.failed { background: var(--status-error-bg); color: var(--status-error); } .status-badge.error::before, .status-badge.failed::before { background: var(--status-error); } .status-badge.stopped { background: var(--status-stopped-bg); color: var(--status-stopped); } .status-badge.stopped::before { background: var(--status-stopped); } .status-badge.queued { background: var(--status-queued-bg); color: var(--status-queued); } .status-badge.queued::before { background: var(--status-queued); animation: pulse-dot 1.5s infinite; } .status-badge.success { background: var(--status-running-bg); color: var(--status-running); } .status-badge.success::before { background: var(--status-running); } @keyframes pulse-badge { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } @keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } } /* ─── Buttons ────────────────────────────────────────────── */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; font-family: var(--font-sans); cursor: pointer; border: 1px solid transparent; transition: all var(--transition-fast); white-space: nowrap; } .btn svg { width: 16px; height: 16px; } .btn-primary { background: linear-gradient(135deg, var(--accent), #7c3aed); color: white; border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25); } .btn-primary:hover { background: linear-gradient(135deg, var(--accent-hover), #8b5cf6); box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35); transform: translateY(-1px); } .btn-secondary { background: var(--bg-glass); color: var(--text-secondary); border-color: var(--border-primary); } .btn-secondary:hover { background: var(--bg-glass-hover); color: var(--text-primary); border-color: var(--border-hover); } .btn-danger { background: rgba(239, 68, 68, 0.1); color: var(--status-error); border-color: rgba(239, 68, 68, 0.2); } .btn-danger:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); } .btn-sm { padding: 5px 12px; font-size: 0.78rem; } .btn-icon { padding: 8px; border-radius: var(--radius-sm); } .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; } /* ─── Forms ──────────────────────────────────────────────── */ .form-group { margin-bottom: 18px; } .form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; } .form-input, .form-select, textarea.form-input { width: 100%; padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border-primary); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.9rem; transition: all var(--transition-fast); outline: none; } .form-input:focus, .form-select:focus, textarea.form-input:focus { background: var(--bg-input-focus); border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-muted); } .form-input::placeholder { color: var(--text-muted); } .form-input.mono { font-family: var(--font-mono); font-size: 0.85rem; } textarea.form-input { min-height: 100px; resize: vertical; font-family: var(--font-mono); font-size: 0.85rem; } .form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .form-hint { font-size: 0.75rem; color: var(--text-tertiary); margin-top: 4px; } .form-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; } .form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; } /* ─── Toggle ──────────────────────────────────────────── */ .toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; } .toggle input { display: none; } .toggle-track { width: 40px; height: 22px; background: var(--bg-input); border: 1px solid var(--border-primary); border-radius: 11px; position: relative; transition: all var(--transition-fast); } .toggle-track::after { content: ''; position: absolute; width: 16px; height: 16px; background: var(--text-tertiary); border-radius: 50%; top: 2px; left: 2px; transition: all var(--transition-fast); } .toggle input:checked + .toggle-track { background: var(--accent-muted); border-color: var(--accent); } .toggle input:checked + .toggle-track::after { background: var(--accent); left: 20px; } /* ─── Tables ─────────────────────────────────────────────── */ .table-container { overflow-x: auto; border: 1px solid var(--border-primary); border-radius: var(--radius-md); } table { width: 100%; border-collapse: collapse; } th, td { padding: 12px 16px; text-align: left; } th { background: var(--bg-glass); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-tertiary); border-bottom: 1px solid var(--border-primary); } td { border-bottom: 1px solid var(--border-primary); font-size: 0.85rem; } tr:last-child td { border-bottom: none; } tr:hover td { background: var(--bg-glass); } /* ─── Tabs ───────────────────────────────────────────────── */ .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-primary); margin-bottom: 24px; overflow-x: auto; } .tab { padding: 12px 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-tertiary); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition-fast); white-space: nowrap; background: none; border-top: none; border-left: none; border-right: none; font-family: var(--font-sans); } .tab:hover { color: var(--text-primary); } .tab.active { color: var(--accent-hover); border-bottom-color: var(--accent); } /* ─── Log Viewer ─────────────────────────────────────────── */ .log-viewer { background: #0d1117; border: 1px solid var(--border-primary); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; overflow-y: auto; max-height: 500px; padding: 16px; } .log-line { white-space: pre-wrap; word-break: break-all; color: var(--text-secondary); } .log-line.error { color: var(--status-error); } .log-line.info { color: var(--accent); } /* ─── Modal ──────────────────────────────────────────────── */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; animation: fadeIn var(--transition-fast) ease-out; } .modal { background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: var(--radius-xl); padding: 32px; max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slideUp var(--transition-normal) ease-out; } .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; } .modal-title { font-size: 1.2rem; font-weight: 700; } .hidden { display: none !important; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } /* ─── Empty State ────────────────────────────────────────── */ .empty-state { text-align: center; padding: 60px 20px; color: var(--text-tertiary); } .empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; } .empty-state p { font-size: 0.9rem; max-width: 400px; margin: 0 auto 20px; } /* ─── Login ─────────────────────────────────────────────── */ .login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-primary); } .login-card { background: var(--bg-card); backdrop-filter: blur(20px); border: 1px solid var(--border-primary); border-radius: var(--radius-xl); padding: 40px; width: 90%; max-width: 420px; box-shadow: var(--shadow-lg); } .login-brand { text-align: center; margin-bottom: 32px; } .login-brand-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent), #8b5cf6); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; box-shadow: var(--shadow-glow); color: white; } .login-brand h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; } .login-brand p { color: var(--text-tertiary); font-size: 0.85rem; } .login-error { background: var(--status-error-bg); color: var(--status-error); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 16px; border: 1px solid rgba(239, 68, 68, 0.2); } /* ─── Service Card ───────────────────────────────────────── */ .service-card { position: relative; overflow: hidden; cursor: pointer; } .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity var(--transition-normal); } .service-card:hover::before { opacity: 1; } .service-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; } .service-card-name { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 10px; } .service-card-repo { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-tertiary); margin-top: 4px; display: flex; align-items: center; gap: 6px; } .service-card-meta { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-primary); } .service-card-meta-item { font-size: 0.78rem; color: var(--text-tertiary); display: flex; align-items: center; gap: 4px; } .service-card-actions { display: flex; gap: 6px; margin-top: 14px; } /* ─── Monitoring ─────────────────────────────────────────── */ .monitoring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; } .metric-value { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--text-primary), var(--accent-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .metric-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-top: 2px; } /* ─── Terminal ───────────────────────────────────────────── */ .terminal-container { background: #0d1117; border: 1px solid var(--border-primary); border-radius: var(--radius-md); overflow: hidden; } .terminal-header { background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border-primary); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; } .terminal-dots { display: flex; gap: 6px; } .terminal-dot { width: 10px; height: 10px; border-radius: 50%; } .terminal-dot.red { background: #ff5f56; } .terminal-dot.yellow { background: #ffbd2e; } .terminal-dot.green { background: #27c93f; } .terminal-body { padding: 4px; min-height: 300px; } /* ─── Chart container ─────────────────────────────────────── */ .chart-container { width: 100%; height: 300px; position: relative; } .chart-container canvas { width: 100% !important; height: 100% !important; } /* ─── Settings grid ───────────────────────────────────────── */ .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } /* ─── Utility ────────────────────────────────────────────── */ .flex { display: flex; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .text-sm { font-size: 0.85rem; } .text-xs { font-size: 0.75rem; } .text-muted { color: var(--text-tertiary); } .text-mono { font-family: var(--font-mono); } .font-bold { font-weight: 700; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .w-full { width: 100%; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } @keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .animate-slide-in { animation: slideInRight var(--transition-normal) ease-out; } /* ─── Logs page layout ─────────────────────────────────────── */ .logs-layout { display: grid; grid-template-columns: 350px 1fr; gap: 16px; min-height: 500px; } @media (max-width: 768px) { .sidebar { width: 100%; height: auto; position: relative; } .main-content { margin-left: 0; padding: 16px; max-width: 100%; } .card-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .page-header { flex-direction: column; align-items: flex-start; } .settings-grid { grid-template-columns: 1fr; } .logs-layout { grid-template-columns: 1fr; } }