crane-cloud/frontend

View on GitHub
src/components/Spinner/Spinner.css

Summary

Maintainability
Test Coverage
/*! SMALL SPINNER */
.SmallSpinnerWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.Spinner {
  border: 2px solid white;
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  border-top: 2px solid var(--secondary-color);
  animation: spin 600ms linear infinite;
}

.SpinnerBig {
  width: 2rem;
  height: 2rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}