2023-03-06 15:03:48 +00:00
|
|
|
.file-uploader {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: $border-radius;
|
|
|
|
|
background-color: $ui-fleet-blue-10;
|
|
|
|
|
border: 1px solid $ui-fleet-black-10;
|
|
|
|
|
padding: $pad-xlarge $pad-large;
|
|
|
|
|
font-size: $x-small;
|
|
|
|
|
text-align: center;
|
2023-10-10 22:00:45 +00:00
|
|
|
gap: $pad-small;
|
|
|
|
|
|
2023-11-15 19:28:57 +00:00
|
|
|
&__graphics {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: $pad-medium;
|
|
|
|
|
}
|
2023-10-10 22:00:45 +00:00
|
|
|
&__message {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__additional-info {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: $ui-fleet-black-50;
|
|
|
|
|
}
|
2023-03-06 15:03:48 +00:00
|
|
|
|
|
|
|
|
input {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2023-10-10 22:00:45 +00:00
|
|
|
|
|
|
|
|
&__upload-button {
|
|
|
|
|
margin-top: 8px;
|
2024-03-26 14:46:33 +00:00
|
|
|
// we handle the padding in the label so the entire button is clickable
|
2023-03-20 15:36:54 +00:00
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label {
|
2024-03-26 14:46:33 +00:00
|
|
|
padding: $pad-small $pad-medium;
|
2023-03-20 15:36:54 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2023-03-08 17:38:51 +00:00
|
|
|
}
|
2023-03-06 15:03:48 +00:00
|
|
|
}
|