update form shadows and tweak prettyprint styles

This commit is contained in:
Mark Otto
2012-01-07 01:03:26 -08:00
parent bcf1136f2c
commit d6a1402f2a
5 changed files with 29 additions and 16 deletions

View File

@@ -157,14 +157,14 @@ textarea {
input,
textarea {
.box-shadow(inset 0 1px 3px rgba(0,0,0,.1));
.box-shadow(inset 0 1px 1px rgba(0,0,0,.1));
@transition: border linear .2s, box-shadow linear .2s;
.transition(@transition);
}
input:focus,
textarea:focus {
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);
@shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
.box-shadow(@shadow);
outline: 0;
}