
@sash-width: 5px;

.@{ns}-Table{
  &-viewPort-right{
    border-left: @sash-width solid #e8e8e8;
    display: flex;
    flex-direction: row;
  }

  &-sash-container{
    position: absolute;
    left: -@sash-width;
    width: @sash-width;
    height: 100%;
    pointer-events: none;
    user-select: none;

    .code-sash-mask{
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      z-index: 30;

      &.maskShow{
        pointer-events: auto;

        &.vertical{
          cursor: col-resize;// ew-resize

          &.minimum{
            cursor: e-resize;
          }
          &.maximum{
            cursor: w-resize;
          }
        }
      }
    }

    .code-sash{
      position: absolute;
      z-index: 35;
      touch-action: none;
      pointer-events: auto;
      user-select: none;
      &::before{
        content: "";
        pointer-events: none;
        position: absolute;
        width: 100%;
        height: 100%;
        transition: background-color .1s ease-out;
        background: transparent;
        user-select: none;
      }
      &:hover, &.active{
        &::before{
          background: var(--primary-color);
        }
      }
      &.vertical{
        cursor: col-resize;// ew-resize
        top: 0;
        width: @sash-width;
        height: 100%;
        &::before{
          width: @sash-width;
        }
        &.minimum{
          cursor: e-resize;
        }
        &.maximum{
          cursor: w-resize;
        }
      }

      &.horizontal{
        cursor: row-resize;// ew-resize
        left: 0;
        width: 100%;
        height: @sash-width;
        &::before{
          top: calc(50% - @sash-width/2);
          height: @sash-width;
        }
        &.minimum{
          cursor: s-resize;
        }
        &.maximum{
          cursor: n-resize;
        }
      }
    }
  }

  &-row-info-box{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
  }
}
