2023-03-06 15:03:48 +00:00
|
|
|
.file-uploader {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2024-07-10 16:05:09 +00:00
|
|
|
border-radius: $border-radius-medium;
|
2025-09-29 17:10:41 +00:00
|
|
|
background-color: $core-fleet-white;
|
2023-03-06 15:03:48 +00:00
|
|
|
border: 1px solid $ui-fleet-black-10;
|
|
|
|
|
padding: $pad-xlarge $pad-large;
|
|
|
|
|
font-size: $x-small;
|
|
|
|
|
text-align: center;
|
2025-11-07 14:59:30 +00:00
|
|
|
|
2025-09-30 17:52:06 +00:00
|
|
|
.content-wrapper {
|
|
|
|
|
@include content-wrapper();
|
|
|
|
|
}
|
2023-10-10 22:00:45 +00:00
|
|
|
|
2025-12-05 21:46:53 +00:00
|
|
|
&__error {
|
|
|
|
|
border-color: $core-vibrant-red;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-03 13:22:20 +00:00
|
|
|
// when the file preview is showing, we want the padding to be
|
|
|
|
|
// slightly smaller on the top and bottom.
|
|
|
|
|
&__file-preview {
|
|
|
|
|
padding: $pad-medium $pad-large;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-05 21:46:53 +00:00
|
|
|
&__internal-error {
|
|
|
|
|
color: $core-vibrant-red;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-15 19:28:57 +00:00
|
|
|
&__graphics {
|
|
|
|
|
display: flex;
|
2025-09-30 17:52:06 +00:00
|
|
|
justify-content: center;
|
2023-11-15 19:28:57 +00:00
|
|
|
gap: $pad-medium;
|
|
|
|
|
}
|
2023-10-10 22:00:45 +00:00
|
|
|
&__message {
|
|
|
|
|
margin: 0;
|
2024-07-10 16:05:09 +00:00
|
|
|
color: $ui-fleet-black-75;
|
2023-10-10 22:00:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__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 {
|
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;
|
|
|
|
|
|
2025-11-07 14:59:30 +00:00
|
|
|
label,
|
|
|
|
|
span {
|
2024-09-17 13:40:47 +00:00
|
|
|
padding: $pad-small $pad-medium;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: $pad-small;
|
2023-03-20 15:36:54 +00:00
|
|
|
|
2024-09-17 13:40:47 +00:00
|
|
|
&:hover {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2023-03-20 15:36:54 +00:00
|
|
|
}
|
2023-03-08 17:38:51 +00:00
|
|
|
}
|
2023-03-06 15:03:48 +00:00
|
|
|
}
|