From eacb4c9653df0112e6921f8fa35922284773fec5 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 20 Dec 2024 21:18:31 +0100 Subject: style form --- frontend/app/Main.hs | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'frontend/app/Main.hs') diff --git a/frontend/app/Main.hs b/frontend/app/Main.hs index d851cca..bf8ada3 100644 --- a/frontend/app/Main.hs +++ b/frontend/app/Main.hs @@ -295,6 +295,39 @@ table td { overflow: hidden; text-overflow: ellipsis; max-width: 480px; } + +/* form */ +.input label { + display: block; + padding-left: 6px; } + +.input .error-helper { + display: block; + padding-left: 6px; } + +.input label > div { + margin-left: -6px; + margin-right: -6px; } + +.input input { + font-size: 1rem; + margin-top: 4px; + margin-bottom: 4px; } + +.input input[type=text] { + padding: 2px 6px; } + +form { + margin: -12px 0; } + +.error-helper { + color: red; + line-height: 1rem; + height: 1rem; } + +.input { + margin: 12px 0; } + |] ) ] -- cgit v1.2.3