From: David ‘Bombe’ Roden Date: Thu, 21 Oct 2010 08:45:33 +0000 (+0200) Subject: Restyle input fields and textareas for consistency. X-Git-Tag: 0.1-RC1~136 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6ba0e2e90bab584b970c40a31dedf508c962de7c;p=Sone.git Restyle input fields and textareas for consistency. --- 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%;