428 lines
9.3 KiB
SCSS
428 lines
9.3 KiB
SCSS
// CanvasPage
|
|
.canvas-wrap {
|
|
height: calc(100vh - 47px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.canvas-content {
|
|
flex: 1 1 auto;
|
|
|
|
.canvas-layout {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
// CanvasMenu
|
|
.canvas-menu-wrap {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
padding-bottom: 0;
|
|
background-color: #383838;
|
|
transition: padding .17s ease-in-out;
|
|
|
|
.canvas-menu-inner {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 40px 0 20px;
|
|
background-color: #2C2C2C;
|
|
z-index: 999;
|
|
|
|
.canvas-menu-list {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
|
|
.canvas-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
|
|
button {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
height: 100%;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
padding: 15px 20px;
|
|
opacity: 0.55;
|
|
transition: all .17s ease-in-out;
|
|
|
|
.menu-icon {
|
|
display: block;
|
|
width: 16px;
|
|
height: 16px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
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);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
background-color: #383838;
|
|
|
|
button {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.canvas-side-btn-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
|
|
.select-box {
|
|
width: 124px;
|
|
margin-right: 5px;
|
|
|
|
> div {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.btn-from {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
|
|
button {
|
|
display: block;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 2px;
|
|
background-color: #3D3D3D;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 15px 15px;
|
|
transition: all .17s ease-in-out;
|
|
|
|
&.btn01 {
|
|
background-image: url(../../public/static/images/canvas/side_icon01.svg);
|
|
}
|
|
|
|
&.btn02 {
|
|
background-image: url(../../public/static/images/canvas/side_icon02.svg);
|
|
}
|
|
|
|
&.btn03 {
|
|
background-image: url(../../public/static/images/canvas/side_icon03.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;
|
|
}
|
|
|
|
&.active {
|
|
background-color: #1083E3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.size-control {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
background-color: #3D3D3D;
|
|
border-radius: 2px;
|
|
width: 100px;
|
|
height: 30px;
|
|
margin: 0 5px;
|
|
|
|
span {
|
|
font-size: 13px;
|
|
color: #fff;
|
|
}
|
|
|
|
.control-btn {
|
|
display: block;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
|
|
&.minus {
|
|
background-image: url(../../public/static/images/canvas/minus.svg);
|
|
}
|
|
|
|
&.plus {
|
|
background-image: url(../../public/static/images/canvas/plus.svg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.canvas-depth2-wrap {
|
|
position: absolute;
|
|
top: -100%;
|
|
left: 0;
|
|
background-color: #383838;
|
|
width: 100%;
|
|
height: 50px;
|
|
transition: all .17s ease-in-out;
|
|
|
|
.canvas-depth2-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 40px;
|
|
height: 100%;
|
|
|
|
.canvas-depth2-list {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
|
|
.canvas-depth2-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 26px;
|
|
height: 100%;
|
|
|
|
button {
|
|
position: relative;
|
|
opacity: 0.55;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
height: 100%;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
&.active {
|
|
button {
|
|
opacity: 1;
|
|
font-weight: 600;
|
|
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
transform: translateY(-50%);
|
|
width: 5px;
|
|
height: 8px;
|
|
background: url(../../public/static/images/canvas/depth2-arr.svg) no-repeat center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.canvas-depth2-btn-list {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
height: 100%;
|
|
|
|
.depth2-btn-box {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 34px;
|
|
height: 100%;
|
|
transition: all .17s ease-in-out;
|
|
|
|
button {
|
|
position: relative;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
height: 100%;
|
|
color: #fff;
|
|
padding-right: 12px;
|
|
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
transform: translateY(-50%);
|
|
width: 5px;
|
|
height: 8px;
|
|
background: url(../../public/static/images/canvas/depth2-arr.svg) no-repeat center;
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
&.mouse {
|
|
opacity: 0.55;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
top: 47px;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
padding-bottom: 50px;
|
|
}
|
|
}
|
|
|
|
// canvas-layout
|
|
.canvas-layout {
|
|
.canvas-page-list {
|
|
display: flex;
|
|
background-color: #1C1C1C;
|
|
border-top: 1px solid #000;
|
|
width: 100%;
|
|
|
|
.canvas-plane-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
max-width: calc(100% - 45px);
|
|
|
|
.canvas-page-box {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #1c1c1c;
|
|
padding: 9.6px 20px;
|
|
border-right: 1px solid #000;
|
|
min-width: 0;
|
|
transition: all .17s ease-in-out;
|
|
|
|
span {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
font-family: 'Pretendard', sans-serif;
|
|
color: #AAA;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.close {
|
|
flex: none;
|
|
display: block;
|
|
width: 7px;
|
|
height: 8px;
|
|
margin-left: 15px;
|
|
background: url(../../public/static/images/canvas/plan_close_gray.svg) no-repeat center;
|
|
background-size: cover;
|
|
}
|
|
|
|
&.on {
|
|
background-color: #fff;
|
|
|
|
span {
|
|
font-weight: 600;
|
|
color: #101010;
|
|
}
|
|
|
|
.close {
|
|
background: url(../../public/static/images/canvas/plan_close_black.svg) no-repeat center;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #000;
|
|
}
|
|
}
|
|
}
|
|
|
|
.plane-add {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 45px;
|
|
padding: 13.5px 0;
|
|
background-color: #1C1C1C;
|
|
border-right: 1px solid #000;
|
|
transition: all .17s ease-in-out;
|
|
|
|
span {
|
|
display: block;
|
|
width: 9px;
|
|
height: 9px;
|
|
background: url(../../public/static/images/canvas/plane_add.svg) no-repeat center;
|
|
background-size: cover;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.canvas-frame {
|
|
position: relative;
|
|
height: calc(100% - 35.5px);
|
|
|
|
canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
} |