fix: css 적용 진행

main
minuk926 2 years ago
parent aec14eaab1
commit 081e0f0e18

@ -148,7 +148,7 @@
font-family: 'Noto Sans KR' !important; font-family: 'Noto Sans KR' !important;
} }
// modal // modal
.css-79ws1d-MuiModal-root { .MuiModal-root {
position: fixed; position: fixed;
right: 0; right: 0;
bottom: 0; bottom: 0;
@ -159,95 +159,27 @@
position: absolute; position: absolute;
} }
// //
.css-1kmsfjc-MuiButtonBase-root-MuiButton-root{ .MuiButtonBase-root-MuiButton-root{
height:37px; height:37px;
} }
.css-a5rdam-MuiGrid-root{ .MuiGrid-root{
align-items:center; align-items:center;
} }
.css-13i4rnv-MuiGrid-root>.css-9m7a0r-MuiTypography-root{ .MuiGrid-root>.MuiTypography-root{
border:1px solid red; //border:1px solid red;
margin:0px; margin:0px;
padding:0px; padding:0px;
color:#bdc8f0 !important; color:#bdc8f0 !important;
} }
//MuiPaper-root //MuiPaper-root
.css-7uac63-MuiPaper-root-MuiCard-root{ .MuiPaper-root-MuiCard-root{
border: 1px solid pink; border: 1px solid pink;
background-color: #1a223f; background-color: #1a223f;
border: none; border: none;
margin-top: -22px; margin-top: -22px;
} }
/*
.css-7uac63-MuiPaper-root-MuiCard-root {
background-color: #212946;
color: #bdc8f0;
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
border-radius: 4px;
box-shadow: none;
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
background-image: none;
border-radius: 4px;
overflow: hidden;
border: 1px solid;
border-color: #111936;
}*/
//
//
.css-1kuwsse-MuiFormLabel-root-MuiInputLabel-root{
background: #1a223f;
}
// _01
.MuiOutlinedInput-root>.MuiSelect-select{
padding:10px 10px 10px 14px;
}
// _02
.css-1ikyx9c-MuiFormLabel-root-MuiInputLabel-root.Mui-focused{
background-color:#212946;
}
//
.MuiGrid-root>.css-1uxpv00-MuiGrid-root{
margin: 0px;
position: absolute;
right: 35px;
}
// 3 22
.MuiGrid-root > .css-9m7a0r-MuiTypography-root{
border: 1px solid #535353;
border-width: 0px 1px 0px 0px;
margin: -2px 80px 0px 0px;
padding-right: 20px;
color: #35a6ff !important;
}
//
.css-lzdpoz-MuiPaper-root{
border: 1px solid #525a73;
overflow: initial;
border-width: 0px 0px 2px 2px;
}
.css-1uigskc-MuiTableCell-root{
border: 1px solid #525a73;
border-width: 5px 1px 1px 0px;
padding: 8px;
position: sticky;
top:-2px;
}
.css-t78vwc-MuiTableCell-root.MuiTableCell-body {
border-right: 1px solid #525a73 !important;
padding: 8px;
}
//
.MuiGrid-root>.css-1odrivk-MuiGrid-root{
border:0px solid red;
margin-right: 330px;
}

@ -17,14 +17,23 @@ import { findJudgeResults } from 'apis/judge';
import _ from 'lodash'; import _ from 'lodash';
import { useAlert } from 'react-alert'; import { useAlert } from 'react-alert';
import JudgeModal from './JudgeModal'; import JudgeModal from './JudgeModal';
import PerfectScrollbar from 'react-perfect-scrollbar';
const StyledTableCell = styled(TableCell)(({ theme }) => ({ const StyledTableCell = styled(TableCell)(({ theme }) => ({
[`&.${tableCellClasses.head}`]: { [`&.${tableCellClasses.head}`]: {
backgroundColor: theme.palette.common.black, backgroundColor: theme.palette.common.black,
color: theme.palette.common.white color: theme.palette.common.white,
border: '1px solid #525a73', // #525a73;
overflow: 'initial',
borderWidth: '3px 1px 3px 0px'
}, },
[`&.${tableCellClasses.body}`]: { [`&.${tableCellClasses.body}`]: {
// fontSize: 14 borderRight: '1px solid #525a73 !important',
borderBottom: '1px solid #525a73 !important',
padding: '8px'
// border: '1px solid #525a73', // #525a73;
// overflow: 'initial',
// borderWidth: '0px 1px 1px 0px'
} }
})); }));
@ -38,6 +47,16 @@ const StyledTableRow = styled(TableRow)(({ theme }) => ({
} }
})); }));
// const StyledTableHead = styled(TableHead)(({ theme }) => ({
// [`&.${tableCellClasses.head}`]: {
// backgroundColor: theme.palette.common.black,
// color: theme.palette.common.white
// },
// [`&.${tableCellClasses.body}`]: {
// // fontSize: 14
// }
// }));
const totLabel = ['부과', '서손', '미부과', '계']; const totLabel = ['부과', '서손', '미부과', '계'];
const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUserData, selectedRow, judgeTeam, judgeData, dataGb }) => { const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUserData, selectedRow, judgeTeam, judgeData, dataGb }) => {
@ -130,7 +149,13 @@ const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUse
<Grid item xs={6} style={{ marginLeft: 'auto' }}> <Grid item xs={6} style={{ marginLeft: 'auto' }}>
<FormControl fullWidth> <FormControl fullWidth>
<InputLabel required></InputLabel> <InputLabel required></InputLabel>
<Select defaultValue={msuTeam} value={msuTeam} onChange={(e) => setMsuTeam(e.target.value)}> <Select
sx={{ marginTop: 1 }}
defaultValue={msuTeam}
value={msuTeam}
onChange={(e) => setMsuTeam(e.target.value)}
size="small"
>
{combo.teams.map((team, idx) => ( {combo.teams.map((team, idx) => (
<MenuItem key={idx} value={team.code}> <MenuItem key={idx} value={team.code}>
{team.value} {team.value}
@ -158,12 +183,13 @@ const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUse
</Grid> </Grid>
</Grid> </Grid>
</Grid> </Grid>
<Paper sx={{ width: '100%', overflow: 'hidden' }}> <Paper sx={{ width: '100%' }}>
{/* <PerfectScrollbar style={{ height: '100%', maxHeight: 'calc(100vh - 205px)', overflowX: 'hidden' }}> */}
<TableContainer sx={{ maxwidth: 950, maxHeight: 700 }}> <TableContainer sx={{ maxwidth: 950, maxHeight: 700 }}>
<Table stickyHeader aria-label="sticky table"> <Table stickyHeader>
<TableHead> <TableHead>
<TableRow> <TableRow>
<StyledTableCell align="center" style={{ minWidth: 45 }} hidden> <StyledTableCell align="center" style={{ minWidth: 45 }}>
No. No.
</StyledTableCell> </StyledTableCell>
<StyledTableCell align="center" style={{ width: 95 }}> <StyledTableCell align="center" style={{ width: 95 }}>
@ -244,6 +270,7 @@ const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUse
{/* <TableFooter>{judgeResult && `총 ${selectedRow.cnt} 건중 ${judgeResult.judgeCars.length} 건`}</TableFooter> */} {/* <TableFooter>{judgeResult && `총 ${selectedRow.cnt} 건중 ${judgeResult.judgeCars.length} 건`}</TableFooter> */}
</Table> </Table>
</TableContainer> </TableContainer>
{/* </PerfectScrollbar> */}
</Paper> </Paper>
<Box <Box
sx={{ sx={{

Loading…
Cancel
Save