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>
1421 lines
24 KiB
Python
1421 lines
24 KiB
Python
"""
|
|
Alerts Module - CSS Styles.
|
|
|
|
Enthält alle CSS-Stile für das Alerts Agent Modul.
|
|
"""
|
|
|
|
|
|
def get_alerts_css() -> str:
|
|
"""CSS fuer das Alerts-Modul."""
|
|
return """
|
|
/* ==========================================
|
|
ALERTS MODULE STYLES
|
|
========================================== */
|
|
|
|
/* Panel Layout */
|
|
.panel-alerts {
|
|
display: none;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
background: var(--bp-bg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-alerts.active {
|
|
display: flex;
|
|
}
|
|
|
|
/* Alerts Header */
|
|
.alerts-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 32px;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
}
|
|
|
|
.alerts-title-section h1 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--bp-text);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.alerts-subtitle {
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.alerts-header-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Alerts Stats Bar */
|
|
.alerts-stats-bar {
|
|
display: flex;
|
|
gap: 24px;
|
|
padding: 16px 32px;
|
|
background: var(--bp-surface-elevated);
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.alerts-stat {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.alerts-stat-icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.alerts-stat-value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.alerts-stat-label {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
/* Alerts Tab Navigation */
|
|
.alerts-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 12px 32px;
|
|
background: var(--bp-surface);
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.alerts-tab {
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text-muted);
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.alerts-tab:hover {
|
|
background: var(--bp-surface-elevated);
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.alerts-tab.active {
|
|
background: var(--bp-primary-soft);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
.alerts-tab-badge {
|
|
margin-left: 8px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
background: var(--bp-danger);
|
|
color: white;
|
|
}
|
|
|
|
/* Alerts Content Area */
|
|
.alerts-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 24px 32px;
|
|
}
|
|
|
|
/* Alerts Tab Panels */
|
|
.alerts-tab-panel {
|
|
display: none;
|
|
}
|
|
|
|
.alerts-tab-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
/* ==========================================
|
|
INBOX VIEW
|
|
========================================== */
|
|
|
|
.alerts-inbox-filters {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.alerts-filter-btn {
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.alerts-filter-btn:hover {
|
|
border-color: var(--bp-primary);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
.alerts-filter-btn.active {
|
|
background: var(--bp-primary);
|
|
border-color: var(--bp-primary);
|
|
color: white;
|
|
}
|
|
|
|
.alerts-search {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.alerts-search input {
|
|
width: 100%;
|
|
padding: 10px 16px 10px 40px;
|
|
border-radius: 20px;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.alerts-search input:focus {
|
|
outline: none;
|
|
border-color: var(--bp-primary);
|
|
}
|
|
|
|
/* Alert Items List */
|
|
.alerts-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.alert-item {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding: 16px 20px;
|
|
background: var(--bp-surface);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: 12px;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alert-item:hover {
|
|
border-color: var(--bp-primary);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.alert-item.unread {
|
|
border-left: 4px solid var(--bp-primary);
|
|
}
|
|
|
|
.alert-item-checkbox {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.alert-item-checkbox input {
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alert-item-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.alert-item-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.alert-item-topic {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: var(--bp-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.alert-item-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 4px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.alert-item-snippet {
|
|
font-size: 13px;
|
|
color: var(--bp-text-muted);
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.alert-item-meta {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.alert-item-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.alert-item-score {
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.alert-item-score.high {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.alert-item-score.medium {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--bp-warning);
|
|
}
|
|
|
|
.alert-item-score.low {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.alert-item-decision {
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.alert-item-decision.keep {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.alert-item-decision.review {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--bp-warning);
|
|
}
|
|
|
|
.alert-item-decision.drop {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.alert-item-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.alert-item-time {
|
|
font-size: 11px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.alert-item-action-btns {
|
|
display: flex;
|
|
gap: 4px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.alert-item:hover .alert-item-action-btns {
|
|
opacity: 1;
|
|
}
|
|
|
|
.alert-action-btn {
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.alert-action-btn:hover {
|
|
border-color: var(--bp-primary);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
.alert-action-btn.keep:hover {
|
|
border-color: var(--bp-success);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.alert-action-btn.drop:hover {
|
|
border-color: var(--bp-danger);
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
/* ==========================================
|
|
TOPICS VIEW
|
|
========================================== */
|
|
|
|
.topics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.topic-card {
|
|
background: var(--bp-surface);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.topic-card:hover {
|
|
border-color: var(--bp-primary);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.topic-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.topic-card-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
background: var(--bp-primary-soft);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.topic-card-status {
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topic-card-status.active {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.topic-card-status.paused {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--bp-warning);
|
|
}
|
|
|
|
.topic-card-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.topic-card-url {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
word-break: break-all;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.topic-card-stats {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.topic-card-stat {
|
|
text-align: center;
|
|
}
|
|
|
|
.topic-card-stat-value {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.topic-card-stat-label {
|
|
font-size: 11px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.topic-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.topic-card-btn {
|
|
flex: 1;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-align: center;
|
|
}
|
|
|
|
.topic-card-btn-primary {
|
|
background: var(--bp-primary);
|
|
border: none;
|
|
color: white;
|
|
}
|
|
|
|
.topic-card-btn-primary:hover {
|
|
background: var(--bp-primary-hover);
|
|
}
|
|
|
|
.topic-card-btn-secondary {
|
|
background: var(--bp-surface-elevated);
|
|
border: 1px solid var(--bp-border);
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.topic-card-btn-secondary:hover {
|
|
border-color: var(--bp-primary);
|
|
color: var(--bp-primary);
|
|
}
|
|
|
|
/* Add Topic Card */
|
|
.topic-card-add {
|
|
background: var(--bp-bg);
|
|
border: 2px dashed var(--bp-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 200px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.topic-card-add:hover {
|
|
border-color: var(--bp-primary);
|
|
background: var(--bp-primary-soft);
|
|
}
|
|
|
|
.topic-card-add-icon {
|
|
font-size: 40px;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.topic-card-add-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
/* ==========================================
|
|
RULES VIEW
|
|
========================================== */
|
|
|
|
.rules-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.rule-item {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding: 16px 20px;
|
|
background: var(--bp-surface);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.rule-item-drag {
|
|
color: var(--bp-text-muted);
|
|
cursor: grab;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.rule-item-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.rule-item-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.rule-item-conditions {
|
|
font-size: 13px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.rule-item-action {
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.rule-item-action.keep {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.rule-item-action.drop {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.rule-item-action.email {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: var(--bp-info);
|
|
}
|
|
|
|
.rule-item-action.webhook {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: #8b5cf6;
|
|
}
|
|
|
|
.rule-item-toggle {
|
|
position: relative;
|
|
width: 48px;
|
|
height: 24px;
|
|
background: var(--bp-border);
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.rule-item-toggle.active {
|
|
background: var(--bp-success);
|
|
}
|
|
|
|
.rule-item-toggle::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: white;
|
|
border-radius: 50%;
|
|
top: 2px;
|
|
left: 2px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.rule-item-toggle.active::after {
|
|
left: 26px;
|
|
}
|
|
|
|
/* ==========================================
|
|
MODALS
|
|
========================================== */
|
|
|
|
.alerts-modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
z-index: 10000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.alerts-modal.active {
|
|
display: flex;
|
|
}
|
|
|
|
.alerts-modal-content {
|
|
background: var(--bp-surface);
|
|
border-radius: 16px;
|
|
width: 95%;
|
|
max-width: 600px;
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: modalSlideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.alerts-modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.alerts-modal-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.alerts-modal-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alerts-modal-close:hover {
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.alerts-modal-body {
|
|
padding: 24px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.alerts-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
padding: 16px 24px;
|
|
border-top: 1px solid var(--bp-border);
|
|
}
|
|
|
|
/* Form Fields */
|
|
.alerts-form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.alerts-form-label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.alerts-form-input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-bg);
|
|
color: var(--bp-text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.alerts-form-input:focus {
|
|
outline: none;
|
|
border-color: var(--bp-primary);
|
|
}
|
|
|
|
.alerts-form-select {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-bg);
|
|
color: var(--bp-text);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alerts-form-hint {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Empty State */
|
|
.alerts-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 60px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.alerts-empty-icon {
|
|
font-size: 64px;
|
|
margin-bottom: 20px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.alerts-empty-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.alerts-empty-description {
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
max-width: 400px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* ==========================================
|
|
MODE SWITCHER
|
|
========================================== */
|
|
|
|
.alerts-mode-switcher {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 3px;
|
|
background: var(--bp-surface-elevated);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.mode-btn {
|
|
padding: 6px 14px;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--bp-text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.mode-btn:hover {
|
|
background: var(--bp-surface);
|
|
}
|
|
|
|
.mode-btn.active {
|
|
background: var(--bp-primary);
|
|
color: white;
|
|
}
|
|
|
|
/* ==========================================
|
|
GUIDED MODE - WIZARD
|
|
========================================== */
|
|
|
|
.guided-mode-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.guided-wizard {
|
|
display: none;
|
|
flex-direction: column;
|
|
max-width: 800px;
|
|
margin: 40px auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.guided-wizard.active {
|
|
display: flex;
|
|
}
|
|
|
|
.wizard-progress {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.wizard-step-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wizard-step-dot {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
background: var(--bp-surface);
|
|
border: 2px solid var(--bp-border);
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.wizard-step-dot.active {
|
|
background: var(--bp-primary);
|
|
border-color: var(--bp-primary);
|
|
color: white;
|
|
}
|
|
|
|
.wizard-step-dot.completed {
|
|
background: var(--bp-success);
|
|
border-color: var(--bp-success);
|
|
color: white;
|
|
}
|
|
|
|
.wizard-step-line {
|
|
width: 60px;
|
|
height: 2px;
|
|
background: var(--bp-border);
|
|
}
|
|
|
|
.wizard-step-line.completed {
|
|
background: var(--bp-success);
|
|
}
|
|
|
|
.wizard-step {
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.wizard-step.active {
|
|
display: flex;
|
|
}
|
|
|
|
.wizard-step-title {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--bp-text);
|
|
margin-bottom: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.wizard-step-description {
|
|
font-size: 16px;
|
|
color: var(--bp-text-muted);
|
|
text-align: center;
|
|
max-width: 500px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
/* Role Cards */
|
|
.role-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
width: 100%;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.role-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 24px 16px;
|
|
background: var(--bp-surface);
|
|
border: 2px solid var(--bp-border);
|
|
border-radius: 16px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.role-card:hover {
|
|
border-color: var(--bp-primary);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.role-card.selected {
|
|
border-color: var(--bp-primary);
|
|
background: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
.role-card-icon {
|
|
font-size: 36px;
|
|
margin-bottom: 12px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.role-card-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 4px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.role-card-description {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
text-align: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Template Grid */
|
|
.template-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 16px;
|
|
width: 100%;
|
|
max-width: 860px;
|
|
}
|
|
|
|
.template-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 18px;
|
|
background: var(--bp-surface);
|
|
border: 2px solid var(--bp-border);
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.template-card:hover {
|
|
border-color: var(--bp-primary);
|
|
}
|
|
|
|
.template-card.selected {
|
|
border-color: var(--bp-primary);
|
|
background: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
.template-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.template-card-icon {
|
|
font-size: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.template-card-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.template-card-desc {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.template-card-check {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--bp-border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
color: white;
|
|
background: transparent;
|
|
}
|
|
|
|
.template-card.selected .template-card-check {
|
|
background: var(--bp-primary);
|
|
border-color: var(--bp-primary);
|
|
}
|
|
|
|
.template-selection-info {
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
/* Confirmation */
|
|
.confirmation-summary {
|
|
width: 100%;
|
|
max-width: 480px;
|
|
background: var(--bp-surface);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
border: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.confirmation-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.confirmation-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.confirmation-label {
|
|
font-size: 14px;
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.confirmation-value {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.confirmation-templates {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.confirmation-template-tag {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: var(--bp-primary);
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Email Input */
|
|
.email-input-group {
|
|
margin-top: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
.email-input-label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--bp-text);
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.email-input-hint {
|
|
font-size: 12px;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.email-input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
/* Wizard Navigation */
|
|
.wizard-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 40px;
|
|
width: 100%;
|
|
max-width: 480px;
|
|
}
|
|
|
|
.wizard-nav-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.wizard-nav-btn.secondary {
|
|
background: transparent;
|
|
border: 1px solid var(--bp-border);
|
|
color: var(--bp-text-muted);
|
|
}
|
|
|
|
.wizard-nav-btn.primary {
|
|
background: var(--bp-primary);
|
|
border: none;
|
|
color: white;
|
|
}
|
|
|
|
.wizard-nav-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ==========================================
|
|
GUIDED MODE - INFO CARDS
|
|
========================================== */
|
|
|
|
.guided-inbox {
|
|
display: none;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.guided-inbox.active {
|
|
display: flex;
|
|
}
|
|
|
|
.guided-inbox-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 32px;
|
|
border-bottom: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
}
|
|
|
|
.info-cards-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 24px 32px;
|
|
}
|
|
|
|
.info-cards-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.info-card {
|
|
background: var(--bp-surface);
|
|
border: 1px solid var(--bp-border);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.info-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.info-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: var(--bp-surface-elevated);
|
|
border-bottom: 1px solid var(--bp-border);
|
|
}
|
|
|
|
.importance-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.importance-badge.kritisch {
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.importance-badge.dringend {
|
|
background: #fff7ed;
|
|
color: #ea580c;
|
|
}
|
|
|
|
.importance-badge.wichtig {
|
|
background: #fffbeb;
|
|
color: #d97706;
|
|
}
|
|
|
|
.importance-badge.pruefen {
|
|
background: #eff6ff;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.importance-badge.info {
|
|
background: #f8fafc;
|
|
color: #64748b;
|
|
}
|
|
|
|
.info-card-body {
|
|
padding: 16px;
|
|
}
|
|
|
|
.info-card-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.info-card-source {
|
|
font-size: 13px;
|
|
color: var(--bp-primary);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.info-card-why {
|
|
background: var(--bp-surface-elevated);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.info-card-why-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.info-card-why-content {
|
|
font-size: 14px;
|
|
color: var(--bp-text);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.info-card-steps {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.info-card-steps-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--bp-text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.info-card-step {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: var(--bp-text);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.info-card-step-checkbox {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid var(--bp-border);
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.info-card-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--bp-border);
|
|
background: var(--bp-surface-elevated);
|
|
}
|
|
|
|
.info-card-feedback {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.feedback-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: 1px solid var(--bp-border);
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text-muted);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.feedback-btn.negative:hover {
|
|
border-color: #ef4444;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.feedback-btn.positive:hover {
|
|
border-color: var(--bp-success);
|
|
color: var(--bp-success);
|
|
}
|
|
|
|
.info-card-open {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
background: var(--bp-primary);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.guided-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.guided-empty-icon {
|
|
font-size: 64px;
|
|
margin-bottom: 20px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.guided-empty-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--bp-text);
|
|
margin-bottom: 8px;
|
|
}
|
|
"""
|
|
|