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.
32 lines
534 B
SCSS
32 lines
534 B
SCSS
6 years ago
|
// 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;
|
||
|
}
|
||
|
}
|