A previous `git pull --rebase origin main` dropped 177 local commits,
losing 3400+ files across admin-v2, backend, studio-v2, website,
klausur-service, and many other services. The partial restore attempt
(660295e2) only recovered some files.
This commit restores all missing files from pre-rebase ref 98933f5e
while preserving post-rebase additions (night-scheduler, night-mode UI,
NightModeWidget dashboard integration).
Restored features include:
- AI Module Sidebar (FAB), OCR Labeling, OCR Compare
- GPU Dashboard, RAG Pipeline, Magic Help
- Klausur-Korrektur (8 files), Abitur-Archiv (5+ files)
- Companion, Zeugnisse-Crawler, Screen Flow
- Full backend, studio-v2, website, klausur-service
- All compliance SDKs, agent-core, voice-service
- CI/CD configs, documentation, scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
816 lines
13 KiB
CSS
816 lines
13 KiB
CSS
/**
|
|
* BreakPilot Customer Portal - Slim CSS
|
|
*
|
|
* Light/Dark Theme with Sky Blue/Fuchsia accent colors
|
|
* Matching Website Design (Inter font)
|
|
*/
|
|
|
|
/* CSS Variables - Light Mode (default) */
|
|
:root {
|
|
/* Primary Colors */
|
|
--bp-primary: #0ea5e9;
|
|
--bp-primary-hover: #0284c7;
|
|
--bp-primary-soft: rgba(14, 165, 233, 0.1);
|
|
|
|
/* Accent Colors */
|
|
--bp-accent: #d946ef;
|
|
--bp-accent-soft: rgba(217, 70, 239, 0.15);
|
|
|
|
/* Background */
|
|
--bp-bg: #f8fafc;
|
|
--bp-bg-elevated: #ffffff;
|
|
--bp-bg-card: #ffffff;
|
|
|
|
/* Text */
|
|
--bp-text: #0f172a;
|
|
--bp-text-muted: #64748b;
|
|
--bp-text-light: #94a3b8;
|
|
|
|
/* Borders */
|
|
--bp-border: #e2e8f0;
|
|
--bp-border-light: #f1f5f9;
|
|
|
|
/* Feedback */
|
|
--bp-success: #10b981;
|
|
--bp-danger: #ef4444;
|
|
--bp-warning: #f59e0b;
|
|
|
|
/* Shadows */
|
|
--bp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
--bp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
--bp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
|
|
/* Spacing */
|
|
--bp-radius: 8px;
|
|
--bp-radius-lg: 12px;
|
|
|
|
/* Font */
|
|
--bp-font: 'Inter', system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
/* Dark Mode */
|
|
[data-theme="dark"] {
|
|
--bp-primary: #38bdf8;
|
|
--bp-primary-hover: #0ea5e9;
|
|
--bp-primary-soft: rgba(56, 189, 248, 0.1);
|
|
|
|
--bp-accent: #e879f9;
|
|
--bp-accent-soft: rgba(232, 121, 249, 0.15);
|
|
|
|
--bp-bg: #0f172a;
|
|
--bp-bg-elevated: #1e293b;
|
|
--bp-bg-card: #1e293b;
|
|
|
|
--bp-text: #f1f5f9;
|
|
--bp-text-muted: #94a3b8;
|
|
--bp-text-light: #64748b;
|
|
|
|
--bp-border: #334155;
|
|
--bp-border-light: #1e293b;
|
|
|
|
--bp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
--bp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
|
|
--bp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Reset */
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Base */
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--bp-font);
|
|
background: var(--bp-bg);
|
|
color: var(--bp-text);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* App Root */
|
|
.app-root {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: var(--bp-bg-elevated);
|
|
border-bottom: 1px solid var(--bp-border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 16px 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
|
|
border-radius: var(--bp-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
color: white;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.brand-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.brand-name {
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.brand-sub {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
border-radius: var(--bp-radius);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all 0.15s ease;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--bp-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--bp-primary-hover);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.btn-ghost:hover:not(:disabled) {
|
|
background: var(--bp-primary-soft);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--bp-danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 12px 24px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-full {
|
|
width: 100%;
|
|
}
|
|
|
|
/* User Menu */
|
|
.user-menu {
|
|
position: relative;
|
|
}
|
|
|
|
.user-menu-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
background: var(--bp-bg-elevated);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: var(--bp-radius);
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.user-menu-btn:hover {
|
|
border-color: var(--bp-primary);
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: white;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.user-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
min-width: 200px;
|
|
background: var(--bp-bg-elevated);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: var(--bp-radius-lg);
|
|
box-shadow: var(--bp-shadow-lg);
|
|
display: none;
|
|
z-index: 200;
|
|
}
|
|
|
|
.user-menu.open .user-dropdown {
|
|
display: block;
|
|
}
|
|
|
|
.user-dropdown-header {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.user-dropdown-name {
|
|
display: block;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.user-dropdown-email {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.user-dropdown hr {
|
|
border: none;
|
|
border-top: 1px solid var(--bp-border);
|
|
margin: 0;
|
|
}
|
|
|
|
.user-dropdown-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 10px 16px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 14px;
|
|
color: var(--bp-text);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.user-dropdown-item:hover {
|
|
background: var(--bp-primary-soft);
|
|
}
|
|
|
|
.user-dropdown-item.danger {
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.user-dropdown-item.danger:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
/* Main */
|
|
.main {
|
|
flex: 1;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 32px 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Welcome Section */
|
|
.welcome-section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.welcome-card {
|
|
text-align: center;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.welcome-card h1 {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.welcome-card p {
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* Dashboard */
|
|
.dashboard-header {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-header p {
|
|
color: var(--bp-text-muted);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.dashboard-card {
|
|
background: var(--bp-bg-card);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: var(--bp-radius-lg);
|
|
padding: 24px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.dashboard-card:hover {
|
|
border-color: var(--bp-primary);
|
|
box-shadow: var(--bp-shadow-md);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.card-icon {
|
|
font-size: 32px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.dashboard-card h2 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.dashboard-card p {
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.card-badge {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
background: var(--bp-primary-soft);
|
|
color: var(--bp-primary);
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: var(--bp-bg-elevated);
|
|
border-top: 1px solid var(--bp-border);
|
|
padding: 24px;
|
|
}
|
|
|
|
.footer-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.footer-nav {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.footer-nav a {
|
|
color: var(--bp-text-muted);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-nav a:hover {
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal.active {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background: var(--bp-bg-elevated);
|
|
border-radius: var(--bp-radius-lg);
|
|
width: 100%;
|
|
max-width: 480px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
box-shadow: var(--bp-shadow-lg);
|
|
margin: 20px;
|
|
}
|
|
|
|
.modal-lg {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.modal-header h2 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
border-radius: var(--bp-radius);
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: var(--bp-primary-soft);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
/* Auth Tabs */
|
|
.auth-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.auth-tab {
|
|
flex: 1;
|
|
padding: 12px;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.auth-tab:hover {
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.auth-tab.active {
|
|
color: var(--bp-primary);
|
|
border-bottom-color: var(--bp-primary);
|
|
}
|
|
|
|
/* Forms */
|
|
.auth-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-group input {
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: var(--bp-radius);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
background: var(--bp-bg);
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--bp-primary);
|
|
box-shadow: 0 0 0 3px var(--bp-primary-soft);
|
|
}
|
|
|
|
.form-group input:disabled {
|
|
background: var(--bp-border-light);
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.form-hint {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.form-hint a {
|
|
color: var(--bp-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-hint a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.form-message {
|
|
padding: 12px;
|
|
border-radius: var(--bp-radius);
|
|
font-size: 14px;
|
|
display: none;
|
|
}
|
|
|
|
.form-message.success {
|
|
display: block;
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.form-message.error {
|
|
display: block;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
/* Consents List */
|
|
.consents-loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.consents-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.consent-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
padding: 16px;
|
|
background: var(--bp-bg);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: var(--bp-radius);
|
|
}
|
|
|
|
.consent-info h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.consent-info p {
|
|
font-size: 13px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.consent-date {
|
|
font-size: 12px;
|
|
color: var(--bp-text-light);
|
|
}
|
|
|
|
.consent-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.consents-empty {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
/* Export */
|
|
.export-info {
|
|
background: var(--bp-primary-soft);
|
|
padding: 16px;
|
|
border-radius: var(--bp-radius);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.export-info p {
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.export-info p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.export-actions {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.export-status {
|
|
margin-top: 24px;
|
|
padding-top: 24px;
|
|
border-top: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.export-status h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Legal */
|
|
.legal-loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.legal-content {
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.legal-content h1, .legal-content h2, .legal-content h3 {
|
|
margin-top: 24px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.legal-content p {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.legal-content ul, .legal-content ol {
|
|
margin-bottom: 12px;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
/* Settings */
|
|
.settings-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.settings-section h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.settings-section form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.settings-section hr {
|
|
border: none;
|
|
border-top: 1px solid var(--bp-border);
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.danger-zone {
|
|
padding: 16px;
|
|
background: rgba(239, 68, 68, 0.05);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
border-radius: var(--bp-radius);
|
|
}
|
|
|
|
.danger-zone h3 {
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.danger-zone p {
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Utilities */
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.header-content {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.brand-text {
|
|
display: none;
|
|
}
|
|
|
|
.user-name {
|
|
display: none;
|
|
}
|
|
|
|
.main {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.footer-content {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
text-align: center;
|
|
}
|
|
}
|