// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@import "refactor/common-refactor.scss";

.value-saturation-selector {
  background-color: rgba(var(--hue-rgb));
  position: relative;
  height: $s-140;
  width: $s-256;
  margin-top: $s-12;
  margin-bottom: $s-12;
  cursor: pointer;

  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  }

  &::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  }
}

.handler {
  @extend .colorpicker-handler;
  height: $s-16;
  width: $s-16;
  border: $s-2 solid var(--colorpicker-handlers-color);
}

.shade-selector {
  display: flex;
  gap: $s-4;
  height: $s-52;
  cursor: pointer;
}

.sliders-wrapper {
  @include flexColumn;
}
