UNPKG

@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

124 lines (121 loc) 3.07 kB
.guns-flow-node-fresh { cursor: pointer; width: 220px; box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.08); border-radius: 4px; background: #ffffff; display: flex; flex-direction: column; overflow: hidden; position: relative; padding-bottom: 8px; } .guns-flow-node-fresh .guns-flow-item-card-top-bar { width: 220px; height: 10px; display: block; margin-bottom: 12px; background: linear-gradient(271deg, #00b878 18%, #00d78a 91%); } .guns-flow-node-fresh .guns-flow-item-card-img { position: absolute; width: 28px; height: 28px; border-radius: 4px; right: 16px; top: 22px; } .guns-flow-node-fresh .guns-flow-item-card-header { padding-left: 16px; display: flex; align-items: center; } .guns-flow-node-fresh .guns-flow-item-card-header .guns-flow-item-card-header-title { font-size: 14px; font-weight: normal; line-height: 18px; color: #555555; max-width: 170px; word-wrap: break-word; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .guns-flow-node-fresh .guns-flow-item-card-content { padding: 0 16px; /* margin-bottom: 16px; */ min-height: 35px; justify-content: flex-start; align-items: center; height: calc(100% - 44px); border-top: none; box-sizing: border-box; display: flexbox; display: flex; padding-left: 16px; padding-right: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #999999; font-size: 13px; /* .guns-flow-item-card-content-info { font-size: 12px; font-weight: normal; letter-spacing: 0em; flex: 1; color: #999999; } .is-light { background-color: transparent; padding-left: 0px; padding-right: 0px; color: #909399; font-size: 13px; line-height: 18px; display: table-cell; padding: 0 8px; } .not-select { font-size: 12px; font-weight: normal; line-height: 16px; letter-spacing: 0em; color: #f53f3f; } */ } .guns-flow-node-fresh .guns-flow-item-card-content pre { margin: 1em 0; overflow: hidden; text-overflow: ellipsis; color: #999999; font-size: 13px; 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'; } .guns-flow-node-fresh .guns-flow-item-card-content .guns-flow-node-main-context { color: #ff6a00; } .guns-flow-node-fresh .guns-flow-item-card-footer { display: flex; justify-content: space-between; padding: 0 16px; } .guns-flow-node-fresh .guns-flow-item-card-footer::before { content: ''; width: 1px; position: absolute; background-color: #bbbec4; z-index: -1; left: 50%; top: 0; bottom: 0; } .guns-flow-node-fresh .guns-flow-item-card-footer .guns-flow-item-card-footer-icon span { margin-right: 8px; font-size: 14px; } .guns-flow-node-fresh .guns-flow-item-card-footer .guns-flow-item-card-footer-handle { display: none; }