Separate Client Portal & Dashboard
This commit is contained in:
35
frontend/dashboard/src/theme/overrides/Pagination.ts
Normal file
35
frontend/dashboard/src/theme/overrides/Pagination.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { alpha, Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function Pagination(theme: Theme) {
|
||||
return {
|
||||
MuiPaginationItem: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
'&.Mui-selected': {
|
||||
fontWeight: theme.typography.fontWeightBold,
|
||||
},
|
||||
},
|
||||
textPrimary: {
|
||||
'&.Mui-selected': {
|
||||
color: theme.palette.primary.main,
|
||||
backgroundColor: alpha(theme.palette.primary.main, 0.08),
|
||||
'&:hover, &.Mui-focusVisible': {
|
||||
backgroundColor: `${alpha(theme.palette.primary.main, 0.24)} !important`,
|
||||
},
|
||||
},
|
||||
},
|
||||
outlined: {
|
||||
border: `1px solid ${theme.palette.grey[500_32]}`,
|
||||
},
|
||||
outlinedPrimary: {
|
||||
'&.Mui-selected': {
|
||||
backgroundColor: alpha(theme.palette.primary.main, 0.08),
|
||||
border: `1px solid ${alpha(theme.palette.primary.main, 0.24)}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user