Files
Checkmate/client/src/Components/v1/ConfigBox/index.jsx
T

39 lines
1004 B
React
Raw Normal View History

2024-12-18 12:19:21 -08:00
import { Stack, styled } from "@mui/material";
const ConfigBox = styled(Stack)(({ theme }) => ({
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
backgroundColor: theme.palette.primary.main,
2024-12-18 12:19:21 -08:00
border: 1,
borderStyle: "solid",
2025-01-08 21:41:59 -05:00
borderColor: theme.palette.primary.lowContrast,
2024-12-18 12:19:21 -08:00
borderRadius: theme.spacing(2),
"& > *": {
paddingTop: theme.spacing(15),
paddingBottom: theme.spacing(15),
2024-12-18 12:19:21 -08:00
},
"& > div:first-of-type": {
flex: 0.7,
borderRight: 1,
borderRightStyle: "solid",
2025-01-08 21:41:59 -05:00
borderRightColor: theme.palette.primary.lowContrast,
2024-12-18 12:19:21 -08:00
paddingRight: theme.spacing(15),
paddingLeft: theme.spacing(15),
backgroundColor: theme.palette.tertiary.background,
2025-07-28 16:28:44 -04:00
"& :is(h1, h2):first-of-type": {
fontWeight: 600,
marginBottom: theme.spacing(4),
},
2024-12-18 12:19:21 -08:00
},
"& > div:last-of-type": {
flex: 1,
paddingRight: theme.spacing(20),
paddingLeft: theme.spacing(20),
2024-12-18 12:19:21 -08:00
},
"& h1, & h2": {
2025-01-12 09:39:31 -05:00
color: theme.palette.primary.contrastTextSecondary,
2025-05-27 09:10:32 -07:00
},
2024-12-18 12:19:21 -08:00
}));
export default ConfigBox;