forked from linode/manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDatabaseResize.style.ts
More file actions
41 lines (36 loc) · 1.02 KB
/
DatabaseResize.style.ts
File metadata and controls
41 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import Grid from '@mui/material/Grid';
import { styled } from '@mui/material/styles';
import { Button } from '@akamai/cds-components/react/Button';
import { PlansPanel } from 'src/features/components/PlansPanel/PlansPanel';
export const StyledGrid = styled(Grid, { label: 'StyledGrid' })(
({ theme }) => ({
alignItems: 'center',
display: 'flex',
justifyContent: 'flex-end',
marginTop: theme.spacing(2),
[theme.breakpoints.down('sm')]: {
alignItems: 'flex-end',
flexDirection: 'column',
marginTop: theme.spacing(),
},
})
);
export const StyledResizeButton = styled(Button, {
label: 'StyledResizeButton',
})(({ theme }) => ({
[theme.breakpoints.down('md')]: {
marginRight: theme.spacing(),
},
whiteSpace: 'nowrap',
}));
export const StyledPlansPanel = styled(PlansPanel, {
label: 'StyledPlansPanel',
})(() => ({
margin: 0,
padding: 0,
}));
export const StyledPlanSummarySpan = styled('span', {
label: 'StyledPlanSummarySpan',
})(({ theme }) => ({
font: theme.font.bold,
}));