diff options
| author | Mark Otto <[email protected]> | 2012-11-04 19:43:09 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-04 19:43:09 -0800 |
| commit | 91bcccd9a83ee8a351069283c80a749caa220080 (patch) | |
| tree | f84754deea54c4b5207bd6af4e85bf7ab0a42205 /less/forms.less | |
| parent | ebed09ec01751493c216ddd4090dfd1df79812e4 (diff) | |
| download | bootstrap-91bcccd9a83ee8a351069283c80a749caa220080.tar.xz bootstrap-91bcccd9a83ee8a351069283c80a749caa220080.zip | |
simplify invalid input css
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/less/forms.less b/less/forms.less index 172ed027d..13f9c25f6 100644 --- a/less/forms.less +++ b/less/forms.less @@ -366,15 +366,14 @@ input[type="checkbox"][readonly] { // HTML5 invalid states // Shares styles with the .control-group.error above -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { +input:invalid, +select:invalid, +textarea:invalid { color: #b94a48; border-color: #ee5f5b; &:focus { border-color: darken(#ee5f5b, 10%); - @shadow: 0 0 6px lighten(#ee5f5b, 20%); - .box-shadow(@shadow); + .box-shadow(0 0 6px lighten(#ee5f5b, 20%)); } } |
