From 85ba0bf07c255a8915dc3cc64d03a6f4f14c05cb Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Wed, 19 Nov 2025 18:27:17 +0100 Subject: [PATCH 1/2] chore: update csss: increase border by 50px chore: add line break to names chore: restyle the dateselector to use same design as other fields --- app/static/styles.css | 11 ++++++++++- app/templates/elsa_mono_form.html | 10 +++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index bb489ae..4ea126d 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -89,7 +89,7 @@ body { /* Layout */ .container { - max-width: 1200px; + max-width: 1250px; margin: 0 auto; padding: 0 20px; } @@ -165,6 +165,7 @@ h2 { input[type="text"], input[type="email"], input[type="number"], +input[type="date"], select, textarea { width: 100%; @@ -178,6 +179,14 @@ textarea { font-family: inherit; } +/* Normalize date input appearance */ +input[type="date"] { + -webkit-appearance: none; + appearance: none; + font-family: inherit; + /* Ensure text is legible and consistent */ +} + textarea { resize: vertical; min-height: 80px; diff --git a/app/templates/elsa_mono_form.html b/app/templates/elsa_mono_form.html index 7441c93..2b7b055 100644 --- a/app/templates/elsa_mono_form.html +++ b/app/templates/elsa_mono_form.html @@ -84,7 +84,7 @@
- +
@@ -188,7 +188,7 @@ title = 'Monografie'; tableHtml = '' + '' + - '' + + '' + '' + '' + '' + @@ -202,7 +202,7 @@ title = 'Zeitschriftenartikel'; tableHtml = '
Autor (Nachname, Vorname)Autor
(Nachname, Vorname)
JahrAuflageTitel
' + '' + - '' + + '' + '' + '' + '' + @@ -217,11 +217,11 @@ title = 'Herausgeberwerk'; tableHtml = '
Autor (Nachname, Vorname)Autor
(Nachname, Vorname)
JahrBandTitel des Artikels
' + '' + - '' + + '' + '' + '' + '' + - '' + + '' + '' + '' + '' + From 1ad010d079e00e6e6c624943d3c3c06b1ca2d54e Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Wed, 19 Nov 2025 18:30:36 +0100 Subject: [PATCH 2/2] feat: add background color to toast --- app/static/styles.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/static/styles.css b/app/static/styles.css index 4ea126d..5ecf7d9 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -537,7 +537,8 @@ input[type="radio"] { accent-color: var(--control-accent); } top: 20px; right: 20px; background: var(--card-bg); - border: 1px solid #22c55e; + border: 1px solid hsl(142, 71%, 45%); + background-color: hsl(142, 82%, 30%); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 16px 20px;
Herausgeber (Nachname, Vorname)Herausgeber
(Nachname, Vorname)
Titel des WerksJahrAuflageAutor des Artikels (Nachname, Vorname)Autor des Artikels
(Nachname, Vorname)
Titel des ArtikelsSignaturSeiten von