demo2.css1 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329
  1. /******************************
  2. .nav-el.active anim
  3. ******************************/
  4. @keyframes fx-el_topleft-active {
  5. 0% {
  6. transform: translate3d(0%, 0%, 0);
  7. }
  8. 33% {
  9. transform: translate3d(5%, 5%, 0) scale(1);
  10. color: #FFF;
  11. }
  12. 40% {
  13. transform: translate3d(5%, 5%, 0) scale(1);
  14. color: #FFF;
  15. }
  16. 50% {
  17. color: transparent;
  18. }
  19. 100% {
  20. transform: translate3d(5%, 5%, 0) scale(20);
  21. color: transparent;
  22. }
  23. }
  24. @keyframes fx-el_topright-active {
  25. 0% {
  26. transform: translate3d(0%, 0%, 0);
  27. }
  28. 33% {
  29. transform: translate3d(-5%, 5%, 0) scale(1);
  30. color: #FFF;
  31. }
  32. 40% {
  33. transform: translate3d(-5%, 5%, 0) scale(1);
  34. color: #FFF;
  35. }
  36. 50% {
  37. color: transparent;
  38. }
  39. 100% {
  40. transform: translate3d(-5%, 5%, 0) scale(20);
  41. color: transparent;
  42. }
  43. }
  44. @keyframes fx-el_btmleft-active {
  45. 0% {
  46. transform: translate3d(0%, 0%, 0);
  47. }
  48. 33% {
  49. transform: translate3d(5%, -5%, 0) scale(1);
  50. color: #FFF;
  51. }
  52. 40% {
  53. transform: translate3d(5%, -5%, 0) scale(1);
  54. color: #FFF;
  55. }
  56. 50% {
  57. color: transparent;
  58. }
  59. 100% {
  60. transform: translate3d(5%, -5%, 0) scale(20);
  61. color: transparent;
  62. }
  63. }
  64. @keyframes fx-el_btmright-active {
  65. 0% {
  66. transform: translate3d(0%, 0%, 0);
  67. }
  68. 33% {
  69. transform: translate3d(-5%, -5%, 0) scale(1);
  70. color: #FFF;
  71. }
  72. 40% {
  73. transform: translate3d(-5%, -5%, 0) scale(1);
  74. color: #FFF;
  75. }
  76. 50% {
  77. color: transparent;
  78. }
  79. 100% {
  80. transform: translate3d(-5%, -5%, 0) scale(20);
  81. color: transparent;
  82. }
  83. }
  84. @-moz-keyframes fx-el_topleft-active {
  85. 0% {
  86. -moz-transform: translate3d(0%, 0%, 0);
  87. }
  88. 33% {
  89. -moz-transform: translate3d(5%, 5%, 0) scale(1);
  90. color: #FFF;
  91. }
  92. 40% {
  93. -moz-transform: translate3d(5%, 5%, 0) scale(1);
  94. color: #FFF;
  95. }
  96. 50% {
  97. color: transparent;
  98. }
  99. 100% {
  100. -moz-transform: translate3d(5%, 5%, 0) scale(20);
  101. color: transparent;
  102. }
  103. }
  104. @-moz-keyframes fx-el_topright-active {
  105. 0% {
  106. -moz-transform: translate3d(0%, 0%, 0);
  107. }
  108. 33% {
  109. -moz-transform: translate3d(-5%, 5%, 0) scale(1);
  110. color: #FFF;
  111. }
  112. 40% {
  113. -moz-transform: translate3d(-5%, 5%, 0) scale(1);
  114. color: #FFF;
  115. }
  116. 50% {
  117. color: transparent;
  118. }
  119. 100% {
  120. -moz-transform: translate3d(-5%, 5%, 0) scale(20);
  121. color: transparent;
  122. }
  123. }
  124. @-moz-keyframes fx-el_btmleft-active {
  125. 0% {
  126. -moz-transform: translate3d(0%, 0%, 0);
  127. }
  128. 33% {
  129. -moz-transform: translate3d(5%, -5%, 0) scale(1);
  130. color: #FFF;
  131. }
  132. 40% {
  133. -moz-transform: translate3d(5%, -5%, 0) scale(1);
  134. color: #FFF;
  135. }
  136. 50% {
  137. color: transparent;
  138. }
  139. 100% {
  140. -moz-transform: translate3d(5%, -5%, 0) scale(20);
  141. color: transparent;
  142. }
  143. }
  144. @-moz-keyframes fx-el_btmright-active {
  145. 0% {
  146. -moz-transform: translate3d(0%, 0%, 0);
  147. }
  148. 33% {
  149. -moz-transform: translate3d(-5%, -5%, 0) scale(1);
  150. color: #FFF;
  151. }
  152. 40% {
  153. -moz-transform: translate3d(-5%, -5%, 0) scale(1);
  154. color: #FFF;
  155. }
  156. 50% {
  157. color: transparent;
  158. }
  159. 100% {
  160. -moz-transform: translate3d(-5%, -5%, 0) scale(20);
  161. color: transparent;
  162. }
  163. }
  164. @-webkit-keyframes fx-el_topleft-active {
  165. 0% {
  166. -webkit-transform: translate3d(0%, 0%, 0);
  167. }
  168. 33% {
  169. -webkit-transform: translate3d(5%, 5%, 0) scale(1);
  170. color: #FFF;
  171. }
  172. 40% {
  173. -webkit-transform: translate3d(5%, 5%, 0) scale(1);
  174. color: #FFF;
  175. }
  176. 50% {
  177. color: transparent;
  178. }
  179. 100% {
  180. -webkit-transform: translate3d(5%, 5%, 0) scale(20);
  181. color: transparent;
  182. }
  183. }
  184. @-webkit-keyframes fx-el_topright-active {
  185. 0% {
  186. -webkit-transform: translate3d(0%, 0%, 0);
  187. }
  188. 33% {
  189. -webkit-transform: translate3d(-5%, 5%, 0) scale(1);
  190. color: #FFF;
  191. }
  192. 40% {
  193. -webkit-transform: translate3d(-5%, 5%, 0) scale(1);
  194. color: #FFF;
  195. }
  196. 50% {
  197. color: transparent;
  198. }
  199. 100% {
  200. -webkit-transform: translate3d(-5%, 5%, 0) scale(20);
  201. color: transparent;
  202. }
  203. }
  204. @-webkit-keyframes fx-el_btmleft-active {
  205. 0% {
  206. -webkit-transform: translate3d(0%, 0%, 0);
  207. }
  208. 33% {
  209. -webkit-transform: translate3d(5%, -5%, 0) scale(1);
  210. color: #FFF;
  211. }
  212. 40% {
  213. -webkit-transform: translate3d(5%, -5%, 0) scale(1);
  214. color: #FFF;
  215. }
  216. 50% {
  217. color: transparent;
  218. }
  219. 100% {
  220. -webkit-transform: translate3d(5%, -5%, 0) scale(20);
  221. color: transparent;
  222. }
  223. }
  224. @-webkit-keyframes fx-el_btmright-active {
  225. 0% {
  226. -webkit-transform: translate3d(0%, 0%, 0);
  227. }
  228. 33% {
  229. -webkit-transform: translate3d(-5%, -5%, 0) scale(1);
  230. color: #FFF;
  231. }
  232. 40% {
  233. -webkit-transform: translate3d(-5%, -5%, 0) scale(1);
  234. color: #FFF;
  235. }
  236. 50% {
  237. color: transparent;
  238. }
  239. 100% {
  240. -webkit-transform: translate3d(-5%, -5%, 0) scale(20);
  241. color: transparent;
  242. }
  243. }
  244. #el-topleft.active {
  245. animation: fx-el_topleft-active 1.6s 1 ease-in-out forwards;
  246. -moz-animation: fx-el_topleft-active 1.6s 1 ease-in-out forwards;
  247. -webkit-animation: fx-el_topleft-active 1.6s 1 ease-in-out forwards;
  248. }
  249. #el-topright.active {
  250. animation: fx-el_topright-active 1.6s 1 ease-in-out forwards;
  251. -moz-animation: fx-el_topright-active 1.6s 1 ease-in-out forwards;
  252. -webkit-animation: fx-el_topright-active 1.6s 1 ease-in-out forwards;
  253. }
  254. #el-btmleft.active {
  255. animation: fx-el_btmleft-active 1.6s 1 ease-in-out forwards;
  256. -moz-animation: fx-el_btmleft-active 1.6s 1 ease-in-out forwards;
  257. -webkit-animation: fx-el_btmleft-active 1.6s 1 ease-in-out forwards;
  258. }
  259. #el-btmright.active {
  260. animation: fx-el_btmright-active 1.6s 1 ease-in-out forwards;
  261. -moz-animation: fx-el_btmright-active 1.6s 1 ease-in-out forwards;
  262. -webkit-animation: fx-el_btmright-active 1.6s 1 ease-in-out forwards;
  263. }
  264. /******************************
  265. .nav-el.inactive anim
  266. ******************************/
  267. @keyframes fx-el_topleft-inactive {
  268. 0% {
  269. transform: translate(0%, 0%);
  270. color: #FFF;
  271. }
  272. 33% {
  273. transform: translate(5.3%, 5.3%);
  274. color: #3498db;
  275. }
  276. 100% {
  277. transform: translate(5.3%, 5.3%);
  278. color: #3498db;
  279. }
  280. }
  281. @keyframes fx-el_topright-inactive {
  282. 0% {
  283. transform: translate(0%, 0%);
  284. color: #FFF;
  285. }
  286. 33% {
  287. transform: translate(-5.3%, 5.3%);
  288. color: #3498db;
  289. }
  290. 100% {
  291. transform: translate(-5.3%, 5.3%);
  292. color: #3498db;
  293. }
  294. }
  295. @keyframes fx-el_btmleft-inactive {
  296. 0% {
  297. transform: translate(0%, 0%);
  298. color: #FFF;
  299. }
  300. 33% {
  301. transform: translate(5.3%, -5.3%);
  302. color: #3498db;
  303. }
  304. 100% {
  305. transform: translate(5.3%, -5.3%);
  306. color: #3498db;
  307. }
  308. }
  309. @keyframes fx-el_btmright-inactive {
  310. 0% {
  311. transform: translate(0%, 0%);
  312. color: #FFF;
  313. }
  314. 33% {
  315. transform: translate(-5.3%, -5.3%);
  316. color: #3498db;
  317. }
  318. 100% {
  319. transform: translate(-5.3%, -5.3%);
  320. color: #3498db;
  321. }
  322. }
  323. @-moz-keyframes fx-el_topleft-inactive {
  324. 0% {
  325. -moz-transform: translate3d(0%, 0%, 0);
  326. color: #FFF;
  327. }
  328. 33% {
  329. -moz-transform: translate3d(5.3%, 5.3%, 0);
  330. color: #3498db;
  331. }
  332. 100% {
  333. -moz-transform: translate3d(5.3%, 5.3%, 0);
  334. color: #3498db;
  335. }
  336. }
  337. @-moz-keyframes fx-el_topright-inactive {
  338. 0% {
  339. -moz-transform: translate3d(0%, 0%, 0);
  340. color: #FFF;
  341. }
  342. 33% {
  343. -moz-transform: translate3d(-5.3%, 5.3%, 0);
  344. color: #3498db;
  345. }
  346. 100% {
  347. -moz-transform: translate3d(-5.3%, 5.3%, 0);
  348. color: #3498db;
  349. }
  350. }
  351. @-moz-keyframes fx-el_btmleft-inactive {
  352. 0% {
  353. -moz-transform: translate3d(0%, 0%, 0);
  354. color: #FFF;
  355. }
  356. 33% {
  357. -moz-transform: translate3d(5.3%, -5.3%, 0);
  358. color: #3498db;
  359. }
  360. 100% {
  361. -moz-transform: translate3d(5.3%, -5.3%, 0);
  362. color: #3498db;
  363. }
  364. }
  365. @-moz-keyframes fx-el_btmright-inactive {
  366. 0% {
  367. -moz-transform: translate3d(0%, 0%, 0);
  368. color: #FFF;
  369. }
  370. 33% {
  371. -moz-transform: translate3d(-5.3%, -5.3%, 0);
  372. color: #3498db;
  373. }
  374. 100% {
  375. -moz-transform: translate3d(-5.3%, -5.3%, 0);
  376. color: #3498db;
  377. }
  378. }
  379. @-webkit-keyframes fx-el_topleft-inactive {
  380. 0% {
  381. -webkit-transform: translate3d(0%, 0%, 0);
  382. color: #FFF;
  383. }
  384. 33% {
  385. -webkit-transform: translate3d(5.3%, 5.3%, 0);
  386. color: #3498db;
  387. }
  388. 100% {
  389. -webkit-transform: translate3d(5.3%, 5.3%, 0);
  390. color: #3498db;
  391. }
  392. }
  393. @-webkit-keyframes fx-el_topright-inactive {
  394. 0% {
  395. -webkit-transform: translate3d(0%, 0%, 0);
  396. color: #FFF;
  397. }
  398. 33% {
  399. -webkit-transform: translate3d(-5.3%, 5.3%, 0);
  400. color: #3498db;
  401. }
  402. 100% {
  403. -webkit-transform: translate3d(-5.3%, 5.3%, 0);
  404. color: #3498db;
  405. }
  406. }
  407. @-webkit-keyframes fx-el_btmleft-inactive {
  408. 0% {
  409. -webkit-transform: translate3d(0%, 0%, 0);
  410. color: #FFF;
  411. }
  412. 33% {
  413. -webkit-transform: translate3d(5.3%, -5.3%, 0);
  414. color: #3498db;
  415. }
  416. 100% {
  417. -webkit-transform: translate3d(5.3%, -5.3%, 0);
  418. color: #3498db;
  419. }
  420. }
  421. @-webkit-keyframes fx-el_btmright-inactive {
  422. 0% {
  423. -webkit-transform: translate3d(0%, 0%, 0);
  424. color: #FFF;
  425. }
  426. 33% {
  427. -webkit-transform: translate3d(-5.3%, -5.3%, 0);
  428. color: #3498db;
  429. }
  430. 100% {
  431. -webkit-transform: translate3d(-5.3%, -5.3%, 0);
  432. color: #3498db;
  433. }
  434. }
  435. #el-topleft.inactive {
  436. animation: fx-el_topleft-inactive 1.6s 1 ease-in-out forwards;
  437. -moz-animation: fx-el_topleft-inactive 1.6s 1 ease-in-out forwards;
  438. -webkit-animation: fx-el_topleft-inactive 1.6s 1 ease-in-out forwards;
  439. }
  440. #el-topright.inactive {
  441. animation: fx-el_topright-inactive 1.6s 1 ease-in-out forwards;
  442. -moz-animation: fx-el_topright-inactive 1.6s 1 ease-in-out forwards;
  443. -webkit-animation: fx-el_topright-inactive 1.6s 1 ease-in-out forwards;
  444. }
  445. #el-btmleft.inactive {
  446. animation: fx-el_btmleft-inactive 1.6s 1 ease-in-out forwards;
  447. -moz-animation: fx-el_btmleft-inactive 1.6s 1 ease-in-out forwards;
  448. -webkit-animation: fx-el_btmleft-inactive 1.6s 1 ease-in-out forwards;
  449. }
  450. #el-btmright.inactive {
  451. animation: fx-el_btmright-inactive 1.6s 1 ease-in-out forwards;
  452. -moz-animation: fx-el_btmright-inactive 1.6s 1 ease-in-out forwards;
  453. -webkit-animation: fx-el_btmright-inactive 1.6s 1 ease-in-out forwards;
  454. }
  455. /******************************
  456. .nav-el.active reverse
  457. ******************************/
  458. @keyframes fx-el_topleft-active_reverse {
  459. 0% {
  460. transform: translate3d(5%, 5%, 0) scale(20);
  461. color: transparent;
  462. background-color: #20638f;
  463. }
  464. 50% {
  465. color: transparent;
  466. background-color: #20638f;
  467. }
  468. 60% {
  469. transform: translate3d(5%, 5%, 0) scale(1);
  470. color: #FFF;
  471. }
  472. 67% {
  473. transform: translate3d(5%, 5%, 0) scale(1);
  474. color: #FFF;
  475. }
  476. 82% {
  477. background-color: #2980b9;
  478. }
  479. 100% {
  480. transform: translate3d(0%, 0%, 0);
  481. }
  482. }
  483. @keyframes fx-el_topright-active_reverse {
  484. 0% {
  485. transform: translate3d(-5%, 5%, 0) scale(20);
  486. color: transparent;
  487. background-color: #20638f;
  488. }
  489. 50% {
  490. color: transparent;
  491. background-color: #20638f;
  492. }
  493. 60% {
  494. transform: translate3d(-5%, 5%, 0) scale(1);
  495. color: #FFF;
  496. }
  497. 67% {
  498. transform: translate3d(-5%, 5%, 0) scale(1);
  499. color: #FFF;
  500. }
  501. 82% {
  502. background-color: #2980b9;
  503. }
  504. 100% {
  505. transform: translate3d(0%, 0%, 0);
  506. }
  507. }
  508. @keyframes fx-el_btmleft-active_reverse {
  509. 0% {
  510. transform: translate3d(5%, -5%, 0) scale(20);
  511. color: transparent;
  512. background-color: #20638f;
  513. }
  514. 50% {
  515. color: transparent;
  516. background-color: #20638f;
  517. }
  518. 60% {
  519. transform: translate3d(5%, -5%, 0) scale(1);
  520. color: #FFF;
  521. }
  522. 67% {
  523. transform: translate3d(5%, -5%, 0) scale(1);
  524. color: #FFF;
  525. }
  526. 82% {
  527. background-color: #2980b9;
  528. }
  529. 100% {
  530. transform: translate3d(0%, 0%, 0);
  531. }
  532. }
  533. @keyframes fx-el_btmright-active_reverse {
  534. 0% {
  535. transform: translate3d(-5%, -5%, 0) scale(20);
  536. color: transparent;
  537. background-color: #20638f;
  538. }
  539. 50% {
  540. color: transparent;
  541. background-color: #20638f;
  542. }
  543. 60% {
  544. transform: translate3d(-5%, -5%, 0) scale(1);
  545. color: #FFF;
  546. }
  547. 67% {
  548. transform: translate3d(-5%, -5%, 0) scale(1);
  549. color: #FFF;
  550. }
  551. 82% {
  552. background-color: #2980b9;
  553. }
  554. 100% {
  555. transform: translate3d(0%, 0%, 0);
  556. }
  557. }
  558. @-moz-keyframes fx-el_topleft-active_reverse {
  559. 0% {
  560. -moz-transform: translate3d(5%, 5%, 0) scale(20);
  561. color: transparent;
  562. background-color: #20638f;
  563. }
  564. 50% {
  565. color: transparent;
  566. background-color: #20638f;
  567. }
  568. 60% {
  569. -moz-transform: translate3d(5%, 5%, 0) scale(1);
  570. color: #FFF;
  571. }
  572. 67% {
  573. -moz-transform: translate3d(5%, 5%, 0) scale(1);
  574. color: #FFF;
  575. }
  576. 82% {
  577. background-color: #2980b9;
  578. }
  579. 100% {
  580. -moz-transform: translate3d(0%, 0%, 0);
  581. }
  582. }
  583. @-moz-keyframes fx-el_topright-active_reverse {
  584. 0% {
  585. -moz-transform: translate3d(-5%, 5%, 0) scale(20);
  586. color: transparent;
  587. background-color: #20638f;
  588. }
  589. 50% {
  590. color: transparent;
  591. background-color: #20638f;
  592. }
  593. 60% {
  594. -moz-transform: translate3d(-5%, 5%, 0) scale(1);
  595. color: #FFF;
  596. }
  597. 67% {
  598. -moz-transform: translate3d(-5%, 5%, 0) scale(1);
  599. color: #FFF;
  600. }
  601. 82% {
  602. background-color: #2980b9;
  603. }
  604. 100% {
  605. -moz-transform: translate3d(0%, 0%, 0);
  606. }
  607. }
  608. @-moz-keyframes fx-el_btmleft-active_reverse {
  609. 0% {
  610. -moz-transform: translate3d(5%, -5%, 0) scale(20);
  611. color: transparent;
  612. background-color: #20638f;
  613. }
  614. 50% {
  615. color: transparent;
  616. background-color: #20638f;
  617. }
  618. 60% {
  619. -moz-transform: translate3d(5%, -5%, 0) scale(1);
  620. color: #FFF;
  621. }
  622. 67% {
  623. -moz-transform: translate3d(5%, -5%, 0) scale(1);
  624. color: #FFF;
  625. }
  626. 82% {
  627. background-color: #2980b9;
  628. }
  629. 100% {
  630. -moz-transform: translate3d(0%, 0%, 0);
  631. }
  632. }
  633. @-moz-keyframes fx-el_btmright-active_reverse {
  634. 0% {
  635. -moz-transform: translate3d(-5%, -5%, 0) scale(20);
  636. color: transparent;
  637. background-color: #20638f;
  638. }
  639. 50% {
  640. color: transparent;
  641. background-color: #20638f;
  642. }
  643. 60% {
  644. -moz-transform: translate3d(-5%, -5%, 0) scale(1);
  645. color: #FFF;
  646. }
  647. 67% {
  648. -moz-transform: translate3d(-5%, -5%, 0) scale(1);
  649. color: #FFF;
  650. }
  651. 82% {
  652. background-color: #2980b9;
  653. }
  654. 100% {
  655. -moz-transform: translate3d(0%, 0%, 0);
  656. }
  657. }
  658. @-webkit-keyframes fx-el_topleft-active_reverse {
  659. 0% {
  660. -webkit-transform: translate3d(5%, 5%, 0) scale(20);
  661. color: transparent;
  662. background-color: #20638f;
  663. }
  664. 50% {
  665. color: transparent;
  666. background-color: #20638f;
  667. }
  668. 60% {
  669. -webkit-transform: translate3d(5%, 5%, 0) scale(1);
  670. color: #FFF;
  671. }
  672. 67% {
  673. -webkit-transform: translate3d(5%, 5%, 0) scale(1);
  674. color: #FFF;
  675. }
  676. 82% {
  677. background-color: #2980b9;
  678. }
  679. 100% {
  680. -webkit-transform: translate3d(0%, 0%, 0);
  681. }
  682. }
  683. @-webkit-keyframes fx-el_topright-active_reverse {
  684. 0% {
  685. -webkit-transform: translate3d(-5%, 5%, 0) scale(20);
  686. color: transparent;
  687. background-color: #20638f;
  688. }
  689. 50% {
  690. color: transparent;
  691. background-color: #20638f;
  692. }
  693. 60% {
  694. -webkit-transform: translate3d(-5%, 5%, 0) scale(1);
  695. color: #FFF;
  696. }
  697. 67% {
  698. -webkit-transform: translate3d(-5%, 5%, 0) scale(1);
  699. color: #FFF;
  700. }
  701. 82% {
  702. background-color: #2980b9;
  703. }
  704. 100% {
  705. -webkit-transform: translate3d(0%, 0%, 0);
  706. }
  707. }
  708. @-webkit-keyframes fx-el_btmleft-active_reverse {
  709. 0% {
  710. -webkit-transform: translate3d(5%, -5%, 0) scale(20);
  711. color: transparent;
  712. background-color: #20638f;
  713. }
  714. 50% {
  715. color: transparent;
  716. background-color: #20638f;
  717. }
  718. 60% {
  719. -webkit-transform: translate3d(5%, -5%, 0) scale(1);
  720. color: #FFF;
  721. }
  722. 67% {
  723. -webkit-transform: translate3d(5%, -5%, 0) scale(1);
  724. color: #FFF;
  725. }
  726. 82% {
  727. background-color: #2980b9;
  728. }
  729. 100% {
  730. -webkit-transform: translate3d(0%, 0%, 0);
  731. }
  732. }
  733. @-webkit-keyframes fx-el_btmright-active_reverse {
  734. 0% {
  735. -webkit-transform: translate3d(-5%, -5%, 0) scale(20);
  736. color: transparent;
  737. background-color: #20638f;
  738. }
  739. 50% {
  740. color: transparent;
  741. background-color: #20638f;
  742. }
  743. 60% {
  744. -webkit-transform: translate3d(-5%, -5%, 0) scale(1);
  745. color: #FFF;
  746. }
  747. 67% {
  748. -webkit-transform: translate3d(-5%, -5%, 0) scale(1);
  749. color: #FFF;
  750. }
  751. 82% {
  752. background-color: #2980b9;
  753. }
  754. 100% {
  755. -webkit-transform: translate3d(0%, 0%, 0);
  756. }
  757. }
  758. #el-topleft.active_reverse {
  759. animation: fx-el_topleft-active_reverse 1.6s 1 ease-in-out;
  760. -moz-animation: fx-el_topleft-active_reverse 1.6s 1 ease-in-out;
  761. -webkit-animation: fx-el_topleft-active_reverse 1.6s 1 ease-in-out;
  762. }
  763. #el-topright.active_reverse {
  764. animation: fx-el_topright-active_reverse 1.6s 1 ease-in-out;
  765. -moz-animation: fx-el_topright-active_reverse 1.6s 1 ease-in-out;
  766. -webkit-animation: fx-el_topright-active_reverse 1.6s 1 ease-in-out;
  767. }
  768. #el-btmleft.active_reverse {
  769. animation: fx-el_btmleft-active_reverse 1.6s 1 ease-in-out;
  770. -moz-animation: fx-el_btmleft-active_reverse 1.6s 1 ease-in-out;
  771. -webkit-animation: fx-el_btmleft-active_reverse 1.6s 1 ease-in-out;
  772. }
  773. #el-btmright.active_reverse {
  774. animation: fx-el_btmright-active_reverse 1.6s 1 ease-in-out;
  775. -moz-animation: fx-el_btmright-active_reverse 1.6s 1 ease-in-out;
  776. -webkit-animation: fx-el_btmright-active_reverse 1.6s 1 ease-in-out;
  777. }
  778. /*********************************************************
  779. .nav-el.inactive reverse
  780. **********************************************************
  781. Top prevent a bug on IE10 (the button jumps during anim),
  782. use translate instead of translate3d for the first move.
  783. *********************************************************/
  784. @keyframes fx-el_topleft-inactive_reverse {
  785. 0% {
  786. transform: translate(5.5%, 5.5%);
  787. color: #3498db;
  788. }
  789. 67% {
  790. transform: translate(5.5%, 5.5%);
  791. color: #3498db;
  792. }
  793. 100% {
  794. transform: translate3d(0, 0, 0);
  795. color: #FFF;
  796. }
  797. }
  798. @keyframes fx-el_topright-inactive_reverse {
  799. 0% {
  800. transform: translate(-5.5%, 5.5%);
  801. color: #3498db;
  802. }
  803. 67% {
  804. transform: translate(-5.5%, 5.5%);
  805. color: #3498db;
  806. }
  807. 100% {
  808. transform: translate3d(0, 0, 0);
  809. color: #FFF;
  810. }
  811. }
  812. @keyframes fx-el_btmleft-inactive_reverse {
  813. 0% {
  814. transform: translate(5.5%, -5.5%);
  815. color: #3498db;
  816. }
  817. 67% {
  818. transform: translate(5.5%, -5.5%);
  819. color: #3498db;
  820. }
  821. 100% {
  822. transform: translate3d(0, 0, 0);
  823. color: #FFF;
  824. }
  825. }
  826. @keyframes fx-el_btmright-inactive_reverse {
  827. 0% {
  828. transform: translate(-5.5%, -5.5%);
  829. color: #3498db;
  830. }
  831. 67% {
  832. transform: translate(-5.5%, -5.5%);
  833. color: #3498db;
  834. }
  835. 100% {
  836. transform: translate3d(0, 0, 0);
  837. color: #FFF;
  838. }
  839. }
  840. @-moz-keyframes fx-el_topleft-inactive_reverse {
  841. 0% {
  842. -moz-transform: translate3d(5.3%, 5.3%, 0);
  843. color: #3498db;
  844. }
  845. 67% {
  846. -moz-transform: translate3d(5.3%, 5.3%, 0);
  847. color: #3498db;
  848. }
  849. 100% {
  850. -moz-transform: translate3d(0%, 0%, 0);
  851. color: #FFF;
  852. }
  853. }
  854. @-moz-keyframes fx-el_topright-inactive_reverse {
  855. 0% {
  856. -moz-transform: translate3d(-5.3%, 5.3%, 0);
  857. color: #3498db;
  858. }
  859. 67% {
  860. -moz-transform: translate3d(-5.3%, 5.3%, 0);
  861. color: #3498db;
  862. }
  863. 100% {
  864. -moz-transform: translate3d(0%, 0%, 0);
  865. color: #FFF;
  866. }
  867. }
  868. @-moz-keyframes fx-el_btmleft-inactive_reverse {
  869. 0% {
  870. -moz-transform: translate3d(5.3%, -5.3%, 0);
  871. color: #3498db;
  872. }
  873. 67% {
  874. -moz-transform: translate3d(5.3%, -5.3%, 0);
  875. color: #3498db;
  876. }
  877. 100% {
  878. -moz-transform: translate3d(0%, 0%, 0);
  879. color: #FFF;
  880. }
  881. }
  882. @-moz-keyframes fx-el_btmright-inactive_reverse {
  883. 0% {
  884. -moz-transform: translate3d(-5.3%, -5.3%, 0);
  885. color: #3498db;
  886. }
  887. 67% {
  888. -moz-transform: translate3d(-5.3%, -5.3%, 0);
  889. color: #3498db;
  890. }
  891. 100% {
  892. -moz-transform: translate3d(0%, 0%, 0);
  893. color: #FFF;
  894. }
  895. }
  896. @-webkit-keyframes fx-el_topleft-inactive_reverse {
  897. 0% {
  898. -webkit-transform: translate3d(5.3%, 5.3%, 0);
  899. color: #3498db;
  900. }
  901. 67% {
  902. -webkit-transform: translate3d(5.3%, 5.3%, 0);
  903. color: #3498db;
  904. }
  905. 100% {
  906. -webkit-transform: translate3d(0%, 0%, 0);
  907. color: #FFF;
  908. }
  909. }
  910. @-webkit-keyframes fx-el_topright-inactive_reverse {
  911. 0% {
  912. -webkit-transform: translate3d(-5.3%, 5.3%, 0);
  913. color: #3498db;
  914. }
  915. 67% {
  916. -webkit-transform: translate3d(-5.3%, 5.3%, 0);
  917. color: #3498db;
  918. }
  919. 100% {
  920. -webkit-transform: translate3d(0%, 0%, 0);
  921. color: #FFF;
  922. }
  923. }
  924. @-webkit-keyframes fx-el_btmleft-inactive_reverse {
  925. 0% {
  926. -webkit-transform: translate3d(5.3%, -5.3%, 0);
  927. color: #3498db;
  928. }
  929. 67% {
  930. -webkit-transform: translate3d(5.3%, -5.3%, 0);
  931. color: #3498db;
  932. }
  933. 100% {
  934. -webkit-transform: translate3d(0%, 0%, 0);
  935. color: #FFF;
  936. }
  937. }
  938. @-webkit-keyframes fx-el_btmright-inactive_reverse {
  939. 0% {
  940. -webkit-transform: translate3d(-5.3%, -5.3%, 0);
  941. color: #3498db;
  942. }
  943. 67% {
  944. -webkit-transform: translate3d(-5.3%, -5.3%, 0);
  945. color: #3498db;
  946. }
  947. 100% {
  948. -webkit-transform: translate3d(0%, 0%, 0);
  949. color: #FFF;
  950. }
  951. }
  952. #el-topleft.inactive_reverse {
  953. animation: fx-el_topleft-inactive_reverse 1.6s 1 ease-in-out;
  954. -moz-animation: fx-el_topleft-inactive_reverse 1.6s 1 ease-in-out;
  955. -webkit-animation: fx-el_topleft-inactive_reverse 1.6s 1 ease-in-out;
  956. }
  957. #el-topright.inactive_reverse {
  958. animation: fx-el_topright-inactive_reverse 1.6s 1 ease-in-out;
  959. -moz-animation: fx-el_topright-inactive_reverse 1.6s 1 ease-in-out;
  960. -webkit-animation: fx-el_topright-inactive_reverse 1.6s 1 ease-in-out;
  961. }
  962. #el-btmleft.inactive_reverse {
  963. animation: fx-el_btmleft-inactive_reverse 1.6s 1 ease-in-out;
  964. -moz-animation: fx-el_btmleft-inactive_reverse 1.6s 1 ease-in-out;
  965. -webkit-animation: fx-el_btmleft-inactive_reverse 1.6s 1 ease-in-out;
  966. }
  967. #el-btmright.inactive_reverse {
  968. animation: fx-el_btmright-inactive_reverse 1.6s 1 ease-in-out;
  969. -moz-animation: fx-el_btmright-inactive_reverse 1.6s 1 ease-in-out;
  970. -webkit-animation: fx-el_btmright-inactive_reverse 1.6s 1 ease-in-out;
  971. }
  972. /******************************
  973. .overlay anim
  974. ******************************/
  975. @keyframes fx-overlay {
  976. 0% {
  977. visibility: visible;
  978. color: transparent;
  979. }
  980. 50% {
  981. background-color: #20638f;
  982. color: white;
  983. }
  984. 100% {
  985. visibility: visible;
  986. background-color: #20638f;
  987. color: #FFF;
  988. }
  989. }
  990. @keyframes fx-overlay-reverse {
  991. 0% {
  992. visibility: visible;
  993. background-color: #20638f;
  994. color: #FFF;
  995. }
  996. 40% {
  997. background-color: #20638f;
  998. color: transparent;
  999. }
  1000. 85% {
  1001. background-color: transparent;
  1002. }
  1003. 100% {
  1004. visibility: invisible;
  1005. color: transparent;
  1006. background-color: transparent;
  1007. }
  1008. }
  1009. @-webkit-keyframes fx-overlay {
  1010. 0% {
  1011. visibility: visible;
  1012. color: transparent;
  1013. }
  1014. 50% {
  1015. background-color: #20638f;
  1016. color: white;
  1017. }
  1018. 100% {
  1019. visibility: visible;
  1020. background-color: #20638f;
  1021. color: #FFF;
  1022. }
  1023. }
  1024. @-webkit-keyframes fx-overlay-reverse {
  1025. 0% {
  1026. visibility: visible;
  1027. background-color: #20638f;
  1028. color: #FFF;
  1029. }
  1030. 40% {
  1031. background-color: #20638f;
  1032. color: transparent;
  1033. }
  1034. 85% {
  1035. background-color: transparent;
  1036. }
  1037. 100% {
  1038. visibility: invisible;
  1039. color: transparent;
  1040. background-color: transparent;
  1041. }
  1042. }
  1043. @-moz-keyframes fx-overlay {
  1044. 0% {
  1045. visibility: visible;
  1046. color: transparent;
  1047. }
  1048. 50% {
  1049. background-color: #20638f;
  1050. color: white;
  1051. }
  1052. 100% {
  1053. visibility: visible;
  1054. background-color: #20638f;
  1055. color: #FFF;
  1056. }
  1057. }
  1058. @-moz-keyframes fx-overlay-reverse {
  1059. 0% {
  1060. visibility: visible;
  1061. background-color: #20638f;
  1062. color: #FFF;
  1063. }
  1064. 40% {
  1065. background-color: #20638f;
  1066. color: transparent;
  1067. }
  1068. 85% {
  1069. background-color: transparent;
  1070. }
  1071. 100% {
  1072. visibility: invisible;
  1073. color: transparent;
  1074. background-color: transparent;
  1075. }
  1076. }
  1077. .overlay.active {
  1078. animation: fx-overlay .8s 1.25s 1 ease-in-out forwards;
  1079. -webkit-animation: fx-overlay .8s 1.25s 1 ease-in-out forwards;
  1080. -moz-animation: fx-overlay .8s 1.25s 1 ease-in-out forwards;
  1081. }
  1082. .overlay.active_reverse {
  1083. animation: fx-overlay-reverse .8s 1 ease-in backwards;
  1084. -webkit-animation: fx-overlay-reverse .8s 1 ease-in backwards;
  1085. -moz-animation: fx-overlay-reverse .8s 1 ease-in backwards;
  1086. }