.k-flow {
  @extend %grid-bg;
  overflow: hidden;
  position: relative;
  height: 100%;
  .canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 18000px;
    height: 18000px;
  }
  &:focus {
    outline: none;
  }
  .shape {
    position: relative;
    text-align: center;
    width: 60px;
    line-height: 60px;
    cursor: pointer;
    height: 80px;
    &:hover {
      .path {
        fill: #E6E9ED;
      }
    }
    .svg {
      width: 100%;
      height: 100%;
      position: relative;
    }
    .path {
      fill: #fff;
      stroke-width: 1px;
    }
  }
  .tool {
    position: absolute;
    left: -300px;
    top: -300px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.01);
    //background: #0FA1FD;
    .op {
      width: 60px;
      top: -1px;
      border: 1px solid #ddd;
      left: 50%;
      position: absolute;
      span {
        display: block;
        height: 30px;
        background: #fff;
        cursor: pointer;
        text-align: center;
        line-height: 30px;
        &:hover {
          background: $primary;
          color: #fff;
        }
      }
    }
    .ui-resizable-se, .ui-resizable-sw, .ui-resizable-ne, .ui-resizable-nw {
      background: $todo_red;
      border-radius: 50%;
      opacity: .5;
      &:hover {
        opacity: 1;
      }
    }
    .l1, .l2, .l3, .l4 {
      border-radius: 50%;
      position: absolute;
      background: #222;
      opacity: 0.4;
      z-index: 91;
      cursor: pointer;
      width: 8px;
      height: 8px;
      &:hover {
        opacity: 1;
      }
    }
    .l1 {
      left: calc(50% - 4px);
      top: -4px;
    }
    .l2 {
      left: calc(100% - 4px);
      top: calc(50% - 4px);
    }
    .l3 {
      left: calc(50% - 4px);
      top: calc(100% - 4px);
    }
    .l4 {
      left: -4px;
      top: calc(50% - 4px);
    }
  }
}