_main.scss, _contents.scss 적용

This commit is contained in:
basssy 2024-10-18 17:45:59 +09:00
parent 7d2d32f198
commit ee897ede4d
2 changed files with 1247 additions and 1147 deletions

View File

@ -1,35 +1,38 @@
// CanvasPage // CanvasPage
.canvas-wrap{ // .canvas-wrap{
height: calc(100vh - 47px); // height: calc(100vh - 47px);
display: flex; // display: flex;
flex-direction: column; // flex-direction: column;
.canvas-content{ // .canvas-content{
flex: 1 1 auto; // flex: 1 1 auto;
.canvas-layout{ // .canvas-layout{
height: 100%; // height: 100%;
} // }
} // }
&.sub-wrap{ // &.sub-wrap{
overflow: hidden; // overflow: hidden;
.canvas-content{ // .canvas-content{
height: calc(100% - 47px); // height: calc(100% - 47px);
} // }
} // }
} // }
// CanvasMenu // CanvasMenu
.canvas-menu-wrap { .canvas-menu-wrap {
position: relative; position: fixed;
top: 46px;
left: 0;
display: block; display: block;
width: 100%; width: 100%;
padding-bottom: 0; padding-bottom: 0;
background-color: #383838; background-color: #383838;
transition: padding .17s ease-in-out; transition: padding 0.17s ease-in-out;
z-index: 999;
.canvas-menu-inner { .canvas-menu-inner {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 40px 0 20px; padding: 0 40px 0 20px;
background-color: #2C2C2C; background-color: #2c2c2c;
z-index: 999; z-index: 999;
.canvas-menu-list { .canvas-menu-list {
display: flex; display: flex;
@ -48,7 +51,7 @@
font-weight: 600; font-weight: 600;
padding: 15px 20px; padding: 15px 20px;
opacity: 0.55; opacity: 0.55;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
.menu-icon { .menu-icon {
display: block; display: block;
width: 16px; width: 16px;
@ -57,13 +60,27 @@
background-position: center; background-position: center;
background-size: cover; background-size: cover;
margin-right: 10px; margin-right: 10px;
&.con00{background-image: url(/static/images/canvas/menu_icon00.svg);} &.con00 {
&.con01{background-image: url(/static/images/canvas/menu_icon01.svg);} background-image: url(/static/images/canvas/menu_icon00.svg);
&.con02{background-image: url(/static/images/canvas/menu_icon02.svg);} }
&.con03{background-image: url(/static/images/canvas/menu_icon03.svg);} &.con01 {
&.con04{background-image: url(/static/images/canvas/menu_icon04.svg);} background-image: url(/static/images/canvas/menu_icon01.svg);
&.con05{background-image: url(/static/images/canvas/menu_icon05.svg);} }
&.con06{background-image: url(/static/images/canvas/menu_icon06.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 { &.active {
@ -94,25 +111,43 @@
width: 30px; width: 30px;
height: 30px; height: 30px;
border-radius: 2px; border-radius: 2px;
background-color: #3D3D3D; background-color: #3d3d3d;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 15px 15px; background-size: 15px 15px;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
&.btn01{background-image: url(../../public/static/images/canvas/side_icon03.svg);} &.btn01 {
&.btn02{background-image: url(../../public/static/images/canvas/side_icon02.svg);} background-image: url(../../public/static/images/canvas/side_icon03.svg);
&.btn03{background-image: url(../../public/static/images/canvas/side_icon01.svg);} }
&.btn04{background-image: url(../../public/static/images/canvas/side_icon04.svg);} &.btn02 {
&.btn05{background-image: url(../../public/static/images/canvas/side_icon05.svg);} background-image: url(../../public/static/images/canvas/side_icon02.svg);
&.btn06{background-image: url(../../public/static/images/canvas/side_icon06.svg);} }
&.btn07{background-image: url(../../public/static/images/canvas/side_icon07.svg);} &.btn03 {
&.btn08{background-image: url(../../public/static/images/canvas/side_icon08.svg);} background-image: url(../../public/static/images/canvas/side_icon01.svg);
&.btn09{background-image: url(../../public/static/images/canvas/side_icon09.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 { &:hover {
background-color: #1083E3; background-color: #1083e3;
} }
&.active { &.active {
background-color: #1083E3; background-color: #1083e3;
} }
} }
} }
@ -128,10 +163,18 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; background-size: contain;
&.ico01{background-image: url(../../public/static/images/canvas/ico-flx01.svg);} &.ico01 {
&.ico02{background-image: url(../../public/static/images/canvas/ico-flx02.svg);} background-image: url(../../public/static/images/canvas/ico-flx01.svg);
&.ico03{background-image: url(../../public/static/images/canvas/ico-flx03.svg);} }
&.ico04{background-image: url(../../public/static/images/canvas/ico-flx04.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 { .name {
font-size: 12px; font-size: 12px;
@ -161,16 +204,16 @@
button { button {
margin-left: auto; margin-left: auto;
height: 100%; height: 100%;
background-color: #4B4B4B; background-color: #4b4b4b;
font-size: 13px; font-size: 13px;
font-weight: 400; font-weight: 400;
color: #fff; color: #fff;
padding: 0 7.5px; padding: 0 7.5px;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
} }
&.on { &.on {
button { button {
background-color: #1083E3; background-color: #1083e3;
} }
} }
} }
@ -179,7 +222,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 10px; gap: 10px;
background-color: #3D3D3D; background-color: #3d3d3d;
border-radius: 2px; border-radius: 2px;
width: 100px; width: 100px;
height: 30px; height: 30px;
@ -212,7 +255,7 @@
background-color: #383838; background-color: #383838;
width: 100%; width: 100%;
height: 50px; height: 50px;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
.canvas-depth2-inner { .canvas-depth2-inner {
display: flex; display: flex;
align-items: center; align-items: center;
@ -264,7 +307,7 @@
align-items: center; align-items: center;
margin-right: 34px; margin-right: 34px;
height: 100%; height: 100%;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
button { button {
position: relative; position: relative;
font-size: 12px; font-size: 12px;
@ -302,12 +345,34 @@
} }
// canvas-layout // canvas-layout
.canvas-content {
padding-top: 46.8px;
transition: all 0.17s ease-in-out;
.canvas-frame {
height: 86.3vh;
}
&.active {
padding-top: calc(46.8px + 50px);
.canvas-frame {
height: 81vh;
}
}
}
.canvas-layout { .canvas-layout {
padding-top: 37px;
.canvas-page-list { .canvas-page-list {
position: fixed;
top: 92.8px;
left: 0;
display: flex; display: flex;
background-color: #1C1C1C; background-color: #1c1c1c;
border-top: 1px solid #000; border-top: 1px solid #000;
width: 100%; width: 100%;
transition: all 0.17s ease-in-out;
z-index: 999;
&.active {
top: calc(92.8px + 50px);
}
.canvas-plane-wrap { .canvas-plane-wrap {
display: flex; display: flex;
align-items: center; align-items: center;
@ -319,14 +384,14 @@
padding: 9.6px 20px; padding: 9.6px 20px;
border-right: 1px solid #000; border-right: 1px solid #000;
min-width: 0; min-width: 0;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
span { span {
display: flex; display: flex;
align-items: center; align-items: center;
width: 100%; width: 100%;
font-size: 12px; font-size: 12px;
font-family: 'Pretendard', sans-serif; font-family: 'Pretendard', sans-serif;
color: #AAA; color: #aaa;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -364,9 +429,9 @@
justify-content: center; justify-content: center;
width: 45px; width: 45px;
padding: 13.5px 0; padding: 13.5px 0;
background-color: #1C1C1C; background-color: #1c1c1c;
border-right: 1px solid #000; border-right: 1px solid #000;
transition: all .17s ease-in-out; transition: all 0.17s ease-in-out;
span { span {
display: block; display: block;
width: 9px; width: 9px;
@ -383,9 +448,24 @@
.canvas-frame { .canvas-frame {
position: relative; position: relative;
height: calc(100% - 36.5px); // height: calc(100% - 36.5px);
background-color: #fff; background-color: #f4f4f7;
overflow: auto;
transition: all 0.17s ease-in-out;
// &::-webkit-scrollbar {
// width: 10px;
// height: 10px;
// background-color: #fff;
// }
// &::-webkit-scrollbar-thumb {
// background-color: #C1CCD7;
// border-radius: 30px;
// }
// &::-webkit-scrollbar-track {
// background-color: #fff;
// }
canvas { canvas {
background-color: #fff;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
@ -402,7 +482,7 @@
width: 100%; width: 100%;
height: 46px; height: 46px;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
background: #2C2C2C; background: #2c2c2c;
z-index: 999; z-index: 999;
.sub-header-inner { .sub-header-inner {
display: flex; display: flex;
@ -425,7 +505,9 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: cover; 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 { &:after {
@ -436,7 +518,7 @@
transform: translateY(-50%); transform: translateY(-50%);
width: 1px; width: 1px;
height: 16px; height: 16px;
background-color: #D9D9D9; background-color: #d9d9d9;
} }
&:first-child { &:first-child {
padding-left: 0; padding-left: 0;
@ -466,7 +548,7 @@
span { span {
display: flex; display: flex;
font-size: 12px; font-size: 12px;
color: #AAA; color: #aaa;
font-weight: normal; font-weight: normal;
cursor: default; cursor: default;
} }
@ -514,8 +596,6 @@
&.estimate { &.estimate {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: calc(100% - 36.5px);
overflow-y: auto;
padding-top: 0; padding-top: 0;
.sub-content-inner { .sub-content-inner {
flex: 1; flex: 1;
@ -526,8 +606,8 @@
.sub-table-box { .sub-table-box {
padding: 20px; padding: 20px;
border-radius: 6px; border-radius: 6px;
border: 1px solid #E9EAED; border: 1px solid #e9eaed;
background: #FFF; background: #fff;
box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.02); box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.02);
.table-box-title-wrap { .table-box-title-wrap {
display: flex; display: flex;
@ -550,7 +630,7 @@
position: relative; position: relative;
font-size: 15px; font-size: 15px;
font-weight: 600; font-weight: 600;
color: #1083E3; color: #1083e3;
padding-left: 10px; padding-left: 10px;
&::before { &::before {
content: ''; content: '';
@ -560,7 +640,7 @@
transform: translateY(-50%); transform: translateY(-50%);
width: 1px; width: 1px;
height: 11px; height: 11px;
background-color: #D9D9D9; background-color: #d9d9d9;
} }
} }
.option { .option {
@ -581,7 +661,7 @@
span { span {
font-weight: 600; font-weight: 600;
&.red { &.red {
color: #E23D70; color: #e23d70;
} }
} }
&:after { &:after {
@ -592,10 +672,17 @@
transform: translateY(-50%); transform: translateY(-50%);
width: 1px; width: 1px;
height: 11px; height: 11px;
background-color: #D9D9D9; background-color: #d9d9d9;
}
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
&::after {
display: none;
}
} }
&:first-child{padding-left: 0;}
&:last-child{padding-right: 0;&::after{display: none;}}
} }
} }
} }
@ -689,7 +776,7 @@
width: 105px; width: 105px;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
background-color: #F4F4F7; background-color: #f4f4f7;
border-radius: 100px; border-radius: 100px;
text-align: center; text-align: center;
font-size: 13px; font-size: 13px;
@ -704,12 +791,12 @@
&.blue { &.blue {
font-size: 16px; font-size: 16px;
font-weight: 700; font-weight: 700;
color: #1083E3; color: #1083e3;
} }
&.red { &.red {
font-size: 16px; font-size: 16px;
font-weight: 700; font-weight: 700;
color: #D72A2A; color: #d72a2a;
} }
} }
} }
@ -723,7 +810,7 @@
padding: 10px; padding: 10px;
.btn-area { .btn-area {
padding-bottom: 15px; padding-bottom: 15px;
border-bottom: 1px solid #ECF0F4; border-bottom: 1px solid #ecf0f4;
} }
.drag-file-area { .drag-file-area {
position: relative; position: relative;
@ -745,7 +832,7 @@
span { span {
position: relative; position: relative;
font-size: 13px; font-size: 13px;
color: #45576F; color: #45576f;
font-weight: 400; font-weight: 400;
white-space: nowrap; white-space: nowrap;
padding-right: 55px; padding-right: 55px;
@ -770,13 +857,13 @@
.special-note-check-wrap { .special-note-check-wrap {
display: grid; display: grid;
grid-template-columns: repeat(5, 1fr); grid-template-columns: repeat(5, 1fr);
border: 1px solid #ECF0F4; border: 1px solid #ecf0f4;
border-radius: 3px; border-radius: 3px;
margin-bottom: 30px; margin-bottom: 30px;
.special-note-check-item { .special-note-check-item {
padding: 14px 10px; padding: 14px 10px;
border-right: 1px solid #ECF0F4; border-right: 1px solid #ecf0f4;
border-top: 1px solid #ECF0F4; border-top: 1px solid #ecf0f4;
&:nth-child(5n) { &:nth-child(5n) {
border-right: none; border-right: none;
} }
@ -784,13 +871,13 @@
border-top: none; border-top: none;
} }
&.act { &.act {
background-color: #F7F9FA; background-color: #f7f9fa;
} }
} }
} }
.calculation-estimate { .calculation-estimate {
border: 1px solid #ECF0F4; border: 1px solid #ecf0f4;
border-radius: 3px; border-radius: 3px;
padding: 24px; padding: 24px;
max-height: 350px; max-height: 350px;
@ -804,13 +891,13 @@
dt { dt {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
color: #1083E3; color: #1083e3;
margin-bottom: 15px; margin-bottom: 15px;
} }
dd { dd {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #45576F; color: #45576f;
margin-bottom: 8px; margin-bottom: 8px;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -842,7 +929,7 @@
.product-price-tit { .product-price-tit {
font-size: 13px; font-size: 13px;
font-weight: 400; font-weight: 400;
color: #45576F; color: #45576f;
margin-right: 10px; margin-right: 10px;
} }
.select-wrap { .select-wrap {
@ -863,7 +950,7 @@
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #45576F; color: #45576f;
padding-right: 10px; padding-right: 10px;
.ico { .ico {
width: 23px; width: 23px;
@ -880,7 +967,7 @@
transform: translateY(-50%); transform: translateY(-50%);
width: 1px; width: 1px;
height: 12px; height: 12px;
background-color: #D9D9D9; background-color: #d9d9d9;
} }
} }
.click-check { .click-check {
@ -888,7 +975,7 @@
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #F16A6A ; color: #f16a6a;
padding-left: 10px; padding-left: 10px;
.ico { .ico {
width: 14px; width: 14px;
@ -920,7 +1007,6 @@
} }
} }
} }
} }
// 발전시물레이션 // 발전시물레이션
@ -955,23 +1041,23 @@
table { table {
table-layout: fixed; table-layout: fixed;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid #ECF0F4; border: 1px solid #ecf0f4;
border-radius: 4px; border-radius: 4px;
thead { thead {
th { th {
padding: 4.5px 0; padding: 4.5px 0;
border-bottom: 1px solid #ECF0F4; border-bottom: 1px solid #ecf0f4;
text-align: center; text-align: center;
font-size: 13px; font-size: 13px;
color: #45576F; color: #45576f;
font-weight: 500; font-weight: 500;
background-color: #F8F9FA; background-color: #f8f9fa;
} }
} }
tbody { tbody {
td { td {
font-size: 13px; font-size: 13px;
color: #45576F; color: #45576f;
text-align: center; text-align: center;
padding: 4.5px 0; padding: 4.5px 0;
} }
@ -984,13 +1070,13 @@
padding: 20px; padding: 20px;
.simulation-tit-wrap { .simulation-tit-wrap {
padding-right: 40px; padding-right: 40px;
border-right: 1px solid #EEEEEE; border-right: 1px solid #eeeeee;
span { span {
display: block; display: block;
position: relative; position: relative;
padding-left: 60px; padding-left: 60px;
font-size: 15px; font-size: 15px;
color: #14324F; color: #14324f;
font-weight: 600; font-weight: 600;
&::before { &::before {
content: ''; content: '';
@ -1017,7 +1103,7 @@
} }
dd { dd {
font-size: 12px; font-size: 12px;
color: #45576F; color: #45576f;
font-weight: 400; font-weight: 400;
line-height: 24px; line-height: 24px;
} }
@ -1031,10 +1117,10 @@
.module-total { .module-total {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #F8F9FA; background-color: #f8f9fa;
padding: 9px 0; padding: 9px 0;
margin-right: 4px; margin-right: 4px;
border: 1px solid #ECF0F4; border: 1px solid #ecf0f4;
border-top: none; border-top: none;
.total-title { .total-title {
flex: 1; flex: 1;
@ -1057,7 +1143,7 @@
.information-help-wrap { .information-help-wrap {
display: flex; display: flex;
padding: 24px; padding: 24px;
background-color: #F4F4F4; background-color: #f4f4f4;
border-radius: 4px; border-radius: 4px;
margin-bottom: 15px; margin-bottom: 15px;
.information-help-tit-wrap { .information-help-tit-wrap {
@ -1065,7 +1151,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 40px; padding-right: 40px;
border-right: 1px solid #E0E0E3; border-right: 1px solid #e0e0e3;
.help-tit-icon { .help-tit-icon {
width: 40px; width: 40px;
height: 40px; height: 40px;
@ -1077,7 +1163,7 @@
.help-tit { .help-tit {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
color: #45576F; color: #45576f;
} }
} }
.information-help-guide { .information-help-guide {
@ -1086,7 +1172,7 @@
display: block; display: block;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #45576F; color: #45576f;
margin-bottom: 7px; margin-bottom: 7px;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -1100,7 +1186,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 10px 0 30px 0; padding: 10px 0 30px 0;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #e5e5e5;
margin-bottom: 24px; margin-bottom: 24px;
.community-search-box { .community-search-box {
position: relative; position: relative;
@ -1119,7 +1205,7 @@
font-weight: 400; font-weight: 400;
color: #101010; color: #101010;
&::placeholder { &::placeholder {
color: #C8C8C8; color: #c8c8c8;
} }
} }
.community-search-ico { .community-search-ico {
@ -1138,10 +1224,10 @@
.community-search-keyword { .community-search-keyword {
font-size: 13px; font-size: 13px;
font-weight: 400; font-weight: 400;
color: #45576F; color: #45576f;
span { span {
font-weight: 600; font-weight: 600;
color: #F16A6A; color: #f16a6a;
} }
} }
} }
@ -1156,16 +1242,16 @@
align-items: center; align-items: center;
padding: 24px; padding: 24px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #E5E5E5; border: 1px solid #e5e5e5;
background: #FFF; background: #fff;
transition: all .15s ease-in-out; transition: all 0.15s ease-in-out;
cursor: pointer; cursor: pointer;
.file-item-info { .file-item-info {
.item-num { .item-num {
display: inline-block; display: inline-block;
padding: 6px 17.5px; padding: 6px 17.5px;
border-radius: 60px; border-radius: 60px;
background-color: #F4F4F7; background-color: #f4f4f7;
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
color: #101010; color: #101010;
@ -1197,7 +1283,21 @@
} }
} }
&:hover { &:hover {
background-color: #F4F4F7; background-color: #f4f4f7;
} }
} }
} }
.file-down-nodata {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 148px;
padding: 24px;
border-radius: 4px;
border: 1px solid #e5e5e5;
font-size: 16px;
font-weight: 500;
color: #344356;
}

View File

@ -114,12 +114,12 @@
box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.02); box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.02);
&.item01 { &.item01 {
flex: 1; flex: 1;
max-height: 400px; height: 400px;
} }
&.item02 { &.item02 {
flex: none; flex: none;
width: 451px; width: 451px;
max-height: 400px; height: 400px;
} }
&.item03 { &.item03 {
flex: 1; flex: 1;