//
// Spinner animation styles
//

@keyframes spin
{
    to
    {
        -gtk-icon-transform: rotate(1turn);
    }
}

spinner
{
    background:       none;
    opacity:          0; // Non-spinning spinner makes no sense
    -gtk-icon-source: -gtk-icontheme('process-working-symbolic');

    &:backdrop
    {
        color: $backdrop_fg_color;
    }

    &:checked
    {
        opacity: 1;
        animation: spin 1s linear infinite;

        &:disabled
        {
            opacity: 0.5;
        }
    }
}
