wetrade-design
Version:
一款多语言支持Vue3的UI框架
266 lines (265 loc) • 6.67 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-stgy-graph-node {
position: relative;
border-radius: 8px;
z-index: 1;
outline: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.wd-stgy-graph-node.can-move {
cursor: move;
}
.wd-stgy-graph-node.last-node.merge-node:not(.start-node) {
cursor: pointer;
}
.wd-stgy-graph-node.last-node.merge-node:not(.start-node).hidden-node {
width: 0;
height: 0;
}
.wd-stgy-graph-node.selected-node .wd-stgy-graph-node-wrap,
.wd-stgy-graph-node.lighten-node .wd-stgy-graph-node-wrap,
.wd-stgy-graph-node.selected-node .wd-stgy-graph-node-tools,
.wd-stgy-graph-node.lighten-node .wd-stgy-graph-node-tools {
border: 2px solid #D57511;
}
.wd-stgy-graph-node.lighten-node .node-shrink-line {
border-color: #D57511;
}
.wd-stgy-graph-node.lighten-node .node-shrink-line::before,
.wd-stgy-graph-node.lighten-node .node-shrink-line::after {
background-color: #D57511;
}
.wd-stgy-graph-node.dragging-node {
opacity: 0.5;
}
.wd-stgy-graph-node-dragging {
background-color: #2469F2;
border-radius: 4px;
z-index: 2;
}
.wd-stgy-graph-node-wrap {
display: flex;
flex-direction: column;
background-color: #FBFCFD;
border: 2px solid #F8F9FB;
border-radius: 8px;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.15);
overflow: hidden;
}
.wd-stgy-graph-node-wrap .icon-delete {
width: 18px;
height: 18px;
font-size: 18px;
color: #fff;
cursor: pointer;
}
.wd-stgy-graph-node-wrap:hover {
cursor: pointer;
}
.wd-stgy-graph-node-wrap:hover .wd-stgy-graph-node-wrap-header {
background-color: #1251E5;
}
.wd-stgy-graph-node-wrap-buy:hover .wd-stgy-graph-node-wrap-header {
background-color: #F21D41;
}
.wd-stgy-graph-node-wrap-buy .wd-stgy-graph-node-wrap-header {
background-color: #f5222d;
}
.wd-stgy-graph-node-wrap-sell:hover .wd-stgy-graph-node-wrap-header {
background-color: #01A662;
}
.wd-stgy-graph-node-wrap-sell .wd-stgy-graph-node-wrap-header {
background-color: #23BF70;
}
.wd-stgy-graph-node-wrap-error {
border: 1px solid #f5222d;
}
.wd-stgy-graph-node-wrap-header {
height: 32px;
padding: 7px 12px;
color: #fff;
font-size: 12px;
line-height: 18px;
background-color: #2469F2;
pointer-events: none;
white-space: nowrap;
}
.wd-stgy-graph-node-wrap-bottom {
min-height: 28px;
padding: 5px 12px;
color: #656B80;
font-size: 12px;
pointer-events: none;
}
.wd-stgy-graph-node.isSelect {
z-index: 2;
}
.wd-stgy-graph-node .node-insert,
.wd-stgy-graph-node .node-delete,
.wd-stgy-graph-node .node-shrink {
z-index: 3;
}
.wd-stgy-graph-node .icon-tools-delete {
color: #818799;
}
.wd-stgy-graph-node .icon-plus {
width: 20px;
height: 20px;
font-size: 20px;
}
.wd-stgy-graph-node-append,
.wd-stgy-graph-node-insert {
cursor: pointer;
text-align: center;
width: 20px;
height: 20px;
line-height: 20px;
font-size: 20px;
background-color: #13151b;
}
.wd-stgy-graph-node-append {
color: #4F4FDB;
}
.wd-stgy-graph-node-append.wd-dropdown-open {
color: #2F2C94;
}
.wd-stgy-graph-node-insert {
color: #2469F2;
}
.wd-stgy-graph-node-insert.wd-dropdown-open {
color: #4A84F7;
}
.wd-stgy-graph-node-shrink {
cursor: pointer;
position: relative;
height: 20px;
border-radius: 20px;
background-color: #13151b;
color: #2469F2;
font-size: 20px;
z-index: 1;
line-height: 20px;
}
.wd-stgy-graph-node-shrink__icon {
color: #FF7925;
font-size: 20px;
}
.wd-stgy-graph-node-shrink__text {
font-size: 12px;
}
.wd-stgy-graph-node-shrink__expand {
display: flex;
justify-content: center;
align-items: center;
width: 20px;
height: 20px;
border-radius: 10px;
border: 2px solid #FF7925;
color: #FF7925;
position: relative;
font-size: 12px;
}
.wd-stgy-graph-node-shrink__expand .wd-stgy-graph-node-shrink__icon {
font-size: 16px;
}
.wd-stgy-graph-node-shrink__disabled {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-graph-node-shrink__disabled .wd-stgy-graph-node-shrink__expand,
.wd-stgy-graph-node-shrink__disabled .wd-stgy-graph-node-shrink__icon {
pointer-events: none;
color: #FFDCAD;
border-color: #FFDCAD;
}
.wd-stgy-graph {
position: relative;
background-color: transparent;
width: 100%;
height: 100%;
box-sizing: border-box;
}
.wd-stgy-graph-gu .wd-stgy-graph-node-wrap-sell .wd-stgy-graph-node-wrap-header {
background-color: #f5222d;
}
.wd-stgy-graph-gu .wd-stgy-graph-node-wrap-sell:hover .wd-stgy-graph-node-wrap-header {
background-color: #F21D41;
}
.wd-stgy-graph-gu .wd-stgy-graph-node-wrap-buy .wd-stgy-graph-node-wrap-header {
background-color: #23BF70;
}
.wd-stgy-graph-gu .wd-stgy-graph-node-wrap-buy:hover .wd-stgy-graph-node-wrap-header {
background-color: #01A662;
}
.wd-stgy-graph.wd-stgy-graph-merge .node-append-wrapper,
.wd-stgy-graph.wd-stgy-graph-merge .node-insert-wrapper,
.wd-stgy-graph.wd-stgy-graph-merge .node-shrink-wrapper {
cursor: not-allowed;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node .wd-stgy-graph-node-tools .icon-tools__edit {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node-insert,
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node-append {
color: #93BEFB;
pointer-events: none;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node-shrink {
pointer-events: none;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node-shrink__expand,
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node-shrink__icon {
pointer-events: none;
color: #FFDCAD;
border-color: #FFDCAD;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node.start-node {
cursor: not-allowed;
}
.wd-stgy-graph.wd-stgy-graph-merge .wd-stgy-graph-node.start-node .wd-stgy-graph-node-wrap {
pointer-events: none;
}
.wd-stgy-graph.wd-stgy-graph-merge .link-group {
cursor: not-allowed;
}
.wd-stgy-graph.wd-stgy-graph-readonly .wd-stgy-graph-node {
pointer-events: none;
}
.wd-stgy-graph.wd-stgy-graph-readonly .link-group {
cursor: auto;
}
.wd-stgy-graph-view {
height: 100%;
}
.wd-stgy-graph .link-group-merge {
cursor: pointer;
}