@import "../../styles/mixin";
.lg-loading-box {
  display: inline-block;
  color: #aaa;
}

.lg-loading-ring {
  vertical-align: middle;
  text-align: center;
}

.lg-loading-ring:before {
  content: "";
  display: block;
  background-image: url(//static.360buyimg.com/JDC_legao/widget/loading/i/loading1.png);
  background-repeat: no-repeat;
  width: 64px;
  height: 64px;
  -webkit-animation: rotate 1500ms linear infinite;
  animation: rotate 1500ms linear infinite;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: auto;
}

.lg-loading-s:before {
  width: 16px;
  height: 16px;
  background-image: url(//static.360buyimg.com/JDC_legao/widget/loading/i/loadings.png);
}

.lg-loading-m:before {
  width: 40px;
  height: 40px;
  background-image: url(//static.360buyimg.com/JDC_legao/widget/loading/i/loadingm.png);
}

.lg-loading-outer {
  width: 160px;
  height: 4px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.09);
  display: inline-block;
  margin-right: 8px;
}

.lg-loading-inner {
  height: 4px;
  border-radius: 32px;
  box-shadow: 0 1px 2px 0 rgba(0, 131, 255, 0.4);
  background-color: #0083ff;
}

.lg-loading-text {
  display: inline-block;
  vertical-align: middle;
}

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

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

.lg-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.35);
}

.lg-mask .lg-loading-box {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.example {
  position: relative;
  text-align: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 30px 50px;
  margin: 20px 0;
}
