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,58 @@
import { Theme } from '@mui/material/styles';
// ----------------------------------------------------------------------
export default function Tabs(theme: Theme) {
return {
MuiTab: {
styleOverrides: {
root: {
padding: 0,
fontWeight: theme.typography.fontWeightMedium,
borderTopLeftRadius: theme.shape.borderRadius,
borderTopRightRadius: theme.shape.borderRadius,
'&.Mui-selected': {
color: theme.palette.text.primary
},
'&:not(:last-of-type)': {
marginRight: theme.spacing(5)
},
'@media (min-width: 600px)': {
minWidth: 48
}
},
labelIcon: {
minHeight: 48,
flexDirection: 'row',
'& > *:first-of-type': {
marginBottom: 0,
marginRight: theme.spacing(1)
}
},
wrapper: {
flexDirection: 'row',
whiteSpace: 'nowrap'
},
textColorInherit: {
opacity: 1,
color: theme.palette.text.secondary
}
}
},
MuiTabPanel: {
styleOverrides: {
root: {
padding: 0
}
}
},
MuiTabScrollButton: {
styleOverrides: {
root: {
width: 48,
borderRadius: '50%'
}
}
}
};
}