Initial commit: breakpilot-lehrer - Lehrer KI Platform
Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website, Klausur-Service, School-Service, Voice-Service, Geo-Service, BreakPilot Drive, Agent-Core Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
468
klausur-service/frontend/src/styles/eh-wizard.css
Normal file
468
klausur-service/frontend/src/styles/eh-wizard.css
Normal file
@@ -0,0 +1,468 @@
|
||||
/**
|
||||
* BYOEH Upload Wizard Styles
|
||||
*/
|
||||
|
||||
/* Overlay */
|
||||
.eh-wizard-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Modal */
|
||||
.eh-wizard-modal {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
max-height: 90vh;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.eh-wizard-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px 24px;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
.eh-wizard-header h2 {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.eh-wizard-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
color: #6b7280;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.eh-wizard-close:hover {
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
/* Progress */
|
||||
.eh-wizard-progress {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 20px 24px;
|
||||
background: #f9fafb;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
.eh-progress-step {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.eh-progress-step:not(:last-child)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #e5e7eb;
|
||||
}
|
||||
|
||||
.eh-progress-step.completed:not(:last-child)::after {
|
||||
background: #10b981;
|
||||
}
|
||||
|
||||
.eh-progress-dot {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
background: #e5e7eb;
|
||||
color: #6b7280;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.eh-progress-step.active .eh-progress-dot {
|
||||
background: #3b82f6;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.eh-progress-step.completed .eh-progress-dot {
|
||||
background: #10b981;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.eh-progress-label {
|
||||
margin-top: 8px;
|
||||
font-size: 11px;
|
||||
color: #6b7280;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.eh-progress-step.active .eh-progress-label {
|
||||
color: #3b82f6;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
.eh-wizard-content {
|
||||
padding: 24px;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.eh-wizard-step h3 {
|
||||
margin: 0 0 8px 0;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.eh-wizard-description {
|
||||
margin: 0 0 24px 0;
|
||||
color: #6b7280;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* File Drop */
|
||||
.eh-file-drop {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.eh-file-drop input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.eh-file-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px 20px;
|
||||
border: 2px dashed #d1d5db;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s, background-color 0.2s;
|
||||
}
|
||||
|
||||
.eh-file-label:hover {
|
||||
border-color: #3b82f6;
|
||||
background: #f0f9ff;
|
||||
}
|
||||
|
||||
.eh-file-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.eh-file-name {
|
||||
font-weight: 600;
|
||||
color: #111827;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.eh-file-size {
|
||||
font-size: 14px;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
/* Form Groups */
|
||||
.eh-form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.eh-form-group label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.eh-form-group input,
|
||||
.eh-form-group select {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.eh-form-group input:focus,
|
||||
.eh-form-group select:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
|
||||
.eh-form-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* Password Input */
|
||||
.eh-password-input {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.eh-password-input input {
|
||||
padding-right: 44px;
|
||||
}
|
||||
|
||||
.eh-toggle-password {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.eh-password-strength {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.eh-strength-weak {
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.eh-strength-medium {
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
.eh-strength-strong {
|
||||
color: #10b981;
|
||||
}
|
||||
|
||||
/* Rights Box */
|
||||
.eh-rights-box {
|
||||
background: #f9fafb;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.eh-rights-box pre {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
/* Checkbox Group */
|
||||
.eh-checkbox-group {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.eh-checkbox-group input[type="checkbox"] {
|
||||
margin-top: 2px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.eh-checkbox-group label {
|
||||
font-size: 14px;
|
||||
color: #374151;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Info & Warning Boxes */
|
||||
.eh-info-box,
|
||||
.eh-warning-box {
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.eh-info-box {
|
||||
background: #dbeafe;
|
||||
color: #1e40af;
|
||||
}
|
||||
|
||||
.eh-warning-box {
|
||||
background: #fef3c7;
|
||||
color: #92400e;
|
||||
}
|
||||
|
||||
.eh-info-box strong,
|
||||
.eh-warning-box strong {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* Summary Table */
|
||||
.eh-summary-table {
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.eh-summary-row {
|
||||
display: flex;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
.eh-summary-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.eh-summary-row:nth-child(odd) {
|
||||
background: #f9fafb;
|
||||
}
|
||||
|
||||
.eh-summary-label {
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
width: 160px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.eh-summary-value {
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
/* Upload Progress */
|
||||
.eh-upload-progress {
|
||||
background: #e5e7eb;
|
||||
border-radius: 4px;
|
||||
height: 24px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.eh-progress-bar {
|
||||
background: #3b82f6;
|
||||
height: 100%;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.eh-upload-progress span {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
/* Error & Warning Messages */
|
||||
.eh-error {
|
||||
color: #dc2626;
|
||||
font-size: 14px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.eh-warning {
|
||||
color: #d97706;
|
||||
font-size: 14px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.eh-wizard-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
background: #f9fafb;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.eh-btn {
|
||||
padding: 10px 20px;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, opacity 0.2s;
|
||||
}
|
||||
|
||||
.eh-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.eh-btn-primary {
|
||||
background: #3b82f6;
|
||||
color: white;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.eh-btn-primary:hover:not(:disabled) {
|
||||
background: #2563eb;
|
||||
}
|
||||
|
||||
.eh-btn-secondary {
|
||||
background: white;
|
||||
color: #374151;
|
||||
border: 1px solid #d1d5db;
|
||||
}
|
||||
|
||||
.eh-btn-secondary:hover:not(:disabled) {
|
||||
background: #f9fafb;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 640px) {
|
||||
.eh-wizard-modal {
|
||||
max-height: 100vh;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.eh-form-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.eh-wizard-progress {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.eh-progress-label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
924
klausur-service/frontend/src/styles/global.css
Normal file
924
klausur-service/frontend/src/styles/global.css
Normal file
@@ -0,0 +1,924 @@
|
||||
/* ==========================================
|
||||
BREAKPILOT KLAUSUR-SERVICE - DESIGN SYSTEM
|
||||
========================================== */
|
||||
|
||||
:root {
|
||||
/* Primary Colors - Weinrot */
|
||||
--bp-primary: #6C1B1B;
|
||||
--bp-primary-hover: #8B2323;
|
||||
--bp-primary-soft: rgba(108, 27, 27, 0.1);
|
||||
|
||||
/* Background */
|
||||
--bp-bg: #0f172a;
|
||||
--bp-surface: #1e293b;
|
||||
--bp-surface-elevated: #334155;
|
||||
|
||||
/* Borders */
|
||||
--bp-border: #475569;
|
||||
--bp-border-subtle: rgba(255, 255, 255, 0.1);
|
||||
|
||||
/* Accent Colors */
|
||||
--bp-accent: #5ABF60;
|
||||
--bp-accent-soft: rgba(90, 191, 96, 0.15);
|
||||
|
||||
/* Text */
|
||||
--bp-text: #e5e7eb;
|
||||
--bp-text-muted: #9ca3af;
|
||||
|
||||
/* Status Colors */
|
||||
--bp-danger: #ef4444;
|
||||
--bp-warning: #f59e0b;
|
||||
--bp-success: #22c55e;
|
||||
--bp-info: #3b82f6;
|
||||
|
||||
/* Gold Accent */
|
||||
--bp-gold: #F1C40F;
|
||||
|
||||
/* Sidebar */
|
||||
--sidebar-width: 280px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Manrope', system-ui, -apple-system, sans-serif;
|
||||
background: var(--bp-bg);
|
||||
color: var(--bp-text);
|
||||
min-height: 100vh;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
LAYOUT
|
||||
========================================== */
|
||||
|
||||
.app-layout {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
TOPBAR
|
||||
========================================== */
|
||||
|
||||
.topbar {
|
||||
height: 56px;
|
||||
background: var(--bp-surface);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background: var(--bp-primary);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.brand-text-main {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.brand-text-sub {
|
||||
font-size: 11px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.topbar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
BUTTONS
|
||||
========================================== */
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 10px 20px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--bp-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: var(--bp-primary-hover);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: var(--bp-surface-elevated);
|
||||
color: var(--bp-text);
|
||||
border: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background: var(--bp-border);
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
background: transparent;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.btn-ghost:hover {
|
||||
background: var(--bp-surface-elevated);
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background: var(--bp-danger);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-danger:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
CARDS
|
||||
========================================== */
|
||||
|
||||
.card {
|
||||
background: var(--bp-surface);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ONBOARDING WIZARD
|
||||
========================================== */
|
||||
|
||||
.onboarding {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
background: var(--bp-bg);
|
||||
}
|
||||
|
||||
.onboarding-content {
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.onboarding-steps {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.onboarding-step {
|
||||
width: 40px;
|
||||
height: 4px;
|
||||
background: var(--bp-border);
|
||||
border-radius: 2px;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
|
||||
.onboarding-step.active {
|
||||
background: var(--bp-primary);
|
||||
}
|
||||
|
||||
.onboarding-step.completed {
|
||||
background: var(--bp-accent);
|
||||
}
|
||||
|
||||
.onboarding-title {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.onboarding-subtitle {
|
||||
color: var(--bp-text-muted);
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.onboarding-options {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.onboarding-card {
|
||||
flex: 1;
|
||||
min-width: 220px;
|
||||
max-width: 280px;
|
||||
padding: 32px 24px;
|
||||
background: var(--bp-surface);
|
||||
border: 2px solid var(--bp-border);
|
||||
border-radius: 16px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.onboarding-card:hover {
|
||||
border-color: var(--bp-primary);
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.onboarding-card.selected {
|
||||
border-color: var(--bp-primary);
|
||||
background: var(--bp-primary-soft);
|
||||
}
|
||||
|
||||
.onboarding-card-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.onboarding-card-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.onboarding-card-desc {
|
||||
font-size: 13px;
|
||||
color: var(--bp-text-muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.onboarding-back {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
left: 20px;
|
||||
color: var(--bp-text-muted);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
z-index: 10;
|
||||
padding: 8px 12px;
|
||||
background: var(--bp-surface);
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.onboarding-back:hover {
|
||||
color: var(--bp-text);
|
||||
background: var(--bp-surface-elevated);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
TWO-COLUMN LAYOUT (2/3 Document + 1/3 Grading)
|
||||
========================================== */
|
||||
|
||||
.korrektur-layout {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Left side: Student list (collapsible) */
|
||||
.korrektur-sidebar {
|
||||
width: 260px;
|
||||
min-width: 260px;
|
||||
background: var(--bp-surface);
|
||||
border-right: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
transition: width 0.3s ease, min-width 0.3s ease;
|
||||
}
|
||||
|
||||
/* Collapsed sidebar */
|
||||
.korrektur-sidebar.collapsed {
|
||||
width: 48px;
|
||||
min-width: 48px;
|
||||
}
|
||||
|
||||
/* Sidebar toggle button */
|
||||
.sidebar-toggle {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 8px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: var(--bp-surface-elevated);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 6px;
|
||||
color: var(--bp-text-muted);
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.sidebar-toggle:hover {
|
||||
background: var(--bp-border);
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.korrektur-sidebar.collapsed .sidebar-toggle {
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
/* Center: Document viewer (2/3 of remaining space) */
|
||||
.korrektur-main {
|
||||
flex: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bp-bg);
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Sidebar collapsed -> main takes more space */
|
||||
.korrektur-layout.sidebar-collapsed .korrektur-main {
|
||||
flex: 2.5;
|
||||
}
|
||||
|
||||
/* Right: Grading panel (1/3 of remaining space) */
|
||||
.korrektur-panel {
|
||||
flex: 1;
|
||||
min-width: 340px;
|
||||
max-width: 420px;
|
||||
background: var(--bp-surface);
|
||||
border-left: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
WIZARD STEPS INDICATOR
|
||||
========================================== */
|
||||
|
||||
.wizard-steps {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 16px 20px;
|
||||
background: var(--bp-bg);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.wizard-step {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.wizard-step.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wizard-step.completed {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.wizard-step-number {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
background: var(--bp-surface-elevated);
|
||||
border: 2px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.wizard-step.active .wizard-step-number {
|
||||
background: var(--bp-primary);
|
||||
border-color: var(--bp-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wizard-step.completed .wizard-step-number {
|
||||
background: var(--bp-accent);
|
||||
border-color: var(--bp-accent);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wizard-step-label {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: var(--bp-text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wizard-step.active .wizard-step-label {
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
SIDEBAR SECTIONS
|
||||
========================================== */
|
||||
|
||||
.sidebar-section {
|
||||
padding: 16px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.sidebar-section-title {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--bp-text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.klausur-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.klausur-item:hover {
|
||||
background: var(--bp-surface-elevated);
|
||||
}
|
||||
|
||||
.klausur-item.active {
|
||||
background: var(--bp-primary-soft);
|
||||
border: 1px solid var(--bp-primary);
|
||||
}
|
||||
|
||||
.klausur-icon {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.klausur-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.klausur-name {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.klausur-meta {
|
||||
font-size: 12px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.delete-btn {
|
||||
opacity: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bp-danger);
|
||||
padding: 4px;
|
||||
border-radius: 4px;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.klausur-item:hover .delete-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
DOCUMENT VIEWER
|
||||
========================================== */
|
||||
|
||||
.viewer-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.viewer-toolbar {
|
||||
height: 48px;
|
||||
background: var(--bp-surface);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.viewer-content {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.document-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--bp-text-muted);
|
||||
padding: 60px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.document-placeholder-icon {
|
||||
font-size: 64px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Document Display */
|
||||
.document-viewer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: var(--bp-surface-elevated);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.document-viewer iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.document-viewer img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.document-info-bar {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
background: var(--bp-surface);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.document-info-bar .file-name {
|
||||
font-weight: 500;
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.document-info-bar .file-status {
|
||||
color: var(--bp-accent);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.document-frame {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
GRADING PANEL
|
||||
========================================== */
|
||||
|
||||
.panel-section {
|
||||
padding: 20px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.panel-section-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.criterion-item {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.criterion-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.criterion-label {
|
||||
font-size: 13px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.criterion-score {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.criterion-slider {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
-webkit-appearance: none;
|
||||
background: var(--bp-border);
|
||||
border-radius: 3px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.criterion-slider::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: var(--bp-primary);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Grade Display */
|
||||
.grade-display {
|
||||
text-align: center;
|
||||
padding: 24px;
|
||||
background: var(--bp-bg);
|
||||
border-radius: 12px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.grade-points {
|
||||
font-size: 48px;
|
||||
font-weight: 700;
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
.grade-label {
|
||||
font-size: 14px;
|
||||
color: var(--bp-text-muted);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
FORMS & INPUTS
|
||||
========================================== */
|
||||
|
||||
.input {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
background: var(--bp-bg);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 8px;
|
||||
color: var(--bp-text);
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.input:focus {
|
||||
border-color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.textarea {
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
background: var(--bp-bg);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 8px;
|
||||
color: var(--bp-text);
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
resize: vertical;
|
||||
min-height: 100px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.textarea:focus {
|
||||
border-color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--bp-text-muted);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
UPLOAD AREA
|
||||
========================================== */
|
||||
|
||||
.upload-area {
|
||||
border: 2px dashed var(--bp-border);
|
||||
border-radius: 12px;
|
||||
padding: 40px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.upload-area:hover,
|
||||
.upload-area.dragover {
|
||||
border-color: var(--bp-primary);
|
||||
background: var(--bp-primary-soft);
|
||||
}
|
||||
|
||||
.upload-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.upload-text {
|
||||
font-size: 14px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
LOADING & SPINNER
|
||||
========================================== */
|
||||
|
||||
.spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 3px solid var(--bp-border);
|
||||
border-top-color: var(--bp-primary);
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
.loading-text {
|
||||
margin-top: 16px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
MODALS
|
||||
========================================== */
|
||||
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.modal {
|
||||
background: var(--bp-surface);
|
||||
border-radius: 16px;
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
padding: 20px 24px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bp-text-muted);
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
RESPONSIVE
|
||||
========================================== */
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.korrektur-panel {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.korrektur-sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
407
klausur-service/frontend/src/styles/rag-search.css
Normal file
407
klausur-service/frontend/src/styles/rag-search.css
Normal file
@@ -0,0 +1,407 @@
|
||||
/* ==========================================
|
||||
RAG SEARCH PANEL STYLES
|
||||
========================================== */
|
||||
|
||||
/* Overlay */
|
||||
.rag-search-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1100;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Modal */
|
||||
.rag-search-modal {
|
||||
background: var(--bp-surface);
|
||||
border-radius: 16px;
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
max-height: 90vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.rag-search-header {
|
||||
padding: 20px 24px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.rag-search-header h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rag-search-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bp-text-muted);
|
||||
font-size: 28px;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.rag-search-close:hover {
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
/* Search Input */
|
||||
.rag-search-input-container {
|
||||
padding: 20px 24px;
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.rag-search-input {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
background: var(--bp-bg);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 8px;
|
||||
color: var(--bp-text);
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
resize: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rag-search-input:focus {
|
||||
border-color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.rag-search-input::placeholder {
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.rag-search-btn {
|
||||
padding: 12px 24px;
|
||||
background: var(--bp-primary);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.rag-search-btn:hover:not(:disabled) {
|
||||
background: var(--bp-primary-hover);
|
||||
}
|
||||
|
||||
.rag-search-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Advanced Options Toggle */
|
||||
.rag-advanced-toggle {
|
||||
padding: 12px 24px;
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.rag-toggle-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bp-text-muted);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
padding: 4px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.rag-toggle-btn:hover {
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
/* Advanced Options Panel */
|
||||
.rag-advanced-options {
|
||||
padding: 16px 24px;
|
||||
background: var(--bp-bg);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.rag-option-row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.rag-option-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rag-option-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 14px;
|
||||
color: var(--bp-text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rag-option-label input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
accent-color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.rag-option-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.rag-option-hint {
|
||||
font-size: 12px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.rag-option-select {
|
||||
margin-left: 8px;
|
||||
padding: 6px 12px;
|
||||
background: var(--bp-surface);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 6px;
|
||||
color: var(--bp-text);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* Error Display */
|
||||
.rag-error {
|
||||
margin: 16px 24px;
|
||||
padding: 12px 16px;
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
border: 1px solid var(--bp-danger);
|
||||
border-radius: 8px;
|
||||
color: var(--bp-danger);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Results Container */
|
||||
.rag-results {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
/* Search Info Badge */
|
||||
.rag-search-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 16px;
|
||||
padding: 12px 16px;
|
||||
background: var(--bp-bg);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.rag-info-badge {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.rag-info-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.rag-info-rerank {
|
||||
background: rgba(59, 130, 246, 0.2);
|
||||
color: var(--bp-info);
|
||||
}
|
||||
|
||||
.rag-info-hybrid {
|
||||
background: rgba(168, 85, 247, 0.2);
|
||||
color: #a855f7;
|
||||
}
|
||||
|
||||
.rag-info-model {
|
||||
background: var(--bp-surface-elevated);
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.rag-info-count {
|
||||
font-size: 12px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
/* Context Summary */
|
||||
.rag-context-summary {
|
||||
margin-bottom: 20px;
|
||||
padding: 16px;
|
||||
background: var(--bp-primary-soft);
|
||||
border-radius: 8px;
|
||||
border-left: 4px solid var(--bp-primary);
|
||||
}
|
||||
|
||||
.rag-context-summary h4 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--bp-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.rag-context-summary p {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: var(--bp-text);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Source Results */
|
||||
.rag-sources h4 {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 12px;
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.rag-source-item {
|
||||
background: var(--bp-bg);
|
||||
border: 1px solid var(--bp-border);
|
||||
border-radius: 10px;
|
||||
margin-bottom: 12px;
|
||||
overflow: hidden;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.rag-source-item:hover {
|
||||
border-color: var(--bp-primary);
|
||||
}
|
||||
|
||||
.rag-source-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px 16px;
|
||||
background: var(--bp-surface-elevated);
|
||||
border-bottom: 1px solid var(--bp-border);
|
||||
}
|
||||
|
||||
.rag-source-rank {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background: var(--bp-primary);
|
||||
color: white;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.rag-source-title {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--bp-text);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.rag-confidence-badge {
|
||||
padding: 4px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.rag-reranked-icon {
|
||||
font-size: 10px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.rag-source-text {
|
||||
padding: 16px;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
color: var(--bp-text);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.rag-source-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 10px 16px;
|
||||
background: var(--bp-surface-elevated);
|
||||
border-top: 1px solid var(--bp-border);
|
||||
font-size: 12px;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
/* Empty State */
|
||||
.rag-empty-state {
|
||||
padding: 40px 24px;
|
||||
text-align: center;
|
||||
color: var(--bp-text-muted);
|
||||
}
|
||||
|
||||
.rag-empty-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.rag-empty-state p {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.rag-empty-hint {
|
||||
font-size: 13px;
|
||||
color: var(--bp-text-muted);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 640px) {
|
||||
.rag-search-modal {
|
||||
max-height: 95vh;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.rag-search-input-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.rag-search-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.rag-search-info {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user