@use "sass:math";
@use "variables" as *;

$size: $field-height-md;
$border-size: math.div($size, 5);

div {
    border-radius: 50%;
    width: $size;
    height: $size;
    display: inline-block;
    vertical-align: middle;
    font-size: $font-size-xs;
    position: relative;
    text-indent: -9999em;
    border: $border-size solid $color-palette-primary-op-20;
    border-left-color: $color-palette-primary;
    transform: translateZ(0);
    animation: load8 1.1s infinite linear;
    overflow: hidden;
}

.edit-page-variant-mode :host div {
    border: $border-size solid $color-palette-white-op-20;
    border-left-color: $color-palette-white-op-90;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
