mirror of
https://github.com/trailofbits/algo.git
synced 2026-08-17 21:25:50 +02:00
Remove Google Fonts dependency to ensure the web UI works completely offline. Uses high-quality system font stacks: - Mono: ui-monospace, SF Mono, Menlo, Consolas - Sans: system-ui, Segoe UI, Roboto, Helvetica Neue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
987 lines
19 KiB
CSS
987 lines
19 KiB
CSS
/*
|
|
* Algo VPN Web UI - "Luxury Terminal" Design System
|
|
* A refined, trust-inspiring dark theme that honors CLI roots
|
|
*/
|
|
|
|
/* === CSS Variables === */
|
|
:root {
|
|
/* Deep, trust-inspiring dark theme */
|
|
--bg-primary: #0a0a0b;
|
|
--bg-secondary: #111113;
|
|
--bg-tertiary: #18181b;
|
|
--bg-elevated: #1f1f23;
|
|
|
|
/* Accent: Electric teal - security, trust, technology */
|
|
--accent: #00d4aa;
|
|
--accent-hover: #00eabc;
|
|
--accent-dim: #00a888;
|
|
--accent-glow: rgba(0, 212, 170, 0.12);
|
|
--accent-glow-strong: rgba(0, 212, 170, 0.25);
|
|
|
|
/* Text hierarchy */
|
|
--text-primary: #f4f4f5;
|
|
--text-secondary: #a1a1aa;
|
|
--text-tertiary: #71717a;
|
|
--text-muted: #52525b;
|
|
|
|
/* Status colors */
|
|
--success: #22c55e;
|
|
--success-glow: rgba(34, 197, 94, 0.15);
|
|
--warning: #f59e0b;
|
|
--warning-glow: rgba(245, 158, 11, 0.15);
|
|
--error: #ef4444;
|
|
--error-glow: rgba(239, 68, 68, 0.15);
|
|
|
|
/* Borders and lines */
|
|
--border: #27272a;
|
|
--border-light: #3f3f46;
|
|
--border-focus: var(--accent);
|
|
|
|
/* Spacing */
|
|
--space-xs: 0.25rem;
|
|
--space-sm: 0.5rem;
|
|
--space-md: 1rem;
|
|
--space-lg: 1.5rem;
|
|
--space-xl: 2rem;
|
|
--space-2xl: 3rem;
|
|
|
|
/* Typography - system fonts only for offline support */
|
|
--font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
|
|
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
/* Transitions */
|
|
--transition-fast: 150ms ease;
|
|
--transition-normal: 250ms ease;
|
|
--transition-slow: 400ms ease;
|
|
|
|
/* Border radius */
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
}
|
|
|
|
/* === Reset & Base === */
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
font-size: 0.9375rem;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
background: var(--bg-primary);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* === Ambient Background === */
|
|
.ambient-bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background:
|
|
radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.08), transparent),
|
|
radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 100, 80, 0.05), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* === App Container === */
|
|
.app-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
/* === Header === */
|
|
.app-header {
|
|
/* Full-bleed header bar like checksec-anywhere */
|
|
background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
/* Match container padding for proper full-bleed */
|
|
margin: 0 calc(-1 * var(--space-lg));
|
|
padding: 0 var(--space-lg);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.header-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: var(--space-md) 0;
|
|
}
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.header-icon-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-tertiary);
|
|
padding: var(--space-sm);
|
|
border-radius: var(--radius-sm);
|
|
transition: color var(--transition-fast), background var(--transition-fast);
|
|
}
|
|
|
|
.header-icon-link:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Logo image in header */
|
|
.logo-link {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 52px;
|
|
width: auto;
|
|
transition: filter var(--transition-fast), transform var(--transition-fast);
|
|
}
|
|
|
|
.logo-link:hover .logo-img {
|
|
filter: brightness(1.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* === Main Content === */
|
|
.app-main {
|
|
flex: 1;
|
|
}
|
|
|
|
/* === Footer === */
|
|
.app-footer {
|
|
margin-top: var(--space-2xl);
|
|
padding-top: var(--space-lg);
|
|
border-top: 1px solid var(--border);
|
|
text-align: center;
|
|
color: var(--text-tertiary);
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.footer-links {
|
|
margin-top: var(--space-xs);
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* Trail of Bits attribution */
|
|
.tob-credit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
margin-top: var(--space-lg);
|
|
padding: var(--space-sm) var(--space-md);
|
|
text-decoration: none;
|
|
opacity: 0.6;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.tob-credit:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.tob-text {
|
|
font-size: 0.6875rem;
|
|
color: var(--text-tertiary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.tob-logo {
|
|
height: 24px;
|
|
width: auto;
|
|
/* Invert for dark theme - makes dark logo light */
|
|
filter: invert(1) brightness(0.7);
|
|
transition: filter var(--transition-fast);
|
|
}
|
|
|
|
.tob-credit:hover .tob-logo {
|
|
filter: invert(1) brightness(1);
|
|
}
|
|
|
|
.footer-links .sep {
|
|
margin: 0 var(--space-sm);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* === Layout: Two Column === */
|
|
.layout-two-col {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: var(--space-xl);
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.layout-two-col {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* === Sidebar: Provider Selection === */
|
|
.sidebar {
|
|
position: sticky;
|
|
top: var(--space-lg);
|
|
}
|
|
|
|
.sidebar-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.15em;
|
|
text-transform: uppercase;
|
|
color: var(--text-tertiary);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.provider-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.provider-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all var(--transition-normal);
|
|
}
|
|
|
|
.provider-card:hover {
|
|
background: var(--bg-tertiary);
|
|
border-color: var(--border-light);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.provider-card.selected {
|
|
background: var(--bg-elevated);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--accent-glow), 0 0 20px var(--accent-glow);
|
|
}
|
|
|
|
.provider-card input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
.provider-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--accent);
|
|
background: var(--accent-glow);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.provider-name {
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* === Main Panel === */
|
|
.main-panel {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-header {
|
|
padding: var(--space-lg);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.panel-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.panel-subtitle {
|
|
margin-top: var(--space-xs);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.panel-body {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
/* === Forms === */
|
|
.form-section {
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.form-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-section-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.6875rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.15em;
|
|
text-transform: uppercase;
|
|
color: var(--text-tertiary);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.form-label .required {
|
|
color: var(--error);
|
|
}
|
|
|
|
.form-help {
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary);
|
|
margin-top: var(--space-xs);
|
|
}
|
|
|
|
.form-help a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-help a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Input fields */
|
|
.form-input,
|
|
.form-select {
|
|
width: 100%;
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.875rem;
|
|
color: var(--text-primary);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.form-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-input:hover,
|
|
.form-select:hover {
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.form-input:focus,
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px var(--accent-glow);
|
|
}
|
|
|
|
.form-input.error {
|
|
border-color: var(--error);
|
|
box-shadow: 0 0 0 3px var(--error-glow);
|
|
}
|
|
|
|
/* Checkboxes */
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-md) var(--space-xl);
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"] {
|
|
position: relative;
|
|
width: 18px;
|
|
height: 18px;
|
|
appearance: none;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"]:hover {
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"]:checked {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"]:checked::after {
|
|
content: '✓';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 12px;
|
|
color: var(--bg-primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.checkbox-label span {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Tags input (users) */
|
|
.tags-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
min-height: 44px;
|
|
}
|
|
|
|
.tag {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8125rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tag-remove {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.tag-remove:hover {
|
|
color: var(--error);
|
|
}
|
|
|
|
.tags-input {
|
|
flex: 1;
|
|
min-width: 100px;
|
|
border: none;
|
|
background: none;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8125rem;
|
|
color: var(--text-primary);
|
|
outline: none;
|
|
}
|
|
|
|
.tags-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* === Buttons === */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-lg);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all var(--transition-normal);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: var(--bg-primary);
|
|
background: var(--accent);
|
|
box-shadow: 0 0 20px var(--accent-glow);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--accent-hover);
|
|
box-shadow: 0 0 30px var(--accent-glow-strong);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
color: var(--text-primary);
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--bg-elevated);
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.btn-danger {
|
|
color: var(--text-primary);
|
|
background: var(--error);
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: var(--space-md) var(--space-xl);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Button shimmer effect */
|
|
.btn-primary {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-primary::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.2),
|
|
transparent
|
|
);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.btn-primary:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
/* === Loading States === */
|
|
.loading-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.spinner {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid var(--border);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Skeleton loader */
|
|
.skeleton {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--bg-tertiary) 25%,
|
|
var(--bg-elevated) 50%,
|
|
var(--bg-tertiary) 75%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-loading 1.5s ease-in-out infinite;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
@keyframes skeleton-loading {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
/* === Alerts === */
|
|
.alert {
|
|
padding: var(--space-md);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.alert-error {
|
|
color: #fca5a5;
|
|
background: var(--error-glow);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.alert-success {
|
|
color: #86efac;
|
|
background: var(--success-glow);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.alert-warning {
|
|
color: #fcd34d;
|
|
background: var(--warning-glow);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
/* === Terminal Output === */
|
|
.terminal {
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.terminal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--bg-tertiary);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.terminal-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.terminal-dot.red { background: #ef4444; }
|
|
.terminal-dot.yellow { background: #f59e0b; }
|
|
.terminal-dot.green { background: #22c55e; }
|
|
|
|
.terminal-title {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.terminal-body {
|
|
padding: var(--space-md);
|
|
height: 400px;
|
|
overflow-y: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8125rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.terminal-line {
|
|
color: var(--text-secondary);
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.terminal-line.task {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.terminal-line.ok {
|
|
color: var(--success);
|
|
}
|
|
|
|
.terminal-line.changed {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.terminal-line.error {
|
|
color: var(--error);
|
|
}
|
|
|
|
.terminal-line.success-msg {
|
|
color: var(--success);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Scanline effect */
|
|
.terminal-body::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
rgba(0, 0, 0, 0.03) 0px,
|
|
rgba(0, 0, 0, 0.03) 1px,
|
|
transparent 1px,
|
|
transparent 2px
|
|
);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* === Progress Indicator === */
|
|
.progress-steps {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.progress-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 0.875rem;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.progress-step.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.progress-step.completed {
|
|
color: var(--success);
|
|
}
|
|
|
|
.progress-step-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
|
|
.progress-step.active .progress-step-dot {
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.5; transform: scale(1.2); }
|
|
}
|
|
|
|
/* === Success State === */
|
|
.success-container {
|
|
text-align: center;
|
|
padding: var(--space-2xl);
|
|
}
|
|
|
|
.success-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto var(--space-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
color: var(--success);
|
|
background: var(--success-glow);
|
|
border-radius: 50%;
|
|
animation: success-pop 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes success-pop {
|
|
0% { transform: scale(0); opacity: 0; }
|
|
50% { transform: scale(1.2); }
|
|
100% { transform: scale(1); opacity: 1; }
|
|
}
|
|
|
|
.success-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.success-message {
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
/* === File List === */
|
|
.file-list {
|
|
text-align: left;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-bottom: 1px solid var(--border);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.file-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.file-item:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.file-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8125rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.file-size {
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.file-download {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.file-download:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* === Status Badge === */
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.status-badge.running {
|
|
color: var(--accent);
|
|
background: var(--accent-glow);
|
|
}
|
|
|
|
.status-badge.success {
|
|
color: var(--success);
|
|
background: var(--success-glow);
|
|
}
|
|
|
|
.status-badge.failed {
|
|
color: var(--error);
|
|
background: var(--error-glow);
|
|
}
|
|
|
|
/* === Animations: Page Load Stagger === */
|
|
.stagger-fade-in > * {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
animation: fadeInUp 0.4s ease forwards;
|
|
}
|
|
|
|
.stagger-fade-in > *:nth-child(1) { animation-delay: 0.05s; }
|
|
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.1s; }
|
|
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.15s; }
|
|
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.2s; }
|
|
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.25s; }
|
|
|
|
@keyframes fadeInUp {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* === htmx Loading States === */
|
|
.htmx-request .htmx-indicator {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.htmx-indicator {
|
|
display: none;
|
|
}
|
|
|
|
/* === Responsive === */
|
|
@media (max-width: 640px) {
|
|
.app-container {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.layout-two-col {
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.panel-body {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.checkbox-group {
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.terminal-body {
|
|
height: 300px;
|
|
}
|
|
}
|