2022-09-12 13:28:56 +00:00
|
|
|
|
import * as React from "react";
|
2022-09-13 16:16:57 +00:00
|
|
|
|
import { Box, Typography } from "@mui/material";
|
|
|
|
|
import { ThemeProvider } from "@mui/material";
|
2022-09-12 13:28:56 +00:00
|
|
|
|
import theme from "../../theme";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const ModalWindow: React.FC = () => {
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
2022-09-13 16:16:57 +00:00
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
|
<Box sx={{
|
|
|
|
|
position: "absolute" as "absolute",
|
|
|
|
|
top: "50%",
|
|
|
|
|
left: "50%",
|
|
|
|
|
transform: "translate(-50%, -50%)",
|
|
|
|
|
width: "90%",
|
|
|
|
|
height: "90%",
|
|
|
|
|
bgcolor: theme.palette.menu.main,
|
|
|
|
|
border: "2px solid #000",
|
|
|
|
|
boxShadow: 24,
|
|
|
|
|
color: theme.palette.secondary.main,
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
}}>
|
|
|
|
|
<Typography id="transition-modal-title" variant="caption">
|
|
|
|
|
Проект
|
|
|
|
|
</Typography>
|
|
|
|
|
|
2022-09-12 13:28:56 +00:00
|
|
|
|
<Box sx={{
|
2022-09-13 16:16:57 +00:00
|
|
|
|
width: "100%",
|
|
|
|
|
marginTop: "15px",
|
|
|
|
|
display: "flex"
|
2022-09-12 13:28:56 +00:00
|
|
|
|
}}>
|
|
|
|
|
<Box sx={{
|
2022-09-13 16:16:57 +00:00
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
|
|
|
|
width: "155px"
|
2022-09-12 13:28:56 +00:00
|
|
|
|
}}>
|
2022-09-13 16:16:57 +00:00
|
|
|
|
<Typography variant="h4" sx={{
|
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "55px", //205px
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
cursor: "pointer",
|
|
|
|
|
}}>
|
|
|
|
|
СТАТИСТИКА
|
|
|
|
|
</Typography>
|
|
|
|
|
<Typography variant="h4" sx={{
|
2022-09-12 13:28:56 +00:00
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
2022-09-13 16:16:57 +00:00
|
|
|
|
color: theme.palette.grayDisabled.main,
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "55px", //205px
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
cursor: "pointer",
|
|
|
|
|
textAlign: "center"
|
2022-09-12 13:28:56 +00:00
|
|
|
|
}}>
|
2022-09-13 16:16:57 +00:00
|
|
|
|
ТРЕКЕРЫ УСТРОЙСТВ
|
|
|
|
|
</Typography>
|
|
|
|
|
<Typography variant="h4" sx={{
|
2022-09-12 13:28:56 +00:00
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
2022-09-13 16:16:57 +00:00
|
|
|
|
color: theme.palette.grayDisabled.main,
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "55px", //205px
|
2022-09-12 13:28:56 +00:00
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
2022-09-13 16:16:57 +00:00
|
|
|
|
alignItems: "center",
|
|
|
|
|
cursor: "pointer",
|
|
|
|
|
textAlign: "center"
|
2022-09-12 13:28:56 +00:00
|
|
|
|
}}>
|
2022-09-13 16:16:57 +00:00
|
|
|
|
ВВОДЫ
|
|
|
|
|
</Typography>
|
|
|
|
|
<Typography variant="h4" sx={{
|
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
|
|
|
|
color: theme.palette.grayDisabled.main,
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "55px", //205px
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
cursor: "pointer",
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>
|
|
|
|
|
ВЫВОДЫ
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
<Box sx={{
|
|
|
|
|
backgroundColor: theme.palette.grayMedium.main,
|
|
|
|
|
width: "calc(100% - 155px)",
|
|
|
|
|
height: "55px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
Long text Long text Long text Long text Long text
|
|
|
|
|
Long text Long text Long text Long text Long text
|
|
|
|
|
Long text Long text Long text
|
2022-09-12 13:28:56 +00:00
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
2022-09-13 16:16:57 +00:00
|
|
|
|
</Box>
|
|
|
|
|
</ThemeProvider>
|
2022-09-12 13:28:56 +00:00
|
|
|
|
</React.Fragment>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-13 16:16:57 +00:00
|
|
|
|
|
2022-09-12 13:28:56 +00:00
|
|
|
|
export default ModalWindow;
|