🎉 Improved backend structure & documentation, optimized files for better performance. 🛠️ Removed unnecessary files: app_timer_routes.py, settings_copy.cpython-311.pyc, myp.db-shm, myp.db-wal. 📚 Added new files: STRG_C_SHUTDOWN.md, SSL_CONFIG.md.
This commit is contained in:
@ -2,39 +2,45 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Custom Styles für Light und Dark Mode - Premium Upgrade */
|
||||
/* Custom Styles für Light und Dark Mode - Premium Upgrade mit verbessertem Light Mode */
|
||||
@layer base {
|
||||
:root {
|
||||
/* Light Mode Farben - Mercedes-Benz Professional */
|
||||
/* Light Mode Farben - Mercedes-Benz Professional - VERBESSERT für optimale Lesbarkeit */
|
||||
--color-bg-primary: #ffffff;
|
||||
--color-bg-secondary: #f8fafc;
|
||||
--color-bg-tertiary: #f1f5f9;
|
||||
--color-bg-accent: #fafbfc;
|
||||
--color-text-primary: #0f172a;
|
||||
--color-text-secondary: #334155;
|
||||
--color-text-muted: #64748b;
|
||||
--color-bg-secondary: #fafbfc;
|
||||
--color-bg-tertiary: #f3f5f7;
|
||||
--color-bg-accent: #fbfcfd;
|
||||
--color-text-primary: #111827; /* Verstärkter Kontrast für bessere Lesbarkeit */
|
||||
--color-text-secondary: #374151; /* Erhöhter Kontrast */
|
||||
--color-text-muted: #6b7280; /* Optimierter Muted-Text */
|
||||
--color-text-accent: #0073ce;
|
||||
--color-border-primary: #e2e8f0;
|
||||
--color-border-secondary: #cbd5e1;
|
||||
--color-border-primary: #e5e7eb; /* Subtilere aber sichtbarere Borders */
|
||||
--color-border-secondary: #d1d5db;
|
||||
--color-accent: #0073ce; /* Mercedes-Benz Professional Blau */
|
||||
--color-accent-hover: #005a9f;
|
||||
--color-accent-light: #e0f2fe;
|
||||
--color-accent-light: #eff6ff;
|
||||
--color-accent-text: #ffffff;
|
||||
--color-shadow: rgba(0, 0, 0, 0.08);
|
||||
--color-shadow-strong: rgba(0, 0, 0, 0.12);
|
||||
--color-shadow-accent: rgba(0, 115, 206, 0.15);
|
||||
--color-shadow: rgba(0, 0, 0, 0.06); /* Sanftere Schatten */
|
||||
--color-shadow-strong: rgba(0, 0, 0, 0.1);
|
||||
--color-shadow-accent: rgba(0, 115, 206, 0.12);
|
||||
--card-radius: 1rem; /* Abgerundete Ecken für Karten */
|
||||
|
||||
/* Light Mode Gradients */
|
||||
--gradient-primary: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
|
||||
--gradient-card: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
|
||||
--gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
|
||||
/* Light Mode Gradients - VERBESSERT für sanftere Optik */
|
||||
--gradient-primary: linear-gradient(135deg, #ffffff 0%, #fafbfc 30%, #f8fafc 70%, #f3f5f7 100%);
|
||||
--gradient-card: linear-gradient(135deg, #ffffff 0%, #fcfcfd 50%, #fafbfc 100%);
|
||||
--gradient-hero: linear-gradient(135deg, #fafbfc 0%, #f3f5f7 40%, #eef2f5 80%, #f8fafc 100%);
|
||||
--gradient-accent: linear-gradient(135deg, #0073ce 0%, #005a9f 100%);
|
||||
--gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
|
||||
--gradient-surface: linear-gradient(135deg, #ffffff 0%, #fbfcfd 50%, #f8fafc 100%);
|
||||
|
||||
/* Neue optimierte Light Mode Glassmorphism-Variablen */
|
||||
--glass-bg: rgba(255, 255, 255, 0.92);
|
||||
--glass-border: rgba(255, 255, 255, 0.3);
|
||||
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
|
||||
--glass-blur: blur(20px);
|
||||
}
|
||||
|
||||
.dark {
|
||||
/* Dark Mode Farben - Noch dunkler und eleganter */
|
||||
/* Dark Mode Farben - Noch dunkler und eleganter - UNVERÄNDERT */
|
||||
--color-bg-primary: #000000; /* Tiefes Schwarz */
|
||||
--color-bg-secondary: #0a0a0a; /* Sehr dunkles Grau */
|
||||
--color-bg-tertiary: #1a1a1a;
|
||||
@ -59,14 +65,15 @@
|
||||
background: var(--gradient-primary);
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
|
||||
line-height: 1.6;
|
||||
line-height: 1.65; /* Verbesserte Zeilenhöhe für bessere Lesbarkeit */
|
||||
font-size: 15px; /* Optimierte Schriftgröße */
|
||||
}
|
||||
|
||||
.dark body {
|
||||
background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
|
||||
}
|
||||
|
||||
/* Enhanced Body Background with Subtle Patterns */
|
||||
/* Enhanced Body Background with Subtle Patterns - VERBESSERT */
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
@ -75,9 +82,9 @@
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background:
|
||||
radial-gradient(circle at 20% 50%, rgba(0, 115, 206, 0.02) 0%, transparent 50%),
|
||||
radial-gradient(circle at 80% 20%, rgba(0, 115, 206, 0.015) 0%, transparent 50%),
|
||||
radial-gradient(circle at 40% 80%, rgba(0, 115, 206, 0.01) 0%, transparent 50%);
|
||||
radial-gradient(circle at 25% 25%, rgba(0, 115, 206, 0.015) 0%, transparent 50%),
|
||||
radial-gradient(circle at 75% 75%, rgba(0, 115, 206, 0.01) 0%, transparent 50%),
|
||||
radial-gradient(circle at 50% 10%, rgba(0, 115, 206, 0.008) 0%, transparent 50%);
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
@ -88,20 +95,21 @@
|
||||
radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
|
||||
}
|
||||
|
||||
/* Navbar Styles - Premium Glassmorphism */
|
||||
/* Navbar Styles - Premium Glassmorphism - VERBESSERT */
|
||||
nav {
|
||||
@apply backdrop-blur-xl border-b transition-all duration-300;
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255, 255, 255, 0.9) 0%,
|
||||
rgba(248, 250, 252, 0.85) 50%,
|
||||
rgba(255, 255, 255, 0.9) 100%);
|
||||
border-bottom: 1px solid rgba(226, 232, 240, 0.6);
|
||||
backdrop-filter: blur(24px) saturate(200%) brightness(115%);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(200%) brightness(115%);
|
||||
rgba(255, 255, 255, 0.95) 0%,
|
||||
rgba(250, 251, 252, 0.92) 30%,
|
||||
rgba(248, 250, 252, 0.9) 70%,
|
||||
rgba(255, 255, 255, 0.95) 100%);
|
||||
border-bottom: 1px solid rgba(229, 231, 235, 0.7);
|
||||
backdrop-filter: blur(28px) saturate(200%) brightness(110%);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(200%) brightness(110%);
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.08),
|
||||
0 4px 12px rgba(0, 115, 206, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
0 4px 20px rgba(0, 0, 0, 0.04),
|
||||
0 2px 8px rgba(0, 115, 206, 0.02),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.dark nav {
|
||||
@ -112,15 +120,15 @@
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Premium Card Styles */
|
||||
/* Premium Card Styles - VERBESSERT für Light Mode */
|
||||
.card-enhanced {
|
||||
background: var(--gradient-card);
|
||||
border: 1px solid var(--color-border-primary);
|
||||
border-radius: var(--card-radius);
|
||||
box-shadow:
|
||||
0 4px 20px var(--color-shadow),
|
||||
0 2px 8px rgba(0, 115, 206, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
||||
0 2px 12px rgba(0, 0, 0, 0.03),
|
||||
0 1px 4px rgba(0, 115, 206, 0.02),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@ -132,18 +140,18 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 2px;
|
||||
height: 1px;
|
||||
background: var(--gradient-accent);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.card-enhanced:hover {
|
||||
transform: translateY(-4px);
|
||||
transform: translateY(-2px);
|
||||
box-shadow:
|
||||
0 8px 30px var(--color-shadow-strong),
|
||||
0 4px 15px var(--color-shadow-accent),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
0 8px 25px rgba(0, 0, 0, 0.06),
|
||||
0 4px 12px rgba(0, 115, 206, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.card-enhanced:hover::before {
|
||||
@ -156,20 +164,20 @@
|
||||
box-shadow: 0 4px 20px var(--color-shadow);
|
||||
}
|
||||
|
||||
/* Premium Button Styles */
|
||||
/* Premium Button Styles - VERBESSERT */
|
||||
.btn-enhanced {
|
||||
background: var(--gradient-accent);
|
||||
color: var(--color-accent-text);
|
||||
border: none;
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.875rem 2rem;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
box-shadow:
|
||||
0 4px 15px rgba(0, 115, 206, 0.3),
|
||||
0 2px 8px rgba(0, 115, 206, 0.2);
|
||||
0 2px 8px rgba(0, 115, 206, 0.2),
|
||||
0 1px 4px rgba(0, 115, 206, 0.1);
|
||||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@ -187,10 +195,10 @@
|
||||
}
|
||||
|
||||
.btn-enhanced:hover {
|
||||
transform: translateY(-2px);
|
||||
transform: translateY(-1px);
|
||||
box-shadow:
|
||||
0 8px 25px rgba(0, 115, 206, 0.4),
|
||||
0 4px 12px rgba(0, 115, 206, 0.3);
|
||||
0 4px 15px rgba(0, 115, 206, 0.3),
|
||||
0 2px 8px rgba(0, 115, 206, 0.2);
|
||||
}
|
||||
|
||||
.btn-enhanced:hover::before {
|
||||
@ -206,8 +214,8 @@
|
||||
color: var(--color-text-primary);
|
||||
border: 1px solid var(--color-border-primary);
|
||||
box-shadow:
|
||||
0 2px 8px var(--color-shadow),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
||||
0 1px 6px rgba(0, 0, 0, 0.03),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
@ -215,21 +223,21 @@
|
||||
border-color: var(--color-accent);
|
||||
color: var(--color-accent);
|
||||
box-shadow:
|
||||
0 4px 15px var(--color-shadow-accent),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
0 4px 12px rgba(0, 115, 206, 0.08),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
/* Enhanced Form Elements */
|
||||
/* Enhanced Form Elements - VERBESSERT für bessere Lesbarkeit */
|
||||
.input-enhanced {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
border: 1px solid var(--color-border-primary);
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.875rem 1.25rem;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
color: var(--color-text-primary);
|
||||
font-size: 0.925rem;
|
||||
font-size: 0.9rem;
|
||||
box-shadow:
|
||||
0 2px 8px rgba(0, 0, 0, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
0 1px 6px rgba(0, 0, 0, 0.02),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
transition: all 0.2s ease;
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
@ -239,15 +247,15 @@
|
||||
outline: none;
|
||||
border-color: var(--color-accent);
|
||||
box-shadow:
|
||||
0 4px 15px rgba(0, 115, 206, 0.15),
|
||||
0 0 0 3px rgba(0, 115, 206, 0.1),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
0 4px 12px rgba(0, 115, 206, 0.1),
|
||||
0 0 0 3px rgba(0, 115, 206, 0.05),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||
background: rgba(255, 255, 255, 0.98);
|
||||
}
|
||||
|
||||
.input-enhanced::placeholder {
|
||||
color: var(--color-text-muted);
|
||||
opacity: 0.7;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.dark .input-enhanced {
|
||||
|
Reference in New Issue
Block a user