@use '../../assets/styles/colors' as *;

@mixin prettifyCustomScroll() {
    :global(.uui-thumb-vertical), :global(.uui-thumb-horizontal) {
        background: $gray40;
        border-radius: 1.5px;

        &:hover {
            border-radius: 3px;
        }

        &:active {
            border-radius: 3px;
            background: $gray60;
        }
    }

    :global(.uui-thumb-vertical) {
        width: 3px;
        margin-left: 3px;

        &:hover {
            width: 6px;
            margin-left: 0;
        }

        &:active {
            width: 6px;
            margin-left: 0;
        }
    }

    :global(.uui-thumb-horizontal) {
        height: 3px;
        margin-top: 3px;

        &:hover {
            height: 6px;
            margin-top: 0;
        }

        &:active {
            height: 6px;
            margin-top: 0;
        }
    }
}
