loading.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. .loader {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. background-color: #161B29;
  8. transition: opacity .5s linear;
  9. z-index: 2050;
  10. display: flex;
  11. flex-flow: column;
  12. }
  13. .loader.is-done {
  14. opacity: 0;
  15. }
  16. .loader .logo {
  17. width: 200px;
  18. height: 200px;
  19. position: relative;
  20. margin: 0 auto;
  21. }
  22. @keyframes logo {
  23. 0%, 100% {
  24. box-shadow: 1px 1px 25px 10px rgba(146, 148, 248, 0.4);
  25. }
  26. 50% {
  27. box-shadow: none;
  28. }
  29. }
  30. .loader .intro {
  31. width: 250px;
  32. color: #fff;
  33. font-size: 1.5rem;
  34. text-align: center;
  35. margin: 3rem auto;
  36. display: inline-flex;
  37. justify-content: center;
  38. align-items: center;
  39. padding: 0.5rem 1rem;
  40. position: relative;
  41. overflow: hidden;
  42. border: 1px solid rgb(146, 148, 248);
  43. animation: intro 3s linear infinite
  44. }
  45. @keyframes intro {
  46. 0%, 100% {
  47. box-shadow: 0px 0px 25px 10px rgba(146, 148, 248, 0.4);
  48. }
  49. 40%, 60% {
  50. box-shadow: 0px 0px 25px 0px rgba(146, 148, 248, 0.4);
  51. }
  52. }
  53. .loader .intro:before {
  54. content: "";
  55. position: absolute;
  56. top: 0;
  57. left: -100%;
  58. width: 100%;
  59. height: 100%;
  60. background: linear-gradient( 120deg, transparent, rgba(146, 148, 248, 0.4), transparent );
  61. animation: flash 2.5s linear infinite;
  62. }
  63. @keyframes flash {
  64. 0%, 100% {
  65. }
  66. 10%, 90% {
  67. left: 100%;
  68. }
  69. }
  70. .loader .intro img {
  71. border-radius: 3px;
  72. width: 40px;
  73. margin-right: 1rem;
  74. }
  75. .loader .intro span {
  76. color: #fff;
  77. animation: title 3s linear infinite;
  78. }
  79. @keyframes title {
  80. 0%, 100% {
  81. color: #fff;
  82. }
  83. 60% {
  84. color: #666;
  85. }
  86. }
  87. .loader .bar {
  88. width: 50%;
  89. height: 4px;
  90. border-radius: 2px;
  91. margin: auto;
  92. background: #E645D0;
  93. }
  94. .loader .bar .progress {
  95. width: 0%;
  96. height: 4px;
  97. margin: auto;
  98. background: #17E1E6;
  99. }
  100. .loader .logo {
  101. animation: logo 5s linear infinite;
  102. -moz-animation: logo 5s linear infinite;
  103. /* Firefox */
  104. -webkit-animation: logo 5s linear infinite;
  105. /* Safari and Chrome */
  106. -o-animation: logo 5s linear infinite;
  107. /* Opera */
  108. }
  109. @keyframes logo {
  110. from {
  111. transform: rotate(0deg);
  112. }
  113. to {
  114. transform: rotate(-360deg);
  115. }
  116. }
  117. .loader .progress {
  118. animation: progress 12s linear;
  119. -moz-animation: progress 12s linear;
  120. /* Firefox */
  121. -webkit-animation: progress 12s linear;
  122. /* Safari and Chrome */
  123. -o-animation: progress 12s linear;
  124. /* Opera */
  125. animation: progress 12s linear infinite;
  126. }
  127. @keyframes progress {
  128. 0%, 100% {
  129. width: 0%;
  130. background-color: #17e1e6;
  131. }
  132. 50% {
  133. width: 100%;
  134. background-color: #28a745;
  135. }
  136. }
  137. .loader .common {
  138. height: 5vw;
  139. max-height: 100%;
  140. overflow: auto;
  141. width: 2vw;
  142. margin: auto;
  143. max-width: 100%;
  144. position: absolute;
  145. border-radius: 0vw 10vw 0vw 10vw;
  146. box-shadow: inset 0vw 0vw 0vw .1vw #E645D0, 0vw 0vw 1.5vw 0vw #E645D0;
  147. }
  148. .loader .one {
  149. transform: rotate(45deg);
  150. left: 0;
  151. right: 0;
  152. top: 0;
  153. bottom: 7.5vw;
  154. }
  155. .loader .two {
  156. transform: rotate(90deg);
  157. left: 5.5vw;
  158. right: 0;
  159. top: 0;
  160. bottom: 5.5vw;
  161. }
  162. .loader .three {
  163. transform: rotate(135deg);
  164. left: 7.5vw;
  165. right: 0;
  166. top: 0;
  167. bottom: 0;
  168. }
  169. .loader .four {
  170. transform: rotate(180deg);
  171. left: 5.5vw;
  172. right: 0;
  173. top: 5.5vw;
  174. bottom: 0;
  175. }
  176. .loader .five {
  177. transform: rotate(225deg);
  178. left: 0;
  179. right: 0;
  180. top: 7.5vw;
  181. bottom: 0;
  182. }
  183. .loader .six {
  184. transform: rotate(270deg);
  185. left: 0;
  186. right: 5.5vw;
  187. top: 5.5vw;
  188. bottom: 0;
  189. }
  190. .loader .seven {
  191. transform: rotate(315deg);
  192. left: 0;
  193. right: 7.5vw;
  194. top: 0;
  195. bottom: 0;
  196. }
  197. .loader .eight {
  198. transform: rotate(360deg);
  199. left: 0;
  200. right: 5.5vw;
  201. top: 0;
  202. bottom: 5.5vw;
  203. }
  204. .loader .one {
  205. animation: one 1s ease infinite;
  206. -moz-animation: one 1s ease infinite;
  207. /* Firefox */
  208. -webkit-animation: one 1s ease infinite;
  209. /* Safari and Chrome */
  210. -o-animation: one 1s ease infinite;
  211. /* Opera */
  212. }
  213. @keyframes one {
  214. 0%, 100% {
  215. }
  216. 50% {
  217. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  218. }
  219. }
  220. .loader .two {
  221. animation: two 1s .125s ease infinite;
  222. -moz-animation: two 1s .125s ease infinite;
  223. /* Firefox */
  224. -webkit-animation: two 1s .125s ease infinite;
  225. /* Safari and Chrome */
  226. -o-animation: two 1s .125s ease infinite;
  227. /* Opera */
  228. }
  229. @keyframes two {
  230. 0%, 100% {
  231. }
  232. 50% {
  233. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  234. }
  235. }
  236. .loader .three {
  237. animation: three 1s .25s ease infinite;
  238. -moz-animation: three 1s .25s ease infinite;
  239. /* Firefox */
  240. -webkit-animation: three 1s .25s ease infinite;
  241. /* Safari and Chrome */
  242. -o-animation: three 1s .25s ease infinite;
  243. /* Opera */
  244. }
  245. @keyframes three {
  246. 0%, 100% {
  247. }
  248. 50% {
  249. background:;
  250. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  251. }
  252. }
  253. .loader .four {
  254. animation: four 1s .375s ease infinite;
  255. -moz-animation: four 1s .375s ease infinite;
  256. /* Firefox */
  257. -webkit-animation: four 1s .375s ease infinite;
  258. /* Safari and Chrome */
  259. -o-animation: four 1s .375s ease infinite;
  260. /* Opera */
  261. }
  262. @keyframes four {
  263. 0%, 100% {
  264. }
  265. 50% {
  266. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  267. }
  268. }
  269. .loader .five {
  270. animation: five 1s .5s ease infinite;
  271. -moz-animation: five 1s .5s ease infinite;
  272. /* Firefox */
  273. -webkit-animation: five 1s .5s ease infinite;
  274. /* Safari and Chrome */
  275. -o-animation: five 1s .5s ease infinite;
  276. /* Opera */
  277. }
  278. @keyframes five {
  279. 0%, 100% {
  280. }
  281. 50% {
  282. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  283. }
  284. }
  285. .loader .six {
  286. animation: six 1s .625s ease infinite;
  287. -moz-animation: six 1s .625s ease infinite;
  288. /* Firefox */
  289. -webkit-animation: six 1s .625s ease infinite;
  290. /* Safari and Chrome */
  291. -o-animation: six 1s .625s ease infinite;
  292. /* Opera */
  293. }
  294. @keyframes six {
  295. 0%, 100% {
  296. }
  297. 50% {
  298. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  299. }
  300. }
  301. .loader .seven {
  302. animation: seven 1s .750s ease infinite;
  303. -moz-animation: seven 1s .750s ease infinite;
  304. /* Firefox */
  305. -webkit-animation: seven 1s .750s ease infinite;
  306. /* Safari and Chrome */
  307. -o-animation: seven 1s .750s ease infinite;
  308. /* Opera */
  309. }
  310. @keyframes seven {
  311. 0%, 100% {
  312. }
  313. 50% {
  314. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  315. }
  316. }
  317. .loader .eight {
  318. animation: eight 1s .875s ease infinite;
  319. -moz-animation: eight 1s .875s ease infinite;
  320. /* Firefox */
  321. -webkit-animation: eight 1s .875s ease infinite;
  322. /* Safari and Chrome */
  323. -o-animation: eight 1s .875s ease infinite;
  324. /* Opera */
  325. }
  326. @keyframes eight {
  327. 0%, 100% {
  328. }
  329. 50% {
  330. box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
  331. }
  332. }
  333. @media (min-width: 768px) {
  334. .loader {
  335. padding-top: 8rem;
  336. }
  337. .loader .intro {
  338. margin-top: 6rem;
  339. }
  340. }