fix: 디자인 반영 merge

main
minuk926 3 years ago
parent e0648d19fe
commit 48f70037c9

@ -6,6 +6,11 @@
@import '~slick-carousel/slick/slick.css';
@import '~slick-carousel/slick/slick-theme.css';
//webFont
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500&display=swap');
// ==============================|| LIGHT BOX ||============================== //
.slick-arrow:before {
color: $grey500;
@ -133,3 +138,111 @@
transform: translateX(10px);
}
}
/*2022.04.25 박소영 추가*/
*{
font-family: 'Noto Sans KR' !important;
}
//
.css-1kmsfjc-MuiButtonBase-root-MuiButton-root{
height:37px;
}
.css-a5rdam-MuiGrid-root{
align-items:center;
}
.css-13i4rnv-MuiGrid-root>.css-9m7a0r-MuiTypography-root{
border:1px solid red;
margin:0px;
padding:0px;
color:#bdc8f0 !important;
}
//MuiPaper-root
.css-7uac63-MuiPaper-root-MuiCard-root{
border: 1px solid pink;
background-color: #1a223f;
border: none;
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;
}*/
// modal
.css-79ws1d-MuiModal-root {
position: fixed;
z-index: 9999;
right: 0;
bottom: 0;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
position: absolute;
}
//
.css-fdedq5-MuiInputBase-root-MuiOutlinedInput-root{
/* height: 43px;*/
height: 41px;
}
//
.css-140pblg-MuiGrid-root>.MuiGrid-item:nth-child(2){
display: flex;
margin-left: -25px;
padding-top: 5px;
}
//
.css-6dzwqk-MuiGrid-root {
border: 0px solid yellow;
padding-left: 0px !important;
}
//
//
.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;
}
// 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;
}
// ,
.MuiGrid-root:nth-child(4){
border:0px solid red;
margin-left: auto;
}

@ -122,7 +122,13 @@ const Breadcrumbs = ({ card, divider, icon, icons, maxItems, navigation, rightAl
}}
{...others}
>
<Box sx={{ p: 2, pl: card === false ? 0 : 2 }}>
<Box
sx={{
/* p: 2 */
padding: '11px',
pl: card === false ? 0 : 2
}}
>
<Grid
container
direction={rightAlign ? 'row' : 'column'}
@ -132,7 +138,7 @@ const Breadcrumbs = ({ card, divider, icon, icons, maxItems, navigation, rightAl
>
{title && !titleBottom && (
<Grid item>
<Typography variant="h3" sx={{ fontWeight: 500 }}>
<Typography variant="h3" sx={{ fontWeight: 400 }}>
{item.title}
</Typography>
</Grid>

@ -1,7 +1,7 @@
import { useCallback, useEffect, useState } from 'react';
// material-ui
import { Button, Divider, Grid, Link } from '@mui/material';
import { Button, Grid, Link } from '@mui/material';
// assets
import { IconFileText } from '@tabler/icons';
@ -132,9 +132,9 @@ const PublicBoard = () => {
</Button>
</Grid>
</Grid>
<Grid item xs={12} mt={1} mb={1}>
{/* <Grid item xs={12} mt={1} mb={1}>
<Divider />
</Grid>
</Grid> */}
<MuiDataGrid
columns={columns}

@ -25,7 +25,7 @@ const CmmModal = ({ isBackdrop = false, open, setOpen, title, children, callback
};
return (
<div>
<div className="modalGroup">
{/* <Button onClick={handleOpen}>Grid Modal(List)</Button> */}
<Modal hideBackdrop={isBackdrop} open={open} aria-labelledby="modal-modal-title" aria-describedby="modal-modal-description">
<MainCard

@ -2,7 +2,6 @@ import { gridPageSelector, gridPageCountSelector, useGridApiContext, useGridSele
import Pagination from '@mui/material/Pagination';
import Grid from '@mui/material/Grid';
import PropTypes from 'prop-types';
import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord';
import { Typography } from '@mui/material';
const CustomPagination = ({ totalCount, numSelected }) => {
@ -11,7 +10,22 @@ const CustomPagination = ({ totalCount, numSelected }) => {
const pageCount = useGridSelector(apiRef, gridPageCountSelector);
return (
<Grid sx={{ padding: '10px', display: 'flex', justifyContent: 'center' }}>
<Grid
sx={{
padding: '10px',
display: 'flex',
justifyContent: 'center',
position: 'relative',
'& .MuiGrid-root': {
marginBottom: '10px'
},
'& .MuiTypography-root': {
position: 'absolute',
right: '1px',
color: '#939393'
}
}}
>
{pageCount > 1 && (
<Pagination
// sx={(theme) => ({ padding: theme.spacing(1.5, 0) })}
@ -35,7 +49,7 @@ const CustomPagination = ({ totalCount, numSelected }) => {
{numSelected} 선택
</Typography>
)}
{pageCount > 1 && (
{/* {pageCount > 1 && (
<FiberManualRecordIcon
fontSize="small"
sx={{
@ -44,7 +58,7 @@ const CustomPagination = ({ totalCount, numSelected }) => {
color: '#4caf50'
}}
/>
)}
)} */}
<Typography variant="span" color="#4caf50">
{/* 전체 {totalCount} 건 현재페이지 {pageCount > 1 ? `${page * pageSize + 1} / ${totalCount} 건` : `${totalCount}`} */}
{totalCount > 0 ? `전체 ${totalCount}` : ``}

@ -141,17 +141,34 @@ const MuiDataGrid = ({
sx={{
height: 670,
width: '100%',
marginTop: '10px',
'& .MuiDataGrid-root': {
border: 'none',
'& .MuiDataGrid-cell': {
borderColor: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200'
borderRight: '1px solid',
borderColor: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200',
fontWeight: '100'
},
'& .MuiDataGrid-columnsContainer': {
color: theme.palette.mode === 'dark' ? 'grey.600' : 'grey.900',
borderColor: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200'
},
'& .MuiDataGrid-columnSeparator': {
display: 'none',
color: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200'
},
'& .MuiDataGrid-columnHeaders': {
border: '1px solid',
borderWidth: '1px 0px 1px 0px',
borderRadius: '0px',
borderColor: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200'
},
'& .MuiDataGrid-columnHeader': {
borderRight: '1px solid',
borderColor: theme.palette.mode === 'dark' ? theme.palette.text.primary + 15 : 'grey.200'
},
'& .MuiDataGrid-columnHeaderTitle': {
fontWeight: '400'
}
},
'& .MuiPagination-root': {

Loading…
Cancel
Save