github.com/mithrandie/csvq@v1.18.1/docs/_sass/components/forms/_file-input.scss (about) 1 /* File Input 2 ========================================================================== */ 3 4 .file-field { 5 position: relative; 6 7 .file-path-wrapper { 8 overflow: hidden; 9 padding-left: 10px; 10 } 11 12 input.file-path { width: 100%; } 13 14 .btn { 15 float: left; 16 height: $input-height; 17 line-height: $input-height; 18 } 19 20 span { 21 cursor: pointer; 22 } 23 24 input[type=file] { 25 position: absolute; 26 top: 0; 27 right: 0; 28 left: 0; 29 bottom: 0; 30 width: 100%; 31 margin: 0; 32 padding: 0; 33 font-size: 20px; 34 cursor: pointer; 35 opacity: 0; 36 filter: alpha(opacity=0); 37 } 38 }