|
|
@ -7,6 +7,7 @@ import { |
|
|
|
InputLabel, |
|
|
|
InputLabel, |
|
|
|
inputLabelClasses, |
|
|
|
inputLabelClasses, |
|
|
|
MenuItem, |
|
|
|
MenuItem, |
|
|
|
|
|
|
|
menuItemClasses, |
|
|
|
OutlinedInput, |
|
|
|
OutlinedInput, |
|
|
|
outlinedInputClasses, |
|
|
|
outlinedInputClasses, |
|
|
|
Select, |
|
|
|
Select, |
|
|
@ -84,6 +85,24 @@ const StyledSelect = styled(Select)({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const StyledMenuItem = styled(MenuItem)({ |
|
|
|
|
|
|
|
backgroundColor: TEXT, |
|
|
|
|
|
|
|
paddingRight: '3em', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[`&.${menuItemClasses.selected}`]: { |
|
|
|
|
|
|
|
backgroundColor: GREY, |
|
|
|
|
|
|
|
fontWeight: 400, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'&:hover': { |
|
|
|
|
|
|
|
backgroundColor: GREY, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'&:hover': { |
|
|
|
|
|
|
|
backgroundColor: GREY, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const FileLocationActiveCheckbox = styled(Checkbox)({ |
|
|
|
const FileLocationActiveCheckbox = styled(Checkbox)({ |
|
|
|
color: RED, |
|
|
|
color: RED, |
|
|
|
|
|
|
|
|
|
|
@ -142,9 +161,9 @@ const FileInfo = ( |
|
|
|
{UPLOAD_FILE_TYPES_ARRAY.map( |
|
|
|
{UPLOAD_FILE_TYPES_ARRAY.map( |
|
|
|
([fileTypeKey, [, fileTypeDisplayString]]) => { |
|
|
|
([fileTypeKey, [, fileTypeDisplayString]]) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<MenuItem key={fileTypeKey} value={fileTypeKey}> |
|
|
|
<StyledMenuItem key={fileTypeKey} value={fileTypeKey}> |
|
|
|
{fileTypeDisplayString} |
|
|
|
{fileTypeDisplayString} |
|
|
|
</MenuItem> |
|
|
|
</StyledMenuItem> |
|
|
|
); |
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
|
)} |
|
|
|
)} |
|
|
|