loading.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .ba-splash {
  2. position: absolute;
  3. height: 100%;
  4. width: 100%;
  5. background-color: white;
  6. }
  7. .ba-splash .ba-splash-loading {
  8. position: absolute;
  9. top: calc(50% - 33px);
  10. left: calc(50% - 33px);
  11. }
  12. @keyframes ba-common-progressIndicator_dash {
  13. 0%, 100% {
  14. stroke-dashoffset: 9.7px;
  15. }
  16. 60% {
  17. stroke-dashoffset: 113.52px;
  18. }
  19. }
  20. @keyframes ba-common-progressIndicator_rotate {
  21. 0% {
  22. transform: rotate(300deg);
  23. }
  24. 60% {
  25. transform: rotate(1320deg);
  26. }
  27. 100% {
  28. transform: rotate(2100deg);
  29. }
  30. }
  31. .ba-common-progressIndicator.is-circle {
  32. vertical-align: middle;
  33. display: inline-block;
  34. }
  35. .ba-common-progressIndicator.is-circle circle {
  36. fill: transparent;
  37. }
  38. .ba-common-progressIndicator.is-circle.is-large {
  39. width: 60px;
  40. height: 60px;
  41. }
  42. .ba-common-progressIndicator.is-circle svg circle {
  43. stroke-width: 6px;
  44. stroke-dasharray: 125px;
  45. }
  46. .ba-common-progressIndicator.is-circle svg {
  47. width: 100%;
  48. height: 100%;
  49. transform-origin: center center;
  50. transform: translateZ(0) rotate(300deg);
  51. animation: ba-common-progressIndicator_rotate 4s ease-out infinite;
  52. }
  53. .ba-common-progressIndicator.is-circle circle {
  54. stroke-dashoffset: 9.7px;
  55. animation: ba-common-progressIndicator_dash 4s ease-out infinite;
  56. }
  57. .ba-common-progressIndicator.is-circle circle {
  58. stroke: #1f57a4;
  59. }
  60. .ba-common-progressIndicator.is-circle circle.is-background {
  61. stroke: rgba(0, 0, 0, 0.1);
  62. }
  63. @media screen and (-ms-high-contrast: active) {
  64. .ba-common-progressIndicator.is-circle circle {
  65. stroke: #cddef5;
  66. }
  67. }