feat: Vorschaubild für Farbschemata hochladen und anzeigen

This commit is contained in:
Ferdinand
2026-04-02 14:31:10 +02:00
parent 447473c6f5
commit 7f50f40a5b
4 changed files with 109 additions and 6 deletions

View File

@@ -225,6 +225,30 @@ button.action-btn:hover { background: #f0f0f0; }
.schema-dropzone p { margin-bottom: 0.5rem; }
/* Vorschaubild im Modal */
.schema-bild-preview {
width: 56px;
height: 56px;
border-radius: 8px;
border: 2px dashed #ddd;
background: #f5f5f5;
background-size: cover;
background-position: center;
flex-shrink: 0;
}
.schema-bild-preview.hat-bild { border-style: solid; border-color: #ccc; }
/* Thumbnail in der Sammlung */
.schema-thumb {
width: 40px;
height: 40px;
border-radius: 6px;
border: 1px solid #ddd;
background-size: cover;
background-position: center;
flex-shrink: 0;
}
/* --- Finale Styles --- */
h2 { font-size: 1.1rem; margin-bottom: 1rem; }
h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }