2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

update the file input to undo the damage of the generic input selector

This commit is contained in:
Mark Otto
2011-09-02 11:53:58 -07:00
parent a4dc2c8955
commit 62f8916407
3 changed files with 20 additions and 14 deletions
+8 -5
View File
@@ -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);
}