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.

1048 lines
20 KiB

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