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.

1226 lines
25 KiB

11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 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. /*rtl:ignore renaming*/
  163. .ui.fade.right.transition.in {
  164. -webkit-animation-name: fadeLeft;
  165. -moz-animation-name: fadeLeft;
  166. animation-name: fadeLeft;
  167. }
  168. /*rtl:ignore renaming*/
  169. .ui.fade.right.transition.out {
  170. -webkit-animation-name: fadeLeftOut;
  171. -moz-animation-name: fadeLeftOut;
  172. animation-name: fadeLeftOut;
  173. }
  174. /*rtl:ignore renaming*/
  175. .ui.fade.left.transition.in {
  176. -webkit-animation-name: fadeRight;
  177. -moz-animation-name: fadeRight;
  178. animation-name: fadeRight;
  179. }
  180. /*rtl:ignore renaming*/
  181. .ui.fade.left.transition.out {
  182. -webkit-animation-name: fadeRightOut;
  183. -moz-animation-name: fadeRightOut;
  184. animation-name: fadeRightOut;
  185. }
  186. /*--------------
  187. Scale
  188. ---------------*/
  189. .ui.scale.transition.in {
  190. -webkit-animation-name: scale;
  191. -moz-animation-name: scale;
  192. animation-name: scale;
  193. }
  194. .ui.scale.transition.out {
  195. -webkit-animation-name: scaleOut;
  196. -moz-animation-name: scaleOut;
  197. animation-name: scaleOut;
  198. }
  199. /*--------------
  200. Slide
  201. ---------------*/
  202. .ui.slide.down.transition.in {
  203. -webkit-animation-name: slide;
  204. -moz-animation-name: slide;
  205. animation-name: slide;
  206. -moz-transform-origin: 50% 0%;
  207. transform-origin: 50% 0%;
  208. -ms-transform-origin: 50% 0%;
  209. -webkit-transform-origin: 50% 0%;
  210. }
  211. .ui.slide.down.transition.out {
  212. -webkit-animation-name: slideOut;
  213. -moz-animation-name: slideOut;
  214. animation-name: slideOut;
  215. -webkit-transform-origin: 50% 0%;
  216. -moz-transform-origin: 50% 0%;
  217. -ms-transform-origin: 50% 0%;
  218. transform-origin: 50% 0%;
  219. }
  220. .ui.slide.up.transition.in {
  221. -webkit-animation-name: slide;
  222. -moz-animation-name: slide;
  223. animation-name: slide;
  224. -webkit-transform-origin: 50% 100%;
  225. -moz-transform-origin: 50% 100%;
  226. -ms-transform-origin: 50% 100%;
  227. transform-origin: 50% 100%;
  228. }
  229. .ui.slide.up.transition.out {
  230. -webkit-animation-name: slideOut;
  231. -moz-animation-name: slideOut;
  232. animation-name: slideOut;
  233. -webkit-transform-origin: 50% 100%;
  234. -moz-transform-origin: 50% 100%;
  235. -ms-transform-origin: 50% 100%;
  236. transform-origin: 50% 100%;
  237. }
  238. @-webkit-keyframes slide {
  239. 0% {
  240. opacity: 0;
  241. -webkit-transform: scaleY(0);
  242. transform: scaleY(0);
  243. }
  244. 100% {
  245. opacity: 1;
  246. -webkit-transform: scaleY(1);
  247. transform: scaleY(1);
  248. }
  249. }
  250. @-moz-keyframes slide {
  251. 0% {
  252. opacity: 0;
  253. -moz-transform: scaleY(0);
  254. transform: scaleY(0);
  255. }
  256. 100% {
  257. opacity: 1;
  258. -moz-transform: scaleY(1);
  259. transform: scaleY(1);
  260. }
  261. }
  262. @keyframes slide {
  263. 0% {
  264. opacity: 0;
  265. -webkit-transform: scaleY(0);
  266. -moz-transform: scaleY(0);
  267. transform: scaleY(0);
  268. }
  269. 100% {
  270. opacity: 1;
  271. -webkit-transform: scaleY(1);
  272. -moz-transform: scaleY(1);
  273. transform: scaleY(1);
  274. }
  275. }
  276. @-webkit-keyframes slideOut {
  277. 0% {
  278. opacity: 1;
  279. -webkit-transform: scaleY(1);
  280. transform: scaleY(1);
  281. }
  282. 100% {
  283. opacity: 0;
  284. -webkit-transform: scaleY(0);
  285. transform: scaleY(0);
  286. }
  287. }
  288. @-moz-keyframes slideOut {
  289. 0% {
  290. opacity: 1;
  291. -moz-transform: scaleY(1);
  292. transform: scaleY(1);
  293. }
  294. 100% {
  295. opacity: 0;
  296. -moz-transform: scaleY(0);
  297. transform: scaleY(0);
  298. }
  299. }
  300. @keyframes slideOut {
  301. 0% {
  302. opacity: 1;
  303. -webkit-transform: scaleY(1);
  304. -moz-transform: scaleY(1);
  305. transform: scaleY(1);
  306. }
  307. 100% {
  308. opacity: 0;
  309. -webkit-transform: scaleY(0);
  310. -moz-transform: scaleY(0);
  311. transform: scaleY(0);
  312. }
  313. }
  314. /*******************************
  315. Animations
  316. *******************************/
  317. /*--------------
  318. Emphasis
  319. ---------------*/
  320. /* Flash */
  321. @-webkit-keyframes flash {
  322. 0%,
  323. 50%,
  324. 100% {
  325. opacity: 1;
  326. }
  327. 25%,
  328. 75% {
  329. opacity: 0;
  330. }
  331. }
  332. @-moz-keyframes flash {
  333. 0%,
  334. 50%,
  335. 100% {
  336. opacity: 1;
  337. }
  338. 25%,
  339. 75% {
  340. opacity: 0;
  341. }
  342. }
  343. @keyframes flash {
  344. 0%,
  345. 50%,
  346. 100% {
  347. opacity: 1;
  348. }
  349. 25%,
  350. 75% {
  351. opacity: 0;
  352. }
  353. }
  354. /* Shake */
  355. @-webkit-keyframes shake {
  356. 0%,
  357. 100% {
  358. -webkit-transform: translateX(0);
  359. transform: translateX(0);
  360. }
  361. 10%,
  362. 30%,
  363. 50%,
  364. 70%,
  365. 90% {
  366. -webkit-transform: translateX(10px);
  367. transform: translateX(10px);
  368. }
  369. 20%,
  370. 40%,
  371. 60%,
  372. 80% {
  373. -webkit-transform: translateX(-10px);
  374. transform: translateX(-10px);
  375. }
  376. }
  377. @-moz-keyframes shake {
  378. 0%,
  379. 100% {
  380. -moz-transform: translateX(0);
  381. transform: translateX(0);
  382. }
  383. 10%,
  384. 30%,
  385. 50%,
  386. 70%,
  387. 90% {
  388. -moz-transform: translateX(10px);
  389. transform: translateX(10px);
  390. }
  391. 20%,
  392. 40%,
  393. 60%,
  394. 80% {
  395. -moz-transform: translateX(-10px);
  396. transform: translateX(-10px);
  397. }
  398. }
  399. @keyframes shake {
  400. 0%,
  401. 100% {
  402. -webkit-transform: translateX(0);
  403. -moz-transform: translateX(0);
  404. transform: translateX(0);
  405. }
  406. 10%,
  407. 30%,
  408. 50%,
  409. 70%,
  410. 90% {
  411. -webkit-transform: translateX(10px);
  412. -moz-transform: translateX(10px);
  413. transform: translateX(10px);
  414. }
  415. 20%,
  416. 40%,
  417. 60%,
  418. 80% {
  419. -webkit-transform: translateX(-10px);
  420. -moz-transform: translateX(-10px);
  421. transform: translateX(-10px);
  422. }
  423. }
  424. /* Bounce */
  425. @-webkit-keyframes bounce {
  426. 0%,
  427. 20%,
  428. 50%,
  429. 80%,
  430. 100% {
  431. -webkit-transform: translateY(0);
  432. transform: translateY(0);
  433. }
  434. 40% {
  435. -webkit-transform: translateY(-30px);
  436. transform: translateY(-30px);
  437. }
  438. 60% {
  439. -webkit-transform: translateY(-15px);
  440. transform: translateY(-15px);
  441. }
  442. }
  443. @-moz-keyframes bounce {
  444. 0%,
  445. 20%,
  446. 50%,
  447. 80%,
  448. 100% {
  449. -moz-transform: translateY(0);
  450. transform: translateY(0);
  451. }
  452. 40% {
  453. -moz-transform: translateY(-30px);
  454. transform: translateY(-30px);
  455. }
  456. 60% {
  457. -moz-transform: translateY(-15px);
  458. transform: translateY(-15px);
  459. }
  460. }
  461. @keyframes bounce {
  462. 0%,
  463. 20%,
  464. 50%,
  465. 80%,
  466. 100% {
  467. -webkit-transform: translateY(0);
  468. -moz-transform: translateY(0);
  469. transform: translateY(0);
  470. }
  471. 40% {
  472. -webkit-transform: translateY(-30px);
  473. -moz-transform: translateY(-30px);
  474. transform: translateY(-30px);
  475. }
  476. 60% {
  477. -webkit-transform: translateY(-15px);
  478. -moz-transform: translateY(-15px);
  479. transform: translateY(-15px);
  480. }
  481. }
  482. /* Tada */
  483. @-webkit-keyframes tada {
  484. 0% {
  485. -webkit-transform: scale(1);
  486. transform: scale(1);
  487. }
  488. 10%,
  489. 20% {
  490. -webkit-transform: scale(0.9) rotate(3deg);
  491. transform: scale(0.9) rotate(3deg);
  492. }
  493. 30%,
  494. 50%,
  495. 70%,
  496. 90% {
  497. -webkit-transform: scale(1.1) rotate(-3deg);
  498. transform: scale(1.1) rotate(-3deg);
  499. }
  500. 40%,
  501. 60%,
  502. 80% {
  503. -webkit-transform: scale(1.1) rotate(3deg);
  504. transform: scale(1.1) rotate(3deg);
  505. }
  506. 100% {
  507. -webkit-transform: scale(1) rotate(0);
  508. transform: scale(1) rotate(0);
  509. }
  510. }
  511. @-moz-keyframes tada {
  512. 0% {
  513. -moz-transform: scale(1);
  514. transform: scale(1);
  515. }
  516. 10%,
  517. 20% {
  518. -moz-transform: scale(0.9) rotate(3deg);
  519. transform: scale(0.9) rotate(3deg);
  520. }
  521. 30%,
  522. 50%,
  523. 70%,
  524. 90% {
  525. -moz-transform: scale(1.1) rotate(-3deg);
  526. transform: scale(1.1) rotate(-3deg);
  527. }
  528. 40%,
  529. 60%,
  530. 80% {
  531. -moz-transform: scale(1.1) rotate(3deg);
  532. transform: scale(1.1) rotate(3deg);
  533. }
  534. 100% {
  535. -moz-transform: scale(1) rotate(0);
  536. transform: scale(1) rotate(0);
  537. }
  538. }
  539. @keyframes tada {
  540. 0% {
  541. -webkit-transform: scale(1);
  542. -moz-transform: scale(1);
  543. transform: scale(1);
  544. }
  545. 10%,
  546. 20% {
  547. -webkit-transform: scale(0.9) rotate(3deg);
  548. -moz-transform: scale(0.9) rotate(3deg);
  549. transform: scale(0.9) rotate(3deg);
  550. }
  551. 30%,
  552. 50%,
  553. 70%,
  554. 90% {
  555. -webkit-transform: scale(1.1) rotate(-3deg);
  556. -moz-transform: scale(1.1) rotate(-3deg);
  557. transform: scale(1.1) rotate(-3deg);
  558. }
  559. 40%,
  560. 60%,
  561. 80% {
  562. -webkit-transform: scale(1.1) rotate(3deg);
  563. -moz-transform: scale(1.1) rotate(3deg);
  564. transform: scale(1.1) rotate(3deg);
  565. }
  566. 100% {
  567. -webkit-transform: scale(1) rotate(0);
  568. -moz-transform: scale(1) rotate(0);
  569. transform: scale(1) rotate(0);
  570. }
  571. }
  572. /* Pulse */
  573. @-webkit-keyframes pulse {
  574. 0% {
  575. -webkit-transform: scale(1);
  576. transform: scale(1);
  577. opacity: 1;
  578. }
  579. 50% {
  580. -webkit-transform: scale(0.9);
  581. transform: scale(0.9);
  582. opacity: 0.7;
  583. }
  584. 100% {
  585. -webkit-transform: scale(1);
  586. transform: scale(1);
  587. opacity: 1;
  588. }
  589. }
  590. @-moz-keyframes pulse {
  591. 0% {
  592. -moz-transform: scale(1);
  593. transform: scale(1);
  594. opacity: 1;
  595. }
  596. 50% {
  597. -moz-transform: scale(0.9);
  598. transform: scale(0.9);
  599. opacity: 0.7;
  600. }
  601. 100% {
  602. -moz-transform: scale(1);
  603. transform: scale(1);
  604. opacity: 1;
  605. }
  606. }
  607. @keyframes pulse {
  608. 0% {
  609. -webkit-transform: scale(1);
  610. -moz-transform: scale(1);
  611. transform: scale(1);
  612. opacity: 1;
  613. }
  614. 50% {
  615. -webkit-transform: scale(0.9);
  616. -moz-transform: scale(0.9);
  617. transform: scale(0.9);
  618. opacity: 0.7;
  619. }
  620. 100% {
  621. -webkit-transform: scale(1);
  622. -moz-transform: scale(1);
  623. transform: scale(1);
  624. opacity: 1;
  625. }
  626. }
  627. /*--------------
  628. Flips
  629. ---------------*/
  630. /* Horizontal */
  631. @-webkit-keyframes horizontalFlip {
  632. 0% {
  633. -webkit-transform: rotateY(-90deg);
  634. transform: rotateY(-90deg);
  635. opacity: 0;
  636. }
  637. 100% {
  638. -webkit-transform: rotateY(0deg);
  639. transform: rotateY(0deg);
  640. opacity: 1;
  641. }
  642. }
  643. @-moz-keyframes horizontalFlip {
  644. 0% {
  645. -moz-transform: rotateY(-90deg);
  646. transform: rotateY(-90deg);
  647. opacity: 0;
  648. }
  649. 100% {
  650. -moz-transform: rotateY(0deg);
  651. transform: rotateY(0deg);
  652. opacity: 1;
  653. }
  654. }
  655. @keyframes horizontalFlip {
  656. 0% {
  657. -webkit-transform: rotateY(-90deg);
  658. -moz-transform: rotateY(-90deg);
  659. transform: rotateY(-90deg);
  660. opacity: 0;
  661. }
  662. 100% {
  663. -webkit-transform: rotateY(0deg);
  664. -moz-transform: rotateY(0deg);
  665. transform: rotateY(0deg);
  666. opacity: 1;
  667. }
  668. }
  669. /* Horizontal */
  670. @-webkit-keyframes horizontalFlipOut {
  671. 0% {
  672. -webkit-transform: rotateY(0deg);
  673. transform: rotateY(0deg);
  674. opacity: 1;
  675. }
  676. 100% {
  677. -webkit-transform: rotateY(90deg);
  678. transform: rotateY(90deg);
  679. opacity: 0;
  680. }
  681. }
  682. @-moz-keyframes horizontalFlipOut {
  683. 0% {
  684. -moz-transform: rotateY(0deg);
  685. transform: rotateY(0deg);
  686. opacity: 1;
  687. }
  688. 100% {
  689. -moz-transform: rotateY(90deg);
  690. transform: rotateY(90deg);
  691. opacity: 0;
  692. }
  693. }
  694. @keyframes horizontalFlipOut {
  695. 0% {
  696. -webkit-transform: rotateY(0deg);
  697. -moz-transform: rotateY(0deg);
  698. transform: rotateY(0deg);
  699. opacity: 1;
  700. }
  701. 100% {
  702. -webkit-transform: rotateY(90deg);
  703. -moz-transform: rotateY(90deg);
  704. transform: rotateY(90deg);
  705. opacity: 0;
  706. }
  707. }
  708. /* Vertical */
  709. @-webkit-keyframes verticalFlip {
  710. 0% {
  711. -webkit-transform: rotateX(-90deg);
  712. transform: rotateX(-90deg);
  713. opacity: 0;
  714. }
  715. 100% {
  716. -webkit-transform: rotateX(0deg);
  717. transform: rotateX(0deg);
  718. opacity: 1;
  719. }
  720. }
  721. @-moz-keyframes verticalFlip {
  722. 0% {
  723. -moz-transform: rotateX(-90deg);
  724. transform: rotateX(-90deg);
  725. opacity: 0;
  726. }
  727. 100% {
  728. -moz-transform: rotateX(0deg);
  729. transform: rotateX(0deg);
  730. opacity: 1;
  731. }
  732. }
  733. @keyframes verticalFlip {
  734. 0% {
  735. -webkit-transform: rotateX(-90deg);
  736. -moz-transform: rotateX(-90deg);
  737. transform: rotateX(-90deg);
  738. opacity: 0;
  739. }
  740. 100% {
  741. -webkit-transform: rotateX(0deg);
  742. -moz-transform: rotateX(0deg);
  743. transform: rotateX(0deg);
  744. opacity: 1;
  745. }
  746. }
  747. @-webkit-keyframes verticalFlipOut {
  748. 0% {
  749. -webkit-transform: rotateX(0deg);
  750. transform: rotateX(0deg);
  751. opacity: 1;
  752. }
  753. 100% {
  754. -webkit-transform: rotateX(-90deg);
  755. transform: rotateX(-90deg);
  756. opacity: 0;
  757. }
  758. }
  759. @-moz-keyframes verticalFlipOut {
  760. 0% {
  761. -moz-transform: rotateX(0deg);
  762. transform: rotateX(0deg);
  763. opacity: 1;
  764. }
  765. 100% {
  766. -moz-transform: rotateX(-90deg);
  767. transform: rotateX(-90deg);
  768. opacity: 0;
  769. }
  770. }
  771. @keyframes verticalFlipOut {
  772. 0% {
  773. -webkit-transform: rotateX(0deg);
  774. -moz-transform: rotateX(0deg);
  775. transform: rotateX(0deg);
  776. opacity: 1;
  777. }
  778. 100% {
  779. -webkit-transform: rotateX(-90deg);
  780. -moz-transform: rotateX(-90deg);
  781. transform: rotateX(-90deg);
  782. opacity: 0;
  783. }
  784. }
  785. /*--------------
  786. Fades
  787. ---------------*/
  788. /* Fade */
  789. @-webkit-keyframes fade {
  790. 0% {
  791. opacity: 0;
  792. }
  793. 100% {
  794. opacity: 1;
  795. }
  796. }
  797. @-moz-keyframes fade {
  798. 0% {
  799. opacity: 0;
  800. }
  801. 100% {
  802. opacity: 1;
  803. }
  804. }
  805. @keyframes fade {
  806. 0% {
  807. opacity: 0;
  808. }
  809. 100% {
  810. opacity: 1;
  811. }
  812. }
  813. @-webkit-keyframes fadeOut {
  814. 0% {
  815. opacity: 1;
  816. }
  817. 100% {
  818. opacity: 0;
  819. }
  820. }
  821. @-moz-keyframes fadeOut {
  822. 0% {
  823. opacity: 1;
  824. }
  825. 100% {
  826. opacity: 0;
  827. }
  828. }
  829. @keyframes fadeOut {
  830. 0% {
  831. opacity: 1;
  832. }
  833. 100% {
  834. opacity: 0;
  835. }
  836. }
  837. /* Fade Up */
  838. @-webkit-keyframes fadeUp {
  839. 0% {
  840. opacity: 0;
  841. -webkit-transform: translateY(20px);
  842. transform: translateY(20px);
  843. }
  844. 100% {
  845. opacity: 1;
  846. -webkit-transform: translateY(0);
  847. transform: translateY(0);
  848. }
  849. }
  850. @-moz-keyframes fadeUp {
  851. 0% {
  852. opacity: 0;
  853. -moz-transform: translateY(20px);
  854. transform: translateY(20px);
  855. }
  856. 100% {
  857. opacity: 1;
  858. -moz-transform: translateY(0);
  859. transform: translateY(0);
  860. }
  861. }
  862. @keyframes fadeUp {
  863. 0% {
  864. opacity: 0;
  865. -webkit-transform: translateY(20px);
  866. -moz-transform: translateY(20px);
  867. transform: translateY(20px);
  868. }
  869. 100% {
  870. opacity: 1;
  871. -webkit-transform: translateY(0);
  872. -moz-transform: translateY(0);
  873. transform: translateY(0);
  874. }
  875. }
  876. @-webkit-keyframes fadeUpOut {
  877. 0% {
  878. opacity: 1;
  879. -webkit-transform: translateY(0);
  880. transform: translateY(0);
  881. }
  882. 100% {
  883. opacity: 0;
  884. -webkit-transform: translateY(20px);
  885. transform: translateY(20px);
  886. }
  887. }
  888. @-moz-keyframes fadeUpOut {
  889. 0% {
  890. opacity: 1;
  891. -moz-transform: translateY(0);
  892. transform: translateY(0);
  893. }
  894. 100% {
  895. opacity: 0;
  896. -moz-transform: translateY(20px);
  897. transform: translateY(20px);
  898. }
  899. }
  900. @keyframes fadeUpOut {
  901. 0% {
  902. opacity: 1;
  903. -webkit-transform: translateY(0);
  904. -moz-transform: translateY(0);
  905. transform: translateY(0);
  906. }
  907. 100% {
  908. opacity: 0;
  909. -webkit-transform: translateY(20px);
  910. -moz-transform: translateY(20px);
  911. transform: translateY(20px);
  912. }
  913. }
  914. /* Fade Down */
  915. @-webkit-keyframes fadeDown {
  916. 0% {
  917. opacity: 0;
  918. -webkit-transform: translateY(-20px);
  919. transform: translateY(-20px);
  920. }
  921. 100% {
  922. opacity: 1;
  923. -webkit-transform: translateY(0);
  924. transform: translateY(0);
  925. }
  926. }
  927. @-moz-keyframes fadeDown {
  928. 0% {
  929. opacity: 0;
  930. -moz-transform: translateY(-20px);
  931. transform: translateY(-20px);
  932. }
  933. 100% {
  934. opacity: 1;
  935. -moz-transform: translateY(0);
  936. transform: translateY(0);
  937. }
  938. }
  939. @keyframes fadeDown {
  940. 0% {
  941. opacity: 0;
  942. -webkit-transform: translateY(-20px);
  943. -moz-transform: translateY(-20px);
  944. transform: translateY(-20px);
  945. }
  946. 100% {
  947. opacity: 1;
  948. -webkit-transform: translateY(0);
  949. -moz-transform: translateY(0);
  950. transform: translateY(0);
  951. }
  952. }
  953. @-webkit-keyframes fadeDownOut {
  954. 0% {
  955. opacity: 1;
  956. -webkit-transform: translateY(0);
  957. transform: translateY(0);
  958. }
  959. 100% {
  960. opacity: 0;
  961. -webkit-transform: translateY(-20px);
  962. transform: translateY(-20px);
  963. }
  964. }
  965. @-moz-keyframes fadeDownOut {
  966. 0% {
  967. opacity: 1;
  968. -moz-transform: translateY(0);
  969. transform: translateY(0);
  970. }
  971. 100% {
  972. opacity: 0;
  973. -moz-transform: translateY(-20px);
  974. transform: translateY(-20px);
  975. }
  976. }
  977. @keyframes fadeDownOut {
  978. 0% {
  979. opacity: 1;
  980. -webkit-transform: translateY(0);
  981. -moz-transform: translateY(0);
  982. transform: translateY(0);
  983. }
  984. 100% {
  985. opacity: 0;
  986. -webkit-transform: translateY(-20px);
  987. -moz-transform: translateY(-20px);
  988. transform: translateY(-20px);
  989. }
  990. }
  991. /* Fade Left */
  992. @-webkit-keyframes fadeLeft {
  993. 0% {
  994. opacity: 0;
  995. -webkit-transform: translateX(20px);
  996. transform: translateX(20px);
  997. }
  998. 100% {
  999. opacity: 1;
  1000. -webkit-transform: translateX(0);
  1001. transform: translateX(0);
  1002. }
  1003. }
  1004. @-moz-keyframes fadeLeft {
  1005. 0% {
  1006. opacity: 0;
  1007. -moz-transform: translateX(20px);
  1008. transform: translateX(20px);
  1009. }
  1010. 100% {
  1011. opacity: 1;
  1012. -moz-transform: translateX(0);
  1013. transform: translateX(0);
  1014. }
  1015. }
  1016. @keyframes fadeLeft {
  1017. 0% {
  1018. opacity: 0;
  1019. -webkit-transform: translateX(20px);
  1020. -moz-transform: translateX(20px);
  1021. transform: translateX(20px);
  1022. }
  1023. 100% {
  1024. opacity: 1;
  1025. -webkit-transform: translateX(0);
  1026. -moz-transform: translateX(0);
  1027. transform: translateX(0);
  1028. }
  1029. }
  1030. @-webkit-keyframes fadeLeftOut {
  1031. 0% {
  1032. opacity: 1;
  1033. -webkit-transform: translateX(0);
  1034. transform: translateX(0);
  1035. }
  1036. 100% {
  1037. opacity: 0;
  1038. -webkit-transform: translateX(20px);
  1039. transform: translateX(20px);
  1040. }
  1041. }
  1042. @-moz-keyframes fadeLeftOut {
  1043. 0% {
  1044. opacity: 1;
  1045. -moz-transform: translateX(0);
  1046. transform: translateX(0);
  1047. }
  1048. 100% {
  1049. opacity: 0;
  1050. -moz-transform: translateX(20px);
  1051. transform: translateX(20px);
  1052. }
  1053. }
  1054. @keyframes fadeLeftOut {
  1055. 0% {
  1056. opacity: 1;
  1057. -webkit-transform: translateX(0);
  1058. -moz-transform: translateX(0);
  1059. transform: translateX(0);
  1060. }
  1061. 100% {
  1062. opacity: 0;
  1063. -webkit-transform: translateX(20px);
  1064. -moz-transform: translateX(20px);
  1065. transform: translateX(20px);
  1066. }
  1067. }
  1068. /* Fade Right */
  1069. @-webkit-keyframes fadeRight {
  1070. 0% {
  1071. opacity: 0;
  1072. -webkit-transform: translateX(-20px);
  1073. transform: translateX(-20px);
  1074. }
  1075. 100% {
  1076. opacity: 1;
  1077. -webkit-transform: translateX(0);
  1078. transform: translateX(0);
  1079. }
  1080. }
  1081. @-moz-keyframes fadeRight {
  1082. 0% {
  1083. opacity: 0;
  1084. -moz-transform: translateX(-20px);
  1085. transform: translateX(-20px);
  1086. }
  1087. 100% {
  1088. opacity: 1;
  1089. -moz-transform: translateX(0);
  1090. transform: translateX(0);
  1091. }
  1092. }
  1093. @keyframes fadeRight {
  1094. 0% {
  1095. opacity: 0;
  1096. -webkit-transform: translateX(-20px);
  1097. -moz-transform: translateX(-20px);
  1098. transform: translateX(-20px);
  1099. }
  1100. 100% {
  1101. opacity: 1;
  1102. -webkit-transform: translateX(0);
  1103. -moz-transform: translateX(0);
  1104. transform: translateX(0);
  1105. }
  1106. }
  1107. @-webkit-keyframes fadeRightOut {
  1108. 0% {
  1109. opacity: 1;
  1110. -webkit-transform: translateX(0);
  1111. transform: translateX(0);
  1112. }
  1113. 100% {
  1114. opacity: 0;
  1115. -webkit-transform: translateX(-20px);
  1116. transform: translateX(-20px);
  1117. }
  1118. }
  1119. @-moz-keyframes fadeRightOut {
  1120. 0% {
  1121. opacity: 1;
  1122. -moz-transform: translateX(0);
  1123. transform: translateX(0);
  1124. }
  1125. 100% {
  1126. opacity: 0;
  1127. -moz-transform: translateX(-20px);
  1128. transform: translateX(-20px);
  1129. }
  1130. }
  1131. @keyframes fadeRightOut {
  1132. 0% {
  1133. opacity: 1;
  1134. -webkit-transform: translateX(0);
  1135. -moz-transform: translateX(0);
  1136. transform: translateX(0);
  1137. }
  1138. 100% {
  1139. opacity: 0;
  1140. -webkit-transform: translateX(-20px);
  1141. -moz-transform: translateX(-20px);
  1142. transform: translateX(-20px);
  1143. }
  1144. }
  1145. /*--------------
  1146. Scale
  1147. ---------------*/
  1148. /* Scale */
  1149. @-webkit-keyframes scale {
  1150. 0% {
  1151. opacity: 0;
  1152. -webkit-transform: scale(0.7);
  1153. transform: scale(0.7);
  1154. }
  1155. 100% {
  1156. opacity: 1;
  1157. -webkit-transform: scale(1);
  1158. transform: scale(1);
  1159. }
  1160. }
  1161. @-moz-keyframes scale {
  1162. 0% {
  1163. opacity: 0;
  1164. -moz-transform: scale(0.7);
  1165. transform: scale(0.7);
  1166. }
  1167. 100% {
  1168. opacity: 1;
  1169. -moz-transform: scale(1);
  1170. transform: scale(1);
  1171. }
  1172. }
  1173. @keyframes scale {
  1174. 0% {
  1175. opacity: 0;
  1176. -webkit-transform: scale(0.7);
  1177. -moz-transform: scale(0.7);
  1178. transform: scale(0.7);
  1179. }
  1180. 100% {
  1181. opacity: 1;
  1182. -webkit-transform: scale(1);
  1183. -moz-transform: scale(1);
  1184. transform: scale(1);
  1185. }
  1186. }
  1187. @-webkit-keyframes scaleOut {
  1188. 0% {
  1189. opacity: 1;
  1190. -webkit-transform: scale(1);
  1191. transform: scale(1);
  1192. }
  1193. 100% {
  1194. opacity: 0;
  1195. -webkit-transform: scale(0.7);
  1196. transform: scale(0.7);
  1197. }
  1198. }
  1199. @-moz-keyframes scaleOut {
  1200. 0% {
  1201. opacity: 1;
  1202. -moz-transform: scale(1);
  1203. transform: scale(1);
  1204. }
  1205. 100% {
  1206. opacity: 0;
  1207. -moz-transform: scale(0.7);
  1208. transform: scale(0.7);
  1209. }
  1210. }
  1211. @keyframes scaleOut {
  1212. 0% {
  1213. opacity: 1;
  1214. -webkit-transform: scale(1);
  1215. -moz-transform: scale(1);
  1216. transform: scale(1);
  1217. }
  1218. 100% {
  1219. opacity: 0;
  1220. -webkit-transform: scale(0.7);
  1221. -moz-transform: scale(0.7);
  1222. transform: scale(0.7);
  1223. }
  1224. }