line-spin-fade-loader.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. @-webkit-keyframes line-spin-fade-loader {
  5. 50% {
  6. opacity: 0.3;
  7. }
  8. 100% {
  9. opacity: 1;
  10. }
  11. }
  12. @keyframes line-spin-fade-loader {
  13. 50% {
  14. opacity: 0.3;
  15. }
  16. 100% {
  17. opacity: 1;
  18. }
  19. }
  20. .line-spin-fade-loader {
  21. position: relative;
  22. top: -10px;
  23. left: -4px;
  24. }
  25. .line-spin-fade-loader > div:nth-child(1) {
  26. top: 20px;
  27. left: 0;
  28. -webkit-animation: line-spin-fade-loader 1.2s -0.84s infinite ease-in-out;
  29. animation: line-spin-fade-loader 1.2s -0.84s infinite ease-in-out;
  30. }
  31. .line-spin-fade-loader > div:nth-child(2) {
  32. top: 13.6363636364px;
  33. left: 13.6363636364px;
  34. transform: rotate(-45deg);
  35. -webkit-animation: line-spin-fade-loader 1.2s -0.72s infinite ease-in-out;
  36. animation: line-spin-fade-loader 1.2s -0.72s infinite ease-in-out;
  37. }
  38. .line-spin-fade-loader > div:nth-child(3) {
  39. top: 0;
  40. left: 20px;
  41. transform: rotate(90deg);
  42. -webkit-animation: line-spin-fade-loader 1.2s -0.6s infinite ease-in-out;
  43. animation: line-spin-fade-loader 1.2s -0.6s infinite ease-in-out;
  44. }
  45. .line-spin-fade-loader > div:nth-child(4) {
  46. top: -13.6363636364px;
  47. left: 13.6363636364px;
  48. transform: rotate(45deg);
  49. -webkit-animation: line-spin-fade-loader 1.2s -0.48s infinite ease-in-out;
  50. animation: line-spin-fade-loader 1.2s -0.48s infinite ease-in-out;
  51. }
  52. .line-spin-fade-loader > div:nth-child(5) {
  53. top: -20px;
  54. left: 0;
  55. -webkit-animation: line-spin-fade-loader 1.2s -0.36s infinite ease-in-out;
  56. animation: line-spin-fade-loader 1.2s -0.36s infinite ease-in-out;
  57. }
  58. .line-spin-fade-loader > div:nth-child(6) {
  59. top: -13.6363636364px;
  60. left: -13.6363636364px;
  61. transform: rotate(-45deg);
  62. -webkit-animation: line-spin-fade-loader 1.2s -0.24s infinite ease-in-out;
  63. animation: line-spin-fade-loader 1.2s -0.24s infinite ease-in-out;
  64. }
  65. .line-spin-fade-loader > div:nth-child(7) {
  66. top: 0;
  67. left: -20px;
  68. transform: rotate(90deg);
  69. -webkit-animation: line-spin-fade-loader 1.2s -0.12s infinite ease-in-out;
  70. animation: line-spin-fade-loader 1.2s -0.12s infinite ease-in-out;
  71. }
  72. .line-spin-fade-loader > div:nth-child(8) {
  73. top: 13.6363636364px;
  74. left: -13.6363636364px;
  75. transform: rotate(45deg);
  76. -webkit-animation: line-spin-fade-loader 1.2s 0s infinite ease-in-out;
  77. animation: line-spin-fade-loader 1.2s 0s infinite ease-in-out;
  78. }
  79. .line-spin-fade-loader > div {
  80. background-color: #b8c2cc;
  81. width: 4px;
  82. height: 3.45rem;
  83. border-radius: 2px;
  84. margin: 2px;
  85. -webkit-animation-fill-mode: both;
  86. animation-fill-mode: both;
  87. position: absolute;
  88. width: 5px;
  89. height: 15px;
  90. }