@javaguns/flow-ui
Version:
``` <template> <a-spin :spinning="loading"> <FlowDesigner ref="flowDesigner" top="50px"> </FlowDesigner> </a-spin> </template> <script lang="ts" setup> import { ref, provide, onMounted } from 'vue'; import { FlowDesigner, LoadingKey } from '@j
47 lines (46 loc) • 1.1 kB
CSS
.guns-node-addbutton {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
padding: 25px 0;
}
.guns-node-addbutton::before {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
z-index: -1;
width: 1px;
content: '';
background-color: #bbbec4;
}
.guns-node-addbutton .is-circle {
border-radius: 50%;
}
.guns-node-addbutton .add-flow-btn {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
color: #f1572a;
cursor: pointer;
background: #fff;
border: none ;
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}
.guns-node-addbutton .add-flow-btn:hover {
box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.2);
}
.guns-node-addbutton .guns-node-addbutton-menu .el-menu-item {
height: 50px;
line-height: 50px;
}
.guns-node-addbutton .guns-node-addbutton-menu.ivu-menu {
width: -moz-max-content ;
width: max-content ;
}
.guns-node-addbutton .guns-node-addbutton-menu .ivu-menu-item-group-title {
height: 0 ;
}