initial commit
This commit is contained in:
44
src/themes/overrides/TableCell.js
Normal file
44
src/themes/overrides/TableCell.js
Normal file
@@ -0,0 +1,44 @@
|
||||
// ==============================|| OVERRIDES - TABLE CELL ||============================== //
|
||||
|
||||
export default function TableCell(theme) {
|
||||
const commonCell = {
|
||||
'&:not(:last-of-type)': {
|
||||
position: 'relative',
|
||||
'&:after': {
|
||||
position: 'absolute',
|
||||
content: '""',
|
||||
backgroundColor: theme.palette.divider,
|
||||
width: 1,
|
||||
height: 'calc(100% - 30px)',
|
||||
right: 0,
|
||||
top: 16
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
MuiTableCell: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
fontSize: '0.875rem',
|
||||
padding: 12,
|
||||
borderColor: theme.palette.divider
|
||||
},
|
||||
sizeSmall: {
|
||||
padding: 8
|
||||
},
|
||||
head: {
|
||||
fontSize: '0.75rem',
|
||||
fontWeight: 700,
|
||||
textTransform: 'uppercase',
|
||||
...commonCell
|
||||
},
|
||||
footer: {
|
||||
fontSize: '0.75rem',
|
||||
textTransform: 'uppercase',
|
||||
...commonCell
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user