@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
53 lines (52 loc) • 1.44 kB
CSS
.guns-flow-drag {
transition: all 0.5s;
border: 2px dashed #0070f4;
padding: 1px;
border-radius: 4px;
background: rgba(230, 235, 245, 0.85882353);
}
.guns-flow-drag-tool {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.88);
font-size: 14px;
line-height: 1.57142857;
list-style: none;
font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
position: absolute;
z-index: 1030;
font-weight: 400;
white-space: normal;
text-align: start;
cursor: auto;
-webkit-user-select: text;
-moz-user-select: text;
user-select: text;
--antd-arrow-background-color: #ffffff;
top: 65%;
left: 62%;
}
.guns-flow-drag-tool .drag-tool-content {
position: relative;
}
.guns-flow-drag-tool .drag-tool-content .drag-tool-arrow {
left: 0px;
transform: translateY(-50%) translateX(-100%) rotate(-90deg);
position: absolute;
z-index: 1;
display: block;
border-radius: 0 0 2px;
pointer-events: none;
width: 32px;
height: 32px;
overflow: hidden;
top: 50%;
}
.guns-flow-drag-tool .drag-tool-content .drag-tool-inner {
background-color: #fff;
background-clip: padding-box;
border-radius: 8px;
box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
padding: 12px;
}