@import '@/style/color.less';
.custom-global-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 240, 240, 0.2);
  .loader {
    border-top: 0.3em solid rgba(0, 0, 0, 0.1);
    border-right: 0.3em solid rgba(0, 0, 0, 0.1);
    border-bottom: 0.3em solid rgba(0, 0, 0, 0.1);
    border-left: 0.3em solid @global-color-1;
    -moz-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateY(40%);
    -moz-animation: loader 600ms infinite linear;
    -webkit-animation: loader 600ms infinite linear;
    animation: loader 600ms infinite linear;
    -moz-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
    z-index: 9999;
  }
  .loader,
  .loader:after {
    border-radius: 50%;
    width: 2em;
    height: 2em;
  }
  > span {
    position: absolute;
    top: 45%;
    margin-left: -7px;
    font-weight: 400;
    font-size: 14px;
    color: #595959;
  }
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border-left: 0.3em solid @global-color-1;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border-left: 0.3em solid @global-color-1;
  }
}
@-moz-keyframes loader {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    border-left: 0.3em solid @global-color-1;
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
    border-left: 0.3em solid @global-color-1;
  }
}
@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border-left: 0.3em solid @global-color-1;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border-left: 0.3em solid @global-color-1;
  }
}
