From cb3b8207f21ea8217fd035fdaf976442950968da Mon Sep 17 00:00:00 2001 From: Ignacio Rivero Date: Mon, 23 Jun 2025 15:58:46 -0300 Subject: [PATCH] CSS improvements --- app.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/app.py b/app.py index 0325e0f..ff164e2 100644 --- a/app.py +++ b/app.py @@ -207,6 +207,26 @@ HTML_FORM = ''' font-size: 1.3em !important; padding: 0.9em 2.2em; } + input[type=file] { + font-size: 1.16em !important; + } + + input[type=file]::file-selector-button { + background: linear-gradient(90deg, #8ee3c1, #35a7ff); + color: #222; + font-weight: bold; + border: none; + padding: 0.5em 1.2em; + border-radius: 0.7em; + box-shadow: 0 2px 12px #1116; + cursor: pointer; + transition: filter 0.2s, box-shadow 0.2s; + margin-right: 0.5em; + } + + input[type=file]::file-selector-button:hover { + filter: brightness(1.12); + box-shadow: 0 4px 18px #2229; } .print-frame { @@ -246,6 +266,11 @@ HTML_FORM = ''' position: relative; z-index: 2; } + textarea { + font-size: 1.16em !important; + padding: 1em; + min-height: 12em; + }