<div class="loader">
    <div class="inner">
        <div class="sk-wave sk-primary">
            <div class="sk-wave-rect"></div>
            <div class="sk-wave-rect"></div>
            <div class="sk-wave-rect"></div>
            <div class="sk-wave-rect"></div>
            <div class="sk-wave-rect"></div>
        </div>
    </div>
</div>

<style>
    .loader {
        width: calc(100% - 0px);
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999;
        background-color: rgba(255, 255, 255, 0.75);
        display: none;
    }

    html.dark-style .loader {
        background-color: rgba(0, 0, 0, 0.75) !important;
    }

    .loader .inner {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        position: relative;
    }

    .loader .inner .sk-wave {
        transform: scale(1.5);
    }
</style>
