@keyframes spin {
    0% {
        transform: translateZ(0) rotate(0)
    }

    100% {
        transform: translateZ(0) rotate(360deg)
    }
}

.freeze-uis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background-color: #fff;
    opacity: .8;
    transition: opacity .25s
}

.freeze-uis.is-unfreezing {
    opacity: 0
}

.freeze-uis:after {
    content: attr(data-text);
    display: block;
    max-width: 125px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    font-family: sans-serif;
    color: #343a40;
    text-align: center;
    text-transform: uppercase
}

.freeze-uis:before {
    content: "";
    display: block;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: transparent #228ae6 #228ae6;
    position: absolute;
    top: calc(50% - 120px);
    left: calc(50% - 115px);
    will-change: transform;
    animation: spin .75s infinite ease-in-out
}