Skip to content

Commit

Permalink
styles and typo updated
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmehta committed Oct 20, 2023
1 parent 67795a5 commit 2fc9f60
Showing 1 changed file with 28 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,18 @@ const LabelContainer = styled('div')({

const BorderAccordion = styled(Accordion)(({ theme }) => ({
boxShadow: 'none',
border: `1px solid ${theme.palette.grey[300]}`,
border: `1px solid ${theme.palette.primary.light}`,
}));

const BlueAccordionSummary = styled(AccordionSummary)(({ theme }) => ({
background: theme.palette.primary.light,
div: {
color: 'white',
},
}));

AccordionSummary;

const targetName = {
id: 'symbol',
label: 'Symbol',
Expand Down Expand Up @@ -433,24 +442,24 @@ function DataDownloader({ fileStem }) {
<DialogTitle>Export: {fileStem} data</DialogTitle>
<DialogContent>
<BorderAccordion>
<AccordionSummary
<BlueAccordionSummary
expandIcon={<FontAwesomeIcon icon={faCaretDown} size="lg" />}
>
<Typography variant="body1">Advance export options:</Typography>
</AccordionSummary>
<Typography variant="body1">Advanced export options:</Typography>
</BlueAccordionSummary>
<Divider />
<AccordionDetails>
<FormGroup>
<FormControl size="small" sx={{ m: 1, maxWidth: '100%' }}>
<InputLabel id="select-association-small-label">
Association Aggregation
Associations Aggregation
</InputLabel>
<Select
disabled={downloading}
disabled={downloading || onlyTargetData}
multiple
labelId="select-association-small-label"
value={associationAggregationSelect}
label="Association Aggregation"
label="Associations Aggregation"
renderValue={selected => selected.join(', ')}
onChange={e => {
setAssociationAggregationSelect(
Expand Down Expand Up @@ -505,7 +514,8 @@ function DataDownloader({ fileStem }) {
</Select>
</FormControl>

<FormControlLabel sx={{ mx: 1 }}
<FormControlLabel
sx={{ pl: 1 }}
control={
<Checkbox
checked={weightControlCheckBox}
Expand All @@ -516,6 +526,7 @@ function DataDownloader({ fileStem }) {
label="Include custom weight controls"
/>
<FormControlLabel
sx={{ pl: 1 }}
control={
<Checkbox
checked={requiredControlCheckBox}
Expand All @@ -528,6 +539,7 @@ function DataDownloader({ fileStem }) {
label="Include custom required control"
/>
<FormControlLabel
sx={{ pl: 1 }}
control={
<Checkbox
disabled={pinnedEntries.length <= 0 || downloading}
Expand All @@ -540,6 +552,7 @@ function DataDownloader({ fileStem }) {

{entity === 'disease' && (
<FormControlLabel
sx={{ pl: 1 }}
control={
<Checkbox
disabled={
Expand All @@ -556,7 +569,13 @@ function DataDownloader({ fileStem }) {
</FormGroup>
</AccordionDetails>
</BorderAccordion>
<Box sx={{display: "flex", justifyContent: "space-between", alignItems:"flex-end"}}>
<Box
sx={{
display: 'flex',
justifyContent: 'space-between',
alignItems: 'flex-end',
}}
>
<Box>
<Button
variant="outlined"
Expand Down

0 comments on commit 2fc9f60

Please sign in to comment.