From 22ac073922f1516ef79d09f2e5e43e354170e21b Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Tue, 12 Aug 2025 16:16:39 +0100 Subject: [PATCH] style: Update button and input field styling Co-authored-by: aider (gemini/gemini-2.5-pro) --- static/style.css | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index f9bcd58..2d7c0a3 100644 --- a/static/style.css +++ b/static/style.css @@ -88,25 +88,48 @@ body { gap: 10px; } -input[type="number"] { +input[type="number"], +input[type="text"] { padding: 8px; - border: 1px solid #ccc; + border: 1px solid #9fb3c8; border-radius: 4px; + background-color: #f0f4f8; + font-family: inherit; + font-size: 14px; + color: #333; + transition: border-color 0.2s, box-shadow 0.2s; +} + +input[type="number"]:focus, +input[type="text"]:focus { + outline: none; + border-color: #1a7db6; + box-shadow: 0 0 0 2px rgba(26, 125, 182, 0.2); +} + +input[type="number"] { width: 80px; } +input[type="text"] { + width: auto; +} + button { padding: 8px 15px; border: none; border-radius: 4px; - background-color: #007bff; + background-color: #1a7db6; color: white; cursor: pointer; font-size: 14px; + font-family: inherit; + font-weight: bold; + transition: background-color 0.2s; } button:hover { - background-color: #0056b3; + background-color: #166999; } #sync-message {