물건현황 react-select 용 퍼블 scss 머지

This commit is contained in:
basssy 2024-10-18 08:51:23 +09:00
parent cdf6a43cac
commit be866218fa
5 changed files with 2764 additions and 2073 deletions

View File

@ -536,8 +536,11 @@ export default function StuffDetail() {
</th>
<td>
<div className="flx-box">
<div style={{ width: '567px', marginRight: '5px' }}>
<div className="select-wrap mr5" style={{ width: '567px' }}>
<Select
className="react-select-custom"
classNamePrefix="custom"
placeholder="Select"
options={saleStoreList}
onChange={onSelectionChange}
getOptionLabel={(x) => x.saleStoreName}
@ -562,8 +565,11 @@ export default function StuffDetail() {
</th>
<td>
<div className="flx-box">
<div style={{ width: '567px', marginRight: '5px' }}>
<div className="select-wrap mr5" style={{ width: '567px' }}>
<Select
className="react-select-custom"
classNamePrefix="custom"
placeholder="Select"
ref={ref}
options={otherSaleStoreList}
onChange={onSelectionChange2}

View File

@ -257,8 +257,12 @@ export default function StuffSearchCondition() {
</td>
<th>{getMessage('stuff.search.schSelSaleStoreId')}</th>
<td>
<div className="select-wrap">
{schSelSaleStoreList?.length > 0 && (
<Select
className="react-select-custom"
classNamePrefix="custom"
placeholder="Select"
ref={ref}
options={schSelSaleStoreList}
onChange={onSelectionChange}
@ -269,6 +273,7 @@ export default function StuffSearchCondition() {
isClearable={true}
/>
)}
</div>
</td>
</tr>
<tr>

View File

@ -339,13 +339,15 @@ export default function PlanRequestPop(props) {
</td>
<th>{getMessage('stuff.planReqPopup.search.planStatName')}</th>
<td>
<div className="">
<div className="select-wrap">
<Select
className="react-select-custom"
classNamePrefix="custom"
ref={ref}
options={tempList}
onChange={onSelectionChange}
isSearchable={false}
placeholder="선택하세요."
placeholder="Select"
isClearable={true}
/>
</div>

View File

@ -5,12 +5,24 @@ $pop-normal-size: 12px;
$alert-color: #101010;
@keyframes mountpop {
from{opacity: 0; scale: 0.95;}
to{opacity: 1; scale: 1;}
from {
opacity: 0;
scale: 0.95;
}
to {
opacity: 1;
scale: 1;
}
}
@keyframes unmountpop {
from{opacity: 1; scale: 1;}
to{opacity: 0; scale: 0.95;}
from {
opacity: 1;
scale: 1;
}
to {
opacity: 0;
scale: 0.95;
}
}
.normal-font {
@ -34,6 +46,9 @@ $alert-color: #101010;
border-radius: 4px;
background-color: #272727;
z-index: 9999999;
&.xsm {
width: 200px;
}
&.xxxm {
width: 240px;
}
@ -74,10 +89,10 @@ $alert-color: #101010;
width: 800px;
}
&.mount {
animation: mountpop .17s ease-in-out forwards;
animation: mountpop 0.17s ease-in-out forwards;
}
&.unmount {
animation: unmountpop .17s ease-in-out forwards;
animation: unmountpop 0.17s ease-in-out forwards;
}
&.alert {
position: absolute;
@ -182,7 +197,7 @@ $alert-color: #101010;
}
}
.outer-line-wrap {
border-top: 1px solid #3C3C3C;
border-top: 1px solid #3c3c3c;
margin-top: 10px;
padding-top: 15px;
margin-bottom: 15px;
@ -204,7 +219,7 @@ $alert-color: #101010;
.adsorption-point {
display: flex;
align-items: center;
background-color: #3A3A3A;
background-color: #3a3a3a;
border-radius: 3px;
padding-left: 11px;
overflow: hidden;
@ -225,7 +240,7 @@ $alert-color: #101010;
&.act {
i {
color: $pop-color;
background-color: #1083E3;
background-color: #1083e3;
}
}
}
@ -245,7 +260,7 @@ $alert-color: #101010;
display: flex;
align-items: center;
background-color: transparent;
border: 1px solid #3D3D3D;
border: 1px solid #3d3d3d;
border-radius: 2px;
padding: 15px 10px;
gap: 20px;
@ -272,7 +287,9 @@ $alert-color: #101010;
}
}
.select-form {
.sort-select{width: 100%;}
.sort-select {
width: 100%;
}
}
.grid-select {
flex: 1;
@ -317,7 +334,6 @@ $alert-color: #101010;
color: $pop-color;
font-weight: $pop-normal-weight;
padding-bottom: 15px;
}
.grid-direction {
display: flex;
@ -334,11 +350,17 @@ $alert-color: #101010;
background-position: center;
background-size: 16px 15px;
border-radius: 50%;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
opacity: 0.6;
&.down{transform: rotate(180deg);}
&.left{transform: rotate(-90deg);}
&.right{transform: rotate(90deg);}
&.down {
transform: rotate(180deg);
}
&.left {
transform: rotate(-90deg);
}
&.right {
transform: rotate(90deg);
}
&:hover,
&.act {
opacity: 1;
@ -414,10 +436,11 @@ $alert-color: #101010;
}
&.light {
padding: 0;
th,td{
th,
td {
color: $alert-color;
border-bottom: none;
border-top: 1px solid #EFEFEF;
border-top: 1px solid #efefef;
}
th {
padding: 14px 0;
@ -450,7 +473,7 @@ $alert-color: #101010;
gap: 20px;
}
.select-wrap {
div{
.sort-select {
width: 100%;
}
}
@ -541,7 +564,7 @@ $alert-color: #101010;
align-items: center;
justify-content: center;
width: 50%;
background-color: #3D3D3D;
background-color: #3d3d3d;
border-radius: 2px;
}
}
@ -549,7 +572,7 @@ $alert-color: #101010;
// 외벽선 속성 설정
.properties-guide {
font-size: $pop-normal-size;
color: #AAA;
color: #aaa;
font-weight: $pop-normal-weight;
margin-bottom: 14px;
}
@ -578,17 +601,17 @@ $alert-color: #101010;
color: #fff;
font-weight: 700;
border-radius: 2px;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&.green {
background-color: #305941;
border: 1px solid #45CD7D;
border: 1px solid #45cd7d;
&:hover {
background-color: #3a6b4e;
}
}
&.blue {
background-color: #2E5360;
border: 1px solid #3FBAE6;
background-color: #2e5360;
border: 1px solid #3fbae6;
&:hover {
background-color: #365f6e;
}
@ -610,8 +633,8 @@ $alert-color: #101010;
justify-content: center;
width: 100%;
padding: 13px;
background-color: #3D3D3D;
transition: background .15s ease-in-out;
background-color: #3d3d3d;
transition: background 0.15s ease-in-out;
img {
max-width: 100%;
}
@ -622,13 +645,17 @@ $alert-color: #101010;
color: $pop-color;
margin-top: 10px;
text-align: center;
transition: color .15s ease-in-out;
transition: color 0.15s ease-in-out;
}
.shape-menu-box {
&.act,
&:hover {
.shape-box{background-color: #008BFF;}
.shape-title{color: #008BFF;}
.shape-box {
background-color: #008bff;
}
.shape-title {
color: #008bff;
}
}
}
}
@ -643,7 +670,7 @@ $alert-color: #101010;
}
.discrimination-box {
padding: 16px 12px;
border: 1px solid #3D3D3D;
border: 1px solid #3d3d3d;
border-radius: 2px;
}
@ -676,12 +703,12 @@ $alert-color: #101010;
align-items: center;
justify-content: center;
padding: 5px;
background-color: #3D3D3D;
border: 1px solid #3D3D3D;
background-color: #3d3d3d;
border: 1px solid #3d3d3d;
border-radius: 2px;
cursor: pointer;
&.act {
border: 1px solid #ED0004;
border: 1px solid #ed0004;
}
}
&:last-child {
@ -780,7 +807,7 @@ $alert-color: #101010;
border: 1px solid #646464;
border-radius: 2px;
padding: 0 10px;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
i {
height: 15px;
display: block;
@ -788,7 +815,7 @@ $alert-color: #101010;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&.allocation01 {
background-image: url(../../public/static/images/canvas/allocation_icon01_white.svg);
width: 15px;
@ -830,9 +857,9 @@ $alert-color: #101010;
margin-bottom: 10px;
.shape-menu-box {
border-radius: 2px;
background-color: #3D3D3D;
background-color: #3d3d3d;
padding: 8px;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
.shape-box {
display: flex;
justify-content: center;
@ -845,7 +872,7 @@ $alert-color: #101010;
}
&.act,
&:hover {
background-color: #008BFF;
background-color: #008bff;
}
}
}
@ -856,23 +883,32 @@ $alert-color: #101010;
justify-content: center;
gap: 5px;
padding: 5px;
background-color: #3D3D3D;
background-color: #3d3d3d;
margin-bottom: 24px;
.library-btn {
width: 30px;
height: 30px;
border: 1px solid #6C6C6C;
border: 1px solid #6c6c6c;
border-radius: 2px;
background-color: transparent;
background-repeat: no-repeat;
background-position: center;
transition: all .15s ease-in-out;
&.ico01{background-image: url(../../public/static/images/canvas/shape_labrary01.svg); background-size: 14px 14px;}
&.ico02{background-image: url(../../public/static/images/canvas/shape_labrary02.svg); background-size: 13px 17px;}
&.ico03{background-image: url(../../public/static/images/canvas/shape_labrary03.svg); background-size: 17px 13px;}
transition: all 0.15s ease-in-out;
&.ico01 {
background-image: url(../../public/static/images/canvas/shape_labrary01.svg);
background-size: 14px 14px;
}
&.ico02 {
background-image: url(../../public/static/images/canvas/shape_labrary02.svg);
background-size: 13px 17px;
}
&.ico03 {
background-image: url(../../public/static/images/canvas/shape_labrary03.svg);
background-size: 17px 13px;
}
&:hover {
border-color: #1083E3;
background-color: #1083E3;
border-color: #1083e3;
background-color: #1083e3;
}
}
}
@ -883,7 +919,7 @@ $alert-color: #101010;
.plane-box {
padding: 10px;
border-radius: 2px;
background-color: #3D3D3D;
background-color: #3d3d3d;
.plane-box-tit {
font-size: $pop-normal-size;
font-weight: 600;
@ -955,11 +991,27 @@ $alert-color: #101010;
position: absolute;
font-size: 12px;
font-weight: 500;
color: #B1B1B1;
&.top{top: 0; left: 50%; transform: translateX(-50%);}
&.right{top: 50%; right: 0; transform: translateY(-50%);}
&.bottom{bottom: 0; left: 50%; transform: translateX(-50%);}
&.left{top: 50%; left: 0; transform: translateY(-50%);}
color: #b1b1b1;
&.top {
top: 0;
left: 50%;
transform: translateX(-50%);
}
&.right {
top: 50%;
right: 0;
transform: translateY(-50%);
}
&.bottom {
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
&.left {
top: 50%;
left: 0;
transform: translateY(-50%);
}
}
.plane-btn {
position: absolute;
@ -971,11 +1023,27 @@ $alert-color: #101010;
background-repeat: no-repeat;
background-position: center;
border-radius: 50%;
transition: all .15s ease-in-out;
&.up{top: 22px; left: 50%; transform: translateX(-50%);}
&.right{top: 50%; right: 32px; transform: translateY(-50%) rotate(90deg);}
&.down{bottom: 22px; left: 50%; transform: translateX(-50%) rotate(180deg);}
&.left{top: 50%; left: 32px; transform: translateY(-50%) rotate(270deg);}
transition: all 0.15s ease-in-out;
&.up {
top: 22px;
left: 50%;
transform: translateX(-50%);
}
&.right {
top: 50%;
right: 32px;
transform: translateY(-50%) rotate(90deg);
}
&.down {
bottom: 22px;
left: 50%;
transform: translateX(-50%) rotate(180deg);
}
&.left {
top: 50%;
left: 32px;
transform: translateY(-50%) rotate(270deg);
}
&:hover,
&.act {
background-color: #fff;
@ -1035,7 +1103,7 @@ $alert-color: #101010;
.warning {
font-size: $pop-normal-size;
font-weight: $pop-normal-weight;
color: #FFAFAF;
color: #ffafaf;
}
// 속성 변경
@ -1087,37 +1155,157 @@ $alert-color: #101010;
top: 12.5px;
left: 50%;
font-size: 11px;
color: #8B8B8B;
color: #8b8b8b;
font-weight: 500;
-webkit-user-select: none;
-moz-user-select: none;
-ms-use-select: none;
user-select: none;
}
&:nth-child(1) { transform: rotate(180deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(180deg);}}
&:nth-child(2) { transform: rotate(195deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(165deg);}}
&:nth-child(3) { transform: rotate(210deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(150deg);}}
&:nth-child(4) { transform: rotate(225deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(135deg);}}
&:nth-child(5) { transform: rotate(240deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(120deg);}}
&:nth-child(6) { transform: rotate(255deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(105deg);}}
&:nth-child(7) { transform: rotate(270deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(90deg);}}
&:nth-child(8) { transform: rotate(285deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(75deg);}}
&:nth-child(9) { transform: rotate(300deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(60deg);}}
&:nth-child(10) { transform: rotate(315deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(45deg);}}
&:nth-child(11) { transform: rotate(330deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(30deg);}}
&:nth-child(12) { transform: rotate(345deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(15deg);}}
&:nth-child(13) { transform: rotate(0deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(0deg);}}
&:nth-child(14) { transform: rotate(15deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-15deg);}}
&:nth-child(15) { transform: rotate(30deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-30deg);}}
&:nth-child(16) { transform: rotate(45deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-45deg);}}
&:nth-child(17) { transform: rotate(60deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-60deg);}}
&:nth-child(18) { transform: rotate(75deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-75deg);}}
&:nth-child(19) { transform: rotate(90deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-90deg);}}
&:nth-child(20) { transform: rotate(105deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-105deg);}}
&:nth-child(21) { transform: rotate(120deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-120deg);}}
&:nth-child(22) { transform: rotate(135deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-135deg);}}
&:nth-child(23) { transform: rotate(150deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-150deg);}}
&:nth-child(24) { transform: rotate(165deg) translate(-50%, -50%); i{transform: translateX(-50%) rotate(-165deg);}}
&:nth-child(1) {
transform: rotate(180deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(180deg);
}
}
&:nth-child(2) {
transform: rotate(195deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(165deg);
}
}
&:nth-child(3) {
transform: rotate(210deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(150deg);
}
}
&:nth-child(4) {
transform: rotate(225deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(135deg);
}
}
&:nth-child(5) {
transform: rotate(240deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(120deg);
}
}
&:nth-child(6) {
transform: rotate(255deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(105deg);
}
}
&:nth-child(7) {
transform: rotate(270deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(90deg);
}
}
&:nth-child(8) {
transform: rotate(285deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(75deg);
}
}
&:nth-child(9) {
transform: rotate(300deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(60deg);
}
}
&:nth-child(10) {
transform: rotate(315deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(45deg);
}
}
&:nth-child(11) {
transform: rotate(330deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(30deg);
}
}
&:nth-child(12) {
transform: rotate(345deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(15deg);
}
}
&:nth-child(13) {
transform: rotate(0deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(0deg);
}
}
&:nth-child(14) {
transform: rotate(15deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-15deg);
}
}
&:nth-child(15) {
transform: rotate(30deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-30deg);
}
}
&:nth-child(16) {
transform: rotate(45deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-45deg);
}
}
&:nth-child(17) {
transform: rotate(60deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-60deg);
}
}
&:nth-child(18) {
transform: rotate(75deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-75deg);
}
}
&:nth-child(19) {
transform: rotate(90deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-90deg);
}
}
&:nth-child(20) {
transform: rotate(105deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-105deg);
}
}
&:nth-child(21) {
transform: rotate(120deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-120deg);
}
}
&:nth-child(22) {
transform: rotate(135deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-135deg);
}
}
&:nth-child(23) {
transform: rotate(150deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-150deg);
}
}
&:nth-child(24) {
transform: rotate(165deg) translate(-50%, -50%);
i {
transform: translateX(-50%) rotate(-165deg);
}
}
&.act {
&::after {
content: '';
@ -1152,7 +1340,6 @@ $alert-color: #101010;
}
}
// 지붕모듈선택
.roof-module-tab {
display: flex;
@ -1167,13 +1354,13 @@ $alert-color: #101010;
border-radius: 2px;
background-color: transparent;
font-size: 12px;
color: #AAA;
color: #aaa;
text-align: center;
cursor: default;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&.act {
background-color: #1083E3;
border: 1px solid #1083E3;
background-color: #1083e3;
border: 1px solid #1083e3;
color: #fff;
font-weight: 500;
}
@ -1186,7 +1373,7 @@ $alert-color: #101010;
background-position: center;
background-size: cover;
background-image: url(../../public/static/images/canvas/module_tab_arr.svg);
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&.act {
background-image: url(../../public/static/images/canvas/module_tab_arr_white.svg);
}
@ -1212,14 +1399,16 @@ $alert-color: #101010;
transform: translateX(-50%);
width: 1px;
height: 6px;
background-color: #8B8B8B;
background-color: #8b8b8b;
}
}
i {
top: 32px;
}
&.act {
i{color: #8B8B8B;}
i {
color: #8b8b8b;
}
}
}
}
@ -1251,7 +1440,7 @@ $alert-color: #101010;
height: 30px;
font-size: 12px;
font-weight: 400;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&:first-child {
border-left: 1px solid #505050;
}
@ -1265,7 +1454,7 @@ $alert-color: #101010;
.module-table-box {
flex: 1;
background-color: #3D3D3D;
background-color: #3d3d3d;
border-radius: 2px;
.module-table-inner {
padding: 10px;
@ -1278,7 +1467,7 @@ $alert-color: #101010;
padding: 10px 0;
font-size: 12px;
color: #fff;
border-bottom: 1px solid #4D4D4D;
border-bottom: 1px solid #4d4d4d;
}
.eaves-keraba-table {
width: 100%;
@ -1301,7 +1490,7 @@ $alert-color: #101010;
.warning-guide {
padding: 20px;
.warning {
color: #FFCACA;
color: #ffcaca;
max-height: 55px;
overflow-y: auto;
padding-right: 30px;
@ -1310,7 +1499,7 @@ $alert-color: #101010;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: #D9D9D9;
background-color: #d9d9d9;
}
&::-webkit-scrollbar-track {
background-color: transparent;
@ -1321,7 +1510,7 @@ $alert-color: #101010;
.module-self-table {
display: table;
border-top: 1px solid #4D4D4D;
border-top: 1px solid #4d4d4d;
border-collapse: collapse;
width: 100%;
.self-table-item {
@ -1330,7 +1519,7 @@ $alert-color: #101010;
.self-item-th {
display: table-cell;
vertical-align: middle;
border-bottom: 1px solid #4D4D4D;
border-bottom: 1px solid #4d4d4d;
}
.self-item-th {
width: 60px;
@ -1358,7 +1547,7 @@ $alert-color: #101010;
.hexagonal-wrap {
.hexagonal-item {
padding: 15px 0;
border-bottom: 1px solid #4D4D4D;
border-bottom: 1px solid #4d4d4d;
&:first-child {
padding-top: 0;
}
@ -1396,7 +1585,7 @@ $alert-color: #101010;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: #D9D9D9;
background-color: #d9d9d9;
}
&::-webkit-scrollbar-track {
background-color: transparent;
@ -1414,7 +1603,7 @@ $alert-color: #101010;
gap: 5px;
min-height: 60px;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.20);
border: 1px solid rgba(255, 255, 255, 0.2);
span {
display: inline-flex;
align-items: center;
@ -1447,7 +1636,7 @@ $alert-color: #101010;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: #D9D9D9;
background-color: #d9d9d9;
}
&::-webkit-scrollbar-track {
background-color: transparent;
@ -1505,13 +1694,284 @@ $alert-color: #101010;
width: 16px;
height: 16px;
&.pink {
border: 2px solid #EA10AC;
background-color: #16417D;
border: 2px solid #ce1c9c;
background-color: #16417d;
}
&.white {
border: 2px solid #FFF;
border: 2px solid #fff;
background-color: #001027;
}
}
}
}
// color setting
.color-setting-wrap {
padding-bottom: 15px;
border-bottom: 1px solid #424242;
.color-tit {
font-size: 13px;
font-weight: 500;
color: #ffffff;
margin-bottom: 10px;
}
.color-picker {
.react-colorful {
width: 100%;
height: auto;
gap: 20px;
.react-colorful__pointer {
width: 15px;
height: 15px;
border: 4px solid #fff;
}
.react-colorful__saturation {
border-radius: 2px;
height: 200px;
border-bottom: 5px solid #000;
}
.react-colorful__last-control {
border-radius: 2px;
height: 10px;
}
}
.hex-color-box {
display: flex;
align-items: center;
margin-top: 15px;
.color-box-tit {
font-size: 12px;
color: #fff;
font-weight: 500;
margin-right: 10px;
}
.color-hex-input {
width: 150px;
margin-right: 5px;
input {
width: 100%;
}
}
.color-box {
display: block;
width: 30px;
height: 30px;
border-radius: 4px;
}
}
.default-color-wrap {
margin-top: 25px;
.default-tit {
font-size: 12px;
font-weight: 500;
color: #fff;
margin-bottom: 10px;
}
.color-button-wrap {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 21px;
.default-color {
display: block;
width: 100%;
height: 30px;
border-radius: 4px;
}
}
}
}
}
// 글꼴 설정 팝업
.font-option-warp {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px 5px;
margin-bottom: 15px;
.font-option-item {
.option-item-tit {
font-size: 12px;
font-weight: 500;
color: #fff;
margin-bottom: 10px;
}
}
}
.font-ex-wrap {
margin-bottom: 15px;
.font-ex-tit {
font-size: 12px;
font-weight: 500;
color: #fff;
margin-bottom: 10px;
}
.font-ex-box {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 80px;
background-color: #fff;
}
}
// 치수선 설정
.font-btn-wrap {
margin-bottom: 15px;
button {
width: 100%;
height: 30px;
line-height: 28px;
}
}
.line-color-wrap {
margin-bottom: 15px;
.color-btn {
display: block;
width: 100%;
height: 30px;
border-radius: 2px;
}
}
.form-box {
width: 100%;
background-color: #fff;
padding: 10px 0 20px;
.line-form {
position: relative;
width: 102px;
height: 40px;
margin: 0 auto;
border-left: 1px dashed #101010;
border-right: 1px dashed #101010;
.line-font-box {
position: absolute;
bottom: -3px;
left: 0;
width: 100%;
text-align: center;
.font {
display: block;
padding-bottom: 6px;
color: #101010;
}
.line {
position: relative;
display: block;
width: 100%;
height: 1px;
border-radius: 30px;
&::before {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%) rotate(45deg);
left: 1px;
width: 9px;
height: 9px;
border: 1px solid;
border-color: inherit;
border-top: none;
border-right: none;
}
&::after {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%) rotate(45deg);
right: 1px;
width: 9px;
height: 9px;
border: 1px solid;
border-color: inherit;
border-bottom: none;
border-left: none;
}
}
}
}
}
// 사이즈 변경
.size-inner-warp {
position: relative;
}
.size-check-wrap {
position: relative;
display: block;
width: 132px;
height: 132px;
margin: 0 auto;
.size-btn {
position: absolute;
width: 16px;
height: 16px;
border: 1px solid #fff;
border-radius: 50%;
&.act {
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 8px;
height: 8px;
background-color: #fff;
border-radius: 50%;
}
}
&:nth-child(1) {
top: 0;
left: 0;
}
&:nth-child(2) {
top: 0;
right: 0;
}
&:nth-child(3) {
bottom: 0;
left: 0;
}
&:nth-child(4) {
bottom: 0;
right: 0;
}
}
.size-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100px;
height: 100px;
background-color: #fff;
}
}
.size-option-top {
margin-bottom: 15px;
}
.size-option-side {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.size-option-wrap {
width: 88px;
margin: 0 auto;
.size-option {
display: flex;
align-items: center;
input {
width: 100%;
flex: 1;
}
span {
flex: none;
}
}
}

View File

@ -3,29 +3,100 @@
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
box-sizing: content-box
box-sizing: content-box;
}
*, ::after, ::before {
*,
::after,
::before {
box-sizing: border-box;
}
html, body{
html,
body {
width: 100%;
height: 100%;
font-size: 16px;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
@ -37,23 +108,38 @@ time, mark, audio, video {
font-smooth: never;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1.4;
}
body:first-of-type caption { display:none;}
body:first-of-type caption {
display: none;
}
ol, ul {
ol,
ul {
list-style: none;
}
blockquote, q {
blockquote,
q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
@ -63,7 +149,9 @@ table {
border-spacing: 0;
border: 0 none;
}
caption, th, td {
caption,
th,
td {
text-align: left;
font-weight: normal;
border: 0;
@ -73,26 +161,38 @@ a {
cursor: pointer;
color: #000;
}
a, a:hover, a:active {
a,
a:hover,
a:active {
text-decoration: none;
-webkit-tap-highlight-color: transparent;
}
/*form_style*/
input, select, textarea, button, a, label {
input,
select,
textarea,
button,
a,
label {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button,input[type=text], input[type=button] {
button,
input[type='text'],
input[type='button'] {
-webkit-appearance: none;
-webkit-border-radius: 0;
-webkit-appearance: none;
appearance: none;
border-radius: 0
border-radius: 0;
}
input[type=checkbox], input[type=radio] {
input[type='checkbox'],
input[type='radio'] {
box-sizing: border-box;
padding: 0;
}
input, select, button {
input,
select,
button {
border: 0 none;
outline: none;
margin: 0;
@ -131,24 +231,53 @@ button{
}
// margin
.mt5{margin-top: 5px !important;}
.mt10{margin-top: 10px !important;}
.mt15{margin-top: 15px !important;}
.mb5{margin-bottom: 5px !important;}
.mb10{margin-bottom: 10px !important;}
.mb15{margin-bottom: 15px !important;}
.mr5{margin-right: 5px !important;}
.mr10{margin-right: 10px !important;}
.mr15{margin-right: 15px !important;}
.ml5{margin-left: 5px !important;}
.ml10{margin-left: 10px !important;}
.ml15{margin-left: 15px !important;}
.mt5 {
margin-top: 5px !important;
}
.mt10 {
margin-top: 10px !important;
}
.mt15 {
margin-top: 15px !important;
}
.mb5 {
margin-bottom: 5px !important;
}
.mb10 {
margin-bottom: 10px !important;
}
.mb15 {
margin-bottom: 15px !important;
}
.mr5 {
margin-right: 5px !important;
}
.mr10 {
margin-right: 10px !important;
}
.mr15 {
margin-right: 15px !important;
}
.ml5 {
margin-left: 5px !important;
}
.ml10 {
margin-left: 10px !important;
}
.ml15 {
margin-left: 15px !important;
}
// align
.al-l{text-align: left !important;}
.al-r{text-align: right !important;}
.al-c{text-align: center !important;}
.al-l {
text-align: left !important;
}
.al-r {
text-align: right !important;
}
.al-c {
text-align: center !important;
}
// button
.btn-frame {
@ -163,7 +292,7 @@ button{
border: 1px solid #000;
text-align: center;
font-family: 'Pretendard', sans-serif;
transition: all .17s ease-in-out;
transition: all 0.17s ease-in-out;
cursor: pointer;
&.block {
width: 100%;
@ -176,15 +305,15 @@ button{
}
&.deepgray {
background-color: #2C2C2C;
background-color: #2c2c2c;
border: 1px solid #484848;
}
&.gray {
background-color: #3C3C3C;
background-color: #3c3c3c;
border: 1px solid #545454;
}
&.dark {
background-color: #1C1C1C;
background-color: #1c1c1c;
border: 1px solid #484848;
}
&.modal {
@ -193,8 +322,8 @@ button{
border: 1px solid #484848;
color: #aaa;
&:hover {
background-color: #1083E3;
border: 1px solid #1083E3;
background-color: #1083e3;
border: 1px solid #1083e3;
color: #fff;
font-weight: 500;
}
@ -204,13 +333,13 @@ button{
padding: 0 10px;
line-height: 28px;
font-family: 'Noto Sans JP', sans-serif;
background-color: #2D2D2D;
background-color: #2d2d2d;
border: 1px solid #393939;
color: #aaa;
&.act,
&:hover {
background-color: #414E6C;
border: 1px solid #414E6C;
background-color: #414e6c;
border: 1px solid #414e6c;
color: #fff;
font-weight: 500;
}
@ -224,11 +353,11 @@ button{
border: 1px solid #484848;
color: #fff;
&.blue {
background-color: #414E6C;
border: 1px solid #414E6C;
background-color: #414e6c;
border: 1px solid #414e6c;
&:hover {
background-color: #414E6C;
border: 1px solid #414E6C;
background-color: #414e6c;
border: 1px solid #414e6c;
}
}
&.white {
@ -255,7 +384,7 @@ button{
font-family: 'Noto Sans JP', sans-serif;
background-color: transparent;
border: 1px solid #676767;
color: #AAAAAA;
color: #aaaaaa;
&:hover {
background-color: #272727;
border-color: #676767;
@ -264,8 +393,8 @@ button{
}
&:hover,
&.act {
background-color: #1083E3;
border: 1px solid #1083E3;
background-color: #1083e3;
border: 1px solid #1083e3;
color: #fff;
font-weight: 500;
}
@ -295,7 +424,7 @@ button{
color: #fff;
font-size: 13px;
font-weight: 400;
transition: all .15s ease-in-out;
transition: all 0.15s ease-in-out;
&.navy {
background-color: #304961;
&:hover {
@ -303,21 +432,21 @@ button{
}
}
&.grey {
background-color: #94A0AD;
background-color: #94a0ad;
&:hover {
background-color: #607F9A;
background-color: #607f9a;
}
}
&.green {
background-color: #A6BBA8;
background-color: #a6bba8;
&:hover {
background-color: #98af9b;
}
}
&.white {
border: 1px solid #94A0AD;
border: 1px solid #94a0ad;
background-color: #fff;
color: #94A0AD;
color: #94a0ad;
&:hover {
background-color: #fff;
}
@ -333,7 +462,7 @@ button{
line-height: 30px;
padding: 0 25px 0 10px;
background-color: #373737;
border: 1px solid #3F3F3F;
border: 1px solid #3f3f3f;
border-radius: 2px;
border-top-left-radius: 2px;
color: #fff;
@ -353,7 +482,7 @@ button{
max-height: 100px;
overflow-y: auto;
background-color: #373737;
border: 1px solid #3F3F3F;
border: 1px solid #3f3f3f;
border-radius: 2px;
transition: all 0.17s ease-in-out;
visibility: hidden;
@ -363,20 +492,19 @@ button{
align-items: center;
padding: 8px 20px;
line-height: 1.4;
transition: all .17s ease-in-out;
transition: all 0.17s ease-in-out;
button {
font-size: 12px;
color: #fff;
line-height: 1.4;
}
&:hover {
background-color: #2C2C2C;
background-color: #2c2c2c;
}
}
&::-webkit-scrollbar {
width: 2px;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: #5a5a5a;
@ -396,7 +524,7 @@ button{
height: 6px;
background: url(/static/images/common/select-arr.svg) no-repeat center;
background-size: cover;
transition: all .17s ease-in-out;
transition: all 0.17s ease-in-out;
}
&.active {
.select-item-wrap {
@ -414,17 +542,17 @@ button{
display: block;
width: 100%;
height: 30px;
background: #FFF url(../../public/static/images/common/select_light_arr.svg) calc(100% - 11px) center no-repeat;
background: #fff url(../../public/static/images/common/select_light_arr.svg) calc(100% - 11px) center no-repeat;
background-size: 10px 6px;
border: 1px solid #eee;
padding: 0 30px 0 10px;
font-size: 13px;
color: #45576F;
color: #45576f;
font-family: 'Noto Sans JP', sans-serif;
cursor: pointer;
&:disabled {
opacity: 1;
background-color: #FAFAFA;
background-color: #fafafa;
color: #999;
cursor: default;
}
@ -440,7 +568,6 @@ button{
}
}
// input
.form-input {
label {
@ -451,9 +578,9 @@ button{
margin-bottom: 10px;
}
}
input[type=password],
input[type=number],
input[type=text]{
input[type='password'],
input[type='number'],
input[type='text'] {
&.input-origin {
display: inline-block;
height: 30px;
@ -476,7 +603,7 @@ input[type=text]{
width: 100%;
}
&:read-only {
color: #AAA;
color: #aaa;
}
&.plane {
font-family: 'Noto Sans JP', sans-serif;
@ -494,27 +621,25 @@ input[type=text]{
background-color: #fff;
font-family: 'Noto Sans JP', sans-serif;
font-size: 13px;
color: #45576F;
color: #45576f;
font-weight: normal;
transition: border-color .17s ease-in-out;
transition: border-color 0.17s ease-in-out;
text-align: left;
&:read-only {
background-color: #FAFAFA;
background-color: #fafafa;
color: #999999;
}
}
}
// check-btn
.check-btn {
display: flex;
align-items: center;
height: 30px;
background-color: #3A3A3A;
background-color: #3a3a3a;
border-radius: 3px;
transition: all .17s ease-in-out;
transition: all 0.17s ease-in-out;
.check-area {
flex: none;
width: 30px;
@ -551,10 +676,10 @@ input[type=text]{
display: block;
height: 30px;
border-radius: 3px;
background-color: #3A3A3A;
background-color: #3a3a3a;
padding: 0 11px;
text-align: left;
transition: all .17s ease-in-out;
transition: all 0.17s ease-in-out;
span {
position: relative;
font-size: 12px;
@ -588,15 +713,15 @@ input[type=text]{
background-color: #272727;
border: 1px solid #484848;
span {
color: #Fff;
color: #fff;
&:after {
background: url(../../public/static/images/canvas/arr_btn_ico_white.svg) no-repeat center;
}
}
&:hover,
&.act {
background-color: #1083E3;
border: 1px solid #1083E3;
background-color: #1083e3;
border: 1px solid #1083e3;
}
}
}
@ -606,8 +731,8 @@ input[type=text]{
.d-check-box {
line-height: 1.1;
cursor: pointer;
input[type=checkbox],
input[type=radio]{
input[type='checkbox'],
input[type='radio'] {
position: static;
margin-left: 0;
cursor: pointer;
@ -630,7 +755,7 @@ input[type=text]{
}
&.light {
label {
color: #45576F;
color: #45576f;
}
}
&.no-text {
@ -644,7 +769,7 @@ input[type=text]{
label {
&::before {
cursor: pointer;
content: "";
content: '';
display: inline-block;
position: absolute;
width: 17px;
@ -658,11 +783,13 @@ input[type=text]{
text-align: center;
font-size: 13px;
line-height: 1.4;
transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
transition:
border 0.15s ease-in-out,
color 0.15s ease-in-out;
}
&::after {
cursor: pointer;
content: "";
content: '';
display: inline-block;
position: absolute;
width: 9px;
@ -678,20 +805,22 @@ input[type=text]{
line-height: 1.4;
opacity: 0;
visibility: hidden;
transition: opacity 0.15s ease-in-out, color 0.15s ease-in-out;
transition:
opacity 0.15s ease-in-out,
color 0.15s ease-in-out;
}
}
&.light {
label {
&:before {
border-color: #D6D6D7;
border-color: #d6d6d7;
}
&:after {
background-color: #697C8F;
background-color: #697c8f;
}
}
}
input[type=radio]:checked + label::after{
input[type='radio']:checked + label::after {
opacity: 1;
visibility: visible;
}
@ -715,10 +844,12 @@ input[type=text]{
// check-box
.d-check-box {
label {
&.red{color: #FFCACA;}
&.red {
color: #ffcaca;
}
&::before {
cursor: pointer;
content: "";
content: '';
display: inline-block;
position: absolute;
width: 17px;
@ -726,32 +857,36 @@ input[type=text]{
top: 2px;
left: 0;
margin-left: -12px;
border: 1px solid #D6D6D7;
border: 1px solid #d6d6d7;
background-color: #fff;
transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
transition:
border 0.15s ease-in-out,
color 0.15s ease-in-out;
}
&:after {
cursor: pointer;
content: "";
content: '';
display: inline-block;
position: absolute;
width: 16px;
height: 16px;
top: 0;
left: 0;
margin-left: -.8rem;
transition: border 0.05s ease-in-out, color 0.05s ease-in-out;
margin-left: -0.8rem;
transition:
border 0.05s ease-in-out,
color 0.05s ease-in-out;
}
}
input[type=checkbox]:checked + label::after{
content: "";
input[type='checkbox']:checked + label::after {
content: '';
display: inline-block;
position: absolute;
top: 1px;
left: -1px;
width: 5px;
height: 8px;
border: 2px solid #697C8F;
border: 2px solid #697c8f;
border-left: none;
border-top: none;
transform: translate(7.75px, 4.5px) rotate(45deg);
@ -763,7 +898,7 @@ input[type=text]{
background-color: transparent;
}
}
input[type=checkbox]:checked + label::after{
input[type='checkbox']:checked + label::after {
border-color: #fff;
}
&.no-text {
@ -773,23 +908,25 @@ input[type=text]{
}
}
&.sel {
input[type=checkbox]:checked + label{
color: #D7C863;
input[type='checkbox']:checked + label {
color: #d7c863;
}
input[type=checkbox]:checked + label::before,
input[type=checkbox]:checked + label::after{
border-color: #D7C863;
input[type='checkbox']:checked + label::before,
input[type='checkbox']:checked + label::after {
border-color: #d7c863;
}
}
}
// date-picker
.date-picker {
svg{display: none;}
svg {
display: none;
}
.react-datepicker-wrapper {
width: 100%;
}
input[type=text]{
input[type='text'] {
display: block;
width: 100%;
height: 30px;
@ -797,7 +934,7 @@ input[type=text]{
border-radius: 2px;
border: 1px solid #eee;
font-size: 13px;
color: #45576F;
color: #45576f;
font-weight: normal;
font-family: 'Noto Sans JP', sans-serif;
background: #fff url(../../public/static/images/common/datepicker.svg) calc(100% - 11px) center no-repeat;
@ -805,3 +942,84 @@ input[type=text]{
cursor: pointer;
}
}
// react select
.react-select-custom {
width: 100%;
.custom__control {
height: 30px;
min-height: unset;
border-radius: 2px;
border-color: #eee;
background-color: #fff;
&:hover {
border-color: #eee;
}
}
.custom__control--is-focused {
border-color: #eee;
box-shadow: unset;
&:hover {
border-color: #eee;
}
}
.custom__value-container {
height: 100%;
padding: 0 10px;
}
.custom__placeholder,
.custom__single-value {
margin: 0;
}
.custom__single-value {
font-size: 13px;
color: #45576f;
font-weight: 400;
}
.custom__placeholder {
font-size: 13px;
color: #bbbbbb;
font-weight: 400;
}
.custom__clear-indicator,
.custom__indicator-separator {
display: none;
}
.custom__indicator {
padding: 0;
svg {
display: none;
}
}
.custom__dropdown-indicator {
width: 30px;
height: 100%;
background: url(../../public/static/images/common/select_light_arr.svg) no-repeat center;
}
.custom__menu {
margin: 1px 0;
border-radius: 2px;
overflow: hidden;
}
.custom__menu-list {
padding: 0;
}
.custom__option {
font-size: 13px;
padding: 7px 10px;
color: #45576f;
}
.custom__option--is-selected {
color: #fff;
}
// disable
&.custom--is-disabled {
.custom__control {
background-color: #fafafa;
}
.custom__single-value {
color: #999999;
}
}
}