118 lines
2.3 KiB
CSS
118 lines
2.3 KiB
CSS
|
|
/* 顶部工具栏 */
|
|
.top-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 3.2rem;
|
|
padding: 0 10px;
|
|
border-bottom: 1px solid rgba(161, 158, 158, 0.3);
|
|
border-left: 1px solid rgba(161, 158, 158, 0.3);
|
|
}
|
|
|
|
/* 主要布局容器 */
|
|
.main-layout {
|
|
display: flex;
|
|
flex: 1;
|
|
height: calc(100vh - 3.2rem);
|
|
}
|
|
|
|
/* 左侧面板 */
|
|
.left-panel {
|
|
z-index: 988;
|
|
width: 13rem;
|
|
padding: 10px;
|
|
background-color: rgba(122, 122, 122, 0.1);
|
|
border-right: 1px solid rgba(161, 158, 158, 0.3);
|
|
border-left: 1px solid rgba(161, 158, 158, 0.3);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* 画布容器 */
|
|
.canvas-container {
|
|
position: relative;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 右侧面板 */
|
|
.right-panel {
|
|
z-index: 988;
|
|
width: 13rem;
|
|
padding: 10px;
|
|
background-color: rgba(122, 122, 122, 0.1);
|
|
border-left: 1px solid rgba(161, 158, 158, 0.3);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* 画布样式 */
|
|
.basic-flow {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.round-start {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 50px;
|
|
height: 50px;
|
|
color: white;
|
|
text-align: center;
|
|
background-color: rgba(0, 128, 0, 0.6);
|
|
border: 0;
|
|
border-radius: 50%;
|
|
}
|
|
.round-stop {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 50px;
|
|
height: 50px;
|
|
color: white;
|
|
text-align: center;
|
|
background-color: rgba(255, 0, 0, 0.6);
|
|
border: 0;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* 可拖拽的元素样式 */
|
|
.drag-item {
|
|
padding: 5px;
|
|
background-color: #4a5568;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* 开始和结束拖拽元素的样式 */
|
|
.start-item {
|
|
background-color: rgba(0, 128, 0, 0.6) !important;
|
|
}
|
|
.end-item {
|
|
background-color: rgba(255, 0, 0, 0.6) !important;
|
|
}
|
|
.module-top .vue-flow__controls .vue-flow__controls-button {
|
|
cursor: pointer;
|
|
background-color: rgba(182, 181, 181, 0);
|
|
border: none;
|
|
}
|
|
.module-top .vue-flow__controls .vue-flow__controls-button svg {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
padding-top: 2px;
|
|
padding-left: -1px;
|
|
margin-top: 2px;
|
|
}
|
|
.scroll-container {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* 面板头部 */
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 5px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid rgba(161, 158, 158, 0.3);
|
|
}
|