create-ias-lowcode
Version:
121 lines (108 loc) • 2 kB
text/less
.mainDiv {
height: 100vh;
display: flex;
flex-direction: column;
}
.headerDiv {
padding: 8px 16px;
border-bottom: 1px solid #d3d3d3;
display: flex;
justify-content: space-between;
align-items: center;
}
.contentDiv {
flex: 1;
display: flex;
overflow: hidden;
}
.leftPanel {
width: 20%;
min-width: 200px;
position: relative;
transition: width 0.3s;
}
.leftPanelCollapsed {
width: 16px;
min-width: 16px;
position: relative;
transition: width 0.3s;
}
.toolBoxDiv {
width: 100%;
height: 100%;
background: #fff;
}
.leftCollapseBtn {
position: absolute;
right: -8px;
top: 50%;
transform: translateY(-50%);
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background: #fff;
border-radius: 0 6px 6px 0;
width: 16px;
height: 48px;
box-shadow: 1px 0 3px rgba(0,0,0,0.08);
}
.canvasDiv {
flex: 1;
overflow: auto;
background: #f5f5f5;
cursor: pointer;
position: relative;
// padding: 0 10px;
padding: 10px;
}
.elementDiv {
width: 100%;
height: 100%;
overflow: auto;
}
.rightPanel {
width: 20%;
min-width: 200px;
position: relative;
transition: width 0.3s;
}
.rightPanelCollapsed {
width: 16px;
min-width: 16px;
position: relative;
transition: width 0.3s;
}
.settingPanelDiv {
width: 100%;
height: 100%;
background: #fff;
}
.rightCollapseBtn {
position: absolute;
left: -8px;
top: 50%;
transform: translateY(-50%);
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background: #fff;
border-radius: 6px 0 0 6px;
width: 16px;
height: 48px;
box-shadow: -1px 0 3px rgba(0,0,0,0.08);
}
.footerDiv {
display: flex;
justify-content: flex-end;
width: 100%;
gap: 4px;
}
.toolBoxBtn span{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}