@import "../../../themes/default";

:global {
  .app-loader {
    //background-color: rgba(255, 255, 255, 0.64);
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    text-align: center;
  }

  .app-loader-fullScreen {
    position: fixed;
  }

  .app-loader-warpper {
    //width: 100px;
    //height: 100px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .app-loader-inner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    text-indent: -12345px;
    border: 3px solid @color-base-8;
    border-left-color: @color-base-70;
    border-radius: 50%;
    :local {
      animation: spinner 600ms infinite linear;
    }
    z-index: 100001;
  }

  .app-loader-text {
    width: 100px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 4px;
    color: #000;
  }

  .app-loader-hidden {
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease 0.5s, z-index 0.1s ease 1.5s;
  }

  @keyframes spinner {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
}