.SplitPane .Resizer {
  flex-shrink: 0;
  position: relative;

  &:hover {
    background: transparent;
    transition: all 0.2s ease;
  }

  &::before,
  &::after {
    background-color: map-deep-get($color-palette, 'neutral70');
    content: '';
    position: absolute;
  }

  &.vertical {
    cursor: ew-resize;
    margin: 0 5px;
    width: 4px;

    &::before,
    &::after {
      height: 40px;
      top: 50%;
      transform: translateY(-50%);
      transition: height 0.2s ease-in-out;
      width: 1px;
    }

    &::before {
      left: 0;
    }

    &::after {
      right: 1px;
    }

    &:hover {
      &::before,
      &::after {
        height: 80px;
      }
    }
  }

  &.horizontal {
    cursor: ns-resize;
    height: 4px;
    margin: 5px 0;

    &::before,
    &::after {
      height: 1px;
      left: 50%;
      transform: translateX(-50%);
      transition: width 0.2s ease-in-out;
      width: 40px;
    }

    &::before {
      top: 0;
    }

    &::after {
      bottom: 1px;
    }

    &:hover {
      &::before,
      &::after {
        width: 80px;
      }
    }
  }

  .Resizer--white {
    &::before,
    &::after {
      background-color: #fff;
    }
  }
}
