.drag-box {
  height: 400px;
  width: 400px;
  padding-top: 60px;
  user-select: none;
  position: absolute;
  z-index: 1000;
  
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);

  .horn {
    width: 14px;
    height: 14px;
    /* background-color: red; */
    position: absolute;
  }

  .vertical {
    width: 10px;
    height: calc(100% - 14px);
    margin: 7px 0px;
    position: absolute;
    /* background-color: #000; */
    cursor: col-resize;
    z-index: 3;
  }

  .horizontal {
    width: calc(100% - 14px);
    height: 10px;
    margin: 0px 7px;
    position: absolute;
    /* background-color: #000; */
    cursor: row-resize;
    z-index: 3;
  }

  .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
  }

  .drag-header {
    width: 100%;
    height: 60px;
    line-height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    background: #0d1c2e;
    cursor: all-scroll;
    z-index: 2;
    display: flex;
    text-align: center;
    position: absolute;
    font-weight: bold;

    h3 {
      color: #fff;
      width: 100%;
      line-height: 1;
    }

    .drag-btns {
      height: 100%;
      display: flex;
      position: absolute;
      top: 0;
      right: 0;
      align-items: center;

      .drag-btn {
        margin: 0 10px;
        display: block;
        width: 20px;
        height: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        cursor: pointer;
      }

      .icon-zoom-out {
        background-image: url('@/Project/assets/zoom-out.svg');
      }

      .icon-zoom-in {
        background-image: url('@/Project/assets/zoom-in.svg');
      }

      .icon-close {
        background-image: url('@/Project/assets/close.svg');
      }
    }
  }

  .drag-content {
    width: 100%;
    height: 100%;
    user-select: none;
    overflow: auto;
  }

  .top {
    top: -5px;
    left: 0;
  }

  .left {
    top: 0;
    left: -5px;
  }

  .bottom {
    left: 0;
    bottom: -5px;
  }

  .right {
    top: 0;
    right: -5px;
  }

  .leftTop {
    cursor: nw-resize;
    left: -7px;
    top: -7px;
  }

  .rightTop {
    cursor: ne-resize;
    right: -7px;
    top: -7px;
  }

  .leftBottom {
    cursor: sw-resize;
    bottom: -7px;
    left: -7px;
  }

  .rightBottom {
    cursor: se-resize;
    right: -7px;
    bottom: -7px;
  }
}