Fix Gitea Issue #1: Text-Generator Verbesserungen

- Rahmenform Standard auf 'Rechteck' gesetzt (statt 'Keiner')
- Pfeile werden nun korrekt im SVG-Bereich dargestellt (viewBox + Padding)
- Numerische Eingabefelder neben allen Slidern hinzugefügt
- Text-Positionierung im Rahmen ermöglicht (horizontal + vertikal)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
architeur
2025-12-14 21:51:20 +01:00
parent d707c5001d
commit acfd23ec57
5 changed files with 265 additions and 51 deletions

View File

@@ -245,6 +245,34 @@
color: var(--gray-600);
}
/* ========== ALIGN OPTIONS ========== */
.align-options {
display: flex;
gap: 0.35rem;
}
.align-btn {
padding: 0.4rem 0.65rem;
border: 1px solid var(--gray-300);
background: white;
border-radius: 6px;
cursor: pointer;
font-size: 0.8rem;
transition: all 0.2s;
color: var(--gray-600);
}
.align-btn:hover {
border-color: var(--primary);
color: var(--primary);
}
.align-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}
/* ========== ARROW OPTIONS ========== */
.arrow-options {
display: flex;
@@ -320,6 +348,34 @@ input[type="range"]::-moz-range-thumb {
border: none;
}
/* ========== NUMBER INPUTS ========== */
.num-input {
width: 55px;
padding: 0.25rem 0.4rem;
border: 1px solid var(--gray-300);
border-radius: 4px;
font-size: 0.8rem;
text-align: center;
transition: border-color 0.2s, box-shadow 0.2s;
}
.num-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.num-input::-webkit-inner-spin-button,
.num-input::-webkit-outer-spin-button {
opacity: 1;
}
.num-unit {
font-size: 0.75rem;
color: var(--gray-500);
min-width: 20px;
}
/* ========== RESET BUTTON ========== */
.btn-reset {
background: #ef4444;