/* Compatibility rules for the static Odoo export. */
.o_animate {
    visibility: visible !important;
}

/*
 * Odoo normally pauses these animations and starts them when an element enters
 * view. The static export uses the same classes, with a lightweight local
 * controller supplying that missing behaviour.
 */
html.rixrax-animations-ready .o_animate:not(.o_animating):not(.o_animated) {
    visibility: hidden !important;
    animation-play-state: paused !important;
}

html.rixrax-animations-ready .o_animate.o_animating,
html.rixrax-animations-ready .o_animate.o_animated {
    visibility: visible !important;
    animation-play-state: running !important;
}

@media (prefers-reduced-motion: reduce) {
    html.rixrax-animations-ready .o_animate {
        visibility: visible !important;
        animation: none !important;
    }
}

/* The exported Odoo stylesheet encodes the Font Awesome cache query as a path. */
@font-face {
    font-family: "RixraxFontAwesome";
    src: url("/web/static/src/libs/fontawesome/fonts/fontawesome-webfont.woff2") format("woff2"),
         url("/web/static/src/libs/fontawesome/fonts/fontawesome-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.fa {
    font-family: "RixraxFontAwesome" !important;
}
