You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sup_File/scss/pro/_file-input.scss

32 lines
534 B
SCSS

// File Input
.file-field {
position: relative;
.file-path-wrapper {
overflow: hidden;
padding-left: $file-path-wrapper-padding-left;
height: $file-path-wrapper-height;
}
input {
&.file-path {
width: 100%;
height: $file-input-path;
}
}
span {
cursor: pointer;
}
input[type=file] {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
width: 100%;
margin: 0;
padding: 0;
cursor: pointer;
opacity: 0;
filter: $file-input-filter;
}
}