frankenbot/static/style.css
pdyde 4f5e3dcd34 fix: Improve form-text readability in Dark Mode
- Override Bootstrap default color for .form-text
- Use var(--text-secondary) for better visibility
- Ensures help text under form fields is readable
2026-02-21 17:25:57 +01:00

694 lines
21 KiB
CSS

/* ── Frankenbot Minimal Design v4 - Apple Liquid Glass Aesthetic ──────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
/* Dark Mode - Ausgewogene dunkle Grautöne (angelehnt an Light Mode) */
--bg-base: #1a1a1a;
--bg-surface: #212121;
--bg-elevated: #2a2a2a;
--bg-hover: #333333;
--bg-glass: rgba(33,33,33,.85);
/* Accent - Violett (Dark Mode) */
--accent: #a855f7;
--accent-light: #c084fc;
--accent-dim: #9333ea;
--accent-glow: rgba(168,85,247,.2);
/* Text Colors - Ausgewogen wie Light Mode */
--text-primary: #f5f5f5;
--text-secondary: #a3a3a3;
--text-muted: #737373;
/* Borders - Sichtbarer wie Light Mode */
--border: rgba(255,255,255,.12);
--border-accent: rgba(168,85,247,.3);
--shadow: 0 30px 60px rgba(0,0,0,.4);
--shadow-sm: 0 2px 20px rgba(0,0,0,.2);
/* Code/Pre Text - Zartes helles Grau für Dark Mode */
--code-text: #d4d4d4;
/* Subtle Radius */
--radius: 20px;
--radius-sm: 12px;
/* Glass Blur */
--blur: blur(40px) saturate(180%);
/* Fast Transitions */
--transition: .2s cubic-bezier(.4,0,.2,1);
}
/* ── Light Mode - Hell mit roten Akzenten ──────────────────────────────────── */
[data-theme="light"] {
/* Light Mode Base - Helle Grautöne */
--bg-base: #f5f5f5;
--bg-surface: #ffffff;
--bg-elevated: #fafafa;
--bg-hover: #f0f0f0;
--bg-glass: rgba(255,255,255,.85);
/* Accent - Rot (Light Mode) */
--accent: #ef4444;
--accent-light: #f87171;
--accent-dim: #dc2626;
--accent-glow: rgba(239,68,68,.2);
/* Text Colors - Inverted */
--text-primary: #171717;
--text-secondary: #525252;
--text-muted: #a3a3a3;
/* Borders - Dunklere Borders für Light Mode */
--border: rgba(0,0,0,.1);
--border-accent: rgba(239,68,68,.3);
--shadow: 0 30px 60px rgba(0,0,0,.1);
--shadow-sm: 0 2px 20px rgba(0,0,0,.05);
/* Code/Pre Text - Dunkles Grau für Light Mode */
--code-text: #404040;
}
/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
min-height: 100vh;
background: var(--bg-base);
color: var(--text-primary);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 15px;
line-height: 1.6;
font-weight: 400;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
letter-spacing: -0.011em;
}
/* ── Material Icons Support ───────────────────────────────────────────────── */
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
vertical-align: middle;
}
/* Brand Icon - Roboter */
.navbar-brand .brand-icon {
font-size: 28px;
margin-right: .5rem;
color: var(--accent);
display: inline-block !important;
}
/* Hide Emoji Spans in Navigation (werden durch Material Icons ersetzt) */
.nav-link span:first-child:not(.material-icons) {
display: none !important;
}
/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
/* ── Navbar - Liquid Glass ────────────────────────────────────────────────── */
.navbar {
background: var(--bg-glass) !important;
border: none;
border-bottom: 1px solid var(--border);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
}
.navbar-brand {
font-weight: 600;
font-size: 17px;
color: var(--text-primary) !important;
letter-spacing: -0.02em;
text-decoration: none;
transition: opacity var(--transition);
}
.navbar-brand:hover {
opacity: .7;
}
.nav-link {
color: var(--text-secondary) !important;
font-size: 14px;
font-weight: 500;
padding: .5rem .75rem !important;
border-radius: 8px;
transition: all var(--transition);
letter-spacing: -0.01em;
}
.nav-link:hover {
color: var(--text-primary) !important;
background: var(--bg-elevated);
}
.nav-link.active {
color: var(--accent) !important;
background: rgba(10,132,255,.1);
}
/* ── Page Header - Minimal ────────────────────────────────────────────────── */
.page-header {
padding: 3rem 0 2rem;
margin-bottom: 2rem;
border: none;
}
.page-header h1 {
font-size: 32px;
font-weight: 700;
letter-spacing: -0.03em;
margin-bottom: .5rem;
color: var(--text-primary);
}
.page-header p {
color: var(--text-secondary);
font-size: 15px;
margin: 0;
font-weight: 400;
}
/* ── Cards - Glass Morphism ───────────────────────────────────────────────── */
.card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
color: var(--text-primary);
transition: all var(--transition);
overflow: hidden;
backdrop-filter: var(--blur);
}
.card:hover {
border-color: var(--border-accent);
transform: translateY(-2px);
box-shadow: var(--shadow);
}
.card-header {
background: var(--bg-elevated) !important;
border-bottom: 1px solid var(--border) !important;
color: var(--text-primary) !important;
padding: 1rem 1.5rem;
font-weight: 600;
font-size: 14px;
letter-spacing: -0.01em;
}
/* Colored headers - minimal palette */
.card-header.bg-primary { background: rgba(10,132,255,.15) !important; border-bottom-color: var(--border-accent) !important; color: var(--accent) !important; }
.card-header.bg-success { background: rgba(50,215,75,.15) !important; border-bottom-color: rgba(50,215,75,.3) !important; color: #32d74b !important; }
.card-header.bg-warning { background: rgba(255,214,10,.15) !important; border-bottom-color: rgba(255,214,10,.3) !important; color: #ffd60a !important; }
.card-header.bg-danger { background: rgba(255,69,58,.15) !important; border-bottom-color: rgba(255,69,58,.3) !important; color: #ff453a !important; }
.card-header.bg-info { background: rgba(100,210,255,.15) !important; border-bottom-color: rgba(100,210,255,.3) !important; color: #64d2ff !important; }
.card-header.bg-secondary,
.card-header.bg-dark { background: var(--bg-elevated) !important; }
.card-body { padding: 1.5rem; }
.card-footer {
background: transparent !important;
border-top: 1px solid var(--border) !important;
padding: 1rem 1.5rem;
}
/* ── Stat Cards - Ultra Minimal ───────────────────────────────────────────── */
.stat-card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 2rem 1.5rem;
text-align: center;
transition: all var(--transition);
}
.stat-card:hover {
border-color: var(--border-accent);
transform: translateY(-4px);
}
.stat-card .stat-number {
font-size: 48px;
font-weight: 700;
color: var(--text-primary);
line-height: 1;
margin-bottom: .75rem;
letter-spacing: -0.04em;
}
.stat-card .stat-label {
font-size: 12px;
text-transform: uppercase;
letter-spacing: .05em;
color: var(--text-muted);
font-weight: 600;
}
/* ── Buttons - Apple Style ────────────────────────────────────────────────── */
.btn {
border-radius: var(--radius-sm);
font-weight: 500;
font-size: 14px;
padding: .625rem 1.25rem;
transition: all var(--transition);
border: none;
display: inline-flex;
align-items: center;
gap: .5rem;
letter-spacing: -0.01em;
cursor: pointer;
text-decoration: none;
}
.btn-primary {
background: var(--accent);
color: #fff;
box-shadow: 0 2px 10px var(--accent-glow);
}
.btn-primary:hover {
background: var(--accent-light);
box-shadow: 0 4px 20px var(--accent-glow);
transform: translateY(-1px);
color: #fff;
}
.btn-success {
background: #32d74b;
color: #000;
}
.btn-success:hover {
background: #30db75;
transform: translateY(-1px);
color: #000;
}
.btn-danger {
background: #ff453a;
color: #fff;
}
.btn-danger:hover {
background: #ff6961;
transform: translateY(-1px);
color: #fff;
}
.btn-secondary {
background: var(--bg-elevated);
color: var(--text-primary);
border: 1px solid var(--border);
}
.btn-secondary:hover {
background: var(--bg-hover);
border-color: var(--text-muted);
}
.btn-info {
background: #64d2ff;
color: #000;
}
.btn-info:hover {
background: #70d7ff;
transform: translateY(-1px);
color: #000;
}
.btn-warning {
background: #ffd60a;
color: #000;
}
.btn-warning:hover {
background: #ffdf00;
transform: translateY(-1px);
color: #000;
}
.btn-outline-primary {
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
}
.btn-outline-primary:hover {
background: rgba(10,132,255,.1);
color: var(--accent);
}
.btn-outline-secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--text-secondary);
}
.btn-outline-secondary:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.btn-sm { padding: .5rem 1rem; font-size: 13px; }
.btn-lg { padding: .75rem 1.5rem; font-size: 16px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }
/* ── Forms - Clean & Minimal ──────────────────────────────────────────────── */
.form-control,
.form-select {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
padding: .75rem 1rem;
font-size: 15px;
transition: all var(--transition);
}
.form-control:focus,
.form-select:focus {
background: var(--bg-elevated);
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(10,132,255,.1);
color: var(--text-primary);
outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label {
color: var(--text-secondary);
font-size: 13px;
font-weight: 500;
margin-bottom: .5rem;
}
.form-text {
color: var(--text-secondary) !important;
font-size: 13px;
}
.form-select option { background: var(--bg-elevated); }
textarea.form-control { resize: vertical; min-height: 100px; }
/* ── Tables - Minimal Grid ────────────────────────────────────────────────── */
.table {
color: var(--text-primary);
margin-bottom: 0;
}
.table th {
border-top: none;
border-bottom: 1px solid var(--border);
font-weight: 600;
font-size: 12px;
text-transform: uppercase;
letter-spacing: .05em;
color: var(--text-muted);
padding: 1rem;
background: transparent;
}
.table td {
border-bottom: 1px solid var(--border);
padding: 1rem;
vertical-align: middle;
color: var(--text-secondary);
font-size: 14px;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td {
background: var(--bg-elevated);
color: var(--text-primary);
}
/* ── Badges - Subtle & Clean ──────────────────────────────────────────────── */
.badge {
padding: .4em .75em;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
letter-spacing: .03em;
text-transform: uppercase;
}
.bg-primary { background: rgba(10,132,255,.2) !important; color: var(--accent) !important; }
.bg-success { background: rgba(50,215,75,.2) !important; color: #32d74b !important; }
.bg-warning { background: rgba(255,214,10,.2) !important; color: #ffd60a !important; }
.bg-danger { background: rgba(255,69,58,.2) !important; color: #ff453a !important; }
.bg-info { background: rgba(100,210,255,.2) !important; color: #64d2ff !important; }
.bg-secondary { background: rgba(160,160,160,.2) !important; color: var(--text-secondary) !important; }
.bg-dark { background: rgba(255,255,255,.1) !important; color: var(--text-secondary) !important; }
/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
border-radius: var(--radius-sm);
border: 1px solid;
font-size: 14px;
padding: 1rem 1.25rem;
backdrop-filter: var(--blur);
}
.alert-success { background: rgba(50,215,75,.1); border-color: rgba(50,215,75,.3); color: #32d74b; }
.alert-danger { background: rgba(255,69,58,.1); border-color: rgba(255,69,58,.3); color: #ff453a; }
.alert-warning { background: rgba(255,214,10,.1); border-color: rgba(255,214,10,.3); color: #ffd60a; }
.alert-info { background: rgba(100,210,255,.1); border-color: rgba(100,210,255,.3); color: #64d2ff; }
/* ── Chat ─────────────────────────────────────────────────────────────────── */
.chat-container {
max-height: 600px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 1rem;
padding: .5rem 0;
}
.chat-message {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 1.25rem;
border-left: 2px solid var(--accent);
transition: border-color var(--transition);
}
.chat-message:hover { border-left-color: var(--accent-light); }
.chat-prompt {
background: var(--bg-elevated);
border-radius: 8px;
padding: .75rem 1rem;
margin-bottom: .75rem;
color: var(--text-primary);
font-size: 14px;
}
.chat-response {
background: rgba(10,132,255,.05);
border: 1px solid rgba(10,132,255,.15);
border-radius: 8px;
padding: .75rem 1rem;
color: var(--text-primary);
font-size: 14px;
white-space: pre-wrap;
line-height: 1.6;
}
.chat-timestamp {
color: var(--text-muted);
font-size: 12px;
margin-bottom: .5rem;
display: flex;
align-items: center;
gap: .5rem;
}
/* ── List Group ───────────────────────────────────────────────────────────── */
.list-group-item {
background: var(--bg-surface);
border: none;
border-bottom: 1px solid var(--border);
color: var(--text-primary);
padding: 1rem 1.25rem;
transition: background var(--transition);
}
.list-group-item:last-child { border-bottom: none; }
.list-group-item-action:hover { background: var(--bg-elevated); }
/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-content {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text-primary);
box-shadow: 0 40px 100px rgba(0,0,0,.7);
backdrop-filter: var(--blur);
}
.modal-header {
border-bottom: 1px solid var(--border);
background: transparent;
padding: 1.25rem 1.5rem;
}
.modal-footer {
border-top: 1px solid var(--border);
background: transparent;
}
.modal-backdrop { backdrop-filter: blur(10px); }
.btn-close { filter: invert(1) opacity(.5); }
/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
margin-top: 80px;
padding: 2rem 0;
background: transparent;
border-top: 1px solid var(--border);
text-align: center;
color: var(--text-muted);
font-size: 13px;
}
/* ── File Items ───────────────────────────────────────────────────────────── */
.file-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--bg-elevated);
transition: all var(--transition);
margin-bottom: .75rem;
}
.file-item:last-child { margin-bottom: 0; }
.file-item:hover { background: var(--bg-hover); border-color: var(--border-accent); }
.file-icon { font-size: 1.25rem; flex-shrink: 0; }
.file-name { flex: 1; font-size: 14px; color: var(--text-primary); font-weight: 500; }
.file-meta { font-size: 12px; color: var(--text-muted); }
.file-actions { display: flex; gap: .5rem; }
/* ── Status / Email Log ───────────────────────────────────────────────────── */
.status-replied { color: #32d74b; font-weight: 600; }
.status-skipped { color: var(--text-muted); }
.status-error { color: #ff453a; font-weight: 600; }
.response-preview {
font-size: 13px;
color: var(--text-secondary);
white-space: pre-wrap;
word-break: break-word;
max-height: 60px;
overflow: hidden;
}
/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; color: var(--text-secondary); }
h4 { font-size: 16px; }
/* ── Misc Utilities ───────────────────────────────────────────────────────── */
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.bg-light { background: var(--bg-elevated) !important; }
/* Code & Pre - Lesbar in beiden Modi */
pre, code {
background: var(--bg-elevated);
color: var(--code-text);
border-radius: 8px;
padding: .2em .5em;
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
border: 1px solid var(--border);
}
pre {
padding: 1.25rem;
overflow-x: auto;
line-height: 1.6;
}
hr { border-color: var(--border); opacity: 1; }
.font-monospace { font-family: 'JetBrains Mono', monospace !important; font-size: 13px !important; }
/* ── Streaming Indicator ──────────────────────────────────────────────────── */
.streaming-dot {
display: inline-block;
width: 6px; height: 6px;
border-radius: 50%;
background: var(--accent);
animation: pulse 1.5s ease-in-out infinite;
margin-left: .5rem;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }
/* ── Agent Color System - Minimal ─────────────────────────────────────────── */
:root {
--agent-orchestrator: #a855f7;
--agent-researcher: #10b981;
--agent-negotiator: #f97316;
--agent-ar_manager: #eab308;
--agent-default: #8b5cf6;
}
.agent-orchestrator { color: var(--agent-orchestrator) !important; }
.agent-researcher { color: var(--agent-researcher) !important; }
.agent-negotiator { color: var(--agent-negotiator) !important; }
.agent-ar_manager { color: var(--agent-ar_manager) !important; }
.agent-border-orchestrator { border-left: 2px solid var(--agent-orchestrator); }
.agent-border-researcher { border-left: 2px solid var(--agent-researcher); }
.agent-border-negotiator { border-left: 2px solid var(--agent-negotiator); }
.agent-border-ar_manager { border-left: 2px solid var(--agent-ar_manager); }
/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
.page-header { padding: 2rem 0 1.5rem; }
.page-header h1 { font-size: 24px; }
.stat-card .stat-number { font-size: 36px; }
}