From 588b2da937dd5c34766863fba3a9daaf2276d900 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 30 Jun 2011 10:40:28 -0700 Subject: updated docs, fixed language, added copy-code js for selecting text on focus --- lib/forms.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/forms.less') diff --git a/lib/forms.less b/lib/forms.less index 6052978c6..ab82c6a09 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -62,7 +62,7 @@ form { line-height: @baseline; height: @baseline; color: @gray; - border: 1px solid #bbb; + border: 1px solid #ccc; .border-radius(3px); } select, @@ -85,13 +85,15 @@ form { select, textarea { @transition: border linear .2s, box-shadow linear .2s; .transition(@transition); + .box-shadow(inset 0 1px 3px rgba(0,0,0,.1)); } input[type=text]:focus, input[type=password]:focus, textarea:focus { outline: none; - border-color: rgba(82,168,236,.75); - .box-shadow(0 0 8px rgba(82,168,236,.5)); + border-color: rgba(82,168,236,.8); + @shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6); + .box-shadow(@shadow); } // Error styles div.error { -- cgit v1.2.3