index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!DOCTYPE html>
  2. <html lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <link rel="ico" href="<%= BASE_URL %>favicon.ico">
  8. <title>
  9. <%= htmlWebpackPlugin.options.title %>
  10. </title>
  11. <style>
  12. * {
  13. margin: 0;
  14. padding: 0;
  15. }
  16. .loadingSpinn {
  17. height: 100vh;
  18. display: flex;
  19. align-items: center;
  20. justify-content: center;
  21. }
  22. .atom-spinner,
  23. .atom-spinner * {
  24. box-sizing: border-box;
  25. }
  26. .atom-spinner {
  27. height:100px;
  28. width: 100px;
  29. overflow: hidden;
  30. }
  31. .atom-spinner .spinner-inner {
  32. position: relative;
  33. display: block;
  34. height: 100%;
  35. width: 100%;
  36. }
  37. .atom-spinner .spinner-circle {
  38. display: block;
  39. position: absolute;
  40. color: #409eff;
  41. font-size: calc(60px * 0.24);
  42. top: 50%;
  43. left: 50%;
  44. transform: translate(-50%, -50%);
  45. }
  46. .atom-spinner .spinner-line {
  47. position: absolute;
  48. width: 100%;
  49. height: 100%;
  50. border-radius: 50%;
  51. animation-duration: 1s;
  52. border-left-width: calc(60px / 25);
  53. border-top-width: calc(60px / 25);
  54. border-left-color: #409eff;
  55. border-left-style: solid;
  56. border-top-style: solid;
  57. border-top-color: transparent;
  58. }
  59. .atom-spinner .spinner-line:nth-child(1) {
  60. animation: atom-spinner-animation-1 1s linear infinite;
  61. transform: rotateZ(120deg) rotateX(66deg) rotateZ(0deg);
  62. }
  63. .atom-spinner .spinner-line:nth-child(2) {
  64. animation: atom-spinner-animation-2 1s linear infinite;
  65. transform: rotateZ(240deg) rotateX(66deg) rotateZ(0deg);
  66. }
  67. .atom-spinner .spinner-line:nth-child(3) {
  68. animation: atom-spinner-animation-3 1s linear infinite;
  69. transform: rotateZ(360deg) rotateX(66deg) rotateZ(0deg);
  70. }
  71. @keyframes atom-spinner-animation-1 {
  72. 100% {
  73. transform: rotateZ(120deg) rotateX(66deg) rotateZ(360deg);
  74. }
  75. }
  76. @keyframes atom-spinner-animation-2 {
  77. 100% {
  78. transform: rotateZ(240deg) rotateX(66deg) rotateZ(360deg);
  79. }
  80. }
  81. @keyframes atom-spinner-animation-3 {
  82. 100% {
  83. transform: rotateZ(360deg) rotateX(66deg) rotateZ(360deg);
  84. }
  85. }
  86. </style>
  87. </head>
  88. <body>
  89. <noscript>
  90. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript
  91. enabled.Please enable it to continue.</strong>
  92. </noscript>
  93. <div id="app">
  94. <div class="loadingSpinn">
  95. <div class="atom-spinner">
  96. <div class="spinner-inner">
  97. <div class="spinner-line"></div>
  98. <div class="spinner-line"></div>
  99. <div class="spinner-line"></div>
  100. <!--Chrome renders little circles malformed :(-->
  101. <div class="spinner-circle">
  102. &#9679;
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <!-- built files will be auto injected -->
  109. </body>
  110. </html>