Merge branch 'qcast-pub' into dev
This commit is contained in:
commit
6da947f6da
@ -2,12 +2,14 @@
|
||||
import { useEffect } from 'react'
|
||||
import '@/styles/contents.scss'
|
||||
import { useRecoilState } from 'recoil'
|
||||
import { contextMenuState } from '@/store/contextMenu'
|
||||
import { contextMenuListState, contextMenuState } from '@/store/contextMenu'
|
||||
|
||||
export default function QContextMenu(props) {
|
||||
const { contextRef, canvasProps, handleKeyup } = props
|
||||
const [contextMenu, setContextMenu] = useRecoilState(contextMenuState)
|
||||
const [contextMenuList, setContextMenuList] = useRecoilState(contextMenuListState)
|
||||
const activeObject = canvasProps?.getActiveObject() //액티브된 객체를 가져옴
|
||||
|
||||
let contextType = ''
|
||||
|
||||
if (activeObject) {
|
||||
@ -19,12 +21,22 @@ export default function QContextMenu(props) {
|
||||
}
|
||||
}
|
||||
|
||||
const getYPosition = (e) => {
|
||||
const contextLength = contextMenuList.reduce((acc, cur, index) => {
|
||||
return acc + cur.length
|
||||
}, 0)
|
||||
return e?.clientY - (contextLength * 25 + contextMenuList.length * 2 * 17)
|
||||
}
|
||||
useEffect(() => {
|
||||
if (!contextRef.current) return
|
||||
|
||||
const handleContextMenu = (e) => {
|
||||
// e.preventDefault() //기존 contextmenu 막고
|
||||
setContextMenu({ visible: true, x: e.pageX, y: e.pageY })
|
||||
const position = {
|
||||
x: window.innerWidth / 2 < e.pageX ? e.pageX - 240 : e.pageX,
|
||||
y: window.innerHeight / 2 < e.pageY ? getYPosition(e) : e.pageY,
|
||||
}
|
||||
setContextMenu({ visible: true, ...position })
|
||||
document.addEventListener('keyup', (e) => handleKeyup(e))
|
||||
canvasProps?.upperCanvasEl.removeEventListener('contextmenu', handleContextMenu) //한번 노출 후 이벤트 삭제
|
||||
}
|
||||
|
||||
@ -15,8 +15,12 @@ export default function MenuDepth01() {
|
||||
const subMenus = useRecoilValue(subMenusState)
|
||||
|
||||
const onClickMenu = ({ id, menu }) => {
|
||||
if (menu === currentMenu) {
|
||||
handleMenu(type)
|
||||
} else {
|
||||
setCurrentMenu(menu)
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
handleMenu(type)
|
||||
|
||||
@ -14,7 +14,7 @@ export default function AuxiliaryCopy(props) {
|
||||
const [arrow2, setArrow2] = useState(null)
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.auxiliary.copy')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -16,7 +16,7 @@ export default function AuxiliaryMove(props) {
|
||||
const [arrow2, setArrow2] = useState(null)
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.auxiliary.move')}</h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -11,7 +11,7 @@ export default function AuxiliarySize(props) {
|
||||
const { closePopup } = usePopup()
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.auxiliary.size.edit')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -1,17 +1,16 @@
|
||||
import { useState, useEffect, useRef } from 'react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import WithDraggable from '@/components/common/draggable/WithDraggable'
|
||||
import { usePopup } from '@/hooks/usePopup'
|
||||
import { useMessage } from '@/hooks/useMessage'
|
||||
import { useRecoilState, useRecoilValue } from 'recoil'
|
||||
import { contextPopupPositionState } from '@/store/popupAtom'
|
||||
import QSelectBox from '@/components/common/select/QSelectBox'
|
||||
import { pitchTextSelector } from '@/store/canvasAtom'
|
||||
import { canvasState, pitchTextSelector } from '@/store/canvasAtom'
|
||||
import { defaultSlope } from '@/store/commonAtom'
|
||||
import { canvasState } from '@/store/canvasAtom'
|
||||
|
||||
export default function DimensionLineSetting(props) {
|
||||
const contextPopupPosition = useRecoilValue(contextPopupPositionState)
|
||||
const { id, setIsShow, pos = contextPopupPosition } = props
|
||||
let { id, setIsShow, pos = contextPopupPosition } = props
|
||||
const { getMessage } = useMessage()
|
||||
const { closePopup } = usePopup()
|
||||
const canvas = useRecoilValue(canvasState)
|
||||
@ -79,7 +78,7 @@ export default function DimensionLineSetting(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('contextmenu.display.edit')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
@ -131,7 +130,9 @@ export default function DimensionLineSetting(props) {
|
||||
<div className="warning">{getMessage('modal.display.edit.input.slope.info')}</div>
|
||||
</div>
|
||||
<div className="grid-btn-wrap">
|
||||
<button className="btn-frame modal act" onClick={handleChangeLength}>{getMessage('modal.common.save')}</button>
|
||||
<button className="btn-frame modal act" onClick={handleChangeLength}>
|
||||
{getMessage('modal.common.save')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,7 @@ export default function FlowDirectionSetting(props) {
|
||||
}, [compasDeg])
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap lx`}>
|
||||
<div className={`modal-pop-wrap lx mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.shape.flow.direction.setting')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -14,7 +14,7 @@ export default function ImageSizeSetting(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xxxm`}>
|
||||
<div className={`modal-pop-wrap xxxm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.image.size.setting')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -15,7 +15,7 @@ export default function CircuitNumberEdit(props) {
|
||||
}
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title"> {getMessage('modal.module.circuit.number.edit')}</h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -23,7 +23,7 @@ export default function ColumnInsert(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap r`}>
|
||||
<div className={`modal-pop-wrap r mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.panel.column.insert')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -25,7 +25,7 @@ export default function ColumnRemove(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap r`}>
|
||||
<div className={`modal-pop-wrap r mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.panel.column.remove')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -23,7 +23,7 @@ export default function RowInsert(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap r`}>
|
||||
<div className={`modal-pop-wrap r mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.row.insert')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -25,7 +25,7 @@ export default function RowRemove(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap r`}>
|
||||
<div className={`modal-pop-wrap r mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('modal.row.remove')}</h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -14,7 +14,7 @@ export default function DormerOffset(props) {
|
||||
const [arrow2, setArrow2] = useState(null)
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xm`}>
|
||||
<div className={`modal-pop-wrap xm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('contextmenu.dormer.offset')}</h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -59,12 +59,12 @@ export default function ObjectSetting({ id, pos = { x: 50, y: 230 } }) {
|
||||
}
|
||||
|
||||
//개구배치, 그림자배치
|
||||
setIsHidden(true)
|
||||
if (buttonAct === 1 || buttonAct === 2) {
|
||||
applyOpeningAndShadow(objectPlacement, buttonAct, surfaceShapePolygons)
|
||||
} else {
|
||||
applyDormers(dormerPlacement, buttonAct, surfaceShapePolygons)
|
||||
}
|
||||
setIsHidden(true)
|
||||
}
|
||||
|
||||
const buttonMenu = [
|
||||
|
||||
@ -22,9 +22,9 @@ export default function RoofMaterialSetting(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap xxxm`}>
|
||||
<div className={`modal-pop-wrap xxxm mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">変更 </h1>
|
||||
<h1 className="title">{getMessage('modal.roof.material.edit')} </h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
닫기
|
||||
</button>
|
||||
@ -36,7 +36,7 @@ export default function RoofMaterialSetting(props) {
|
||||
</div>
|
||||
</div>
|
||||
<div className="grid-btn-wrap">
|
||||
<button className="btn-frame modal act">ストレージ</button>
|
||||
<button className="btn-frame modal act">{getMessage('modal.common.save')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -16,7 +16,7 @@ export default function RoofAllocationSetting(props) {
|
||||
|
||||
return (
|
||||
<WithDraggable isShow={true} pos={pos}>
|
||||
<div className={`modal-pop-wrap ml`}>
|
||||
<div className={`modal-pop-wrap ml mount`}>
|
||||
<div className="modal-head">
|
||||
<h1 className="title">{getMessage('plan.menu.estimate.roof.alloc')}</h1>
|
||||
<button className="modal-close" onClick={() => closePopup(id)}>
|
||||
|
||||
@ -23,7 +23,7 @@ import FlowDirectionSetting from '@/components/floor-plan/modal/flowDirection/Fl
|
||||
import { useCommonUtils } from './common/useCommonUtils'
|
||||
import { useMessage } from '@/hooks/useMessage'
|
||||
import { useCanvasEvent } from '@/hooks/useCanvasEvent'
|
||||
import { contextMenuState } from '@/store/contextMenu'
|
||||
import { contextMenuListState, contextMenuState } from '@/store/contextMenu'
|
||||
import ImageSizeSetting from '@/components/floor-plan/modal/image/ImageSizeSetting'
|
||||
import PanelEdit from '@/components/floor-plan/modal/module/PanelEdit'
|
||||
import DimensionLineSetting from '@/components/floor-plan/modal/dimensionLine/DimensionLineSetting'
|
||||
@ -36,7 +36,7 @@ import CircuitNumberEdit from '@/components/floor-plan/modal/module/CircuitNumbe
|
||||
export function useContextMenu() {
|
||||
const currentMenu = useRecoilValue(currentMenuState) // 현재 메뉴
|
||||
const setContextPopupPosition = useSetRecoilState(contextPopupPositionState) // 현재 메뉴
|
||||
const [contextMenu, setContextMenu] = useState([[]]) // 메뉴.object 별 context menu
|
||||
const [contextMenu, setContextMenu] = useRecoilState(contextMenuListState) // 메뉴.object 별 context menu
|
||||
const [currentContextMenu, setCurrentContextMenu] = useRecoilState(contextPopupState) // 선택한 contextMenu
|
||||
const currentObject = useRecoilValue(currentObjectState)
|
||||
const { getMessage } = useMessage()
|
||||
@ -222,9 +222,10 @@ export function useContextMenu() {
|
||||
if (menu?.fn) {
|
||||
menu.fn()
|
||||
}
|
||||
|
||||
setContextPopupPosition({
|
||||
x: e?.clientX,
|
||||
y: e?.clientY,
|
||||
x: window.innerWidth / 2,
|
||||
y: 180,
|
||||
})
|
||||
setCurrentContextMenu(menu)
|
||||
setQContextMenu({ ...qContextMenu, visible: false })
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"header.go": "移動",
|
||||
"header.online.warranty.system": "オンライン保証シ",
|
||||
"header.stem": "ステム",
|
||||
"plan.menu.plan.drawing": "도면작성",
|
||||
"plan.menu.plan.drawing": "물건정보(JA)",
|
||||
"plan.menu.placement.surface.initial.setting": "配置面 初期設定",
|
||||
"modal.placement.initial.setting.plan.drawing.size.stuff": "寸法入力による物品作成",
|
||||
"modal.placement.initial.setting.plan.": "図面の作成方法",
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"header.go": "이동",
|
||||
"header.online.warranty.system": "온라인 보증 시스템",
|
||||
"header.stem": "Stem",
|
||||
"plan.menu.plan.drawing": "도면작성",
|
||||
"plan.menu.plan.drawing": "물건정보",
|
||||
"plan.menu.placement.surface.initial.setting": "배치면 초기 설정",
|
||||
"modal.placement.initial.setting.plan.drawing": "도면 작성방법",
|
||||
"modal.placement.initial.setting.plan.drawing.size.stuff": "치수 입력에 의한 물건 작성",
|
||||
@ -292,6 +292,7 @@
|
||||
"margin": "간격",
|
||||
"contextmenu.roof.material.placement": "지붕재 배치",
|
||||
"contextmenu.roof.material.edit": "지붕재 변경",
|
||||
"modal.roof.material.edit": "지붕재 변경",
|
||||
"contextmenu.roof.material.remove": "지붕재 삭제",
|
||||
"contextmenu.roof.material.remove.all": "지붕재 전체 삭제",
|
||||
"contextmenu.dormer.offset": "도머 오프셋",
|
||||
|
||||
@ -9,3 +9,9 @@ export const contextMenuState = atom({
|
||||
},
|
||||
dangerouslyAllowMutability: true,
|
||||
})
|
||||
|
||||
export const contextMenuListState = atom({
|
||||
key: 'contextMenuListState',
|
||||
default: null,
|
||||
dangerouslyAllowMutability: true,
|
||||
})
|
||||
|
||||
@ -26,14 +26,14 @@
|
||||
min-width: 1280px;
|
||||
padding-bottom: 0;
|
||||
background-color: #383838;
|
||||
transition: padding 0.17s ease-in-out;
|
||||
transition: padding .17s ease-in-out;
|
||||
z-index: 999;
|
||||
.canvas-menu-inner{
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 40px 0 20px;
|
||||
background-color: #2c2c2c;
|
||||
background-color: #2C2C2C;
|
||||
height: 46.8px;
|
||||
z-index: 999;
|
||||
.canvas-menu-list{
|
||||
@ -53,7 +53,7 @@
|
||||
font-weight: 600;
|
||||
padding: 15px 20px;
|
||||
opacity: 0.55;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
.menu-icon{
|
||||
display: block;
|
||||
width: 14px;
|
||||
@ -62,27 +62,13 @@
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
margin-right: 10px;
|
||||
&.con00 {
|
||||
background-image: url(/static/images/canvas/menu_icon00.svg);
|
||||
}
|
||||
&.con01 {
|
||||
background-image: url(/static/images/canvas/menu_icon01.svg);
|
||||
}
|
||||
&.con02 {
|
||||
background-image: url(/static/images/canvas/menu_icon02.svg);
|
||||
}
|
||||
&.con03 {
|
||||
background-image: url(/static/images/canvas/menu_icon03.svg);
|
||||
}
|
||||
&.con04 {
|
||||
background-image: url(/static/images/canvas/menu_icon04.svg);
|
||||
}
|
||||
&.con05 {
|
||||
background-image: url(/static/images/canvas/menu_icon05.svg);
|
||||
}
|
||||
&.con06 {
|
||||
background-image: url(/static/images/canvas/menu_icon06.svg);
|
||||
}
|
||||
&.con00{background-image: url(/static/images/canvas/menu_icon00.svg);}
|
||||
&.con01{background-image: url(/static/images/canvas/menu_icon01.svg);}
|
||||
&.con02{background-image: url(/static/images/canvas/menu_icon02.svg);}
|
||||
&.con03{background-image: url(/static/images/canvas/menu_icon03.svg);}
|
||||
&.con04{background-image: url(/static/images/canvas/menu_icon04.svg);}
|
||||
&.con05{background-image: url(/static/images/canvas/menu_icon05.svg);}
|
||||
&.con06{background-image: url(/static/images/canvas/menu_icon06.svg);}
|
||||
}
|
||||
}
|
||||
&.active{
|
||||
@ -99,7 +85,7 @@
|
||||
margin-left: auto;
|
||||
.select-box{
|
||||
width: 124px;
|
||||
margin-right: 5px;
|
||||
margin: 0 5px;
|
||||
height: 30px;
|
||||
> div{
|
||||
width: 100%;
|
||||
@ -114,43 +100,25 @@
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 2px;
|
||||
background-color: #3d3d3d;
|
||||
background-color: #3D3D3D;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 15px 15px;
|
||||
transition: all 0.17s ease-in-out;
|
||||
&.btn01 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon03.svg);
|
||||
}
|
||||
&.btn02 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon02.svg);
|
||||
}
|
||||
&.btn03 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon01.svg);
|
||||
}
|
||||
&.btn04 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon04.svg);
|
||||
}
|
||||
&.btn05 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon05.svg);
|
||||
}
|
||||
&.btn06 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon06.svg);
|
||||
}
|
||||
&.btn07 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon07.svg);
|
||||
}
|
||||
&.btn08 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon08.svg);
|
||||
}
|
||||
&.btn09 {
|
||||
background-image: url(../../public/static/images/canvas/side_icon09.svg);
|
||||
}
|
||||
transition: all .17s ease-in-out;
|
||||
&.btn01{background-image: url(../../public/static/images/canvas/side_icon03.svg);}
|
||||
&.btn02{background-image: url(../../public/static/images/canvas/side_icon02.svg);}
|
||||
&.btn03{background-image: url(../../public/static/images/canvas/side_icon01.svg);}
|
||||
&.btn04{background-image: url(../../public/static/images/canvas/side_icon04.svg);}
|
||||
&.btn05{background-image: url(../../public/static/images/canvas/side_icon05.svg);}
|
||||
&.btn06{background-image: url(../../public/static/images/canvas/side_icon06.svg);}
|
||||
&.btn07{background-image: url(../../public/static/images/canvas/side_icon07.svg);}
|
||||
&.btn08{background-image: url(../../public/static/images/canvas/side_icon08.svg);}
|
||||
&.btn09{background-image: url(../../public/static/images/canvas/side_icon09.svg);}
|
||||
&:hover{
|
||||
background-color: #1083e3;
|
||||
background-color: #1083E3;
|
||||
}
|
||||
&.active{
|
||||
background-color: #1083e3;
|
||||
background-color: #1083E3;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -166,18 +134,10 @@
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
&.ico01 {
|
||||
background-image: url(../../public/static/images/canvas/ico-flx01.svg);
|
||||
}
|
||||
&.ico02 {
|
||||
background-image: url(../../public/static/images/canvas/ico-flx02.svg);
|
||||
}
|
||||
&.ico03 {
|
||||
background-image: url(../../public/static/images/canvas/ico-flx03.svg);
|
||||
}
|
||||
&.ico04 {
|
||||
background-image: url(../../public/static/images/canvas/ico-flx04.svg);
|
||||
}
|
||||
&.ico01{background-image: url(../../public/static/images/canvas/ico-flx01.svg);}
|
||||
&.ico02{background-image: url(../../public/static/images/canvas/ico-flx02.svg);}
|
||||
&.ico03{background-image: url(../../public/static/images/canvas/ico-flx03.svg);}
|
||||
&.ico04{background-image: url(../../public/static/images/canvas/ico-flx04.svg);}
|
||||
}
|
||||
.name{
|
||||
font-size: 12px;
|
||||
@ -194,7 +154,7 @@
|
||||
display: flex;
|
||||
min-width: 170px;
|
||||
height: 28px;
|
||||
margin: 0 5px;
|
||||
margin-right: 5px;
|
||||
border-radius: 2px;
|
||||
background: #373737;
|
||||
line-height: 28px;
|
||||
@ -207,16 +167,16 @@
|
||||
button{
|
||||
margin-left: auto;
|
||||
height: 100%;
|
||||
background-color: #4b4b4b;
|
||||
background-color: #4B4B4B;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
color: #fff;
|
||||
padding: 0 7.5px;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
}
|
||||
&.on{
|
||||
button{
|
||||
background-color: #1083e3;
|
||||
background-color: #1083E3;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -225,7 +185,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
background-color: #3d3d3d;
|
||||
background-color: #3D3D3D;
|
||||
border-radius: 2px;
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
@ -258,7 +218,7 @@
|
||||
background-color: #383838;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
.canvas-depth2-inner{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -310,7 +270,7 @@
|
||||
align-items: center;
|
||||
margin-right: 34px;
|
||||
height: 100%;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
button{
|
||||
position: relative;
|
||||
font-size: 12px;
|
||||
@ -350,7 +310,7 @@
|
||||
// canvas-layout
|
||||
.canvas-content{
|
||||
padding-top: 46.8px;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
.canvas-frame{
|
||||
height: calc(100vh - 129.3px);
|
||||
}
|
||||
@ -368,11 +328,11 @@
|
||||
top: 92.8px;
|
||||
left: 0;
|
||||
display: flex;
|
||||
background-color: #1c1c1c;
|
||||
background-color: #1C1C1C;
|
||||
border-top: 1px solid #000;
|
||||
width: 100%;
|
||||
min-width: 1280px;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
z-index: 99;
|
||||
&.active{
|
||||
top: calc(92.8px + 50px);
|
||||
@ -388,14 +348,14 @@
|
||||
padding: 9.6px 20px;
|
||||
border-right:1px solid #000;
|
||||
min-width: 0;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
span{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
font-family: 'Pretendard', sans-serif;
|
||||
color: #aaa;
|
||||
color: #AAA;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
@ -433,9 +393,9 @@
|
||||
justify-content: center;
|
||||
width: 45px;
|
||||
padding: 13.5px 0;
|
||||
background-color: #1c1c1c;
|
||||
background-color: #1C1C1C;
|
||||
border-right: 1px solid #000;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
span{
|
||||
display: block;
|
||||
width: 9px;
|
||||
@ -453,9 +413,9 @@
|
||||
.canvas-frame{
|
||||
position: relative;
|
||||
// height: calc(100% - 36.5px);
|
||||
background-color: #f4f4f7;
|
||||
background-color: #F4F4F7;
|
||||
overflow: auto;
|
||||
transition: all 0.17s ease-in-out;
|
||||
transition: all .17s ease-in-out;
|
||||
// &::-webkit-scrollbar {
|
||||
// width: 10px;
|
||||
// height: 10px;
|
||||
@ -490,7 +450,7 @@
|
||||
min-width: 1280px;
|
||||
height: 46px;
|
||||
border-bottom: 1px solid #000;
|
||||
background: #2c2c2c;
|
||||
background: #2C2C2C;
|
||||
z-index: 999;
|
||||
.sub-header-inner{
|
||||
display: flex;
|
||||
@ -513,9 +473,7 @@
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
&.drawing {
|
||||
background-image: url(../../public/static/images/main/drawing_icon.svg);
|
||||
}
|
||||
&.drawing{background-image: url(../../public/static/images/main/drawing_icon.svg);}
|
||||
}
|
||||
}
|
||||
&:after{
|
||||
@ -526,7 +484,7 @@
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
background-color: #d9d9d9;
|
||||
background-color: #D9D9D9;
|
||||
}
|
||||
&:first-child{
|
||||
padding-left: 0;
|
||||
@ -556,7 +514,7 @@
|
||||
span{
|
||||
display: flex;
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
color: #AAA;
|
||||
font-weight: normal;
|
||||
cursor: default;
|
||||
}
|
||||
@ -614,8 +572,8 @@
|
||||
.sub-table-box{
|
||||
padding: 20px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #e9eaed;
|
||||
background: #fff;
|
||||
border: 1px solid #E9EAED;
|
||||
background: #FFF;
|
||||
box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.02);
|
||||
.table-box-title-wrap{
|
||||
display: flex;
|
||||
@ -638,7 +596,7 @@
|
||||
position: relative;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #1083e3;
|
||||
color: #1083E3;
|
||||
padding-left: 10px;
|
||||
&::before{
|
||||
content: '';
|
||||
@ -648,7 +606,7 @@
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 11px;
|
||||
background-color: #d9d9d9;
|
||||
background-color: #D9D9D9;
|
||||
}
|
||||
}
|
||||
.option{
|
||||
@ -669,7 +627,7 @@
|
||||
span{
|
||||
font-weight: 600;
|
||||
&.red{
|
||||
color: #e23d70;
|
||||
color: #E23D70;
|
||||
}
|
||||
}
|
||||
&:after{
|
||||
@ -680,17 +638,10 @@
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 11px;
|
||||
background-color: #d9d9d9;
|
||||
}
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
background-color: #D9D9D9;
|
||||
}
|
||||
&:first-child{padding-left: 0;}
|
||||
&:last-child{padding-right: 0;&::after{display: none;}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -783,7 +734,7 @@
|
||||
width: 105px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
background-color: #f4f4f7;
|
||||
background-color: #F4F4F7;
|
||||
border-radius: 100px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
@ -798,12 +749,12 @@
|
||||
&.blue{
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #1083e3;
|
||||
color: #1083E3;
|
||||
}
|
||||
&.red{
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #d72a2a;
|
||||
color: #D72A2A;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -817,11 +768,11 @@
|
||||
padding: 10px;
|
||||
.btn-area{
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #ecf0f4;
|
||||
border-bottom: 1px solid #ECF0F4;
|
||||
.file-upload{
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
background-color: #94a0ad;
|
||||
background-color: #94A0AD;
|
||||
padding: 0 10px;
|
||||
border-radius: 2px;
|
||||
font-size: 13px;
|
||||
@ -829,9 +780,9 @@
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease-in-out;
|
||||
transition: background .15s ease-in-out;
|
||||
&:hover{
|
||||
background-color: #607f9a;
|
||||
background-color: #607F9A;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -855,7 +806,7 @@
|
||||
span{
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
font-weight: 400;
|
||||
white-space: nowrap;
|
||||
padding-right: 55px;
|
||||
@ -880,13 +831,13 @@
|
||||
.special-note-check-wrap{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
border: 1px solid #ecf0f4;
|
||||
border: 1px solid #ECF0F4;
|
||||
border-radius: 3px;
|
||||
margin-bottom: 30px;
|
||||
.special-note-check-item{
|
||||
padding: 14px 10px;
|
||||
border-right: 1px solid #ecf0f4;
|
||||
border-top: 1px solid #ecf0f4;
|
||||
border-right: 1px solid #ECF0F4;
|
||||
border-top: 1px solid #ECF0F4;
|
||||
&:nth-child(5n){
|
||||
border-right: none;
|
||||
}
|
||||
@ -894,13 +845,13 @@
|
||||
border-top: none;
|
||||
}
|
||||
&.act{
|
||||
background-color: #f7f9fa;
|
||||
background-color: #F7F9FA;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.calculation-estimate{
|
||||
border: 1px solid #ecf0f4;
|
||||
border: 1px solid #ECF0F4;
|
||||
border-radius: 3px;
|
||||
padding: 24px;
|
||||
max-height: 350px;
|
||||
@ -914,13 +865,13 @@
|
||||
dt{
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #1083e3;
|
||||
color: #1083E3;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
dd{
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
margin-bottom: 8px;
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
@ -952,7 +903,7 @@
|
||||
.product-price-tit{
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.select-wrap{
|
||||
@ -990,7 +941,7 @@
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 12px;
|
||||
background-color: #d9d9d9;
|
||||
background-color: #D9D9D9;
|
||||
}
|
||||
&:first-child{
|
||||
padding-left: 0;
|
||||
@ -1002,7 +953,7 @@
|
||||
padding-right: 0;
|
||||
}
|
||||
&.item01{
|
||||
color: #3bbb48;
|
||||
color: #3BBB48;
|
||||
span{
|
||||
background-image: url(../../public/static/images/sub/open_ico.svg);
|
||||
}
|
||||
@ -1014,13 +965,13 @@
|
||||
}
|
||||
}
|
||||
&.item03{
|
||||
color: #0191c9;
|
||||
color: #0191C9;
|
||||
span{
|
||||
background-image: url(../../public/static/images/sub/attachment_ico.svg);
|
||||
}
|
||||
}
|
||||
&.item04{
|
||||
color: #f16a6a;
|
||||
color: #F16A6A;
|
||||
span{
|
||||
background-image: url(../../public/static/images/sub/click_check_ico.svg);
|
||||
}
|
||||
@ -1082,23 +1033,23 @@
|
||||
table{
|
||||
table-layout: fixed;
|
||||
border-collapse:collapse;
|
||||
border: 1px solid #ecf0f4;
|
||||
border: 1px solid #ECF0F4;
|
||||
border-radius: 4px;
|
||||
thead{
|
||||
th{
|
||||
padding: 4.5px 0;
|
||||
border-bottom: 1px solid #ecf0f4;
|
||||
border-bottom: 1px solid #ECF0F4;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
font-weight: 500;
|
||||
background-color: #f8f9fa;
|
||||
background-color: #F8F9FA;
|
||||
}
|
||||
}
|
||||
tbody{
|
||||
td{
|
||||
font-size: 13px;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
text-align: center;
|
||||
padding: 4.5px 0;
|
||||
}
|
||||
@ -1112,13 +1063,13 @@
|
||||
.simulation-tit-wrap{
|
||||
flex: none;
|
||||
padding-right: 40px;
|
||||
border-right: 1px solid #eeeeee;
|
||||
border-right: 1px solid #EEEEEE;
|
||||
span{
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-left: 60px;
|
||||
font-size: 15px;
|
||||
color: #14324f;
|
||||
color: #14324F;
|
||||
font-weight: 600;
|
||||
&::before{
|
||||
content: '';
|
||||
@ -1146,7 +1097,7 @@
|
||||
}
|
||||
dd{
|
||||
font-size: 12px;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
}
|
||||
@ -1154,8 +1105,7 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
ul, ol{
|
||||
list-style: unset;
|
||||
}
|
||||
}
|
||||
@ -1164,10 +1114,10 @@
|
||||
.module-total{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #f8f9fa;
|
||||
background-color: #F8F9FA;
|
||||
padding: 9px 0;
|
||||
margin-right: 4px;
|
||||
border: 1px solid #ecf0f4;
|
||||
border: 1px solid #ECF0F4;
|
||||
border-top: none;
|
||||
.total-title{
|
||||
flex: 1;
|
||||
@ -1190,7 +1140,7 @@
|
||||
.information-help-wrap{
|
||||
display: flex;
|
||||
padding: 24px;
|
||||
background-color: #f4f4f4;
|
||||
background-color: #F4F4F4;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 15px;
|
||||
.information-help-tit-wrap{
|
||||
@ -1198,7 +1148,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 40px;
|
||||
border-right: 1px solid #e0e0e3;
|
||||
border-right: 1px solid #E0E0E3;
|
||||
.help-tit-icon{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
@ -1210,7 +1160,7 @@
|
||||
.help-tit{
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
}
|
||||
}
|
||||
.information-help-guide{
|
||||
@ -1219,7 +1169,7 @@
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
margin-bottom: 7px;
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
@ -1233,7 +1183,7 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 10px 0 30px 0;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
margin-bottom: 24px;
|
||||
.community-search-box{
|
||||
position: relative;
|
||||
@ -1252,7 +1202,7 @@
|
||||
font-weight: 400;
|
||||
color: #101010;
|
||||
&::placeholder{
|
||||
color: #c8c8c8;
|
||||
color: #C8C8C8;
|
||||
}
|
||||
}
|
||||
.community-search-ico{
|
||||
@ -1271,10 +1221,10 @@
|
||||
.community-search-keyword{
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
color: #45576f;
|
||||
color: #45576F;
|
||||
span{
|
||||
font-weight: 600;
|
||||
color: #f16a6a;
|
||||
color: #F16A6A;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1289,15 +1239,15 @@
|
||||
align-items: center;
|
||||
padding: 24px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #e5e5e5;
|
||||
background: #fff;
|
||||
transition: all 0.15s ease-in-out;
|
||||
border: 1px solid #E5E5E5;
|
||||
background: #FFF;
|
||||
transition: all .15s ease-in-out;
|
||||
.file-item-info{
|
||||
.item-num{
|
||||
display: inline-block;
|
||||
padding: 6px 17.5px;
|
||||
border-radius: 60px;
|
||||
background-color: #f4f4f7;
|
||||
background-color: #F4F4F7;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #101010;
|
||||
@ -1329,7 +1279,7 @@
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
background-color: #f4f4f7;
|
||||
background-color: #F4F4F7;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1342,7 +1292,7 @@
|
||||
height: 148px;
|
||||
padding: 24px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #e5e5e5;
|
||||
border: 1px solid #E5E5E5;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #344356;
|
||||
@ -1354,8 +1304,8 @@
|
||||
align-items: center;
|
||||
width: 200px;
|
||||
height: 30px;
|
||||
background-color: #fafafa;
|
||||
border: 1px solid #eee;
|
||||
background-color: #FAFAFA;
|
||||
border: 1px solid #EEE;
|
||||
padding: 0 10px;
|
||||
input{
|
||||
font-size: 13px;
|
||||
@ -1447,12 +1397,12 @@
|
||||
gap: 3px;
|
||||
}
|
||||
.vertical-horizontal{
|
||||
margin: 0 3px;
|
||||
margin-right: 3px;
|
||||
min-width: 150px;
|
||||
}
|
||||
.select-box{
|
||||
width: 100px;
|
||||
margin-right: 3px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.size-control{
|
||||
width: 90px;
|
||||
@ -1478,4 +1428,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
background-color: #F7F9FA;
|
||||
}
|
||||
&.important_row{
|
||||
background-color: #e7e7e7;
|
||||
background-color: #f5fcff;
|
||||
}
|
||||
}
|
||||
.ag-cell{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -9,8 +9,6 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
html, body{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
html, body, div, span, applet, object, iframe,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user