// File Input .file-field { position: relative; .file-path-wrapper { height: $file-path-wrapper-height; padding-left: $file-path-wrapper-padding-left; overflow: hidden; } input { &.file-path { width: 100%; // height: $file-input-path; height: 36px; } } .btn { float: left; } span { cursor: pointer; } input[type="file"] { // Needed to override webkit button &::-webkit-file-upload-button { display: none; } position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; padding: 0; margin: 0; cursor: pointer; filter: $file-input-filter; opacity: 0; } }