feat: Modal zum manuellen Erstellen von Farbschemata

This commit is contained in:
Ferdinand
2026-04-02 14:23:26 +02:00
parent 7a17f2c511
commit 447473c6f5
5 changed files with 309 additions and 1 deletions

View File

@@ -167,6 +167,64 @@ button.action-btn:hover { background: #f0f0f0; }
gap: 0.5rem;
}
/* --- Modal --- */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
z-index: 200;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.modal {
background: #fff;
border-radius: 12px;
padding: 1.5rem;
width: 100%;
max-width: 460px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.modal-field {
display: flex;
flex-direction: column;
gap: 0.3rem;
margin-bottom: 0.75rem;
}
.modal-field label { font-size: 0.75rem; color: #666; text-transform: uppercase; }
.modal-field input {
padding: 0.4rem 0.6rem;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 0.9rem;
}
.schema-farben-preview {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
min-height: 20px;
margin-bottom: 1rem;
}
.schema-dropzone {
border: 2px dashed #ccc;
border-radius: 8px;
padding: 1rem;
text-align: center;
background: #fafafa;
font-size: 0.85rem;
color: #666;
}
.schema-dropzone p { margin-bottom: 0.5rem; }
/* --- Finale Styles --- */
h2 { font-size: 1.1rem; margin-bottom: 1rem; }
h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }