import { makeStyles } from 'tss-react/mui'; export const useStyles = makeStyles()((theme) => ({ pageLayout: { display: 'grid', gridTemplateRows: 'auto 1fr', height: '100%', overflow: 'hidden' }, pageLayoutActions: { '& > span': { display: 'flex', gap: theme.spacing(0.5) }, '&[data-row-reverse="true"]': { flexDirection: 'row-reverse' }, display: 'flex', justifyContent: 'space-between', paddingBottom: theme.spacing(1.5) }, pageLayoutBody: { '&[data-has-actions="true"]': { gridTemplateRows: 'min-content auto' }, '&[data-has-background="true"]': { backgroundColor: theme.palette.layout.body.background }, display: 'grid', gridTemplateRows: 'auto', overflow: 'hidden', padding: theme.spacing(0, 3, 1.5) }, pageLayoutHeader: { '[data-variant="fixed-header"] &': { backgroundColor: theme.palette.layout.header.background, borderBottom: `1px solid ${theme.palette.layout.header.border}`, padding: theme.spacing(3, 4, 2), position: 'sticky', top: 0, zIndex: `calc(${theme.zIndex.mobileStepper} - 100)` }, padding: theme.spacing(1, 3, 0) } }));