/*
 * adminbuilder.css
 *
 * Styles for adminbuilder tables that the page's own CSS framework doesn't cover.
 */

/* A lazy table that's loading another page, search or header link: adminbuilder.js sets aria-busy on the container
   for the request, and the table shown so far dims until the new one replaces it. The first load shows a spinner. */
.ab-lazy-table[aria-busy="true"] > :not(.ab-lazy-table-loading) {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .ab-lazy-table[aria-busy="true"] > :not(.ab-lazy-table-loading) {
        transition: none;
    }
}
