@mixin prettifyCustomScroll() {
    :global(.uui-shadow-top)::before {
        background: var(--scroll-bars-shadow);
    }

    :global(.uui-shadow-bottom)::after {
        background: var(--scroll-bars-shadow);
    }

    :global(.uui-thumb-vertical), :global(.uui-thumb-horizontal) {
        background: var(--uui-scroll-bars-bg);
        border-radius: 1.5px;

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

        &:active {
            border-radius: 3px;
            background: var(--uui-scroll-bars-bg-active);
        }
    }

    :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;
        }
    }
}
