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.

1097 lines
18 KiB

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