From 6ba0e2e90bab584b970c40a31dedf508c962de7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 21 Oct 2010 10:45:33 +0200 Subject: [PATCH] Restyle input fields and textareas for consistency. --- src/main/resources/static/css/sone.css | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 6ef156e..6ff18c2 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -7,6 +7,16 @@ input[type=text], textarea { font-size: 90%; + margin: 0.5ex; + border: solid 1px #ccc; + padding: 0.5ex; + height: 1.5em; + width: 50em; + outline: none; +} + +textarea { + height: 4em; } #sone form { @@ -78,12 +88,10 @@ input[type=text], textarea { #sone #update-status input[type=text] { width: 45em; -} +} #sone #update-status textarea { - border: solid 1px #ccc; width: 45em; - height: 4em; } #sone #update-status button { @@ -293,7 +301,7 @@ input[type=text], textarea { } #sone #create-sone { - + } #sone #tail .import-key, #sone #import-key .import-key { @@ -309,6 +317,14 @@ input[type=text], textarea { border-top: none; } +#sone #add-sone textarea { + height: 1.5em; +} + +#sone #add-sone button { + position: absolute; +} + #sone h1 { font-family: inherit; font-size: 200%; -- 2.7.4