@import "/UI/Style.scss";

Slider {
    height: 24px;
    position: relative;
    letter-spacing: 4px;
    cursor: pointer;

    .text {
        position: absolute;
        color: white;
        font-weight: bold;
        font-family: HabboExtended;
        letter-spacing: 1px;
        top: 4px;
        font-size: 20px;
    }

    .min {
        right: 100%;
        margin-right: 15px;
    }

    .max {
        left: 100%;
        margin-left: 15px;
    }

    .bg {
        width: 100%;
        transform: translateY(8px);
        height: 5px;
        background-color: $white;
        justify-content: space-between;
        opacity: 0.3;

        .spacer {
            width: 4px;
            height: 300%;
            transform: translateY(-33%);
            background-color: darken(white, 0.15);
        }
    }

    .knob {
        position: absolute;
        width: 10px;
        height: 24px;
        background-color: $white;
        transition: all 0.1s;
        transform: translateX(-50%);

        &:hover {
            cursor: pointer;
            sound-in: 'hover';
            transform: translateX(-50%) scale(1.1);
        }
    }
}