king
2024-03-26 7da23c8a73681703f42c4c5a4c907dc17acf8b8f
src/tabviews/custom/components/chart/antv-X6/index.scss
@@ -7,9 +7,10 @@
  background-size: cover;
  
  .mk-toolbar {
    position: relative;
    width: 100%;
    height: 40px;
    border: 1px solid #1890ff;
    border-bottom: 1px solid #dfe3e8;
    .left-tool {
      float: left;
@@ -20,13 +21,22 @@
        cursor: pointer;
      }
    }
    .flow-name {
      position: absolute;
      left: 50%;
      top: 6px;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.85);
      transform: translateX(-50%);
    }
    .right-tool {
      float: right;
      line-height: 40px;
      .anticon {
        margin: 0 10px;
        font-size: 16px;
        font-size: 22px;
        cursor: pointer;
        vertical-align: middle;
      }
    }
  }
@@ -81,20 +91,6 @@
        border: 1px solid rgba(0, 0, 0, 0.07);
        background: rgba(0, 0, 0, 0);
      }
      .tool-control {
        position: absolute;
        right: -13px;
        top: 5px;
        z-index: 3;
        background: #ffffff;
        width: 25px;
        height: 25px;
        border: 1px solid #d8d8d8;
        border-radius: 30px;
        text-align: center;
        line-height: 25px;
        cursor: pointer;
      }
      .x6-widget-stencil-group[data-name="group3"] {
        .x6-graph-svg {
@@ -110,19 +106,6 @@
          text {
            transform: matrix(1,0,0,1,85,18)!important;
          }
        }
      }
    }
    .mk-stencil.merge {
      width: 0px;
      min-width: 0px;
      .tool-control {
        right: -25px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        .anticon-double-left {
          transform: rotate(180deg);
        }
      }
    }
@@ -152,37 +135,6 @@
        padding-top: 20px;
        overflow-x: hidden;
        white-space: nowrap;
      }
      .tool-control {
        position: absolute;
        left: -13px;
        top: 5px;
        z-index: 3;
        background: #ffffff;
        width: 25px;
        height: 25px;
        border: 1px solid #d8d8d8;
        border-radius: 30px;
        text-align: center;
        line-height: 25px;
        cursor: pointer;
        .anticon-double-left {
          transform: rotate(180deg);
        }
      }
    }
    .mk-node-edit.merge {
      width: 0px;
      min-width: 0px;
      .tool-control {
        left: -25px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        .anticon-double-left {
          transform: rotate(0deg);
        }
      }
    }
@@ -223,6 +175,22 @@
      opacity: 0;
    }
  }
  .only-show {
    .x6-port {
      display: none;
    }
    .x6-cell.x6-edge {
      cursor: default;
      path {
        cursor: default;
      }
    }
  }
  .only-show.switchable {
    .x6-cell.x6-node:not([data-shape="lane"]):not([data-shape="mk-text"]) {
      cursor: pointer;
    }
  }
  .chart-header {
    position: relative;
@@ -242,4 +210,24 @@
      z-index: 1;
    }
  }
  .loading-mask {
    position: absolute;
    left: 0px;
    top: 0;
    right: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    z-index: 3;
    .ant-spin-blur {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0.5;
      background: #ffffff;
    }
  }
}