🎉 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:
2025-06-01 03:52:58 +02:00
parent 99ba574223
commit 45d8d46556
77 changed files with 805 additions and 2934 deletions

View File

@@ -1,6 +1,7 @@
/**
* Mercedes-Benz MYP Platform - Erweiterte Professional Theme
* Verbesserte Light/Dark Mode Implementierung mit optimierten Kontrasten
* OPTIMIERT: Light Mode deutlich verbessert für bessere Lesbarkeit
*/
/* Globale CSS-Variablen für konsistente Theming */
@@ -13,32 +14,32 @@
--mb-black: #000000;
--mb-silver: #c0c0c0;
/* Light Mode Farbpalette - Verbessert */
/* Light Mode Farbpalette - DEUTLICH VERBESSERT für optimale Lesbarkeit */
--light-bg-primary: #ffffff;
--light-bg-secondary: #f8fafc;
--light-bg-tertiary: #f1f5f9;
--light-bg-accent: #fafbfc;
--light-bg-secondary: #fafbfc;
--light-bg-tertiary: #f3f5f7;
--light-bg-accent: #fbfcfd;
--light-surface: #ffffff;
--light-surface-hover: #f8fafc;
--light-surface-active: #f1f5f9;
--light-text-primary: #0f172a;
--light-text-secondary: #475569;
--light-text-muted: #64748b;
--light-surface-hover: #fafbfc;
--light-surface-active: #f3f5f7;
--light-text-primary: #111827; /* Deutlich verstärkter Kontrast */
--light-text-secondary: #374151; /* Erhöhter Kontrast für bessere Lesbarkeit */
--light-text-muted: #6b7280; /* Optimierter Muted-Text, immer noch lesbar */
--light-text-accent: #0073ce;
--light-border: #e2e8f0;
--light-border-strong: #cbd5e1;
--light-border-accent: #0073ce20;
--light-shadow: rgba(0, 0, 0, 0.08);
--light-shadow-strong: rgba(0, 0, 0, 0.12);
--light-shadow-accent: rgba(0, 115, 206, 0.15);
--light-border: #e5e7eb; /* Sichtbarere aber elegante Borders */
--light-border-strong: #d1d5db;
--light-border-accent: #0073ce15; /* Subtilerer Accent-Border */
--light-shadow: rgba(0, 0, 0, 0.04); /* Sanftere, natürlichere Schatten */
--light-shadow-strong: rgba(0, 0, 0, 0.08);
--light-shadow-accent: rgba(0, 115, 206, 0.08);
/* Neue Light Mode Gradients */
--light-gradient-primary: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
--light-gradient-card: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
--light-gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
/* Neue Light Mode Gradients - VERBESSERT für sanftere, harmonischere Optik */
--light-gradient-primary: linear-gradient(135deg, #ffffff 0%, #fafbfc 25%, #f8fafc 75%, #f3f5f7 100%);
--light-gradient-card: linear-gradient(135deg, #ffffff 0%, #fdfdfe 50%, #fafbfc 100%);
--light-gradient-hero: linear-gradient(135deg, #fafbfc 0%, #f5f7f9 30%, #f0f3f6 70%, #f8fafc 100%);
--light-gradient-accent: linear-gradient(135deg, #0073ce 0%, #005a9f 100%);
/* Dark Mode Farbpalette - Unverändert */
/* Dark Mode Farbpalette - UNVERÄNDERT (bereits perfekt) */
--dark-bg-primary: #0f172a;
--dark-bg-secondary: #1e293b;
--dark-bg-tertiary: #334155;
@@ -53,28 +54,28 @@
--dark-shadow-strong: rgba(0, 0, 0, 0.5);
}
/* Professionelle Hero-Header Stile - Verbessert */
/* Professionelle Hero-Header Stile - VERBESSERT für Light Mode */
.professional-hero {
position: relative;
overflow: hidden;
border-radius: 2rem;
border-radius: 1.5rem;
margin: 1.5rem;
margin-bottom: 2rem;
background: var(--light-gradient-hero);
border: 1px solid var(--light-border);
box-shadow:
0 20px 40px var(--light-shadow),
0 8px 16px rgba(0, 115, 206, 0.05),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
0 8px 25px var(--light-shadow),
0 4px 12px rgba(0, 115, 206, 0.03),
inset 0 1px 0 rgba(255, 255, 255, 0.9);
transition: all 0.3s ease;
}
.professional-hero:hover {
transform: translateY(-2px);
transform: translateY(-1px);
box-shadow:
0 25px 50px var(--light-shadow-strong),
0 12px 24px var(--light-shadow-accent),
inset 0 1px 0 rgba(255, 255, 255, 0.9);
0 12px 35px var(--light-shadow-strong),
0 6px 16px var(--light-shadow-accent),
inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.dark .professional-hero {
@@ -87,8 +88,8 @@
content: '';
position: absolute;
inset: 0;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
opacity: 0.5;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
opacity: 0.6;
}
.dark .professional-hero::before {
@@ -96,13 +97,13 @@
opacity: 0.3;
}
/* Hero Pattern Overlay */
/* Hero Pattern Overlay - OPTIMIERT */
.hero-pattern {
background-image:
radial-gradient(circle at 20% 20%, var(--light-border) 1px, transparent 1px),
radial-gradient(circle at 80% 80%, var(--light-border) 1px, transparent 1px);
background-size: 50px 50px;
background-position: 0 0, 25px 25px;
radial-gradient(circle at 20% 20%, var(--light-border) 0.8px, transparent 0.8px),
radial-gradient(circle at 80% 80%, var(--light-border) 0.8px, transparent 0.8px);
background-size: 48px 48px;
background-position: 0 0, 24px 24px;
}
.dark .hero-pattern {
@@ -111,13 +112,13 @@
radial-gradient(circle at 80% 80%, var(--dark-border) 1px, transparent 1px);
}
/* Professionelle Container */
/* Professionelle Container - VERBESSERT */
.professional-container {
background: var(--light-surface);
border: 1px solid var(--light-border);
border-radius: 1.5rem;
box-shadow: 0 10px 30px var(--light-shadow);
backdrop-filter: blur(20px);
border-radius: 1rem;
box-shadow: 0 4px 20px var(--light-shadow);
backdrop-filter: blur(16px);
transition: all 0.3s ease;
}
@@ -128,20 +129,20 @@
}
.professional-container:hover {
transform: translateY(-4px);
box-shadow: 0 20px 40px var(--light-shadow-strong);
transform: translateY(-2px);
box-shadow: 0 8px 30px var(--light-shadow-strong);
}
.dark .professional-container:hover {
box-shadow: 0 20px 40px var(--dark-shadow-strong);
}
/* Mercedes-Benz Glassmorphism Effekt */
/* Mercedes-Benz Glassmorphism Effekt - OPTIMIERT für Light Mode */
.mb-glass {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
background: rgba(255, 255, 255, 0.94);
backdrop-filter: blur(16px) saturate(180%);
border: 1px solid rgba(229, 231, 235, 0.4);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
transition: all 0.3s ease;
}
@@ -152,9 +153,9 @@
}
.mb-glass:hover {
background: rgba(255, 255, 255, 0.95);
transform: translateY(-2px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 0.97);
transform: translateY(-1px);
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.dark .mb-glass:hover {
@@ -162,7 +163,7 @@
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
/* Professional Buttons */
/* Professional Buttons - VERBESSERT */
.btn-professional {
background: var(--light-gradient-accent);
color: white;
@@ -175,8 +176,8 @@
letter-spacing: 0.025em;
transition: all 0.2s ease;
box-shadow:
0 2px 8px rgba(0, 115, 206, 0.25),
0 1px 3px rgba(0, 115, 206, 0.1);
0 2px 8px rgba(0, 115, 206, 0.2),
0 1px 3px rgba(0, 115, 206, 0.08);
position: relative;
overflow: hidden;
}
@@ -193,10 +194,10 @@
}
.btn-professional:hover {
transform: translateY(-2px);
transform: translateY(-1px);
box-shadow:
0 4px 15px rgba(0, 115, 206, 0.35),
0 2px 8px rgba(0, 115, 206, 0.2);
0 4px 15px rgba(0, 115, 206, 0.25),
0 2px 8px rgba(0, 115, 206, 0.15);
}
.btn-professional:hover::before {
@@ -207,17 +208,17 @@
transform: translateY(0);
}
/* Secondary Button Style */
/* Secondary Button Style - VERBESSERT */
.btn-secondary-professional {
background: var(--light-surface);
color: var(--light-text-primary);
border: 2px solid var(--light-border-strong);
border-radius: 1rem;
padding: 0.75rem 2rem;
border: 1px solid var(--light-border-strong);
border-radius: 0.75rem;
padding: 0.75rem 1.75rem;
font-weight: 600;
font-size: 0.875rem;
transition: all 0.3s ease;
box-shadow: 0 4px 15px var(--light-shadow);
box-shadow: 0 2px 8px var(--light-shadow);
}
.dark .btn-secondary-professional {
@@ -230,8 +231,8 @@
.btn-secondary-professional:hover {
background: var(--light-surface-hover);
border-color: var(--mb-primary);
transform: translateY(-2px);
box-shadow: 0 8px 25px var(--light-shadow-strong);
transform: translateY(-1px);
box-shadow: 0 4px 15px var(--light-shadow-strong);
}
.dark .btn-secondary-professional:hover {
@@ -239,16 +240,16 @@
box-shadow: 0 8px 25px var(--dark-shadow);
}
/* Professional Input Fields */
/* Professional Input Fields - VERBESSERT */
.input-professional {
background: var(--light-surface);
border: 2px solid var(--light-border);
border-radius: 0.75rem;
padding: 0.875rem 1rem;
border: 1px solid var(--light-border);
border-radius: 0.5rem;
padding: 0.75rem 1rem;
color: var(--light-text-primary);
font-size: 0.875rem;
transition: all 0.3s ease;
box-shadow: 0 2px 8px var(--light-shadow);
box-shadow: 0 1px 6px var(--light-shadow);
}
.dark .input-professional {
@@ -260,7 +261,7 @@
.input-professional:focus {
border-color: var(--mb-primary);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
box-shadow: 0 0 0 3px rgba(0, 115, 206, 0.06);
transform: translateY(-1px);
}
@@ -272,16 +273,16 @@
color: var(--dark-text-muted);
}
/* Professional Cards */
/* Professional Cards - VERBESSERT */
.card-professional {
background: var(--light-gradient-card);
border: 1px solid var(--light-border);
border-radius: 1rem;
border-radius: 0.75rem;
padding: 1.5rem;
box-shadow:
0 4px 15px var(--light-shadow),
0 2px 8px rgba(0, 115, 206, 0.05),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
0 2px 12px var(--light-shadow),
0 1px 4px rgba(0, 115, 206, 0.02),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
@@ -293,18 +294,18 @@
top: 0;
left: 0;
right: 0;
height: 2px;
height: 1px;
background: var(--light-gradient-accent);
opacity: 0;
transition: opacity 0.3s ease;
}
.card-professional:hover {
transform: translateY(-4px);
transform: translateY(-2px);
box-shadow:
0 8px 25px var(--light-shadow-strong),
0 4px 12px var(--light-shadow-accent),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card-professional:hover::before {
@@ -317,15 +318,15 @@
box-shadow: 0 4px 15px var(--dark-shadow);
}
/* Professional Statistics Cards */
/* Professional Statistics Cards - VERBESSERT */
.stat-card {
background: var(--light-surface);
border: 1px solid var(--light-border);
border-radius: 1rem;
border-radius: 0.75rem;
padding: 1.5rem;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 4px 15px var(--light-shadow);
box-shadow: 0 2px 12px var(--light-shadow);
position: relative;
overflow: hidden;
}
@@ -337,8 +338,8 @@
}
.stat-card:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: 0 8px 30px var(--light-shadow-strong);
transform: translateY(-1px) scale(1.01);
box-shadow: 0 6px 20px var(--light-shadow-strong);
}
.dark .stat-card:hover {
@@ -346,7 +347,7 @@
}
.stat-number {
font-size: 2.5rem;
font-size: 2.25rem;
font-weight: 700;
color: var(--light-text-primary);
line-height: 1;