$pointer-size: 6px;

.main {
  position: relative;
  border-radius: 3px;

  &.saturation-background {
    background: linear-gradient(to bottom, transparent 0%, #000 100%),
    linear-gradient(to left, transparent 0%, #fff 100%);
  }

  .pointer {
    position: absolute;
    top: 0;
    left: 0;
    width: $pointer-size;
    height: $pointer-size;
    box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
    cursor: grab;
    border-radius: 50%;
    outline: none;

    &:active {
      cursor: grabbing;
    }

    &:focus {
      box-shadow: 0 0 0 2px #fff, inset 0 0 1px 1px #000, 0 0 1px 2px #000;
    }
  }
}