Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_pre-loader.scss 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. /** =====================
  2. Pre-loader css start
  3. ========================== **/
  4. /*===== Loader1 =====*/
  5. .loader {
  6. margin: 18px auto;
  7. top: 65px;
  8. left: 65px;
  9. right: 0;
  10. width: 100px;
  11. height: 100px;
  12. position: relative;
  13. transform: translate(-50%, -50%);
  14. &.animation-start .circle {
  15. animation: rotating 2s ease-in-out infinite;
  16. }
  17. &.animation-stop .circle {
  18. animation-iteration-count: 1;
  19. }
  20. .circle {
  21. width: 50px;
  22. height: 50px;
  23. display: block;
  24. position: absolute;
  25. transform-origin: 50% 50%;
  26. animation-iteration-count: 0;
  27. }
  28. .circle:after {
  29. content: '';
  30. top: 0;
  31. left: 0;
  32. width: 10px;
  33. height: 10px;
  34. display: block;
  35. border-radius: 50%;
  36. transform: translate(-50%, -50%);
  37. background-color: #1abc9c;
  38. }
  39. .circle.delay-1 {
  40. animation-delay: 0.125s;
  41. }
  42. .circle.size-1:after {
  43. width: 11px;
  44. height: 11px;
  45. }
  46. .circle.delay-2 {
  47. animation-delay: 0.25s;
  48. }
  49. .circle.size-2:after {
  50. width: 12px;
  51. height: 12px;
  52. }
  53. .circle.delay-3 {
  54. animation-delay: 0.375s;
  55. }
  56. .circle.size-3:after {
  57. width: 13px;
  58. height: 13px;
  59. }
  60. .circle.delay-4 {
  61. animation-delay: 0.5s;
  62. }
  63. .circle.size-4:after {
  64. width: 14px;
  65. height: 14px;
  66. }
  67. .circle.delay-5 {
  68. animation-delay: 0.625s;
  69. }
  70. .circle.size-5:after {
  71. width: 15px;
  72. height: 15px;
  73. }
  74. .circle.delay-6 {
  75. animation-delay: 0.75s;
  76. }
  77. .circle.size-6:after {
  78. width: 16px;
  79. height: 16px;
  80. }
  81. .circle.delay-7 {
  82. animation-delay: 0.875s;
  83. }
  84. .circle.size-7:after {
  85. width: 17px;
  86. height: 17px;
  87. }
  88. .circle.delay-8 {
  89. animation-delay: 1s;
  90. }
  91. .circle.size-8:after {
  92. width: 18px;
  93. height: 18px;
  94. }
  95. .circle.delay-9 {
  96. animation-delay: 1.125s;
  97. }
  98. .circle.size-9:after {
  99. width: 19px;
  100. height: 19px;
  101. }
  102. .circle.delay-10 {
  103. animation-delay: 1.25s;
  104. }
  105. .circle.size-10:after {
  106. width: 20px;
  107. height: 20px;
  108. }
  109. .circle.delay-11 {
  110. animation-delay: 1.375s;
  111. }
  112. .circle.size-11:after {
  113. width: 21px;
  114. height: 21px;
  115. }
  116. .circle.delay-12 {
  117. animation-delay: 1.5s;
  118. }
  119. .circle.size-12:after {
  120. width: 22px;
  121. height: 22px;
  122. }
  123. }
  124. @keyframes rotating {
  125. 0% {
  126. transform: rotate(0deg);
  127. }
  128. 100% {
  129. transform: rotate(360deg);
  130. }
  131. }
  132. /*===== Loader2 =====*/
  133. #loader2 {
  134. width: 80px;
  135. height: 130px;
  136. display: block;
  137. transform-origin: 50% 50%;
  138. top: calc(50% - 50px);
  139. left: calc(50% - 50px);
  140. animation: spin 1s linear infinite;
  141. margin: 0 auto;
  142. }
  143. #circle-loader2 {
  144. fill: none;
  145. stroke: $primary-color;
  146. stroke-width: 4;
  147. animation: draw 3s ease-in-out infinite;
  148. }
  149. @keyframes draw {
  150. 0% {
  151. stroke-dasharray: 20, 282.6;
  152. }
  153. 50% {
  154. stroke-dasharray: 200, 282.6;
  155. }
  156. 100% {
  157. stroke-dasharray: 20, 282.6;
  158. }
  159. }
  160. @keyframes spin {
  161. to {
  162. transform: rotate(360deg);
  163. }
  164. }
  165. /*==== Loader3 ====*/
  166. .preloader3 {
  167. width: auto;
  168. height: 130px;
  169. text-align: center;
  170. font-size: 10px;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. > div {
  175. margin: 2px;
  176. background-color: $primary-color;
  177. height: 10px;
  178. width: 10px;
  179. border-radius: 50%;
  180. display: inline-block;
  181. -webkit-animation: stretchdelay 0.7s infinite ease-in-out;
  182. animation: stretchdelay 0.7s infinite ease-in-out;
  183. }
  184. .circ2 {
  185. -webkit-animation-delay: -0.6s;
  186. animation-delay: -0.6s;
  187. }
  188. .circ3 {
  189. -webkit-animation-delay: -0.5s;
  190. animation-delay: -0.5s;
  191. }
  192. .circ4 {
  193. -webkit-animation-delay: -0.4s;
  194. animation-delay: -0.4s;
  195. }
  196. .circ5 {
  197. -webkit-animation-delay: -0.3s;
  198. animation-delay: -0.3s;
  199. }
  200. .loader-md {
  201. height: 13px;
  202. width: 13px;
  203. }
  204. .loader-lg {
  205. height: 18px;
  206. width: 18px;
  207. }
  208. }
  209. @-webkit-keyframes stretchdelay {
  210. 0%,
  211. 40%,
  212. 100% {
  213. -webkit-transform: translateY(-10px)
  214. }
  215. 20% {
  216. -webkit-transform: translateY(-20px)
  217. }
  218. }
  219. @keyframes stretchdelay {
  220. 0%,
  221. 40%,
  222. 100% {
  223. transform: translateY(-10px);
  224. -webkit-transform: translateY(-10px);
  225. }
  226. 20% {
  227. transform: translateY(-20px);
  228. -webkit-transform: translateY(-20px);
  229. }
  230. }
  231. @keyframes rotateColor {
  232. 0% {
  233. border-top-color: #1b8bf9;
  234. }
  235. 12.5% {
  236. border-bottom-color: rgba(27, 139, 249, 0.8);
  237. }
  238. 25% {
  239. border-bottom-color: rgba(27, 139, 249, 0.6);
  240. }
  241. 37.5% {
  242. border-bottom-color: rgba(27, 139, 249, 0.4);
  243. }
  244. 50% {
  245. border-bottom-color: rgba(27, 139, 249, 0.6);
  246. }
  247. 50.00001% {
  248. border-bottom-color: #1b8bf9;
  249. }
  250. 62.5% {
  251. border-bottom-color: rgba(27, 139, 249, 0.8);
  252. }
  253. 75% {
  254. border-bottom-color: rgba(27, 139, 249, 0.6);
  255. }
  256. 87.5% {
  257. border-bottom-color: rgba(27, 139, 249, 0.4);
  258. }
  259. }
  260. /*===== Loader4 =====*/
  261. .preloader4 {
  262. width: 30px;
  263. height: 30px;
  264. position: relative;
  265. margin: 55px auto;
  266. }
  267. .double-bounce1,
  268. .double-bounce2 {
  269. width: 100%;
  270. height: 100%;
  271. border-radius: 50%;
  272. background-color: $primary-color;
  273. opacity: 0.6;
  274. position: absolute;
  275. top: 0;
  276. left: 0;
  277. -webkit-animation: bounce 2.0s infinite ease-in-out;
  278. animation: bounce 2.0s infinite ease-in-out;
  279. -webkit-animation-delay: -1.0s;
  280. animation-delay: -1.0s;
  281. }
  282. @-webkit-keyframes bounce {
  283. 0%,
  284. 100% {
  285. -webkit-transform: scale(0.0)
  286. }
  287. 50% {
  288. -webkit-transform: scale(1.0)
  289. }
  290. }
  291. @keyframes bounce {
  292. 0%,
  293. 100% {
  294. transform: scale(0.0);
  295. -webkit-transform: scale(0.0);
  296. }
  297. 50% {
  298. transform: scale(1.0);
  299. -webkit-transform: scale(1.0);
  300. }
  301. }
  302. /*===== Loader5 =====*/
  303. .preloader5 {
  304. margin: 55px 0;
  305. text-align: center;
  306. .circle-5 {
  307. display: inline-block;
  308. padding: 11px;
  309. margin: 0 0.6em;
  310. background: $primary-color;
  311. border-radius: 100%;
  312. }
  313. .l {
  314. -webkit-animation: pulse 2s infinite linear;
  315. animation: pulse 2s infinite linear;
  316. }
  317. .m {
  318. -webkit-animation: pulse 2s infinite linear;
  319. animation: pulse 2s infinite linear;
  320. -webkit-animation-delay: 0.3s;
  321. animation-delay: 0.3s;
  322. }
  323. .r {
  324. -webkit-animation: pulse 2s infinite linear;
  325. animation: pulse 2s infinite linear;
  326. -webkit-animation-delay: 0.6s;
  327. animation-delay: 0.6s;
  328. }
  329. }
  330. @-webkit-keyframes pulse {
  331. 10% {
  332. -webkit-transform: scale(1);
  333. transform: scale(1);
  334. }
  335. 20% {
  336. -webkit-transform: scale(1);
  337. transform: scale(1);
  338. }
  339. 30% {
  340. -webkit-transform: scale(1.7);
  341. transform: scale(1.7);
  342. }
  343. 50% {
  344. -webkit-transform: scale(1.7);
  345. transform: scale(1.7);
  346. }
  347. 70% {
  348. -webkit-transform: scale(1.7);
  349. transform: scale(1.7);
  350. }
  351. 80% {
  352. -webkit-transform: scale(1);
  353. transform: scale(1);
  354. }
  355. 90% {
  356. -webkit-transform: scale(1);
  357. transform: scale(1);
  358. }
  359. 100% {
  360. -webkit-transform: scale(1);
  361. transform: scale(1);
  362. }
  363. }
  364. @keyframes pulse {
  365. 10% {
  366. -webkit-transform: scale(1);
  367. transform: scale(1);
  368. }
  369. 20% {
  370. -webkit-transform: scale(1);
  371. transform: scale(1);
  372. }
  373. 30% {
  374. -webkit-transform: scale(1.7);
  375. transform: scale(1.7);
  376. }
  377. 50% {
  378. -webkit-transform: scale(1.7);
  379. transform: scale(1.7);
  380. }
  381. 70% {
  382. -webkit-transform: scale(1.7);
  383. transform: scale(1.7);
  384. }
  385. 80% {
  386. -webkit-transform: scale(1);
  387. transform: scale(1);
  388. }
  389. 90% {
  390. -webkit-transform: scale(1);
  391. transform: scale(1);
  392. }
  393. 100% {
  394. -webkit-transform: scale(1);
  395. transform: scale(1);
  396. }
  397. }
  398. /*===== Loader6 =====*/
  399. .preloader6 {
  400. border-radius: 100%;
  401. width: 100px;
  402. height: 100px;
  403. position: relative;
  404. overflow: hidden;
  405. z-index: 1;
  406. background: inherit;
  407. margin: 18px 0;
  408. }
  409. .preloader6 hr {
  410. border: 0;
  411. background: inherit;
  412. width: 80%;
  413. height: 80%;
  414. margin: 10%;
  415. border-radius: 100%;
  416. }
  417. .preloader6::before,
  418. .preloader6::after,
  419. .preloader6 hr::before,
  420. .preloader6 hr::after {
  421. content: '';
  422. position: absolute;
  423. top: 0;
  424. z-index: -1;
  425. left: 33px;
  426. border: 17px solid transparent;
  427. border-bottom: 50px solid $primary-color;
  428. border-top: 50px solid $primary-color;
  429. animation: rotateColor 1000ms infinite;
  430. }
  431. .preloader6::after {
  432. transform: rotate(45deg);
  433. animation-delay: 125ms;
  434. }
  435. .preloader6 hr::before {
  436. transform: rotate(90deg);
  437. animation-delay: 250ms;
  438. }
  439. .preloader6 hr::after {
  440. transform: rotate(135deg);
  441. animation-delay: 375ms;
  442. }
  443. .loader-block,
  444. .loader {
  445. display: flex;
  446. align-items: center;
  447. justify-content: center;
  448. }
  449. @keyframes rotateColor {
  450. 0% {
  451. border-top-color: rgba(26, 188, 156, 1)
  452. }
  453. 12.5% {
  454. border-bottom-color: rgba(26, 188, 156, 0.8)
  455. }
  456. 25% {
  457. border-bottom-color: rgba(26, 188, 156, 0.6)
  458. }
  459. 37.5% {
  460. border-bottom-color: rgba(26, 188, 156, 0.4)
  461. }
  462. 50% {
  463. border-bottom-color: rgba(26, 188, 156, 0.6)
  464. }
  465. 50.00001% {
  466. border-bottom-color: rgba(26, 188, 156, 1);
  467. }
  468. 62.5% {
  469. border-bottom-color: rgba(26, 188, 156, 0.8);
  470. }
  471. 75% {
  472. border-bottom-color: rgba(26, 188, 156, 0.6);
  473. }
  474. 87.5% {
  475. border-bottom-color: rgba(26, 188, 156, 0.4);
  476. }
  477. }
  478. /*========= Pre-loader css end ============*/