frontend/src/components/flow/style/flow-node.less

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@common-node-bg: #f4f6fc;
@common-node-bg-hover: #f4f6fcb0;
@common-node-active: #409EFF;

.common-circle-node {
    position: absolute;
    height: 50px;
    width: 100px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #777;
    border-radius: 100px;
    background-color: @common-node-bg;
    white-space: nowrap;
    &:hover{
        background-color: @common-node-bg-hover;
        z-index: 2;
    }

    &.active {
        outline: 2px dashed @common-node-active;
        outline-offset: 0px;
    }
}

.common-rectangle-node {
    position: absolute;
    height: 50px;
    width: 120px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #777;
    border-radius: 5px;
    background-color: @common-node-bg;
    white-space: nowrap;

    &:hover {
        background-color: @common-node-bg-hover;
        z-index: 2;
    }

    &.active {
        outline: 2px dashed @common-node-active;
        outline-offset: 0px;
    }
}

.common-diamond-node {
    position: absolute;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #777;
    border-radius: 3px;
    background-color: @common-node-bg;
    transform: rotate(45deg);
    white-space: nowrap;

    &:before {
后面还有 150 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。