Separate Client Portal & Dashboard

This commit is contained in:
2022-05-23 10:38:16 +07:00
parent f2e84e6244
commit 89bb57f357
569 changed files with 60252 additions and 280 deletions

View File

@@ -0,0 +1,60 @@
import { Theme } from '@mui/material/styles';
// ----------------------------------------------------------------------
export default function Dialog(theme: Theme) {
return {
MuiDialog: {
styleOverrides: {
paper: {
boxShadow: theme.customShadows.dialog,
'&.MuiPaper-rounded': {
borderRadius: Number(theme.shape.borderRadius) * 2,
},
'&.MuiDialog-paperFullScreen': {
borderRadius: 0,
},
'&.MuiDialog-paper .MuiDialogActions-root': {
padding: theme.spacing(3),
},
'@media (max-width: 600px)': {
margin: theme.spacing(2),
},
'@media (max-width: 663.95px)': {
'&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody': {
maxWidth: '100%',
},
},
},
paperFullWidth: {
width: '100%',
},
},
},
MuiDialogTitle: {
styleOverrides: {
root: {
padding: theme.spacing(3, 3, 0),
},
},
},
MuiDialogContent: {
styleOverrides: {
root: {
borderTop: 0,
borderBottom: 0,
padding: theme.spacing(3),
},
},
},
MuiDialogActions: {
styleOverrides: {
root: {
'& > :not(:first-of-type)': {
marginLeft: theme.spacing(1.5),
},
},
},
},
};
}