plus.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. .plus-loader:not(:required) {
  2. position: relative;
  3. display: inline-block;
  4. width: 48px;
  5. height: 48px;
  6. margin-bottom: 10px;
  7. overflow: hidden;
  8. text-indent: -9999px;
  9. background: #f86;
  10. -moz-border-radius: 24px;
  11. -webkit-border-radius: 24px;
  12. border-radius: 24px;
  13. -moz-transform: rotateZ(90deg);
  14. -ms-transform: rotateZ(90deg);
  15. -webkit-transform: rotateZ(90deg);
  16. transform: rotateZ(90deg);
  17. -moz-transform-origin: 50% 50%;
  18. -ms-transform-origin: 50% 50%;
  19. -webkit-transform-origin: 50% 50%;
  20. transform-origin: 50% 50%;
  21. -moz-animation: plus-loader-background 3s infinite ease-in-out;
  22. -webkit-animation: plus-loader-background 3s infinite ease-in-out;
  23. animation: plus-loader-background 3s infinite ease-in-out;
  24. }
  25. .plus-loader:not(:required)::after {
  26. position: absolute;
  27. top: 0;
  28. right: 50%;
  29. width: 50%;
  30. height: 100%;
  31. content: '';
  32. background: #f86;
  33. -moz-border-radius: 24px 0 0 24px;
  34. -webkit-border-radius: 24px;
  35. border-radius: 24px 0 0 24px;
  36. -moz-transform-origin: 100% 50%;
  37. -ms-transform-origin: 100% 50%;
  38. -webkit-transform-origin: 100% 50%;
  39. transform-origin: 100% 50%;
  40. -moz-animation: plus-loader-top 3s infinite linear;
  41. -webkit-animation: plus-loader-top 3s infinite linear;
  42. animation: plus-loader-top 3s infinite linear;
  43. }
  44. .plus-loader:not(:required)::before {
  45. position: absolute;
  46. top: 0;
  47. right: 50%;
  48. width: 50%;
  49. height: 100%;
  50. content: '';
  51. background: #fc6;
  52. -moz-border-radius: 24px 0 0 24px;
  53. -webkit-border-radius: 24px;
  54. border-radius: 24px 0 0 24px;
  55. -moz-transform-origin: 100% 50%;
  56. -ms-transform-origin: 100% 50%;
  57. -webkit-transform-origin: 100% 50%;
  58. transform-origin: 100% 50%;
  59. -moz-animation: plus-loader-bottom 3s infinite linear;
  60. -webkit-animation: plus-loader-bottom 3s infinite linear;
  61. animation: plus-loader-bottom 3s infinite linear;
  62. }
  63. @keyframes plus-loader-top {
  64. 2.5% {
  65. background: #f86;
  66. -moz-transform: rotateY(0deg);
  67. -ms-transform: rotateY(0deg);
  68. -webkit-transform: rotateY(0deg);
  69. transform: rotateY(0deg);
  70. -moz-animation-timing-function: ease-in;
  71. -webkit-animation-timing-function: ease-in;
  72. animation-timing-function: ease-in;
  73. }
  74. 13.75% {
  75. background: #ff430d;
  76. -moz-transform: rotateY(90deg);
  77. -ms-transform: rotateY(90deg);
  78. -webkit-transform: rotateY(90deg);
  79. transform: rotateY(90deg);
  80. -moz-animation-timing-function: step-start;
  81. -webkit-animation-timing-function: step-start;
  82. animation-timing-function: step-start;
  83. }
  84. 13.76% {
  85. background: #ffae0d;
  86. -moz-transform: rotateY(90deg);
  87. -ms-transform: rotateY(90deg);
  88. -webkit-transform: rotateY(90deg);
  89. transform: rotateY(90deg);
  90. -moz-animation-timing-function: ease-out;
  91. -webkit-animation-timing-function: ease-out;
  92. animation-timing-function: ease-out;
  93. }
  94. 25% {
  95. background: #fc6;
  96. -moz-transform: rotateY(180deg);
  97. -ms-transform: rotateY(180deg);
  98. -webkit-transform: rotateY(180deg);
  99. transform: rotateY(180deg);
  100. }
  101. 27.5% {
  102. background: #fc6;
  103. -moz-transform: rotateY(180deg);
  104. -ms-transform: rotateY(180deg);
  105. -webkit-transform: rotateY(180deg);
  106. transform: rotateY(180deg);
  107. -moz-animation-timing-function: ease-in;
  108. -webkit-animation-timing-function: ease-in;
  109. animation-timing-function: ease-in;
  110. }
  111. 41.25% {
  112. background: #ffae0d;
  113. -moz-transform: rotateY(90deg);
  114. -ms-transform: rotateY(90deg);
  115. -webkit-transform: rotateY(90deg);
  116. transform: rotateY(90deg);
  117. -moz-animation-timing-function: step-start;
  118. -webkit-animation-timing-function: step-start;
  119. animation-timing-function: step-start;
  120. }
  121. 41.26% {
  122. background: #2cc642;
  123. -moz-transform: rotateY(90deg);
  124. -ms-transform: rotateY(90deg);
  125. -webkit-transform: rotateY(90deg);
  126. transform: rotateY(90deg);
  127. -moz-animation-timing-function: ease-out;
  128. -webkit-animation-timing-function: ease-out;
  129. animation-timing-function: ease-out;
  130. }
  131. 50% {
  132. background: #6d7;
  133. -moz-transform: rotateY(0deg);
  134. -ms-transform: rotateY(0deg);
  135. -webkit-transform: rotateY(0deg);
  136. transform: rotateY(0deg);
  137. }
  138. 52.5% {
  139. background: #6d7;
  140. -moz-transform: rotateY(0deg);
  141. -ms-transform: rotateY(0deg);
  142. -webkit-transform: rotateY(0deg);
  143. transform: rotateY(0deg);
  144. -moz-animation-timing-function: ease-in;
  145. -webkit-animation-timing-function: ease-in;
  146. animation-timing-function: ease-in;
  147. }
  148. 63.75% {
  149. background: #2cc642;
  150. -moz-transform: rotateY(90deg);
  151. -ms-transform: rotateY(90deg);
  152. -webkit-transform: rotateY(90deg);
  153. transform: rotateY(90deg);
  154. -moz-animation-timing-function: step-start;
  155. -webkit-animation-timing-function: step-start;
  156. animation-timing-function: step-start;
  157. }
  158. 63.76% {
  159. background: #1386d2;
  160. -moz-transform: rotateY(90deg);
  161. -ms-transform: rotateY(90deg);
  162. -webkit-transform: rotateY(90deg);
  163. transform: rotateY(90deg);
  164. -moz-animation-timing-function: ease-out;
  165. -webkit-animation-timing-function: ease-out;
  166. animation-timing-function: ease-out;
  167. }
  168. 75% {
  169. background: #4ae;
  170. -moz-transform: rotateY(180deg);
  171. -ms-transform: rotateY(180deg);
  172. -webkit-transform: rotateY(180deg);
  173. transform: rotateY(180deg);
  174. }
  175. 77.5% {
  176. background: #4ae;
  177. -moz-transform: rotateY(180deg);
  178. -ms-transform: rotateY(180deg);
  179. -webkit-transform: rotateY(180deg);
  180. transform: rotateY(180deg);
  181. -moz-animation-timing-function: ease-in;
  182. -webkit-animation-timing-function: ease-in;
  183. animation-timing-function: ease-in;
  184. }
  185. 91.25% {
  186. background: #1386d2;
  187. -moz-transform: rotateY(90deg);
  188. -ms-transform: rotateY(90deg);
  189. -webkit-transform: rotateY(90deg);
  190. transform: rotateY(90deg);
  191. -moz-animation-timing-function: step-start;
  192. -webkit-animation-timing-function: step-start;
  193. animation-timing-function: step-start;
  194. }
  195. 91.26% {
  196. background: #ff430d;
  197. -moz-transform: rotateY(90deg);
  198. -ms-transform: rotateY(90deg);
  199. -webkit-transform: rotateY(90deg);
  200. transform: rotateY(90deg);
  201. -moz-animation-timing-function: ease-in;
  202. -webkit-animation-timing-function: ease-in;
  203. animation-timing-function: ease-in;
  204. }
  205. 100% {
  206. background: #f86;
  207. -moz-transform: rotateY(0deg);
  208. -ms-transform: rotateY(0deg);
  209. -webkit-transform: rotateY(0deg);
  210. transform: rotateY(0deg);
  211. -moz-animation-timing-function: step-start;
  212. -webkit-animation-timing-function: step-start;
  213. animation-timing-function: step-start;
  214. }
  215. }
  216. @keyframes plus-loader-bottom {
  217. 0% {
  218. background: #fc6;
  219. -moz-animation-timing-function: step-start;
  220. -webkit-animation-timing-function: step-start;
  221. animation-timing-function: step-start;
  222. }
  223. 50% {
  224. background: #fc6;
  225. -moz-animation-timing-function: step-start;
  226. -webkit-animation-timing-function: step-start;
  227. animation-timing-function: step-start;
  228. }
  229. 75% {
  230. background: #4ae;
  231. -moz-animation-timing-function: step-start;
  232. -webkit-animation-timing-function: step-start;
  233. animation-timing-function: step-start;
  234. }
  235. 100% {
  236. background: #4ae;
  237. -moz-animation-timing-function: step-start;
  238. -webkit-animation-timing-function: step-start;
  239. animation-timing-function: step-start;
  240. }
  241. }
  242. @keyframes plus-loader-background {
  243. 0% {
  244. background: #f86;
  245. -moz-transform: rotateZ(180deg);
  246. -ms-transform: rotateZ(180deg);
  247. -webkit-transform: rotateZ(180deg);
  248. transform: rotateZ(180deg);
  249. }
  250. 25% {
  251. background: #f86;
  252. -moz-transform: rotateZ(180deg);
  253. -ms-transform: rotateZ(180deg);
  254. -webkit-transform: rotateZ(180deg);
  255. transform: rotateZ(180deg);
  256. -moz-animation-timing-function: step-start;
  257. -webkit-animation-timing-function: step-start;
  258. animation-timing-function: step-start;
  259. }
  260. 27.5% {
  261. background: #6d7;
  262. -moz-transform: rotateZ(90deg);
  263. -ms-transform: rotateZ(90deg);
  264. -webkit-transform: rotateZ(90deg);
  265. transform: rotateZ(90deg);
  266. }
  267. 50% {
  268. background: #6d7;
  269. -moz-transform: rotateZ(90deg);
  270. -ms-transform: rotateZ(90deg);
  271. -webkit-transform: rotateZ(90deg);
  272. transform: rotateZ(90deg);
  273. -moz-animation-timing-function: step-start;
  274. -webkit-animation-timing-function: step-start;
  275. animation-timing-function: step-start;
  276. }
  277. 52.5% {
  278. background: #6d7;
  279. -moz-transform: rotateZ(0deg);
  280. -ms-transform: rotateZ(0deg);
  281. -webkit-transform: rotateZ(0deg);
  282. transform: rotateZ(0deg);
  283. }
  284. 75% {
  285. background: #6d7;
  286. -moz-transform: rotateZ(0deg);
  287. -ms-transform: rotateZ(0deg);
  288. -webkit-transform: rotateZ(0deg);
  289. transform: rotateZ(0deg);
  290. -moz-animation-timing-function: step-start;
  291. -webkit-animation-timing-function: step-start;
  292. animation-timing-function: step-start;
  293. }
  294. 77.5% {
  295. background: #f86;
  296. -moz-transform: rotateZ(270deg);
  297. -ms-transform: rotateZ(270deg);
  298. -webkit-transform: rotateZ(270deg);
  299. transform: rotateZ(270deg);
  300. }
  301. 100% {
  302. background: #f86;
  303. -moz-transform: rotateZ(270deg);
  304. -ms-transform: rotateZ(270deg);
  305. -webkit-transform: rotateZ(270deg);
  306. transform: rotateZ(270deg);
  307. -moz-animation-timing-function: step-start;
  308. -webkit-animation-timing-function: step-start;
  309. animation-timing-function: step-start;
  310. }
  311. }