diff options
| author | Burak Tuyan <[email protected]> | 2012-01-27 20:48:37 +0200 |
|---|---|---|
| committer | Burak Tuyan <[email protected]> | 2012-01-27 20:48:37 +0200 |
| commit | 16a28d881ced62b6b5c9ed4fae280b45857d1b9d (patch) | |
| tree | 260b573d4d994e632b2e025f98b3fa2885af0cd7 /less/forms.less | |
| parent | acaa3b59775d6e4c3f4776027bb325b418dca6b5 (diff) | |
| parent | 97546adc90a9c8149bb4560641b4164338e38063 (diff) | |
| download | bootstrap-16a28d881ced62b6b5c9ed4fae280b45857d1b9d.tar.xz bootstrap-16a28d881ced62b6b5c9ed4fae280b45857d1b9d.zip | |
Merge branch '2.0-wip' of git://github.com/twitter/bootstrap into 2.0-wip
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index 9e2e1dc1b..55a646368 100644 --- a/less/forms.less +++ b/less/forms.less @@ -192,6 +192,7 @@ textarea:focus { @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); .box-shadow(@shadow); outline: 0; + outline: 1px dotted #666 \9; /* IE6-8 */ } input[type=file]:focus, input[type=checkbox]:focus, @@ -439,6 +440,15 @@ select:focus:required:invalid { margin-left: -1px; .border-radius(0 3px 3px 0); } + input:first-child { + // In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input + // inherit the sum of its ancestors' margins. + *margin-left: -160px; + + &+.add-on { + *margin-left: -21px; + } + } } |
