aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-02 11:53:58 -0700
committerMark Otto <[email protected]>2011-09-02 11:53:58 -0700
commit62f891640714d86e1c26a0d5c9da9ee63ac22f21 (patch)
treee035ce87a4f69529dc5d73a48867279dbb6170e8 /lib/forms.less
parenta4dc2c8955e0db79cc800f38d949db0ba0e7ba9a (diff)
downloadbootstrap-62f891640714d86e1c26a0d5c9da9ee63ac22f21.tar.xz
bootstrap-62f891640714d86e1c26a0d5c9da9ee63ac22f21.zip
update the file input to undo the damage of the generic input selector
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/forms.less b/lib/forms.less
index d79decd24..3fc62f93d 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -67,10 +67,10 @@ select,
.uneditable-input {
display: inline-block;
width: 210px;
+ height: @baseline;
padding: 4px;
font-size: 13px;
line-height: @baseline;
- height: @baseline;
color: @gray;
border: 1px solid #ccc;
.border-radius(3px);
@@ -80,15 +80,18 @@ select,
input[type=checkbox],
input[type=radio] {
width: auto;
- padding: 0;
- line-height: normal;
height: auto;
+ padding: 0;
margin: 3px 0;
+ line-height: normal;
+ border: none;
}
input[type=file] {
- border: 0;
- padding: 0;
+ background-color: #fff;
+ padding: initial;
+ border: initial;
+ line-height: initial;
.box-shadow(none);
}