/*加载中*/
.s-loading {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  user-select: none;
  background-color: $s-loading-background-color;
  &.is--visible {
    display: block;
  }
  .s-loading--spinner {
    width: 56px;
    height: 56px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    &:before,
    &:after {
      content: "";
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: $s-primary-color;
      opacity: 0.6;
      position: absolute;
      top: 0;
      left: 0;
      animation: bounce 2.0s infinite ease-in-out;
    }
    &:after {
      animation-delay: -1.0s;
    }
  }
  @keyframes bounce {
    0%, 100% {
      transform: scale(0);
    } 50% {
      transform: scale(1);
    }
  }

  .s-table--jump {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    span {
      font-size: 30px;
      font-weight: 800;
      font-family: 'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',SimSun,sans-serif;
      color: #ffffff;
      position: relative;
      text-shadow: 0 10px 10px rgba(0,0,0,0.4);
      top: 20px;
      animation: jump 0.3s ease infinite alternate;
      @for $i from 2 through 20
      {
        &:nth-child(#{$i})
        {
          animation-delay: (0.1s * $i - 0.1);
        }
      }
    }
    @keyframes jump {
      100% {
        top: -10px;
        text-shadow: 0 50px 25px rgba(0,0,0,0.2);
      }
    }
  }
}

.size--mini {
  .s-loading {
    .s-loading--spinner {
      width: 38px;
      height: 38px;
    }
  }
}
.size--small {
  .s-loading {
    .s-loading--spinner {
      width: 44px;
      height: 44px;
    }
  }
}
.size--medium {
  .s-loading {
    .s-loading--spinner {
      width: 50px;
      height: 50px;
    }
  }
}