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.

1095 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%, 50%, 100% {
  309. opacity: 1;
  310. }
  311. 25%, 75% {
  312. opacity: 0;
  313. }
  314. }
  315. @-moz-keyframes flash {
  316. 0%, 50%, 100% {
  317. opacity: 1;
  318. }
  319. 25%, 75% {
  320. opacity: 0;
  321. }
  322. }
  323. @-o-keyframes flash {
  324. 0%, 50%, 100% {
  325. opacity: 1;
  326. }
  327. 25%, 75% {
  328. opacity: 0;
  329. }
  330. }
  331. @keyframes flash {
  332. 0%, 50%, 100% {
  333. opacity: 1;
  334. }
  335. 25%, 75% {
  336. opacity: 0;
  337. }
  338. }
  339. /* Shake */
  340. @-webkit-keyframes shake {
  341. 0%, 100% {
  342. -webkit-transform: translateX(0);
  343. }
  344. 10%, 30%, 50%, 70%, 90% {
  345. -webkit-transform: translateX(-10px);
  346. }
  347. 20%, 40%, 60%, 80% {
  348. -webkit-transform: translateX(10px);
  349. }
  350. }
  351. @-moz-keyframes shake {
  352. 0%, 100% {
  353. -moz-transform: translateX(0);
  354. }
  355. 10%, 30%, 50%, 70%, 90% {
  356. -moz-transform: translateX(-10px);
  357. }
  358. 20%, 40%, 60%, 80% {
  359. -moz-transform: translateX(10px);
  360. }
  361. }
  362. @-o-keyframes shake {
  363. 0%, 100% {
  364. -o-transform: translateX(0);
  365. }
  366. 10%, 30%, 50%, 70%, 90% {
  367. -o-transform: translateX(-10px);
  368. }
  369. 20%, 40%, 60%, 80% {
  370. -o-transform: translateX(10px);
  371. }
  372. }
  373. @keyframes shake {
  374. 0%, 100% {
  375. transform: translateX(0);
  376. }
  377. 10%, 30%, 50%, 70%, 90% {
  378. transform: translateX(-10px);
  379. }
  380. 20%, 40%, 60%, 80% {
  381. transform: translateX(10px);
  382. }
  383. }
  384. /* Bounce */
  385. @-webkit-keyframes bounce {
  386. 0%, 20%, 50%, 80%, 100% {
  387. -webkit-transform: translateY(0);
  388. }
  389. 40% {
  390. -webkit-transform: translateY(-30px);
  391. }
  392. 60% {
  393. -webkit-transform: translateY(-15px);
  394. }
  395. }
  396. @-moz-keyframes bounce {
  397. 0%, 20%, 50%, 80%, 100% {
  398. -moz-transform: translateY(0);
  399. }
  400. 40% {
  401. -moz-transform: translateY(-30px);
  402. }
  403. 60% {
  404. -moz-transform: translateY(-15px);
  405. }
  406. }
  407. @-o-keyframes bounce {
  408. 0%, 20%, 50%, 80%, 100% {
  409. -o-transform: translateY(0);
  410. }
  411. 40% {
  412. -o-transform: translateY(-30px);
  413. }
  414. 60% {
  415. -o-transform: translateY(-15px);
  416. }
  417. }
  418. @keyframes bounce {
  419. 0%, 20%, 50%, 80%, 100% {
  420. transform: translateY(0);
  421. }
  422. 40% {
  423. transform: translateY(-30px);
  424. }
  425. 60% {
  426. transform: translateY(-15px);
  427. }
  428. }
  429. /* Tada */
  430. @-webkit-keyframes tada {
  431. 0% {
  432. -webkit-transform: scale(1);
  433. }
  434. 10%, 20% {
  435. -webkit-transform: scale(0.9) rotate(-3deg);
  436. }
  437. 30%, 50%, 70%, 90% {
  438. -webkit-transform: scale(1.1) rotate(3deg);
  439. }
  440. 40%, 60%, 80% {
  441. -webkit-transform: scale(1.1) rotate(-3deg);
  442. }
  443. 100% {
  444. -webkit-transform: scale(1) rotate(0);
  445. }
  446. }
  447. @-moz-keyframes tada {
  448. 0% {
  449. -moz-transform: scale(1);
  450. }
  451. 10%, 20% {
  452. -moz-transform: scale(0.9) rotate(-3deg);
  453. }
  454. 30%, 50%, 70%, 90% {
  455. -moz-transform: scale(1.1) rotate(3deg);
  456. }
  457. 40%, 60%, 80% {
  458. -moz-transform: scale(1.1) rotate(-3deg);
  459. }
  460. 100% {
  461. -moz-transform: scale(1) rotate(0);
  462. }
  463. }
  464. @-o-keyframes tada {
  465. 0% {
  466. -o-transform: scale(1);
  467. }
  468. 10%, 20% {
  469. -o-transform: scale(0.9) rotate(-3deg);
  470. }
  471. 30%, 50%, 70%, 90% {
  472. -o-transform: scale(1.1) rotate(3deg);
  473. }
  474. 40%, 60%, 80% {
  475. -o-transform: scale(1.1) rotate(-3deg);
  476. }
  477. 100% {
  478. -o-transform: scale(1) rotate(0);
  479. }
  480. }
  481. @keyframes tada {
  482. 0% {
  483. transform: scale(1);
  484. }
  485. 10%, 20% {
  486. transform: scale(0.9) rotate(-3deg);
  487. }
  488. 30%, 50%, 70%, 90% {
  489. transform: scale(1.1) rotate(3deg);
  490. }
  491. 40%, 60%, 80% {
  492. transform: scale(1.1) rotate(-3deg);
  493. }
  494. 100% {
  495. transform: scale(1) rotate(0);
  496. }
  497. }
  498. @-webkit-keyframes pulse {
  499. 0% {
  500. -webkit-transform: scale(1);
  501. opacity: 1;
  502. }
  503. 50% {
  504. -webkit-transform: scale(0.9);
  505. opacity: 0.7;
  506. }
  507. 100% {
  508. -webkit-transform: scale(1);
  509. opacity: 1;
  510. }
  511. }
  512. @-o-keyframes pulse {
  513. 0% {
  514. -o-transform: scale(1);
  515. opacity: 1;
  516. }
  517. 50% {
  518. -o-transform: scale(0.9);
  519. opacity: 0.7;
  520. }
  521. 100% {
  522. -o-transform: scale(1);
  523. opacity: 1;
  524. }
  525. }
  526. @-moz-keyframes pulse {
  527. 0% {
  528. -moz-transform: scale(1);
  529. opacity: 1;
  530. }
  531. 50% {
  532. -moz-transform: scale(0.9);
  533. opacity: 0.7;
  534. }
  535. 100% {
  536. -moz-transform: scale(1);
  537. opacity: 1;
  538. }
  539. }
  540. @keyframes pulse {
  541. 0% {
  542. transform: scale(1);
  543. opacity: 1;
  544. }
  545. 50% {
  546. transform: scale(0.9);
  547. opacity: 0.7;
  548. }
  549. 100% {
  550. transform: scale(1);
  551. opacity: 1;
  552. }
  553. }
  554. /*--------------
  555. Flips
  556. ---------------*/
  557. /* Horizontal */
  558. @-webkit-keyframes horizontalFlip {
  559. 0% {
  560. -webkit-transform: rotateY(-90deg);
  561. opacity: 0;
  562. }
  563. 100% {
  564. -webkit-transform: rotateY(0deg);
  565. opacity: 1;
  566. }
  567. }
  568. @-moz-keyframes horizontalFlip {
  569. 0% {
  570. -moz-transform: rotateY(-90deg);
  571. opacity: 0;
  572. }
  573. 100% {
  574. -moz-transform: rotateY(0deg);
  575. opacity: 1;
  576. }
  577. }
  578. @-o-keyframes horizontalFlip {
  579. 0% {
  580. -o-transform: rotateY(-90deg);
  581. opacity: 0;
  582. }
  583. 100% {
  584. -o-transform: rotateY(0deg);
  585. opacity: 1;
  586. }
  587. }
  588. @keyframes horizontalFlip {
  589. 0% {
  590. transform: rotateY(-90deg);
  591. opacity: 0;
  592. }
  593. 100% {
  594. transform: rotateY(0deg);
  595. opacity: 1;
  596. }
  597. }
  598. /* Horizontal */
  599. @-webkit-keyframes horizontalFlipOut {
  600. 0% {
  601. -webkit-transform: rotateY(0deg);
  602. opacity: 0;
  603. }
  604. 100% {
  605. -webkit-transform: rotateY(90deg);
  606. opacity: 1;
  607. }
  608. }
  609. @-moz-keyframes horizontalFlipOut {
  610. 0% {
  611. -moz-transform: rotateY(0deg);
  612. opacity: 0;
  613. }
  614. 100% {
  615. -moz-transform: rotateY(90deg);
  616. opacity: 1;
  617. }
  618. }
  619. @-o-keyframes horizontalFlipOut {
  620. 0% {
  621. -o-transform: rotateY(0deg);
  622. opacity: 0;
  623. }
  624. 100% {
  625. -o-transform: rotateY(90deg);
  626. opacity: 1;
  627. }
  628. }
  629. @keyframes horizontalFlipOut {
  630. 0% {
  631. transform: rotateY(0deg);
  632. opacity: 0;
  633. }
  634. 100% {
  635. transform: rotateY(90deg);
  636. opacity: 1;
  637. }
  638. }
  639. /* Vertical */
  640. @-webkit-keyframes verticalFlip {
  641. 0% {
  642. -webkit-transform: rotateX(-90deg);
  643. opacity: 0;
  644. }
  645. 100% {
  646. -webkit-transform: rotateX(0deg);
  647. opacity: 1;
  648. }
  649. }
  650. @-moz-keyframes verticalFlip {
  651. 0% {
  652. -moz-transform: rotateX(-90deg);
  653. opacity: 0;
  654. }
  655. 100% {
  656. -moz-transform: rotateX(0deg);
  657. opacity: 1;
  658. }
  659. }
  660. @-o-keyframes verticalFlip {
  661. 0% {
  662. -o-transform: rotateX(-90deg);
  663. opacity: 0;
  664. }
  665. 100% {
  666. -o-transform: rotateX(0deg);
  667. opacity: 1;
  668. }
  669. }
  670. @keyframes verticalFlip {
  671. 0% {
  672. transform: rotateX(-90deg);
  673. opacity: 0;
  674. }
  675. 100% {
  676. transform: rotateX(0deg);
  677. opacity: 1;
  678. }
  679. }
  680. @-webkit-keyframes verticalFlipOut {
  681. 0% {
  682. -webkit-transform: rotateX(0deg);
  683. opacity: 1;
  684. }
  685. 100% {
  686. -webkit-transform: rotateX(-90deg);
  687. opacity: 0;
  688. }
  689. }
  690. @-moz-keyframes verticalFlipOut {
  691. 0% {
  692. -moz-transform: rotateX(0deg);
  693. opacity: 1;
  694. }
  695. 100% {
  696. -moz-transform: rotateX(-90deg);
  697. opacity: 0;
  698. }
  699. }
  700. @-o-keyframes verticalFlipOut {
  701. 0% {
  702. -o-transform: rotateX(0deg);
  703. opacity: 1;
  704. }
  705. 100% {
  706. -o-transform: rotateX(-90deg);
  707. opacity: 0;
  708. }
  709. }
  710. @keyframes verticalFlipOut {
  711. 0% {
  712. transform: rotateX(0deg);
  713. opacity: 1;
  714. }
  715. 100% {
  716. transform: rotateX(-90deg);
  717. opacity: 0;
  718. }
  719. }
  720. /*--------------
  721. Fades
  722. ---------------*/
  723. /* Fade */
  724. @-webkit-keyframes fade {
  725. 0% {
  726. opacity: 0;
  727. }
  728. 100% {
  729. opacity: 1;
  730. }
  731. }
  732. @-moz-keyframes fade {
  733. 0% {
  734. opacity: 0;
  735. }
  736. 100% {
  737. opacity: 1;
  738. }
  739. }
  740. @-o-keyframes fade {
  741. 0% {
  742. opacity: 0;
  743. }
  744. 100% {
  745. opacity: 1;
  746. }
  747. }
  748. @keyframes fade {
  749. 0% {
  750. opacity: 0;
  751. }
  752. 100% {
  753. opacity: 1;
  754. }
  755. }
  756. @-webkit-keyframes fadeOut {
  757. 0% {
  758. opacity: 1;
  759. }
  760. 100% {
  761. opacity: 0;
  762. }
  763. }
  764. @-moz-keyframes fadeOut {
  765. 0% {
  766. opacity: 1;
  767. }
  768. 100% {
  769. opacity: 0;
  770. }
  771. }
  772. @-o-keyframes fadeOut {
  773. 0% {
  774. opacity: 1;
  775. }
  776. 100% {
  777. opacity: 0;
  778. }
  779. }
  780. @keyframes fadeOut {
  781. 0% {
  782. opacity: 1;
  783. }
  784. 100% {
  785. opacity: 0;
  786. }
  787. }
  788. /* Fade Up */
  789. @-webkit-keyframes fadeUp {
  790. 0% {
  791. opacity: 0;
  792. -webkit-transform: translateY(20px);
  793. }
  794. 100% {
  795. opacity: 1;
  796. -webkit-transform: translateY(0);
  797. }
  798. }
  799. @-moz-keyframes fadeUp {
  800. 0% {
  801. opacity: 0;
  802. -moz-transform: translateY(20px);
  803. }
  804. 100% {
  805. opacity: 1;
  806. -moz-transform: translateY(0);
  807. }
  808. }
  809. @-o-keyframes fadeUp {
  810. 0% {
  811. opacity: 0;
  812. -o-transform: translateY(20px);
  813. }
  814. 100% {
  815. opacity: 1;
  816. -o-transform: translateY(0);
  817. }
  818. }
  819. @keyframes fadeUp {
  820. 0% {
  821. opacity: 0;
  822. transform: translateY(20px);
  823. }
  824. 100% {
  825. opacity: 1;
  826. transform: translateY(0);
  827. }
  828. }
  829. @-webkit-keyframes fadeUpOut {
  830. 0% {
  831. opacity: 1;
  832. -webkit-transform: translateY(0);
  833. }
  834. 100% {
  835. opacity: 0;
  836. -webkit-transform: translateY(20px);
  837. }
  838. }
  839. @-moz-keyframes fadeUpOut {
  840. 0% {
  841. opacity: 1;
  842. -moz-transform: translateY(0);
  843. }
  844. 100% {
  845. opacity: 0;
  846. -moz-transform: translateY(20px);
  847. }
  848. }
  849. @-o-keyframes fadeUpOut {
  850. 0% {
  851. opacity: 1;
  852. -o-transform: translateY(0);
  853. }
  854. 100% {
  855. opacity: 0;
  856. -o-transform: translateY(20px);
  857. }
  858. }
  859. @keyframes fadeUpOut {
  860. 0% {
  861. opacity: 1;
  862. transform: translateY(0);
  863. }
  864. 100% {
  865. opacity: 0;
  866. transform: translateY(20px);
  867. }
  868. }
  869. /* Fade Down */
  870. @-webkit-keyframes fadeDown {
  871. 0% {
  872. opacity: 0;
  873. -webkit-transform: translateY(-20px);
  874. }
  875. 100% {
  876. opacity: 1;
  877. -webkit-transform: translateY(0);
  878. }
  879. }
  880. @-moz-keyframes fadeDown {
  881. 0% {
  882. opacity: 0;
  883. -moz-transform: translateY(-20px);
  884. }
  885. 100% {
  886. opacity: 1;
  887. -moz-transform: translateY(0);
  888. }
  889. }
  890. @-o-keyframes fadeDown {
  891. 0% {
  892. opacity: 0;
  893. -o-transform: translateY(-20px);
  894. }
  895. 100% {
  896. opacity: 1;
  897. -o-transform: translateY(0);
  898. }
  899. }
  900. @keyframes fadeDown {
  901. 0% {
  902. opacity: 0;
  903. transform: translateY(-20px);
  904. }
  905. 100% {
  906. opacity: 1;
  907. transform: translateY(0);
  908. }
  909. }
  910. @-webkit-keyframes fadeDownOut {
  911. 0% {
  912. opacity: 1;
  913. -webkit-transform: translateY(0);
  914. }
  915. 100% {
  916. opacity: 0;
  917. -webkit-transform: translateY(-20px);
  918. }
  919. }
  920. @-moz-keyframes fadeDownOut {
  921. 0% {
  922. opacity: 1;
  923. -moz-transform: translateY(0);
  924. }
  925. 100% {
  926. opacity: 0;
  927. -moz-transform: translateY(-20px);
  928. }
  929. }
  930. @-o-keyframes fadeDownOut {
  931. 0% {
  932. opacity: 1;
  933. -o-transform: translateY(0);
  934. }
  935. 100% {
  936. opacity: 0;
  937. -o-transform: translateY(-20px);
  938. }
  939. }
  940. @keyframes fadeDownOut {
  941. 0% {
  942. opacity: 1;
  943. transform: translateY(0);
  944. }
  945. 100% {
  946. opacity: 0;
  947. transform: translateY(-20px);
  948. }
  949. }
  950. /*--------------
  951. Scale
  952. ---------------*/
  953. /* Scale */
  954. @-webkit-keyframes scale {
  955. 0% {
  956. opacity: 0;
  957. -webkit-transform: scale(0.7);
  958. }
  959. 100% {
  960. opacity: 1;
  961. -webkit-transform: scale(1);
  962. }
  963. }
  964. @-moz-keyframes scale {
  965. 0% {
  966. opacity: 0;
  967. -moz-transform: scale(0.7);
  968. }
  969. 100% {
  970. opacity: 1;
  971. -moz-transform: scale(1);
  972. }
  973. }
  974. @-o-keyframes scale {
  975. 0% {
  976. opacity: 0;
  977. -o-transform: scale(0.7);
  978. }
  979. 100% {
  980. opacity: 1;
  981. -o-transform: scale(1);
  982. }
  983. }
  984. @keyframes scale {
  985. 0% {
  986. opacity: 0;
  987. transform: scale(0.7);
  988. }
  989. 100% {
  990. opacity: 1;
  991. transform: scale(1);
  992. }
  993. }
  994. @-webkit-keyframes scaleOut {
  995. 0% {
  996. opacity: 1;
  997. -webkit-transform: scale(1);
  998. }
  999. 100% {
  1000. opacity: 0;
  1001. -webkit-transform: scale(0.7);
  1002. }
  1003. }
  1004. @-moz-keyframes scaleOut {
  1005. 0% {
  1006. opacity: 1;
  1007. -moz-transform: scale(1);
  1008. }
  1009. 100% {
  1010. opacity: 0;
  1011. -moz-transform: scale(0.7);
  1012. }
  1013. }
  1014. @-o-keyframes scaleOut {
  1015. 0% {
  1016. opacity: 1;
  1017. -o-transform: scale(1);
  1018. }
  1019. 100% {
  1020. opacity: 0;
  1021. -o-transform: scale(0.7);
  1022. }
  1023. }
  1024. @keyframes scaleOut {
  1025. 0% {
  1026. opacity: 1;
  1027. transform: scale(1);
  1028. }
  1029. 100% {
  1030. opacity: 0;
  1031. transform: scale(0.7);
  1032. }
  1033. }