1521 lines
28 KiB
CSS
Executable file
1521 lines
28 KiB
CSS
Executable file
/* ============ Variables ============ */
|
|
:root {
|
|
--primary: #3b82f6;
|
|
--primary-dark: #2563eb;
|
|
--success: #22c55e;
|
|
--danger: #ef4444;
|
|
--warning: #f59e0b;
|
|
--bg: #0f172a;
|
|
--bg-secondary: #1e293b;
|
|
--bg-tertiary: #334155;
|
|
--text: #f1f5f9;
|
|
--text-secondary: #94a3b8;
|
|
--border: #475569;
|
|
--radius: 8px;
|
|
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* ============ Reset & Base ============ */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ============ Layout ============ */
|
|
#app {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header {
|
|
background: var(--bg-secondary);
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.main-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1px;
|
|
flex: 1;
|
|
background: var(--border);
|
|
}
|
|
|
|
@media (max-width: 1600px) {
|
|
.main-container {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.main-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ============ Bereiche ============ */
|
|
.bereich {
|
|
background: var(--bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.bereich-header {
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.bereich-header h2 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.bereich-desc {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.bereich-content {
|
|
padding: 1rem;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* ============ Buttons ============ */
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
background: var(--bg-tertiary);
|
|
color: var(--text);
|
|
}
|
|
|
|
.btn:hover {
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--success);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* ============ Cards ============ */
|
|
.card {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-header {
|
|
padding: 0.75rem 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.card-header h3 {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* ============ Action Bar ============ */
|
|
.action-bar {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* ============ Config Items ============ */
|
|
.config-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.config-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.config-item-info h4 {
|
|
font-size: 0.875rem;
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
|
|
.config-item-info small {
|
|
color: var(--text-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.config-item-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* ============ Forms ============ */
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--bg-tertiary);
|
|
color: var(--text);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.form-group small {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
color: var(--text-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.code-input {
|
|
font-family: 'Consolas', 'Monaco', monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* ============ Log Output ============ */
|
|
.log-output {
|
|
font-family: 'Consolas', 'Monaco', monospace;
|
|
font-size: 0.8rem;
|
|
max-height: 350px;
|
|
min-height: 100px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.log-entry {
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
margin-bottom: 0.25rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.log-entry.success {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border-left: 3px solid var(--success);
|
|
}
|
|
|
|
.log-entry.error {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
border-left: 3px solid var(--danger);
|
|
}
|
|
|
|
.log-entry.info {
|
|
background: rgba(59, 130, 246, 0.2);
|
|
border-left: 3px solid var(--primary);
|
|
}
|
|
|
|
.empty-state {
|
|
color: var(--text-secondary);
|
|
text-align: center;
|
|
padding: 1rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* ============ Modals ============ */
|
|
.modal {
|
|
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-content {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius);
|
|
width: 90%;
|
|
max-width: 500px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modal-large {
|
|
max-width: 700px;
|
|
}
|
|
|
|
/* ============ Dialog-Modal (Alert/Confirm) ============ */
|
|
.dialog-modal-content {
|
|
max-width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
.dialog-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.dialog-icon.success { color: var(--success); }
|
|
.dialog-icon.error { color: var(--danger); }
|
|
.dialog-icon.warning { color: var(--warning); }
|
|
.dialog-icon.info { color: var(--primary); }
|
|
.dialog-icon.question { color: var(--primary); }
|
|
|
|
.dialog-message {
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
color: var(--text);
|
|
white-space: pre-line;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
#dialog-footer {
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
#dialog-footer .btn {
|
|
min-width: 100px;
|
|
}
|
|
|
|
.modal-content.modal-fullwidth {
|
|
max-width: 90vw !important;
|
|
width: 90vw !important;
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ============ Regel-Editor 3-Spalten Layout ============ */
|
|
.modal-body.regel-editor-body {
|
|
display: grid !important;
|
|
grid-template-columns: 200px 1fr 400px;
|
|
gap: 1rem;
|
|
padding: 0 !important;
|
|
height: calc(90vh - 120px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.regel-spalte {
|
|
padding: 1rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Regex-Hilfe (links) */
|
|
.regex-hilfe {
|
|
background: var(--bg-tertiary);
|
|
border-right: 1px solid var(--border);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.regex-hilfe h4 {
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.regex-cheatsheet {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.regex-gruppe {
|
|
background: var(--bg-secondary);
|
|
padding: 0.5rem;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.regex-gruppe strong {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--primary);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.regex-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.regex-item code {
|
|
background: var(--bg);
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 3px;
|
|
font-family: monospace;
|
|
color: var(--success);
|
|
min-width: 50px;
|
|
}
|
|
|
|
.regex-beispiel {
|
|
margin-top: 0.5rem;
|
|
padding-top: 0.5rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.regex-beispiel code {
|
|
display: block;
|
|
background: var(--bg);
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 3px;
|
|
font-family: monospace;
|
|
color: var(--warning);
|
|
font-size: 0.75rem;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.regex-beispiel small {
|
|
display: block;
|
|
color: var(--text-secondary);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Eingabe-Spalte (mitte) */
|
|
.regel-eingabe {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.regel-eingabe .regel-section {
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.regel-eingabe .regel-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.regel-eingabe h4 {
|
|
font-size: 0.85rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.checkbox-label.compact {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* Extraktion-Tabelle - Verbessertes Layout */
|
|
.extraktion-tabelle.compact {
|
|
font-size: 0.85rem;
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.extraktion-tabelle.compact th,
|
|
.extraktion-tabelle.compact td {
|
|
padding: 0.4rem 0.5rem;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* Spaltenbreiten */
|
|
.extraktion-tabelle.compact th:nth-child(1),
|
|
.extraktion-tabelle.compact td:nth-child(1) {
|
|
width: 100px;
|
|
}
|
|
|
|
.extraktion-tabelle.compact th:nth-child(2),
|
|
.extraktion-tabelle.compact td:nth-child(2) {
|
|
width: 80px;
|
|
}
|
|
|
|
/* Auswahl-Spalte (max/min/first/last) */
|
|
.extraktion-tabelle.compact th:nth-child(4),
|
|
.extraktion-tabelle.compact td:nth-child(4) {
|
|
width: 70px;
|
|
}
|
|
|
|
/* Delete-Button-Spalte */
|
|
.extraktion-tabelle.compact th:nth-child(5),
|
|
.extraktion-tabelle.compact td:nth-child(5) {
|
|
width: 35px;
|
|
}
|
|
|
|
/* Auswahl-Select kompakt */
|
|
.extraktion-tabelle.compact .ext-auswahl {
|
|
width: 100%;
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.2rem;
|
|
}
|
|
|
|
/* Feld-Input */
|
|
.extraktion-tabelle.compact .ext-feld {
|
|
width: 100%;
|
|
font-size: 0.85rem;
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
/* Typ-Select */
|
|
.extraktion-tabelle.compact .ext-typ {
|
|
width: 100%;
|
|
font-size: 0.8rem;
|
|
padding: 0.35rem 0.25rem;
|
|
}
|
|
|
|
/* Textarea für Regex/Wert */
|
|
.extraktion-tabelle.compact textarea {
|
|
font-size: 0.8rem;
|
|
min-height: 55px;
|
|
max-height: 120px;
|
|
resize: vertical;
|
|
font-family: monospace;
|
|
line-height: 1.4;
|
|
width: 100%;
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.extraktion-tabelle textarea {
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
min-height: 55px;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Beispiel-Zeilen hervorheben */
|
|
.extraktion-tabelle.compact .extraktion-row.beispiel {
|
|
background: var(--bg-tertiary);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.extraktion-tabelle.compact .extraktion-row.beispiel:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ordner-checkboxen.compact {
|
|
max-height: 100px;
|
|
overflow-y: auto;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.ordner-checkboxen.compact .checkbox-item {
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
/* Vorschau-Spalte (rechts) */
|
|
.regel-vorschau {
|
|
background: var(--bg);
|
|
border-left: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.regel-vorschau h4 {
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.test-controls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pdf-text-container {
|
|
flex: 1;
|
|
min-height: 200px;
|
|
margin-top: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pdf-text-display {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 0.75rem;
|
|
font-family: monospace;
|
|
font-size: 0.75rem;
|
|
line-height: 1.4;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.pdf-text-display .highlight-keyword {
|
|
background: rgba(34, 197, 94, 0.3);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.pdf-text-display .highlight-match {
|
|
background: rgba(59, 130, 246, 0.3);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.pdf-text-display .highlight-extracted {
|
|
background: rgba(245, 158, 11, 0.4);
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.test-result {
|
|
margin-top: 0.75rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.test-status-box {
|
|
padding: 0.5rem;
|
|
border-radius: var(--radius);
|
|
font-size: 0.85rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.test-status-box.success {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border: 1px solid var(--success);
|
|
}
|
|
|
|
.test-status-box.error {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
border: 1px solid var(--danger);
|
|
}
|
|
|
|
.test-extrahiert-box {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.test-extrahiert-box .feld-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.25rem 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.test-extrahiert-box .feld-name {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.test-extrahiert-box .feld-wert {
|
|
color: var(--success);
|
|
font-family: monospace;
|
|
}
|
|
|
|
.test-dateiname-box {
|
|
margin-top: 0.5rem;
|
|
padding: 0.5rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
color: var(--warning);
|
|
}
|
|
|
|
@media (max-width: 1400px) {
|
|
.modal-body.regel-editor-body {
|
|
grid-template-columns: 180px 1fr 350px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.modal-body.regel-editor-body {
|
|
grid-template-columns: 1fr 350px;
|
|
}
|
|
.regex-hilfe {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ============ Ordner-Editor 3-Spalten Layout ============ */
|
|
.modal-body.ordner-editor-body {
|
|
display: grid !important;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 1.5rem;
|
|
padding: 1rem !important;
|
|
max-height: calc(90vh - 120px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ordner-spalte {
|
|
padding: 1rem;
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.ordner-spalte h4 {
|
|
margin: 0 0 1rem 0;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.ordner-section {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.ordner-section h4 {
|
|
margin: 0 0 0.75rem 0;
|
|
padding: 0;
|
|
border: none;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.dateitypen-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.dateitypen-grid .checkbox-item {
|
|
font-size: 0.85rem;
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.modal-body.ordner-editor-body {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.ordner-spalte:last-child {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.modal-body.ordner-editor-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.ordner-spalte:last-child {
|
|
grid-column: span 1;
|
|
}
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.modal-header h3 {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
/* ============ Test Result ============ */
|
|
.test-result {
|
|
margin-top: 0.5rem;
|
|
padding: 0.75rem;
|
|
border-radius: var(--radius);
|
|
background: var(--bg-tertiary);
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.test-result.success {
|
|
border-left: 3px solid var(--success);
|
|
}
|
|
|
|
.test-result.error {
|
|
border-left: 3px solid var(--danger);
|
|
}
|
|
|
|
/* ============ Status Badges ============ */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.badge-success { background: var(--success); }
|
|
.badge-warning { background: var(--warning); color: #000; }
|
|
.badge-danger { background: var(--danger); }
|
|
.badge-info { background: var(--primary); }
|
|
|
|
/* ============ Loading Overlay ============ */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid var(--border);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-text {
|
|
margin-top: 1rem;
|
|
color: var(--text);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 200px;
|
|
height: 6px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 3px;
|
|
margin-top: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
background: var(--primary);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* ============ File Browser ============ */
|
|
.file-browser {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.file-browser-path {
|
|
padding: 0.5rem;
|
|
background: var(--bg-tertiary);
|
|
border-bottom: 1px solid var(--border);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.file-browser-path input {
|
|
flex: 1;
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
padding: 0.5rem;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
}
|
|
|
|
.file-browser-path input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.file-browser-path .btn-sm {
|
|
padding: 0.4rem 0.6rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.file-browser-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.file-browser-item {
|
|
padding: 0.5rem 1rem;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.file-browser-item:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.file-browser-item.selected {
|
|
background: var(--primary);
|
|
}
|
|
|
|
.file-browser-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.file-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* ============ Checkbox Group ============ */
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.25rem 0.5rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-item input {
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
.checkbox-item:has(input:checked) {
|
|
background: var(--primary);
|
|
}
|
|
|
|
/* ============ Input with Button ============ */
|
|
.input-with-btn {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.input-with-btn input {
|
|
flex: 1;
|
|
}
|
|
|
|
/* ============ Utilities ============ */
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ============ Scrollbar ============ */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-secondary);
|
|
}
|
|
|
|
/* ============ Status Grid ============ */
|
|
.status-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.status-section {
|
|
background: var(--bg-tertiary);
|
|
padding: 0.75rem;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.status-section h4 {
|
|
font-size: 0.875rem;
|
|
margin-bottom: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.status-item {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.status-item.success {
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-item.error {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* ============ Größenfilter pro Dateityp ============ */
|
|
.groessen-filter-container {
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
padding: 1rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
display: none;
|
|
}
|
|
|
|
.groessen-filter-container.visible {
|
|
display: block;
|
|
}
|
|
|
|
.groessen-filter-table {
|
|
width: 100%;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.groessen-filter-table th {
|
|
text-align: left;
|
|
padding: 0.5rem;
|
|
color: var(--text-secondary);
|
|
font-weight: normal;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.groessen-filter-table td {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.groessen-filter-table input {
|
|
width: 70px;
|
|
padding: 0.4rem;
|
|
font-size: 0.8rem;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.groessen-filter-table input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.groessen-filter-row {
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.groessen-filter-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.groessen-filter-type {
|
|
font-family: monospace;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* ============ Settings Button ============ */
|
|
.btn-icon {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.25rem;
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
border-radius: var(--radius);
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
/* ============ Theme Options ============ */
|
|
.theme-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.75rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.theme-options {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
.theme-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem;
|
|
background: var(--bg-tertiary);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
color: var(--text);
|
|
}
|
|
|
|
.theme-option:hover {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.theme-option.active {
|
|
border-color: var(--primary);
|
|
background: rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.theme-preview {
|
|
width: 60px;
|
|
height: 40px;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.theme-preview.dark {
|
|
background: linear-gradient(135deg, #0f172a 50%, #1e293b 50%);
|
|
}
|
|
|
|
.theme-preview.light {
|
|
background: linear-gradient(135deg, #f8fafc 50%, #e2e8f0 50%);
|
|
}
|
|
|
|
.theme-preview.blue {
|
|
background: linear-gradient(135deg, #0c1929 50%, #1e3a5f 50%);
|
|
}
|
|
|
|
.theme-preview.green {
|
|
background: linear-gradient(135deg, #0d1f0d 50%, #1a3d1a 50%);
|
|
}
|
|
|
|
.theme-preview.breeze {
|
|
background: linear-gradient(135deg, #141718 50%, #1a1d1f 50%);
|
|
}
|
|
|
|
/* ============ Light Theme ============ */
|
|
[data-theme="light"] {
|
|
--primary: #2563eb;
|
|
--primary-dark: #1d4ed8;
|
|
--success: #16a34a;
|
|
--danger: #dc2626;
|
|
--warning: #d97706;
|
|
--bg: #f8fafc;
|
|
--bg-secondary: #e2e8f0;
|
|
--bg-tertiary: #cbd5e1;
|
|
--text: #0f172a;
|
|
--text-secondary: #475569;
|
|
--border: #94a3b8;
|
|
}
|
|
|
|
/* ============ Blue Theme ============ */
|
|
[data-theme="blue"] {
|
|
--primary: #60a5fa;
|
|
--primary-dark: #3b82f6;
|
|
--success: #34d399;
|
|
--danger: #f87171;
|
|
--warning: #fbbf24;
|
|
--bg: #0c1929;
|
|
--bg-secondary: #1e3a5f;
|
|
--bg-tertiary: #2d4a6f;
|
|
--text: #e0f2fe;
|
|
--text-secondary: #7dd3fc;
|
|
--border: #3b6b9e;
|
|
}
|
|
|
|
/* ============ Green Theme ============ */
|
|
[data-theme="green"] {
|
|
--primary: #22c55e;
|
|
--primary-dark: #16a34a;
|
|
--success: #4ade80;
|
|
--danger: #f87171;
|
|
--warning: #fbbf24;
|
|
--bg: #0d1f0d;
|
|
--bg-secondary: #1a3d1a;
|
|
--bg-tertiary: #2d5a2d;
|
|
--text: #dcfce7;
|
|
--text-secondary: #86efac;
|
|
--border: #3d7a3d;
|
|
}
|
|
|
|
/* ============ Breeze Dark Theme (KDE) - Original System-Farben ============ */
|
|
[data-theme="breeze"] {
|
|
--primary: #3daee9;
|
|
--primary-dark: #2980b9;
|
|
--success: #27ae60;
|
|
--danger: #da4453;
|
|
--warning: #f67400;
|
|
--bg: #232629;
|
|
--bg-secondary: #2a2e32;
|
|
--bg-tertiary: #31363b;
|
|
--text: #fcfcfc;
|
|
--text-secondary: #bdc3c7;
|
|
--border: #4d4d4d;
|
|
}
|
|
|
|
/* ============ Debug Log ============ */
|
|
.log-container {
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 0.5rem;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.log-controls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.log-controls select {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.log-entry {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.log-entry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.log-entry.error {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
}
|
|
|
|
.log-entry.warning {
|
|
background: rgba(217, 119, 6, 0.15);
|
|
}
|
|
|
|
.log-time {
|
|
color: var(--text-secondary);
|
|
min-width: 60px;
|
|
}
|
|
|
|
.log-level {
|
|
min-width: 60px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.log-entry.error .log-level {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.log-entry.warning .log-level {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.log-entry.info .log-level {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.log-msg {
|
|
flex: 1;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* ============ Regel Tester ============ */
|
|
.test-options {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.test-result {
|
|
margin-top: 0.5rem;
|
|
padding: 1rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.test-result.success {
|
|
border-color: var(--success);
|
|
background: rgba(34, 197, 94, 0.1);
|
|
}
|
|
|
|
.test-result.error {
|
|
border-color: var(--danger);
|
|
background: rgba(220, 38, 38, 0.1);
|
|
}
|
|
|
|
#regel-test-text {
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* ============ Regel-Assistent ============ */
|
|
.assistent-section {
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.assistent-section:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.assistent-section h4 {
|
|
margin-bottom: 0.75rem;
|
|
color: var(--primary);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.assistent-feld {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
padding: 0.5rem;
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.assistent-feld label {
|
|
min-width: 180px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.assistent-feld select {
|
|
flex: 1;
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.assistent-feld .checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.assistent-feld .checkbox-item input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
/* ============ Neues Regel-Modal ============ */
|
|
.regel-section {
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.regel-section:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.regel-section h4 {
|
|
margin-bottom: 0.75rem;
|
|
color: var(--primary);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Extraktion-Tabelle */
|
|
.extraktion-tabelle {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.extraktion-tabelle th {
|
|
text-align: left;
|
|
padding: 0.5rem;
|
|
background: var(--bg-tertiary);
|
|
border-bottom: 2px solid var(--border);
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.extraktion-tabelle td {
|
|
padding: 0.4rem;
|
|
border-bottom: 1px solid var(--border);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.extraktion-tabelle input,
|
|
.extraktion-tabelle select {
|
|
width: 100%;
|
|
padding: 0.4rem;
|
|
font-size: 0.85rem;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
}
|
|
|
|
.extraktion-tabelle input:focus,
|
|
.extraktion-tabelle select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.extraktion-tabelle .ext-erkannt {
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.extraktion-row:hover {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
/* Ordner-Checkboxen */
|
|
.ordner-checkboxen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
padding: 0.5rem;
|
|
background: var(--bg);
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.ordner-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem;
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ordner-checkbox:hover {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.ordner-checkbox input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.ordner-checkbox small {
|
|
margin-left: auto;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* Radio-Gruppe für Sortier-Modus */
|
|
.radio-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.radio-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.radio-item input[type="radio"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Checkbox-Label */
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|