loader.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. @charset "utf-8";
  2. body {
  3. margin-top: 10px;
  4. }
  5. .col-sm-2 {
  6. padding: 10px;
  7. border-radius: 4px;
  8. height: 125px;
  9. margin-bottom: 10px;
  10. }
  11. .sp {
  12. width: 32px;
  13. height: 32px;
  14. clear: both;
  15. margin: 20px auto;
  16. }
  17. /* Spinner Circle Rotation */
  18. .sp-circle {
  19. border: 4px rgba(0, 0, 0, 0.25) solid;
  20. border-top: 4px black solid;
  21. border-radius: 50%;
  22. -webkit-animation: spCircRot .6s infinite linear;
  23. animation: spCircRot .6s infinite linear;
  24. }
  25. @-webkit-keyframes spCircRot {
  26. from {
  27. -webkit-transform: rotate(0deg);
  28. }
  29. to {
  30. -webkit-transform: rotate(359deg);
  31. }
  32. }
  33. @keyframes spCircRot {
  34. from {
  35. transform: rotate(0deg);
  36. }
  37. to {
  38. transform: rotate(359deg);
  39. }
  40. }
  41. /* Spinner 3Balls Scale */
  42. .sp-3balls, .sp-3balls:before, .sp-3balls:after {
  43. border-radius: 50%;
  44. background-color: #000;
  45. width: 18px;
  46. height: 18px;
  47. transform-origin: center center;
  48. display: inline-block;
  49. }
  50. .sp-3balls {
  51. position: relative;
  52. background-color: black;
  53. opacity: 1;
  54. -webkit-animation: spScaleAlpha 1s infinite linear;
  55. animation: spScaleAlpha 1s infinite linear;
  56. }
  57. .sp-3balls:before, .sp-3balls:after {
  58. content: '';
  59. position: relative;
  60. opacity: 0.25;
  61. }
  62. .sp-3balls:before {
  63. left: 30px;
  64. top: 0px;
  65. -webkit-animation: spScaleAlphaBefore 1s infinite linear;
  66. animation: spScaleAlphaBefore 1s infinite linear;
  67. }
  68. .sp-3balls:after {
  69. left: -30px;
  70. top: -23px;
  71. -webkit-animation: spScaleAlphaAfter 1s infinite linear;
  72. animation: spScaleAlphaAfter 1s infinite linear;
  73. }
  74. @-webkit-keyframes spScaleAlpha {
  75. 0% {
  76. opacity: 1;
  77. }
  78. 33% {
  79. opacity: 0.25;
  80. }
  81. 66% {
  82. opacity: 0.25;
  83. }
  84. 100% {
  85. opacity: 1;
  86. }
  87. }
  88. @keyframes spScaleAlpha {
  89. 0% {
  90. opacity: 1;
  91. }
  92. 33% {
  93. opacity: 0.25;
  94. }
  95. 66% {
  96. opacity: 0.25;
  97. }
  98. 100% {
  99. opacity: 1;
  100. }
  101. }
  102. @-webkit-keyframes spScaleAlphaBefore {
  103. 0% {
  104. opacity: 0.25;
  105. }
  106. 33% {
  107. opacity: 1;
  108. }
  109. 66% {
  110. opacity: 0.25;
  111. }
  112. }
  113. @keyframes spScaleAlphaBefore {
  114. 0% {
  115. opacity: 0.25;
  116. }
  117. 33% {
  118. opacity: 1;
  119. }
  120. 66% {
  121. opacity: 0.25;
  122. }
  123. }
  124. @-webkit-keyframes spScaleAlphaAfter {
  125. 33% {
  126. opacity: 0.25;
  127. }
  128. 66% {
  129. opacity: 1;
  130. }
  131. 100% {
  132. opacity: 0.25;
  133. }
  134. }
  135. @keyframes spScaleAlphaAfter {
  136. 33% {
  137. opacity: 0.25;
  138. }
  139. 66% {
  140. opacity: 1;
  141. }
  142. 100% {
  143. opacity: 0.25;
  144. }
  145. }
  146. /* Spinner VolumeButton */
  147. .sp-volume {
  148. background-color: #000;
  149. border-radius: 50%;
  150. position: relative;
  151. -webkit-animation: spVolRot .6s infinite linear;
  152. animation: spVolRot .6s infinite linear;
  153. }
  154. .sp-volume:after {
  155. content: '';
  156. border-radius: 50%;
  157. position: absolute;
  158. display: block;
  159. width: 10px;
  160. height: 10px;
  161. left: 5px;
  162. top: 5px;
  163. background-color: white;
  164. }
  165. @-webkit-keyframes spVolRot {
  166. from {
  167. -webkit-transform: rotate(0deg);
  168. }
  169. to {
  170. -webkit-transform: rotate(359deg);
  171. }
  172. }
  173. @keyframes spVolRot {
  174. from {
  175. transform: rotate(0deg);
  176. }
  177. to {
  178. transform: rotate(359deg);
  179. }
  180. }
  181. /* Spinner Vortex */
  182. .sp-vortex {
  183. border: 1px #000 solid;
  184. border-radius: 4px;
  185. overflow: hidden;
  186. position: relative;
  187. }
  188. .sp-vortex:after, .sp-vortex:before {
  189. content: '';
  190. border-radius: 50%;
  191. position: absolute;
  192. width: inherit;
  193. height: inherit;
  194. -webkit-animation: spVortex 2s infinite linear;
  195. animation: spVortex 2s infinite linear;
  196. }
  197. .sp-vortex:before {
  198. border-top: 6px #000 solid;
  199. top: -3px;
  200. left: calc( -50% - 3px );
  201. transform-origin: right center;
  202. }
  203. .sp-vortex:after {
  204. border-bottom: 6px #000 solid;
  205. top: 3px;
  206. right: calc( -50% - 3px );
  207. transform-origin: left center;
  208. }
  209. @-webkit-keyframes spVortex {
  210. from {
  211. -webkit-transform: rotate(0deg);
  212. }
  213. to {
  214. -webkit-transform: rotate(359deg);
  215. }
  216. }
  217. @keyframes spVortex {
  218. from {
  219. transform: rotate(0deg);
  220. }
  221. to {
  222. transform: rotate(359deg);
  223. }
  224. }
  225. /* Spinner Slices */
  226. .sp.sp-slices {
  227. border-radius: 50%;
  228. border-top: 16px rgba(0, 0, 0, 0.75) solid;
  229. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  230. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  231. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  232. -webkit-animation: spSlices 1s infinite linear;
  233. animation: spSlices 1s infinite linear;
  234. }
  235. @-webkit-keyframes spSlices {
  236. 0% {
  237. border-top: 16px rgba(0, 0, 0, 0.75) solid;
  238. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  239. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  240. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  241. }
  242. 25% {
  243. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  244. border-right: 16px rgba(0, 0, 0, 0.75) solid;
  245. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  246. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  247. }
  248. 50% {
  249. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  250. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  251. border-bottom: 16px rgba(0, 0, 0, 0.75) solid;
  252. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  253. }
  254. 75% {
  255. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  256. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  257. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  258. border-left: 16px rgba(0, 0, 0, 0.75) solid;
  259. }
  260. 100% {
  261. border-top: 16px rgba(0, 0, 0, 0.75) solid;
  262. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  263. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  264. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  265. }
  266. }
  267. @keyframes spSlices {
  268. 0% {
  269. border-top: 16px rgba(0, 0, 0, 0.75) solid;
  270. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  271. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  272. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  273. }
  274. 25% {
  275. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  276. border-right: 16px rgba(0, 0, 0, 0.75) solid;
  277. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  278. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  279. }
  280. 50% {
  281. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  282. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  283. border-bottom: 16px rgba(0, 0, 0, 0.75) solid;
  284. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  285. }
  286. 75% {
  287. border-top: 16px rgba(0, 0, 0, 0.25) solid;
  288. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  289. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  290. border-left: 16px rgba(0, 0, 0, 0.75) solid;
  291. }
  292. 100% {
  293. border-top: 16px rgba(0, 0, 0, 0.75) solid;
  294. border-right: 16px rgba(0, 0, 0, 0.25) solid;
  295. border-bottom: 16px rgba(0, 0, 0, 0.25) solid;
  296. border-left: 16px rgba(0, 0, 0, 0.25) solid;
  297. }
  298. }
  299. /* Spinner Sphere */
  300. .sp-sphere {
  301. border-radius: 50%;
  302. border-left: 0px #000 solid;
  303. border-right: 0px #000 solid;
  304. -webkit-animation: spSphere 1s infinite linear;
  305. animation: spSphere 1s infinite linear;
  306. }
  307. @-webkit-keyframes spSphere {
  308. 0% {
  309. border-left: 0px #000 solid;
  310. border-right: 0px #000 solid;
  311. }
  312. 33% {
  313. border-left: 32px #000 solid;
  314. border-right: 0px #000 solid;
  315. }
  316. 34% {
  317. border-left: 0px #000 solid;
  318. border-right: 32px #000 solid;
  319. }
  320. 66% {
  321. border-left: 0px #000 solid;
  322. border-right: 0px #000 solid;
  323. }
  324. }
  325. @keyframes spSphere {
  326. 0% {
  327. border-left: 0px #000 solid;
  328. border-right: 0px #000 solid;
  329. }
  330. 33% {
  331. border-left: 32px #000 solid;
  332. border-right: 0px #000 solid;
  333. }
  334. 34% {
  335. border-left: 0px #000 solid;
  336. border-right: 32px #000 solid;
  337. }
  338. 66% {
  339. border-left: 0px #000 solid;
  340. border-right: 0px #000 solid;
  341. }
  342. }
  343. /* Spinner Bars */
  344. .sp-bars {
  345. position: relative;
  346. width: 10px;
  347. border: 1px #000 solid;
  348. background-color: rgba(0, 0, 0, 0.25);
  349. -webkit-animation: spBars 1s infinite linear;
  350. animation: spBars 1s infinite linear;
  351. }
  352. .sp-bars:after, .sp-bars:before {
  353. content: '';
  354. position: absolute;
  355. width: inherit;
  356. height: inherit;
  357. border: inherit;
  358. background-color: inherit;
  359. top: -1px;
  360. }
  361. .sp-bars:before {
  362. left: -20px;
  363. -webkit-animation: spBarsBefore 1s infinite linear;
  364. animation: spBarsBefore 1s infinite linear;
  365. }
  366. .sp-bars:after {
  367. right: -20px;
  368. -webkit-animation: spBarsAfter 1s infinite linear;
  369. animation: spBarsAfter 1s infinite linear;
  370. }
  371. @keyframes spBarsBefore {
  372. 0% {
  373. transform: scale(1, 1);
  374. }
  375. 25% {
  376. transform: scale(1, 1.25);
  377. }
  378. 50% {
  379. transform: scale(1, 0.75);
  380. }
  381. 75% {
  382. transform: scale(1, 1);
  383. }
  384. 100% {
  385. transform: scale(1, 1);
  386. }
  387. }
  388. @keyframes spBars {
  389. 0% {
  390. transform: scale(1, 1);
  391. }
  392. 25% {
  393. transform: scale(1, 1);
  394. }
  395. 50% {
  396. transform: scale(1, 1.25);
  397. }
  398. 75% {
  399. transform: scale(1, 1);
  400. }
  401. 100% {
  402. transform: scale(1, 1);
  403. }
  404. }
  405. @keyframes spBarsAfter {
  406. 0% {
  407. transform: scale(1, 1);
  408. }
  409. 25% {
  410. transform: scale(1, 1);
  411. }
  412. 50% {
  413. transform: scale(1, 0.75);
  414. }
  415. 75% {
  416. transform: scale(1, 1.25);
  417. }
  418. 100% {
  419. transform: scale(1, 1);
  420. }
  421. }
  422. /* Spinner Clock */
  423. .sp-clock {
  424. border: 1px #000 solid;
  425. border-radius: 50%;
  426. position: relative;
  427. }
  428. .sp-clock:before {
  429. content: '';
  430. border-left: 1px #000 solid;
  431. position: absolute;
  432. top: 2px;
  433. width: 1px;
  434. height: calc( 50% - 2px );
  435. -webkit-transform: rotate(0deg);
  436. transform: rotate(0deg);
  437. -ms-transform-origin: 0% 100%;
  438. -webkit-transform-origin: 0% 100%;
  439. transform-origin: 0% 100%;
  440. -webkit-animation: spClock 1s infinite linear;
  441. animation: spClock 1s infinite linear;
  442. }
  443. @-webkit-keyframes spClock {
  444. from {
  445. -webkit-transform: rotate(0deg);
  446. }
  447. to {
  448. -webkit-transform: rotate(359deg);
  449. }
  450. }
  451. @keyframes spClock {
  452. from {
  453. transform: rotate(0deg);
  454. }
  455. to {
  456. transform: rotate(359deg);
  457. }
  458. }
  459. /* Spinner Wave */
  460. .sp-wave {
  461. border-radius: 50%;
  462. position: relative;
  463. opacity: 1;
  464. }
  465. .sp-wave:before, .sp-wave:after {
  466. content: '';
  467. border: 1px #000 solid;
  468. border-radius: 50%;
  469. width: 100%;
  470. height: 100%;
  471. position: absolute;
  472. left: 0px;
  473. }
  474. .sp-wave:before {
  475. transform: scale(1, 1);
  476. opacity: 1;
  477. -webkit-animation: spWaveBe 0.6s infinite linear;
  478. animation: spWaveBe 0.6s infinite linear;
  479. }
  480. .sp-wave:after {
  481. transform: scale(0, 0);
  482. opacity: 0;
  483. -webkit-animation: spWaveAf 0.6s infinite linear;
  484. animation: spWaveAf 0.6s infinite linear;
  485. }
  486. @-webkit-keyframes spWaveAf {
  487. from {
  488. -webkit-transform: scale(0.5, 0.5);
  489. opacity: 0;
  490. }
  491. to {
  492. -webkit-transform: scale(1, 1);
  493. opacity: 1;
  494. }
  495. }
  496. @keyframes spWaveAf {
  497. from {
  498. transform: scale(0.5, 0.5);
  499. opacity: 0;
  500. }
  501. to {
  502. transform: scale(1, 1);
  503. opacity: 1;
  504. }
  505. }
  506. @-webkit-keyframes spWaveBe {
  507. from {
  508. -webkit-transform: scale(1, 1);
  509. opacity: 1;
  510. }
  511. to {
  512. -webkit-transform: scale(1.5, 1.5);
  513. opacity: 0;
  514. }
  515. }
  516. @keyframes spWaveBe {
  517. from {
  518. -webkit-transform: scale(1, 1);
  519. opacity: 1;
  520. }
  521. to {
  522. -webkit-transform: scale(1.5, 1.5);
  523. opacity: 0;
  524. }
  525. }
  526. /* Spinner Texture */
  527. .sp-texture {
  528. border: 1px #000 solid;
  529. border-radius: 4px;
  530. position: relative;
  531. background: linear-gradient(45deg, transparent 49%, #000 50%, #000 50%, transparent 51%, transparent), linear-gradient(-45deg, transparent 49%, #000 50%, #000 50%, transparent 51%, transparent);
  532. background-size: 16px 16px;
  533. background-position: 0% 0%;
  534. -webkit-animation: spTexture 1s infinite linear;
  535. animation: spTexture 1s infinite linear;
  536. }
  537. @-webkit-keyframes spTexture {
  538. from {
  539. background-position: 0px 0px;
  540. }
  541. to {
  542. background-position: -16px 0px;
  543. }
  544. }
  545. @keyframes spTexture {
  546. from {
  547. background-position: 0px 0px;
  548. }
  549. to {
  550. background-position: -16px 0px;
  551. }
  552. }
  553. /* Spinner LoadBar */
  554. .sp-loadbar {
  555. width: 50px;
  556. height: 18px;
  557. border: 1px #000 solid;
  558. border-radius: 4px;
  559. background: linear-gradient(-60deg, transparent 0%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent);
  560. background-size: 20px 30px;
  561. background-position: 0px 0px;
  562. -webkit-animation: spLoadBar 0.8s infinite linear;
  563. animation: spLoadBar 0.8s infinite linear;
  564. }
  565. @-webkit-keyframes spLoadBar {
  566. from {
  567. background-position: 0px 0px;
  568. }
  569. to {
  570. background-position: -20px 0px;
  571. }
  572. }
  573. @keyframes spLoadBar {
  574. from {
  575. background-position: 0px 0px;
  576. }
  577. to {
  578. background-position: -20px 0px;
  579. }
  580. }
  581. /* Spinner Hydrogen */
  582. .sp-hydrogen {
  583. position: relative;
  584. border: 1px #000 solid;
  585. border-radius: 50%;
  586. -webkit-animation: spHydro 0.6s infinite linear;
  587. animation: spHydro 0.6s infinite linear;
  588. }
  589. .sp-hydrogen:before, .sp-hydrogen:after {
  590. content: '';
  591. position: absolute;
  592. width: 10px;
  593. height: 10px;
  594. background-color: #000;
  595. border-radius: 50%;
  596. }
  597. .sp-hydrogen:before {
  598. top: calc( 50% - 5px );
  599. left: calc( 50% - 5px );
  600. }
  601. .sp-hydrogen:after {
  602. top: -1px;
  603. left: -1px;
  604. }
  605. @-webkit-keyframes spHydro {
  606. from {
  607. -webkit-transform: rotate(0deg);
  608. }
  609. to {
  610. -webkit-transform: rotate(359deg);
  611. }
  612. }
  613. @keyframes spHydro {
  614. from {
  615. transform: rotate(0deg);
  616. }
  617. to {
  618. transform: rotate(359deg);
  619. }
  620. }