wetrade-design
Version:
一款多语言支持Vue3的UI框架
434 lines (433 loc) • 10.6 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-flow-line {
position: absolute;
z-index: 0;
}
.wd-stgy-flow-line.inPath {
cursor: pointer;
}
.wd-stgy-flow-line__label-box {
cursor: pointer;
color: #4F4FDB;
text-align: center;
position: absolute;
width: 20px;
height: 20px;
line-height: 20px;
transform: translateY(-50%);
z-index: 1;
font-size: 20px;
background-color: #13151b;
}
.wd-stgy-flow-line__label-box.wd-dropdown-open {
color: #2F2C94;
}
.wd-stgy-flow-line__label-disabled {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-flow-node {
position: absolute;
border-radius: 8px;
z-index: 1;
outline: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.wd-stgy-flow-node.can-move {
cursor: move;
}
.wd-stgy-flow-node.last-node.merge-node:not(.start-node) {
cursor: pointer;
}
.wd-stgy-flow-node.last-node.merge-node:not(.start-node).hidden-node {
width: 0;
height: 0;
}
.wd-stgy-flow-node.selected-node .wd-stgy-flow-node-wrap,
.wd-stgy-flow-node.lighten-node .wd-stgy-flow-node-wrap,
.wd-stgy-flow-node.selected-node .wd-stgy-flow-node-tools,
.wd-stgy-flow-node.lighten-node .wd-stgy-flow-node-tools {
border: 2px solid #D57511;
}
.wd-stgy-flow-node.lighten-node .node-shrink-line {
border-color: #D57511;
}
.wd-stgy-flow-node.lighten-node .node-shrink-line::before,
.wd-stgy-flow-node.lighten-node .node-shrink-line::after {
background-color: #D57511;
}
.wd-stgy-flow-node.dragging-node {
opacity: 0.5;
}
.wd-stgy-flow-node-dragging {
background-color: #2469F2;
border-radius: 4px;
position: absolute;
z-index: 2;
}
.wd-stgy-flow-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-flow-node-wrap .icon-delete {
width: 18px;
height: 18px;
font-size: 18px;
color: #fff;
cursor: pointer;
}
.wd-stgy-flow-node-wrap:hover {
cursor: pointer;
}
.wd-stgy-flow-node-wrap:hover .wd-stgy-flow-node-wrap-header {
background-color: #1251E5;
}
.wd-stgy-flow-node-wrap-buy:hover .wd-stgy-flow-node-wrap-header {
background-color: #F21D41;
}
.wd-stgy-flow-node-wrap-buy .wd-stgy-flow-node-wrap-header {
background-color: #f5222d;
}
.wd-stgy-flow-node-wrap-sell:hover .wd-stgy-flow-node-wrap-header {
background-color: #01A662;
}
.wd-stgy-flow-node-wrap-sell .wd-stgy-flow-node-wrap-header {
background-color: #23BF70;
}
.wd-stgy-flow-node-wrap-header {
height: 32px;
padding: 7px 12px;
color: #fff;
font-size: 12px;
line-height: 18px;
background-color: #2469F2;
pointer-events: none;
}
.wd-stgy-flow-node-wrap-bottom {
min-height: 28px;
line-height: 28px;
padding: 4px 12px;
color: #656B80;
font-size: 12px;
pointer-events: none;
}
.wd-stgy-flow-node.isSelect {
z-index: 2;
}
.wd-stgy-flow-node .node-insert,
.wd-stgy-flow-node .node-shrink {
cursor: pointer;
position: relative;
height: 20px;
border-radius: 20px;
background-color: #13151b;
color: #2469F2;
}
.wd-stgy-flow-node .node-insert.wd-dropdown-open,
.wd-stgy-flow-node .node-shrink.wd-dropdown-open {
color: #4A84F7;
}
.wd-stgy-flow-node .node-insert-line,
.wd-stgy-flow-node .node-shrink-line {
display: block;
cursor: auto;
position: absolute;
border-top: 1px solid #656B80;
height: 1px;
width: 38px;
top: 50%;
transform: translateY(-50%);
right: 20px;
}
.wd-stgy-flow-node .node-insert-line::after,
.wd-stgy-flow-node .node-shrink-line::after,
.wd-stgy-flow-node .node-insert-line::before,
.wd-stgy-flow-node .node-shrink-line::before {
position: absolute;
content: '';
display: block;
pointer-events: none;
width: 6px;
height: 6px;
border-radius: 6px;
background-color: #656B80;
top: -4px;
}
.wd-stgy-flow-node .node-insert-line::after,
.wd-stgy-flow-node .node-shrink-line::after {
left: 0;
}
.wd-stgy-flow-node .node-insert-line::before,
.wd-stgy-flow-node .node-shrink-line::before {
right: 0;
}
.wd-stgy-flow-node .node-insert-line__merge::after,
.wd-stgy-flow-node .node-shrink-line__merge::after {
display: none;
}
.wd-stgy-flow-node .node-insert-icon,
.wd-stgy-flow-node .node-shrink-icon {
color: #FF7925;
font-size: 20px;
}
.wd-stgy-flow-node .node-insert-expand,
.wd-stgy-flow-node .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;
}
.wd-stgy-flow-node .node-insert-expand .node-shrink-icon,
.wd-stgy-flow-node .node-shrink-expand .node-shrink-icon {
font-size: 16px;
}
.wd-stgy-flow-node .node-insert-expand .node-shrink-text,
.wd-stgy-flow-node .node-shrink-expand .node-shrink-text {
font-size: 12px;
}
.wd-stgy-flow-node .node-shrink-line {
width: 24px;
}
.wd-stgy-flow-node .node-shrink-line::after {
left: 0;
}
.wd-stgy-flow-node .node-shrink-line::before {
right: 0;
}
.wd-stgy-flow-node .node-shrink.node-shrink-collaspe .node-shrink-line {
width: 38px;
right: 20px;
}
.wd-stgy-flow-node .node-shrink.node-shrink-merge-collaspe .node-shrink-line::after {
display: none;
}
.wd-stgy-flow-node .node-shrink.node-shrink-disabled {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-flow-node .node-shrink.node-shrink-disabled .node-shrink-expand,
.wd-stgy-flow-node .node-shrink.node-shrink-disabled .node-shrink-icon {
color: #FFDCAD;
border-color: #FFDCAD;
}
.wd-stgy-flow-node .node-insert,
.wd-stgy-flow-node .node-delete,
.wd-stgy-flow-node .node-shrink {
z-index: 3;
}
.wd-stgy-flow-node .icon-tools-delete {
color: #818799;
}
.wd-stgy-flow-node .icon-plus {
width: 20px;
height: 20px;
font-size: 20px;
}
.wd-stgy-flow-node-tools {
display: flex;
align-items: center;
justify-content: flex-start;
border: 1px solid #F8F9FB;
border-radius: 8px;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.15);
background-color: #FBFCFD;
padding: 7px 12px;
width: 454px;
min-height: 48px;
overflow: hidden;
position: relative;
color: #1E1E29;
}
.wd-stgy-flow-node-tools .delete-tools__icon {
position: absolute;
right: 20px;
top: 12px;
font-size: 18px;
color: #818799;
cursor: pointer;
}
.wd-stgy-flow-node-tools-select {
border-color: #D57511;
}
.wd-stgy-flow-node-tools-error {
color: #f5222d;
border-color: #f5222d;
justify-content: space-between;
}
.wd-stgy-flow-node-tools-error .icon-delete {
color: #818799;
}
.wd-stgy-flow-node-tools-error__value {
border-color: #f5222d;
}
.wd-stgy-flow-node-tools .icon-tools__edit {
font-size: 16px;
color: #2469F2;
cursor: pointer;
}
.wd-stgy-flow-node-tools .icon-tools__edit.edit-icon-disabled {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-flow-node-tools .icon-tools__tips_close,
.wd-stgy-flow-node-tools .icon-tools__tips_check {
font-size: 18px;
color: #2469F2;
cursor: pointer;
padding: 3px;
border-radius: 4px;
}
.wd-stgy-flow-node-tools .icon-tools__tips_close:hover,
.wd-stgy-flow-node-tools .icon-tools__tips_check:hover {
color: #2469F2;
background: #ECF3FD;
}
.wd-stgy-flow-node-tools .icon-tools__tips_close:active,
.wd-stgy-flow-node-tools .icon-tools__tips_check:active {
color: #4A84F7;
background: #D4E0FA;
}
.wd-stgy-flow-node-tools .icon-tools__tips_minus {
color: #818799;
font-size: 14px;
margin: 0 4px;
}
.wd-stgy-flow-node-tools__text {
margin-left: 6px;
font-size: 12px;
color: #1E1E29;
}
.wd-stgy-flow-node-tools__operate {
margin-left: 14px;
}
.wd-stgy-flow-node-tools__operate .icon-tools__tips_close {
margin-right: 6px;
}
.wd-stgy-flow-node-tools .amplitude-input {
width: 192px;
transition: none;
}
.wd-stgy-flow-node-tools .amplitude-input-text {
width: 72px;
margin-left: 8px;
}
.wd-stgy-flow-node-tools .score-input {
width: 248px;
transition: none;
}
.wd-stgy-flow-node-tools .score-input.assembly-input {
width: 125px ;
}
.wd-stgy-flow-node-tools .day-input {
width: 360px;
}
.wd-stgy-flow-node-tools .between-input {
width: 85px;
}
.wd-stgy-flow-node-tools .tools-form-node {
min-width: 428px;
display: flex;
justify-content: center;
align-items: center;
}
.wd-stgy-flow-node-tools .first-input {
margin-left: 8px;
}
.wd-stgy-flow-node-tools .error-msg-box {
padding-bottom: 18px;
}
.wd-stgy-flow-node-tools .error-msg-box .form-item__input {
position: relative;
}
.wd-stgy-flow-node-tools .error-msg-box .form-item__input .form-item__input-error__text {
display: none;
position: absolute;
line-height: 18px;
text-wrap: nowrap;
}
.wd-stgy-flow-node-tools .error-msg-box .form-item__input.form-item__input-error .wd-input-affix-wrapper {
border-color: #f5222d;
}
.wd-stgy-flow-node-tools .error-msg-box .form-item__input.form-item__input-error .form-item__input-error__text {
display: block;
color: #f5222d;
font-size: 12px;
}
.wd-stgy-flow {
position: relative;
background-color: transparent;
width: 100%;
height: 100%;
box-sizing: border-box;
}
.wd-stgy-flow-gu .wd-stgy-flow-node-wrap-sell .wd-stgy-flow-node-wrap-header {
background-color: #f5222d;
}
.wd-stgy-flow-gu .wd-stgy-flow-node-wrap-sell:hover .wd-stgy-flow-node-wrap-header {
background-color: #F21D41;
}
.wd-stgy-flow-gu .wd-stgy-flow-node-wrap-buy .wd-stgy-flow-node-wrap-header {
background-color: #23BF70;
}
.wd-stgy-flow-gu .wd-stgy-flow-node-wrap-buy:hover .wd-stgy-flow-node-wrap-header {
background-color: #01A662;
}
.wd-stgy-flow-merge .node-insert,
.wd-stgy-flow-merge .node-shrink,
.wd-stgy-flow-merge .wd-stgy-flow-node-tools .icon-tools__edit {
color: #93BEFB;
cursor: not-allowed;
}
.wd-stgy-flow-merge .wd-stgy-flow-line {
cursor: not-allowed;
}
.wd-stgy-flow-merge .start-node {
cursor: not-allowed;
}
.wd-stgy-flow-merge .start-node .wd-stgy-flow-node-wrap {
pointer-events: none;
}
.wd-stgy-flow-readonly .wd-stgy-flow-node-wrap {
cursor: auto;
}
.wd-stgy-flow-view {
height: 100%;
}