@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ant-spin {
  color: @primary-color;
  .ant-spin-dot {
    font-size: 26px;
  }
  &.ant-spin-show-text {
    display: flex;
    .ant-spin-text {
      padding-left: 6px;
      line-height: 26px;
    }
  }
  .loading-gif {
    width: 92px;
    height: 136px;
  }
}
.ant-spin-lg {
  .ant-spin-dot {
    font-size: 36px;
  }
  &.ant-spin-show-text {
    .ant-spin-text {
      font-size: 16px;
      padding-left: 10px;
      line-height: 36px;
    }
  }
  .loading-gif {
    width: 120px;
    height: 168px;
  }
}
.ant-spin-sm {
  .ant-spin-dot {
    font-size: 16px;
  }
  &.ant-spin-show-text {
    .ant-spin-text {
      font-size: 12px;
      line-height: 16px;
    }
  }
  .loading-gif {
    width: 80px;
    height: 118px;
  }
}
.loading-transition {
  position: relative;
  background: conic-gradient(from 90deg at 50% 50%, rgba(255, 255, 255, 0.0001) 0deg, @primary-color 360deg);
  border-radius: 50%;
  mask: radial-gradient(transparent, transparent 49%, #000 0px);
  -webkit-mask: radial-gradient(transparent, transparent 49%, #000 0px);
  -moz-mask: radial-gradient(transparent, transparent 49%, #000 0px);
  animation: spin 1s linear infinite;
}