1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
/* We need an invisible input field on top of the sentense*/
/* "Drag file onto the list ..." */
.alternate_upload {
background-color:none;
display: inline;
&.form
{
padding: 0;
margin:0;
}
input.fileinput
{
position: absolute;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
cursor: pointer;
opacity: 0;
z-index: 2;
}
.btn-xs > input.fileinput {
margin: -@padding-xs-vertical -@padding-xs-horizontal;
}
.btn-upload {
position: relative;
height: @btn_mini_height;
}
}
::-webkit-file-upload-button { cursor:pointer; }
|