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.

1119 lines
18 KiB

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