//
// NoUiSlider
//


// Base
.noUi-target {
    border: 1px solid $input-border-color;
    background: $gray-100;
    box-shadow:none;

    &.noUi-horizontal {
        height: 15px;

        .noUi-handle {
            width: 24px;
            height: 24px;
            //left: -17px;
            top: -6px;
            border-radius: 50%;
            outline: none;

            &::before {
                display: none;
            }

            &::after {
                display: none;
            }
        }
    }

    &.noUi-vertical {
        height: 150px;
        width: 15px;

        .noUi-handle {
            width: 24px;
            height: 24px;
            top: -6px;
            border-radius: 50%;
            outline: none;

            &::before {
                display: none;
            }

            &::after {
                display: none;
            }
        }
    }

    .noUi-connect {
        background: $primary;
    }

    .noUi-handle {
        border: 1px solid $gray-200;
        box-shadow: 0 3px 6px -3px rgba(#000, 0.7);
    }

    // State colors
    &.nouislider {
        @each $name, $color in $theme-colors {
            &.nouislider-connect-#{$name} {
                .noUi-connect {
                    background: $color;
                }
            }

            &.nouislider-handle-#{$name} {
                .noUi-handle {
                    border: 0;
                    background: $color;
                    box-shadow: 0 3px 6px -3px $color;
                }
            }
        }
    }
}
