indexLoading.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .p-index-loading {
  2. position: fixed;
  3. left: 0;
  4. top: 0;
  5. background-color: white;
  6. width: 100%;
  7. height: 100%;
  8. z-index: 9000;
  9. }
  10. .p-index-loading .p-index-loading-box {
  11. position: absolute;
  12. top: 50%;
  13. left: 50%;
  14. display: flex;
  15. justify-content: center;
  16. align-items: center;
  17. width: 200px;
  18. height: 50px;
  19. transform: translate(-100px, -60px);
  20. z-index: 2001;
  21. }
  22. .p-index-loading .p-index-loading-box .p-index-loading-list {
  23. border-radius: 4px;
  24. width: 6px;
  25. height: 100%;
  26. background-color: #0091ff;
  27. }
  28. .p-index-loading .p-index-loading-box .p-index-loading-list + .p-index-loading-list {
  29. margin-left: 4px;
  30. }
  31. .p-index-loading .p-index-loading-box .p-index-loading-list-1 {
  32. animation: indexLoading 0.8s ease-in-out 200ms infinite alternate;
  33. }
  34. .p-index-loading .p-index-loading-box .p-index-loading-list-2 {
  35. animation: indexLoading 0.8s ease-in-out 400ms infinite alternate;
  36. }
  37. .p-index-loading .p-index-loading-box .p-index-loading-list-3 {
  38. animation: indexLoading 0.8s ease-in-out 600ms infinite alternate;
  39. }
  40. .p-index-loading .p-index-loading-box .p-index-loading-list-4 {
  41. animation: indexLoading 0.8s ease-in-out 800ms infinite alternate;
  42. }
  43. .p-index-loading .p-index-loading-box .p-index-loading-list-5 {
  44. animation: indexLoading 0.8s ease-in-out 1000ms infinite alternate;
  45. }
  46. .p-index-loading .p-index-loading-box .p-index-loading-list-6 {
  47. animation: indexLoading 0.8s ease-in-out 1200ms infinite alternate;
  48. }
  49. @-moz-keyframes indexLoading {
  50. 0%,
  51. 100% {
  52. transform: scaleY(1);
  53. }
  54. 50% {
  55. transform: scaleY(0.4);
  56. }
  57. }
  58. @-webkit-keyframes indexLoading {
  59. 0%,
  60. 100% {
  61. transform: scaleY(1);
  62. }
  63. 50% {
  64. transform: scaleY(0.4);
  65. }
  66. }
  67. @-o-keyframes indexLoading {
  68. 0%,
  69. 100% {
  70. transform: scaleY(1);
  71. }
  72. 50% {
  73. transform: scaleY(0.4);
  74. }
  75. }
  76. @keyframes indexLoading {
  77. 0%,
  78. 100% {
  79. transform: scaleY(1);
  80. }
  81. 50% {
  82. transform: scaleY(0.4);
  83. }
  84. }