/*
 * Copyright (c) 2018 dunnhumby Germany GmbH.
 * All rights reserved.
 *
 * This source code is licensed under the MIT license found in the LICENSE file
 * in the root directory of this source tree.
 *
 */

@import "../proto/base.css";

:root {
  --trackThickness: 5px;
  --thumbColor: var(--PC-GREY--L25);
  --trackColor: var(--PC-GREY--L90);
  --thumbMinSize: 20px;
}

.default {
  width: 100%;
  height: 100%;
  background: var(--trackColor);

  .thumb {
    position: absolute;
    background: var(--thumbColor);
  }
}

.orientation__horizontal {
  height: var(--trackThickness);

  .thumb {
    top: 0;
    bottom: 0;
    min-width: var(--thumbMinSize);
  }
}

.orientation__vertical {
  width: var(--trackThickness);

  .thumb {
    left: 0;
    right: 0;
    min-height: var(--thumbMinSize);
  }
}
