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.

2001 lines
45 KiB

9 years ago
10 years ago
9 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
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
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
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 UI 1.10.3 - Transition
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributorss
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Transitions
  13. *******************************/
  14. .transition {
  15. -webkit-animation-iteration-count: 1;
  16. animation-iteration-count: 1;
  17. -webkit-animation-duration: 300ms;
  18. animation-duration: 300ms;
  19. -webkit-animation-timing-function: ease;
  20. animation-timing-function: ease;
  21. -webkit-animation-fill-mode: both;
  22. animation-fill-mode: both;
  23. }
  24. /*******************************
  25. States
  26. *******************************/
  27. /* Animating */
  28. .animating.transition {
  29. -webkit-backface-visibility: hidden;
  30. backface-visibility: hidden;
  31. -webkit-transform: translateZ(0);
  32. transform: translateZ(0);
  33. visibility: visible !important;
  34. }
  35. /* Loading */
  36. .loading.transition {
  37. position: absolute;
  38. top: -99999px;
  39. left: -99999px;
  40. }
  41. /* Hidden */
  42. .hidden.transition {
  43. display: none;
  44. visibility: hidden;
  45. }
  46. /* Visible */
  47. .visible.transition {
  48. display: block !important;
  49. visibility: visible !important;
  50. -webkit-backface-visibility: hidden;
  51. backface-visibility: hidden;
  52. -webkit-transform: translateZ(0);
  53. transform: translateZ(0);
  54. }
  55. /* Disabled */
  56. .disabled.transition {
  57. -webkit-animation-play-state: paused;
  58. animation-play-state: paused;
  59. }
  60. /*******************************
  61. Variations
  62. *******************************/
  63. .looping.transition {
  64. -webkit-animation-iteration-count: infinite;
  65. animation-iteration-count: infinite;
  66. }
  67. /*******************************
  68. Transitions
  69. *******************************/
  70. /*
  71. Some transitions adapted from Animate CSS
  72. https://github.com/daneden/animate.css
  73. Additional transitions adapted from Glide
  74. by Nick Pettit - https://github.com/nickpettit/glide
  75. */
  76. /*--------------
  77. Browse
  78. ---------------*/
  79. .transition.browse.in {
  80. -webkit-animation-name: browseIn;
  81. animation-name: browseIn;
  82. }
  83. .transition.browse.out,
  84. .transition.browse.left.out {
  85. -webkit-animation-name: browseOutLeft;
  86. animation-name: browseOutLeft;
  87. }
  88. .transition.browse.right.out {
  89. -webkit-animation-name: browseOutRight;
  90. animation-name: browseOutRight;
  91. }
  92. /* In */
  93. @-webkit-keyframes browseIn {
  94. 0% {
  95. -webkit-transform: scale(0.8) translateZ(0px);
  96. transform: scale(0.8) translateZ(0px);
  97. z-index: -1;
  98. }
  99. 10% {
  100. -webkit-transform: scale(0.8) translateZ(0px);
  101. transform: scale(0.8) translateZ(0px);
  102. z-index: -1;
  103. opacity: 0.7;
  104. }
  105. 80% {
  106. -webkit-transform: scale(1.05) translateZ(0px);
  107. transform: scale(1.05) translateZ(0px);
  108. opacity: 1;
  109. z-index: 999;
  110. }
  111. 100% {
  112. -webkit-transform: scale(1) translateZ(0px);
  113. transform: scale(1) translateZ(0px);
  114. z-index: 999;
  115. }
  116. }
  117. @keyframes browseIn {
  118. 0% {
  119. -webkit-transform: scale(0.8) translateZ(0px);
  120. transform: scale(0.8) translateZ(0px);
  121. z-index: -1;
  122. }
  123. 10% {
  124. -webkit-transform: scale(0.8) translateZ(0px);
  125. transform: scale(0.8) translateZ(0px);
  126. z-index: -1;
  127. opacity: 0.7;
  128. }
  129. 80% {
  130. -webkit-transform: scale(1.05) translateZ(0px);
  131. transform: scale(1.05) translateZ(0px);
  132. opacity: 1;
  133. z-index: 999;
  134. }
  135. 100% {
  136. -webkit-transform: scale(1) translateZ(0px);
  137. transform: scale(1) translateZ(0px);
  138. z-index: 999;
  139. }
  140. }
  141. /* Out */
  142. @-webkit-keyframes browseOutLeft {
  143. 0% {
  144. z-index: 999;
  145. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  146. transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  147. }
  148. 50% {
  149. z-index: -1;
  150. -webkit-transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  151. transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  152. }
  153. 80% {
  154. opacity: 1;
  155. }
  156. 100% {
  157. z-index: -1;
  158. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  159. transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  160. opacity: 0;
  161. }
  162. }
  163. @keyframes browseOutLeft {
  164. 0% {
  165. z-index: 999;
  166. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  167. transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  168. }
  169. 50% {
  170. z-index: -1;
  171. -webkit-transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  172. transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  173. }
  174. 80% {
  175. opacity: 1;
  176. }
  177. 100% {
  178. z-index: -1;
  179. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  180. transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  181. opacity: 0;
  182. }
  183. }
  184. @-webkit-keyframes browseOutRight {
  185. 0% {
  186. z-index: 999;
  187. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  188. transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  189. }
  190. 50% {
  191. z-index: 1;
  192. -webkit-transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  193. transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  194. }
  195. 80% {
  196. opacity: 1;
  197. }
  198. 100% {
  199. z-index: 1;
  200. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  201. transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  202. opacity: 0;
  203. }
  204. }
  205. @keyframes browseOutRight {
  206. 0% {
  207. z-index: 999;
  208. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  209. transform: translateX(0%) rotateY(0deg) rotateX(0deg);
  210. }
  211. 50% {
  212. z-index: 1;
  213. -webkit-transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  214. transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
  215. }
  216. 80% {
  217. opacity: 1;
  218. }
  219. 100% {
  220. z-index: 1;
  221. -webkit-transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  222. transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
  223. opacity: 0;
  224. }
  225. }
  226. /*--------------
  227. Drop
  228. ---------------*/
  229. .drop.transition {
  230. -webkit-transform-origin: top center;
  231. -ms-transform-origin: top center;
  232. transform-origin: top center;
  233. -webkit-animation-duration: 0.5s;
  234. animation-duration: 0.5s;
  235. -webkit-animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
  236. animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
  237. }
  238. .drop.transition.in {
  239. -webkit-animation-name: dropIn;
  240. animation-name: dropIn;
  241. }
  242. .drop.transition.out {
  243. -webkit-animation-name: dropOut;
  244. animation-name: dropOut;
  245. }
  246. /* Drop */
  247. @-webkit-keyframes dropIn {
  248. 0% {
  249. opacity: 0;
  250. -webkit-transform: scale(0);
  251. transform: scale(0);
  252. }
  253. 100% {
  254. opacity: 1;
  255. -webkit-transform: scale(1);
  256. transform: scale(1);
  257. }
  258. }
  259. @keyframes dropIn {
  260. 0% {
  261. opacity: 0;
  262. -webkit-transform: scale(0);
  263. transform: scale(0);
  264. }
  265. 100% {
  266. opacity: 1;
  267. -webkit-transform: scale(1);
  268. transform: scale(1);
  269. }
  270. }
  271. @-webkit-keyframes dropOut {
  272. 0% {
  273. opacity: 1;
  274. -webkit-transform: scale(1);
  275. transform: scale(1);
  276. }
  277. 100% {
  278. opacity: 0;
  279. -webkit-transform: scale(0);
  280. transform: scale(0);
  281. }
  282. }
  283. @keyframes dropOut {
  284. 0% {
  285. opacity: 1;
  286. -webkit-transform: scale(1);
  287. transform: scale(1);
  288. }
  289. 100% {
  290. opacity: 0;
  291. -webkit-transform: scale(0);
  292. transform: scale(0);
  293. }
  294. }
  295. /*--------------
  296. Fade
  297. ---------------*/
  298. .transition.fade.in {
  299. -webkit-animation-name: fadeIn;
  300. animation-name: fadeIn;
  301. }
  302. .transition[class*="fade up"].in {
  303. -webkit-animation-name: fadeInUp;
  304. animation-name: fadeInUp;
  305. }
  306. .transition[class*="fade down"].in {
  307. -webkit-animation-name: fadeInDown;
  308. animation-name: fadeInDown;
  309. }
  310. .transition[class*="fade left"].in {
  311. -webkit-animation-name: fadeInLeft;
  312. animation-name: fadeInLeft;
  313. }
  314. .transition[class*="fade right"].in {
  315. -webkit-animation-name: fadeInRight;
  316. animation-name: fadeInRight;
  317. }
  318. .transition.fade.out {
  319. -webkit-animation-name: fadeOut;
  320. animation-name: fadeOut;
  321. }
  322. .transition[class*="fade up"].out {
  323. -webkit-animation-name: fadeOutUp;
  324. animation-name: fadeOutUp;
  325. }
  326. .transition[class*="fade down"].out {
  327. -webkit-animation-name: fadeOutDown;
  328. animation-name: fadeOutDown;
  329. }
  330. .transition[class*="fade left"].out {
  331. -webkit-animation-name: fadeOutLeft;
  332. animation-name: fadeOutLeft;
  333. }
  334. .transition[class*="fade right"].out {
  335. -webkit-animation-name: fadeOutRight;
  336. animation-name: fadeOutRight;
  337. }
  338. /* In */
  339. @-webkit-keyframes fadeIn {
  340. 0% {
  341. opacity: 0;
  342. }
  343. 100% {
  344. opacity: 1;
  345. }
  346. }
  347. @keyframes fadeIn {
  348. 0% {
  349. opacity: 0;
  350. }
  351. 100% {
  352. opacity: 1;
  353. }
  354. }
  355. @-webkit-keyframes fadeInUp {
  356. 0% {
  357. opacity: 0;
  358. -webkit-transform: translateY(10%);
  359. transform: translateY(10%);
  360. }
  361. 100% {
  362. opacity: 1;
  363. -webkit-transform: translateY(0%);
  364. transform: translateY(0%);
  365. }
  366. }
  367. @keyframes fadeInUp {
  368. 0% {
  369. opacity: 0;
  370. -webkit-transform: translateY(10%);
  371. transform: translateY(10%);
  372. }
  373. 100% {
  374. opacity: 1;
  375. -webkit-transform: translateY(0%);
  376. transform: translateY(0%);
  377. }
  378. }
  379. @-webkit-keyframes fadeInDown {
  380. 0% {
  381. opacity: 0;
  382. -webkit-transform: translateY(-10%);
  383. transform: translateY(-10%);
  384. }
  385. 100% {
  386. opacity: 1;
  387. -webkit-transform: translateY(0%);
  388. transform: translateY(0%);
  389. }
  390. }
  391. @keyframes fadeInDown {
  392. 0% {
  393. opacity: 0;
  394. -webkit-transform: translateY(-10%);
  395. transform: translateY(-10%);
  396. }
  397. 100% {
  398. opacity: 1;
  399. -webkit-transform: translateY(0%);
  400. transform: translateY(0%);
  401. }
  402. }
  403. @-webkit-keyframes fadeInLeft {
  404. 0% {
  405. opacity: 0;
  406. -webkit-transform: translateX(10%);
  407. transform: translateX(10%);
  408. }
  409. 100% {
  410. opacity: 1;
  411. -webkit-transform: translateX(0%);
  412. transform: translateX(0%);
  413. }
  414. }
  415. @keyframes fadeInLeft {
  416. 0% {
  417. opacity: 0;
  418. -webkit-transform: translateX(10%);
  419. transform: translateX(10%);
  420. }
  421. 100% {
  422. opacity: 1;
  423. -webkit-transform: translateX(0%);
  424. transform: translateX(0%);
  425. }
  426. }
  427. @-webkit-keyframes fadeInRight {
  428. 0% {
  429. opacity: 0;
  430. -webkit-transform: translateX(-10%);
  431. transform: translateX(-10%);
  432. }
  433. 100% {
  434. opacity: 1;
  435. -webkit-transform: translateX(0%);
  436. transform: translateX(0%);
  437. }
  438. }
  439. @keyframes fadeInRight {
  440. 0% {
  441. opacity: 0;
  442. -webkit-transform: translateX(-10%);
  443. transform: translateX(-10%);
  444. }
  445. 100% {
  446. opacity: 1;
  447. -webkit-transform: translateX(0%);
  448. transform: translateX(0%);
  449. }
  450. }
  451. /* Out */
  452. @-webkit-keyframes fadeOut {
  453. 0% {
  454. opacity: 1;
  455. }
  456. 100% {
  457. opacity: 0;
  458. }
  459. }
  460. @keyframes fadeOut {
  461. 0% {
  462. opacity: 1;
  463. }
  464. 100% {
  465. opacity: 0;
  466. }
  467. }
  468. @-webkit-keyframes fadeOutUp {
  469. 0% {
  470. opacity: 1;
  471. -webkit-transform: translateY(0%);
  472. transform: translateY(0%);
  473. }
  474. 100% {
  475. opacity: 0;
  476. -webkit-transform: translateY(10%);
  477. transform: translateY(10%);
  478. }
  479. }
  480. @keyframes fadeOutUp {
  481. 0% {
  482. opacity: 1;
  483. -webkit-transform: translateY(0%);
  484. transform: translateY(0%);
  485. }
  486. 100% {
  487. opacity: 0;
  488. -webkit-transform: translateY(10%);
  489. transform: translateY(10%);
  490. }
  491. }
  492. @-webkit-keyframes fadeOutDown {
  493. 0% {
  494. opacity: 1;
  495. -webkit-transform: translateY(0%);
  496. transform: translateY(0%);
  497. }
  498. 100% {
  499. opacity: 0;
  500. -webkit-transform: translateY(-10%);
  501. transform: translateY(-10%);
  502. }
  503. }
  504. @keyframes fadeOutDown {
  505. 0% {
  506. opacity: 1;
  507. -webkit-transform: translateY(0%);
  508. transform: translateY(0%);
  509. }
  510. 100% {
  511. opacity: 0;
  512. -webkit-transform: translateY(-10%);
  513. transform: translateY(-10%);
  514. }
  515. }
  516. @-webkit-keyframes fadeOutLeft {
  517. 0% {
  518. opacity: 1;
  519. -webkit-transform: translateX(0%);
  520. transform: translateX(0%);
  521. }
  522. 100% {
  523. opacity: 0;
  524. -webkit-transform: translateX(10%);
  525. transform: translateX(10%);
  526. }
  527. }
  528. @keyframes fadeOutLeft {
  529. 0% {
  530. opacity: 1;
  531. -webkit-transform: translateX(0%);
  532. transform: translateX(0%);
  533. }
  534. 100% {
  535. opacity: 0;
  536. -webkit-transform: translateX(10%);
  537. transform: translateX(10%);
  538. }
  539. }
  540. @-webkit-keyframes fadeOutRight {
  541. 0% {
  542. opacity: 1;
  543. -webkit-transform: translateX(0%);
  544. transform: translateX(0%);
  545. }
  546. 100% {
  547. opacity: 0;
  548. -webkit-transform: translateX(-10%);
  549. transform: translateX(-10%);
  550. }
  551. }
  552. @keyframes fadeOutRight {
  553. 0% {
  554. opacity: 1;
  555. -webkit-transform: translateX(0%);
  556. transform: translateX(0%);
  557. }
  558. 100% {
  559. opacity: 0;
  560. -webkit-transform: translateX(-10%);
  561. transform: translateX(-10%);
  562. }
  563. }
  564. /*--------------
  565. Flips
  566. ---------------*/
  567. .flip.transition.in,
  568. .flip.transition.out {
  569. -webkit-perspective: 2000px;
  570. perspective: 2000px;
  571. }
  572. .horizontal.flip.transition.in {
  573. -webkit-animation-name: horizontalFlipIn;
  574. animation-name: horizontalFlipIn;
  575. }
  576. .horizontal.flip.transition.out {
  577. -webkit-animation-name: horizontalFlipOut;
  578. animation-name: horizontalFlipOut;
  579. }
  580. .vertical.flip.transition.in {
  581. -webkit-animation-name: verticalFlipIn;
  582. animation-name: verticalFlipIn;
  583. }
  584. .vertical.flip.transition.out {
  585. -webkit-animation-name: verticalFlipOut;
  586. animation-name: verticalFlipOut;
  587. }
  588. /* In */
  589. @-webkit-keyframes horizontalFlipIn {
  590. 0% {
  591. -webkit-transform: perspective(2000px) rotateY(-90deg);
  592. transform: perspective(2000px) rotateY(-90deg);
  593. opacity: 0;
  594. }
  595. 100% {
  596. -webkit-transform: perspective(2000px) rotateY(0deg);
  597. transform: perspective(2000px) rotateY(0deg);
  598. opacity: 1;
  599. }
  600. }
  601. @keyframes horizontalFlipIn {
  602. 0% {
  603. -webkit-transform: perspective(2000px) rotateY(-90deg);
  604. transform: perspective(2000px) rotateY(-90deg);
  605. opacity: 0;
  606. }
  607. 100% {
  608. -webkit-transform: perspective(2000px) rotateY(0deg);
  609. transform: perspective(2000px) rotateY(0deg);
  610. opacity: 1;
  611. }
  612. }
  613. @-webkit-keyframes verticalFlipIn {
  614. 0% {
  615. -webkit-transform: perspective(2000px) rotateX(-90deg);
  616. transform: perspective(2000px) rotateX(-90deg);
  617. opacity: 0;
  618. }
  619. 100% {
  620. -webkit-transform: perspective(2000px) rotateX(0deg);
  621. transform: perspective(2000px) rotateX(0deg);
  622. opacity: 1;
  623. }
  624. }
  625. @keyframes verticalFlipIn {
  626. 0% {
  627. -webkit-transform: perspective(2000px) rotateX(-90deg);
  628. transform: perspective(2000px) rotateX(-90deg);
  629. opacity: 0;
  630. }
  631. 100% {
  632. -webkit-transform: perspective(2000px) rotateX(0deg);
  633. transform: perspective(2000px) rotateX(0deg);
  634. opacity: 1;
  635. }
  636. }
  637. /* Out */
  638. @-webkit-keyframes horizontalFlipOut {
  639. 0% {
  640. -webkit-transform: perspective(2000px) rotateY(0deg);
  641. transform: perspective(2000px) rotateY(0deg);
  642. opacity: 1;
  643. }
  644. 100% {
  645. -webkit-transform: perspective(2000px) rotateY(90deg);
  646. transform: perspective(2000px) rotateY(90deg);
  647. opacity: 0;
  648. }
  649. }
  650. @keyframes horizontalFlipOut {
  651. 0% {
  652. -webkit-transform: perspective(2000px) rotateY(0deg);
  653. transform: perspective(2000px) rotateY(0deg);
  654. opacity: 1;
  655. }
  656. 100% {
  657. -webkit-transform: perspective(2000px) rotateY(90deg);
  658. transform: perspective(2000px) rotateY(90deg);
  659. opacity: 0;
  660. }
  661. }
  662. @-webkit-keyframes verticalFlipOut {
  663. 0% {
  664. -webkit-transform: perspective(2000px) rotateX(0deg);
  665. transform: perspective(2000px) rotateX(0deg);
  666. opacity: 1;
  667. }
  668. 100% {
  669. -webkit-transform: perspective(2000px) rotateX(-90deg);
  670. transform: perspective(2000px) rotateX(-90deg);
  671. opacity: 0;
  672. }
  673. }
  674. @keyframes verticalFlipOut {
  675. 0% {
  676. -webkit-transform: perspective(2000px) rotateX(0deg);
  677. transform: perspective(2000px) rotateX(0deg);
  678. opacity: 1;
  679. }
  680. 100% {
  681. -webkit-transform: perspective(2000px) rotateX(-90deg);
  682. transform: perspective(2000px) rotateX(-90deg);
  683. opacity: 0;
  684. }
  685. }
  686. /*--------------
  687. Scale
  688. ---------------*/
  689. .scale.transition.in {
  690. -webkit-animation-name: scaleIn;
  691. animation-name: scaleIn;
  692. }
  693. .scale.transition.out {
  694. -webkit-animation-name: scaleOut;
  695. animation-name: scaleOut;
  696. }
  697. /* In */
  698. @-webkit-keyframes scaleIn {
  699. 0% {
  700. opacity: 0;
  701. -webkit-transform: scale(0.7);
  702. transform: scale(0.7);
  703. }
  704. 100% {
  705. opacity: 1;
  706. -webkit-transform: scale(1);
  707. transform: scale(1);
  708. }
  709. }
  710. @keyframes scaleIn {
  711. 0% {
  712. opacity: 0;
  713. -webkit-transform: scale(0.7);
  714. transform: scale(0.7);
  715. }
  716. 100% {
  717. opacity: 1;
  718. -webkit-transform: scale(1);
  719. transform: scale(1);
  720. }
  721. }
  722. /* Out */
  723. @-webkit-keyframes scaleOut {
  724. 0% {
  725. opacity: 1;
  726. -webkit-transform: scale(1);
  727. transform: scale(1);
  728. }
  729. 100% {
  730. opacity: 0;
  731. -webkit-transform: scale(0.7);
  732. transform: scale(0.7);
  733. }
  734. }
  735. @keyframes scaleOut {
  736. 0% {
  737. opacity: 1;
  738. -webkit-transform: scale(1);
  739. transform: scale(1);
  740. }
  741. 100% {
  742. opacity: 0;
  743. -webkit-transform: scale(0.7);
  744. transform: scale(0.7);
  745. }
  746. }
  747. /*--------------
  748. Fly
  749. ---------------*/
  750. /* Inward */
  751. .transition.fly {
  752. -webkit-animation-duration: 0.6s;
  753. animation-duration: 0.6s;
  754. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  755. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  756. }
  757. .transition.fly.in {
  758. -webkit-animation-name: flyIn;
  759. animation-name: flyIn;
  760. }
  761. .transition[class*="fly up"].in {
  762. -webkit-animation-name: flyInUp;
  763. animation-name: flyInUp;
  764. }
  765. .transition[class*="fly down"].in {
  766. -webkit-animation-name: flyInDown;
  767. animation-name: flyInDown;
  768. }
  769. .transition[class*="fly left"].in {
  770. -webkit-animation-name: flyInLeft;
  771. animation-name: flyInLeft;
  772. }
  773. .transition[class*="fly right"].in {
  774. -webkit-animation-name: flyInRight;
  775. animation-name: flyInRight;
  776. }
  777. /* Outward */
  778. .transition.fly.out {
  779. -webkit-animation-name: flyOut;
  780. animation-name: flyOut;
  781. }
  782. .transition[class*="fly up"].out {
  783. -webkit-animation-name: flyOutUp;
  784. animation-name: flyOutUp;
  785. }
  786. .transition[class*="fly down"].out {
  787. -webkit-animation-name: flyOutDown;
  788. animation-name: flyOutDown;
  789. }
  790. .transition[class*="fly left"].out {
  791. -webkit-animation-name: flyOutLeft;
  792. animation-name: flyOutLeft;
  793. }
  794. .transition[class*="fly right"].out {
  795. -webkit-animation-name: flyOutRight;
  796. animation-name: flyOutRight;
  797. }
  798. /* In */
  799. @-webkit-keyframes flyIn {
  800. 0% {
  801. opacity: 0;
  802. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  803. transform: scale3d(0.3, 0.3, 0.3);
  804. }
  805. 20% {
  806. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  807. transform: scale3d(1.1, 1.1, 1.1);
  808. }
  809. 40% {
  810. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  811. transform: scale3d(0.9, 0.9, 0.9);
  812. }
  813. 60% {
  814. opacity: 1;
  815. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  816. transform: scale3d(1.03, 1.03, 1.03);
  817. }
  818. 80% {
  819. -webkit-transform: scale3d(0.97, 0.97, 0.97);
  820. transform: scale3d(0.97, 0.97, 0.97);
  821. }
  822. 100% {
  823. opacity: 1;
  824. -webkit-transform: scale3d(1, 1, 1);
  825. transform: scale3d(1, 1, 1);
  826. }
  827. }
  828. @keyframes flyIn {
  829. 0% {
  830. opacity: 0;
  831. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  832. transform: scale3d(0.3, 0.3, 0.3);
  833. }
  834. 20% {
  835. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  836. transform: scale3d(1.1, 1.1, 1.1);
  837. }
  838. 40% {
  839. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  840. transform: scale3d(0.9, 0.9, 0.9);
  841. }
  842. 60% {
  843. opacity: 1;
  844. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  845. transform: scale3d(1.03, 1.03, 1.03);
  846. }
  847. 80% {
  848. -webkit-transform: scale3d(0.97, 0.97, 0.97);
  849. transform: scale3d(0.97, 0.97, 0.97);
  850. }
  851. 100% {
  852. opacity: 1;
  853. -webkit-transform: scale3d(1, 1, 1);
  854. transform: scale3d(1, 1, 1);
  855. }
  856. }
  857. @-webkit-keyframes flyInUp {
  858. 0% {
  859. opacity: 0;
  860. -webkit-transform: translate3d(0, 1500px, 0);
  861. transform: translate3d(0, 1500px, 0);
  862. }
  863. 60% {
  864. opacity: 1;
  865. -webkit-transform: translate3d(0, -20px, 0);
  866. transform: translate3d(0, -20px, 0);
  867. }
  868. 75% {
  869. -webkit-transform: translate3d(0, 10px, 0);
  870. transform: translate3d(0, 10px, 0);
  871. }
  872. 90% {
  873. -webkit-transform: translate3d(0, -5px, 0);
  874. transform: translate3d(0, -5px, 0);
  875. }
  876. 100% {
  877. -webkit-transform: translate3d(0, 0, 0);
  878. transform: translate3d(0, 0, 0);
  879. }
  880. }
  881. @keyframes flyInUp {
  882. 0% {
  883. opacity: 0;
  884. -webkit-transform: translate3d(0, 1500px, 0);
  885. transform: translate3d(0, 1500px, 0);
  886. }
  887. 60% {
  888. opacity: 1;
  889. -webkit-transform: translate3d(0, -20px, 0);
  890. transform: translate3d(0, -20px, 0);
  891. }
  892. 75% {
  893. -webkit-transform: translate3d(0, 10px, 0);
  894. transform: translate3d(0, 10px, 0);
  895. }
  896. 90% {
  897. -webkit-transform: translate3d(0, -5px, 0);
  898. transform: translate3d(0, -5px, 0);
  899. }
  900. 100% {
  901. -webkit-transform: translate3d(0, 0, 0);
  902. transform: translate3d(0, 0, 0);
  903. }
  904. }
  905. @-webkit-keyframes flyInDown {
  906. 0% {
  907. opacity: 0;
  908. -webkit-transform: translate3d(0, -1500px, 0);
  909. transform: translate3d(0, -1500px, 0);
  910. }
  911. 60% {
  912. opacity: 1;
  913. -webkit-transform: translate3d(0, 25px, 0);
  914. transform: translate3d(0, 25px, 0);
  915. }
  916. 75% {
  917. -webkit-transform: translate3d(0, -10px, 0);
  918. transform: translate3d(0, -10px, 0);
  919. }
  920. 90% {
  921. -webkit-transform: translate3d(0, 5px, 0);
  922. transform: translate3d(0, 5px, 0);
  923. }
  924. 100% {
  925. -webkit-transform: none;
  926. transform: none;
  927. }
  928. }
  929. @keyframes flyInDown {
  930. 0% {
  931. opacity: 0;
  932. -webkit-transform: translate3d(0, -1500px, 0);
  933. transform: translate3d(0, -1500px, 0);
  934. }
  935. 60% {
  936. opacity: 1;
  937. -webkit-transform: translate3d(0, 25px, 0);
  938. transform: translate3d(0, 25px, 0);
  939. }
  940. 75% {
  941. -webkit-transform: translate3d(0, -10px, 0);
  942. transform: translate3d(0, -10px, 0);
  943. }
  944. 90% {
  945. -webkit-transform: translate3d(0, 5px, 0);
  946. transform: translate3d(0, 5px, 0);
  947. }
  948. 100% {
  949. -webkit-transform: none;
  950. transform: none;
  951. }
  952. }
  953. @-webkit-keyframes flyInLeft {
  954. 0% {
  955. opacity: 0;
  956. -webkit-transform: translate3d(1500px, 0, 0);
  957. transform: translate3d(1500px, 0, 0);
  958. }
  959. 60% {
  960. opacity: 1;
  961. -webkit-transform: translate3d(-25px, 0, 0);
  962. transform: translate3d(-25px, 0, 0);
  963. }
  964. 75% {
  965. -webkit-transform: translate3d(10px, 0, 0);
  966. transform: translate3d(10px, 0, 0);
  967. }
  968. 90% {
  969. -webkit-transform: translate3d(-5px, 0, 0);
  970. transform: translate3d(-5px, 0, 0);
  971. }
  972. 100% {
  973. -webkit-transform: none;
  974. transform: none;
  975. }
  976. }
  977. @keyframes flyInLeft {
  978. 0% {
  979. opacity: 0;
  980. -webkit-transform: translate3d(1500px, 0, 0);
  981. transform: translate3d(1500px, 0, 0);
  982. }
  983. 60% {
  984. opacity: 1;
  985. -webkit-transform: translate3d(-25px, 0, 0);
  986. transform: translate3d(-25px, 0, 0);
  987. }
  988. 75% {
  989. -webkit-transform: translate3d(10px, 0, 0);
  990. transform: translate3d(10px, 0, 0);
  991. }
  992. 90% {
  993. -webkit-transform: translate3d(-5px, 0, 0);
  994. transform: translate3d(-5px, 0, 0);
  995. }
  996. 100% {
  997. -webkit-transform: none;
  998. transform: none;
  999. }
  1000. }
  1001. @-webkit-keyframes flyInRight {
  1002. 0% {
  1003. opacity: 0;
  1004. -webkit-transform: translate3d(-1500px, 0, 0);
  1005. transform: translate3d(-1500px, 0, 0);
  1006. }
  1007. 60% {
  1008. opacity: 1;
  1009. -webkit-transform: translate3d(25px, 0, 0);
  1010. transform: translate3d(25px, 0, 0);
  1011. }
  1012. 75% {
  1013. -webkit-transform: translate3d(-10px, 0, 0);
  1014. transform: translate3d(-10px, 0, 0);
  1015. }
  1016. 90% {
  1017. -webkit-transform: translate3d(5px, 0, 0);
  1018. transform: translate3d(5px, 0, 0);
  1019. }
  1020. 100% {
  1021. -webkit-transform: none;
  1022. transform: none;
  1023. }
  1024. }
  1025. @keyframes flyInRight {
  1026. 0% {
  1027. opacity: 0;
  1028. -webkit-transform: translate3d(-1500px, 0, 0);
  1029. transform: translate3d(-1500px, 0, 0);
  1030. }
  1031. 60% {
  1032. opacity: 1;
  1033. -webkit-transform: translate3d(25px, 0, 0);
  1034. transform: translate3d(25px, 0, 0);
  1035. }
  1036. 75% {
  1037. -webkit-transform: translate3d(-10px, 0, 0);
  1038. transform: translate3d(-10px, 0, 0);
  1039. }
  1040. 90% {
  1041. -webkit-transform: translate3d(5px, 0, 0);
  1042. transform: translate3d(5px, 0, 0);
  1043. }
  1044. 100% {
  1045. -webkit-transform: none;
  1046. transform: none;
  1047. }
  1048. }
  1049. /* Out */
  1050. @-webkit-keyframes flyOut {
  1051. 20% {
  1052. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  1053. transform: scale3d(0.9, 0.9, 0.9);
  1054. }
  1055. 50%,
  1056. 55% {
  1057. opacity: 1;
  1058. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  1059. transform: scale3d(1.1, 1.1, 1.1);
  1060. }
  1061. 100% {
  1062. opacity: 0;
  1063. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  1064. transform: scale3d(0.3, 0.3, 0.3);
  1065. }
  1066. }
  1067. @keyframes flyOut {
  1068. 20% {
  1069. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  1070. transform: scale3d(0.9, 0.9, 0.9);
  1071. }
  1072. 50%,
  1073. 55% {
  1074. opacity: 1;
  1075. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  1076. transform: scale3d(1.1, 1.1, 1.1);
  1077. }
  1078. 100% {
  1079. opacity: 0;
  1080. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  1081. transform: scale3d(0.3, 0.3, 0.3);
  1082. }
  1083. }
  1084. @-webkit-keyframes flyOutUp {
  1085. 20% {
  1086. -webkit-transform: translate3d(0, 10px, 0);
  1087. transform: translate3d(0, 10px, 0);
  1088. }
  1089. 40%,
  1090. 45% {
  1091. opacity: 1;
  1092. -webkit-transform: translate3d(0, -20px, 0);
  1093. transform: translate3d(0, -20px, 0);
  1094. }
  1095. 100% {
  1096. opacity: 0;
  1097. -webkit-transform: translate3d(0, 2000px, 0);
  1098. transform: translate3d(0, 2000px, 0);
  1099. }
  1100. }
  1101. @keyframes flyOutUp {
  1102. 20% {
  1103. -webkit-transform: translate3d(0, 10px, 0);
  1104. transform: translate3d(0, 10px, 0);
  1105. }
  1106. 40%,
  1107. 45% {
  1108. opacity: 1;
  1109. -webkit-transform: translate3d(0, -20px, 0);
  1110. transform: translate3d(0, -20px, 0);
  1111. }
  1112. 100% {
  1113. opacity: 0;
  1114. -webkit-transform: translate3d(0, 2000px, 0);
  1115. transform: translate3d(0, 2000px, 0);
  1116. }
  1117. }
  1118. @-webkit-keyframes flyOutDown {
  1119. 20% {
  1120. -webkit-transform: translate3d(0, -10px, 0);
  1121. transform: translate3d(0, -10px, 0);
  1122. }
  1123. 40%,
  1124. 45% {
  1125. opacity: 1;
  1126. -webkit-transform: translate3d(0, 20px, 0);
  1127. transform: translate3d(0, 20px, 0);
  1128. }
  1129. 100% {
  1130. opacity: 0;
  1131. -webkit-transform: translate3d(0, -2000px, 0);
  1132. transform: translate3d(0, -2000px, 0);
  1133. }
  1134. }
  1135. @keyframes flyOutDown {
  1136. 20% {
  1137. -webkit-transform: translate3d(0, -10px, 0);
  1138. transform: translate3d(0, -10px, 0);
  1139. }
  1140. 40%,
  1141. 45% {
  1142. opacity: 1;
  1143. -webkit-transform: translate3d(0, 20px, 0);
  1144. transform: translate3d(0, 20px, 0);
  1145. }
  1146. 100% {
  1147. opacity: 0;
  1148. -webkit-transform: translate3d(0, -2000px, 0);
  1149. transform: translate3d(0, -2000px, 0);
  1150. }
  1151. }
  1152. @-webkit-keyframes flyOutRight {
  1153. 20% {
  1154. opacity: 1;
  1155. -webkit-transform: translate3d(20px, 0, 0);
  1156. transform: translate3d(20px, 0, 0);
  1157. }
  1158. 100% {
  1159. opacity: 0;
  1160. -webkit-transform: translate3d(-2000px, 0, 0);
  1161. transform: translate3d(-2000px, 0, 0);
  1162. }
  1163. }
  1164. @keyframes flyOutRight {
  1165. 20% {
  1166. opacity: 1;
  1167. -webkit-transform: translate3d(20px, 0, 0);
  1168. transform: translate3d(20px, 0, 0);
  1169. }
  1170. 100% {
  1171. opacity: 0;
  1172. -webkit-transform: translate3d(-2000px, 0, 0);
  1173. transform: translate3d(-2000px, 0, 0);
  1174. }
  1175. }
  1176. @-webkit-keyframes flyOutLeft {
  1177. 20% {
  1178. opacity: 1;
  1179. -webkit-transform: translate3d(-20px, 0, 0);
  1180. transform: translate3d(-20px, 0, 0);
  1181. }
  1182. 100% {
  1183. opacity: 0;
  1184. -webkit-transform: translate3d(2000px, 0, 0);
  1185. transform: translate3d(2000px, 0, 0);
  1186. }
  1187. }
  1188. @keyframes flyOutLeft {
  1189. 20% {
  1190. opacity: 1;
  1191. -webkit-transform: translate3d(-20px, 0, 0);
  1192. transform: translate3d(-20px, 0, 0);
  1193. }
  1194. 100% {
  1195. opacity: 0;
  1196. -webkit-transform: translate3d(2000px, 0, 0);
  1197. transform: translate3d(2000px, 0, 0);
  1198. }
  1199. }
  1200. /*--------------
  1201. Slide
  1202. ---------------*/
  1203. .transition.slide.in,
  1204. .transition[class*="slide down"].in {
  1205. -webkit-animation-name: slideInY;
  1206. animation-name: slideInY;
  1207. -webkit-transform-origin: top center;
  1208. -ms-transform-origin: top center;
  1209. transform-origin: top center;
  1210. }
  1211. .transition[class*="slide up"].in {
  1212. -webkit-animation-name: slideInY;
  1213. animation-name: slideInY;
  1214. -webkit-transform-origin: bottom center;
  1215. -ms-transform-origin: bottom center;
  1216. transform-origin: bottom center;
  1217. }
  1218. .transition[class*="slide left"].in {
  1219. -webkit-animation-name: slideInX;
  1220. animation-name: slideInX;
  1221. -webkit-transform-origin: center right;
  1222. -ms-transform-origin: center right;
  1223. transform-origin: center right;
  1224. }
  1225. .transition[class*="slide right"].in {
  1226. -webkit-animation-name: slideInX;
  1227. animation-name: slideInX;
  1228. -webkit-transform-origin: center left;
  1229. -ms-transform-origin: center left;
  1230. transform-origin: center left;
  1231. }
  1232. .transition.slide.out,
  1233. .transition[class*="slide down"].out {
  1234. -webkit-animation-name: slideOutY;
  1235. animation-name: slideOutY;
  1236. -webkit-transform-origin: top center;
  1237. -ms-transform-origin: top center;
  1238. transform-origin: top center;
  1239. }
  1240. .transition[class*="slide up"].out {
  1241. -webkit-animation-name: slideOutY;
  1242. animation-name: slideOutY;
  1243. -webkit-transform-origin: bottom center;
  1244. -ms-transform-origin: bottom center;
  1245. transform-origin: bottom center;
  1246. }
  1247. .transition[class*="slide left"].out {
  1248. -webkit-animation-name: slideOutX;
  1249. animation-name: slideOutX;
  1250. -webkit-transform-origin: center right;
  1251. -ms-transform-origin: center right;
  1252. transform-origin: center right;
  1253. }
  1254. .transition[class*="slide right"].out {
  1255. -webkit-animation-name: slideOutX;
  1256. animation-name: slideOutX;
  1257. -webkit-transform-origin: center left;
  1258. -ms-transform-origin: center left;
  1259. transform-origin: center left;
  1260. }
  1261. /* In */
  1262. @-webkit-keyframes slideInY {
  1263. 0% {
  1264. opacity: 0;
  1265. -webkit-transform: scaleY(0);
  1266. transform: scaleY(0);
  1267. }
  1268. 100% {
  1269. opacity: 1;
  1270. -webkit-transform: scaleY(1);
  1271. transform: scaleY(1);
  1272. }
  1273. }
  1274. @keyframes slideInY {
  1275. 0% {
  1276. opacity: 0;
  1277. -webkit-transform: scaleY(0);
  1278. transform: scaleY(0);
  1279. }
  1280. 100% {
  1281. opacity: 1;
  1282. -webkit-transform: scaleY(1);
  1283. transform: scaleY(1);
  1284. }
  1285. }
  1286. @-webkit-keyframes slideInX {
  1287. 0% {
  1288. opacity: 0;
  1289. -webkit-transform: scaleX(0);
  1290. transform: scaleX(0);
  1291. }
  1292. 100% {
  1293. opacity: 1;
  1294. -webkit-transform: scaleX(1);
  1295. transform: scaleX(1);
  1296. }
  1297. }
  1298. @keyframes slideInX {
  1299. 0% {
  1300. opacity: 0;
  1301. -webkit-transform: scaleX(0);
  1302. transform: scaleX(0);
  1303. }
  1304. 100% {
  1305. opacity: 1;
  1306. -webkit-transform: scaleX(1);
  1307. transform: scaleX(1);
  1308. }
  1309. }
  1310. /* Out */
  1311. @-webkit-keyframes slideOutY {
  1312. 0% {
  1313. opacity: 1;
  1314. -webkit-transform: scaleY(1);
  1315. transform: scaleY(1);
  1316. }
  1317. 100% {
  1318. opacity: 0;
  1319. -webkit-transform: scaleY(0);
  1320. transform: scaleY(0);
  1321. }
  1322. }
  1323. @keyframes slideOutY {
  1324. 0% {
  1325. opacity: 1;
  1326. -webkit-transform: scaleY(1);
  1327. transform: scaleY(1);
  1328. }
  1329. 100% {
  1330. opacity: 0;
  1331. -webkit-transform: scaleY(0);
  1332. transform: scaleY(0);
  1333. }
  1334. }
  1335. @-webkit-keyframes slideOutX {
  1336. 0% {
  1337. opacity: 1;
  1338. -webkit-transform: scaleX(1);
  1339. transform: scaleX(1);
  1340. }
  1341. 100% {
  1342. opacity: 0;
  1343. -webkit-transform: scaleX(0);
  1344. transform: scaleX(0);
  1345. }
  1346. }
  1347. @keyframes slideOutX {
  1348. 0% {
  1349. opacity: 1;
  1350. -webkit-transform: scaleX(1);
  1351. transform: scaleX(1);
  1352. }
  1353. 100% {
  1354. opacity: 0;
  1355. -webkit-transform: scaleX(0);
  1356. transform: scaleX(0);
  1357. }
  1358. }
  1359. /*--------------
  1360. Swing
  1361. ---------------*/
  1362. .transition.swing.in,
  1363. .transition[class*="swing down"].in {
  1364. -webkit-animation-name: swingInY;
  1365. animation-name: swingInY;
  1366. -webkit-transform-origin: top center;
  1367. -ms-transform-origin: top center;
  1368. transform-origin: top center;
  1369. }
  1370. .transition[class*="swing up"].in {
  1371. -webkit-animation-name: swingInY;
  1372. animation-name: swingInY;
  1373. -webkit-transform-origin: bottom center;
  1374. -ms-transform-origin: bottom center;
  1375. transform-origin: bottom center;
  1376. }
  1377. .transition[class*="swing left"].in {
  1378. -webkit-animation-name: swingInX;
  1379. animation-name: swingInX;
  1380. -webkit-transform-origin: center right;
  1381. -ms-transform-origin: center right;
  1382. transform-origin: center right;
  1383. }
  1384. .transition[class*="swing right"].in {
  1385. -webkit-animation-name: swingInX;
  1386. animation-name: swingInX;
  1387. -webkit-transform-origin: center left;
  1388. -ms-transform-origin: center left;
  1389. transform-origin: center left;
  1390. }
  1391. .transition.swing.out,
  1392. .transition[class*="swing down"].out {
  1393. -webkit-animation-name: swingOutY;
  1394. animation-name: swingOutY;
  1395. -webkit-transform-origin: top center;
  1396. -ms-transform-origin: top center;
  1397. transform-origin: top center;
  1398. }
  1399. .transition[class*="swing up"].out {
  1400. -webkit-animation-name: swingOutY;
  1401. animation-name: swingOutY;
  1402. -webkit-transform-origin: bottom center;
  1403. -ms-transform-origin: bottom center;
  1404. transform-origin: bottom center;
  1405. }
  1406. .transition[class*="swing left"].out {
  1407. -webkit-animation-name: swingOutX;
  1408. animation-name: swingOutX;
  1409. -webkit-transform-origin: center right;
  1410. -ms-transform-origin: center right;
  1411. transform-origin: center right;
  1412. }
  1413. .transition[class*="swing right"].out {
  1414. -webkit-animation-name: swingOutX;
  1415. animation-name: swingOutX;
  1416. -webkit-transform-origin: center left;
  1417. -ms-transform-origin: center left;
  1418. transform-origin: center left;
  1419. }
  1420. /* In */
  1421. @-webkit-keyframes swingInX {
  1422. 0% {
  1423. -webkit-transform: perspective(1000px) rotateX(90deg);
  1424. transform: perspective(1000px) rotateX(90deg);
  1425. opacity: 0;
  1426. }
  1427. 40% {
  1428. -webkit-transform: perspective(1000px) rotateX(-20deg);
  1429. transform: perspective(1000px) rotateX(-20deg);
  1430. }
  1431. 60% {
  1432. -webkit-transform: perspective(1000px) rotateX(10deg);
  1433. transform: perspective(1000px) rotateX(10deg);
  1434. }
  1435. 80% {
  1436. -webkit-transform: perspective(1000px) rotateX(-5deg);
  1437. transform: perspective(1000px) rotateX(-5deg);
  1438. opacity: 1;
  1439. }
  1440. 100% {
  1441. -webkit-transform: perspective(1000px) rotateX(0deg);
  1442. transform: perspective(1000px) rotateX(0deg);
  1443. }
  1444. }
  1445. @keyframes swingInX {
  1446. 0% {
  1447. -webkit-transform: perspective(1000px) rotateX(90deg);
  1448. transform: perspective(1000px) rotateX(90deg);
  1449. opacity: 0;
  1450. }
  1451. 40% {
  1452. -webkit-transform: perspective(1000px) rotateX(-20deg);
  1453. transform: perspective(1000px) rotateX(-20deg);
  1454. }
  1455. 60% {
  1456. -webkit-transform: perspective(1000px) rotateX(10deg);
  1457. transform: perspective(1000px) rotateX(10deg);
  1458. }
  1459. 80% {
  1460. -webkit-transform: perspective(1000px) rotateX(-5deg);
  1461. transform: perspective(1000px) rotateX(-5deg);
  1462. opacity: 1;
  1463. }
  1464. 100% {
  1465. -webkit-transform: perspective(1000px) rotateX(0deg);
  1466. transform: perspective(1000px) rotateX(0deg);
  1467. }
  1468. }
  1469. @-webkit-keyframes swingInY {
  1470. 0% {
  1471. -webkit-transform: perspective(1000px) rotateY(-90deg);
  1472. transform: perspective(1000px) rotateY(-90deg);
  1473. opacity: 0;
  1474. }
  1475. 40% {
  1476. -webkit-transform: perspective(1000px) rotateY(20deg);
  1477. transform: perspective(1000px) rotateY(20deg);
  1478. }
  1479. 60% {
  1480. -webkit-transform: perspective(1000px) rotateY(-10deg);
  1481. transform: perspective(1000px) rotateY(-10deg);
  1482. }
  1483. 80% {
  1484. -webkit-transform: perspective(1000px) rotateY(5deg);
  1485. transform: perspective(1000px) rotateY(5deg);
  1486. opacity: 1;
  1487. }
  1488. 100% {
  1489. -webkit-transform: perspective(1000px) rotateY(0deg);
  1490. transform: perspective(1000px) rotateY(0deg);
  1491. }
  1492. }
  1493. @keyframes swingInY {
  1494. 0% {
  1495. -webkit-transform: perspective(1000px) rotateY(-90deg);
  1496. transform: perspective(1000px) rotateY(-90deg);
  1497. opacity: 0;
  1498. }
  1499. 40% {
  1500. -webkit-transform: perspective(1000px) rotateY(20deg);
  1501. transform: perspective(1000px) rotateY(20deg);
  1502. }
  1503. 60% {
  1504. -webkit-transform: perspective(1000px) rotateY(-10deg);
  1505. transform: perspective(1000px) rotateY(-10deg);
  1506. }
  1507. 80% {
  1508. -webkit-transform: perspective(1000px) rotateY(5deg);
  1509. transform: perspective(1000px) rotateY(5deg);
  1510. opacity: 1;
  1511. }
  1512. 100% {
  1513. -webkit-transform: perspective(1000px) rotateY(0deg);
  1514. transform: perspective(1000px) rotateY(0deg);
  1515. }
  1516. }
  1517. /* Out */
  1518. @-webkit-keyframes swingOutUp {
  1519. 0% {
  1520. -webkit-transform: perspective(1000px) rotateX(0deg);
  1521. transform: perspective(1000px) rotateX(0deg);
  1522. }
  1523. 30% {
  1524. -webkit-transform: perspective(1000px) rotateX(-20deg);
  1525. transform: perspective(1000px) rotateX(-20deg);
  1526. opacity: 1;
  1527. }
  1528. 100% {
  1529. -webkit-transform: perspective(1000px) rotateX(90deg);
  1530. transform: perspective(1000px) rotateX(90deg);
  1531. opacity: 0;
  1532. }
  1533. }
  1534. @keyframes swingOutUp {
  1535. 0% {
  1536. -webkit-transform: perspective(1000px) rotateX(0deg);
  1537. transform: perspective(1000px) rotateX(0deg);
  1538. }
  1539. 30% {
  1540. -webkit-transform: perspective(1000px) rotateX(-20deg);
  1541. transform: perspective(1000px) rotateX(-20deg);
  1542. opacity: 1;
  1543. }
  1544. 100% {
  1545. -webkit-transform: perspective(1000px) rotateX(90deg);
  1546. transform: perspective(1000px) rotateX(90deg);
  1547. opacity: 0;
  1548. }
  1549. }
  1550. @-webkit-keyframes swingOutDown {
  1551. 0% {
  1552. -webkit-transform: perspective(1000px) rotateX(0deg);
  1553. transform: perspective(1000px) rotateX(0deg);
  1554. }
  1555. 30% {
  1556. -webkit-transform: perspective(1000px) rotateX(20deg);
  1557. transform: perspective(1000px) rotateX(20deg);
  1558. opacity: 1;
  1559. }
  1560. 100% {
  1561. -webkit-transform: perspective(1000px) rotateX(-90deg);
  1562. transform: perspective(1000px) rotateX(-90deg);
  1563. opacity: 0;
  1564. }
  1565. }
  1566. @keyframes swingOutDown {
  1567. 0% {
  1568. -webkit-transform: perspective(1000px) rotateX(0deg);
  1569. transform: perspective(1000px) rotateX(0deg);
  1570. }
  1571. 30% {
  1572. -webkit-transform: perspective(1000px) rotateX(20deg);
  1573. transform: perspective(1000px) rotateX(20deg);
  1574. opacity: 1;
  1575. }
  1576. 100% {
  1577. -webkit-transform: perspective(1000px) rotateX(-90deg);
  1578. transform: perspective(1000px) rotateX(-90deg);
  1579. opacity: 0;
  1580. }
  1581. }
  1582. @-webkit-keyframes swingOutLeft {
  1583. 0% {
  1584. -webkit-transform: perspective(1000px) rotateY(0deg);
  1585. transform: perspective(1000px) rotateY(0deg);
  1586. }
  1587. 30% {
  1588. -webkit-transform: perspective(1000px) rotateY(20deg);
  1589. transform: perspective(1000px) rotateY(20deg);
  1590. opacity: 1;
  1591. }
  1592. 100% {
  1593. -webkit-transform: perspective(1000px) rotateY(-90deg);
  1594. transform: perspective(1000px) rotateY(-90deg);
  1595. opacity: 0;
  1596. }
  1597. }
  1598. @keyframes swingOutLeft {
  1599. 0% {
  1600. -webkit-transform: perspective(1000px) rotateY(0deg);
  1601. transform: perspective(1000px) rotateY(0deg);
  1602. }
  1603. 30% {
  1604. -webkit-transform: perspective(1000px) rotateY(20deg);
  1605. transform: perspective(1000px) rotateY(20deg);
  1606. opacity: 1;
  1607. }
  1608. 100% {
  1609. -webkit-transform: perspective(1000px) rotateY(-90deg);
  1610. transform: perspective(1000px) rotateY(-90deg);
  1611. opacity: 0;
  1612. }
  1613. }
  1614. @-webkit-keyframes swingOutRight {
  1615. 0% {
  1616. -webkit-transform: perspective(1000px) rotateY(0deg);
  1617. transform: perspective(1000px) rotateY(0deg);
  1618. }
  1619. 30% {
  1620. -webkit-transform: perspective(1000px) rotateY(-20deg);
  1621. transform: perspective(1000px) rotateY(-20deg);
  1622. opacity: 1;
  1623. }
  1624. 100% {
  1625. -webkit-transform: perspective(1000px) rotateY(90deg);
  1626. transform: perspective(1000px) rotateY(90deg);
  1627. opacity: 0;
  1628. }
  1629. }
  1630. @keyframes swingOutRight {
  1631. 0% {
  1632. -webkit-transform: perspective(1000px) rotateY(0deg);
  1633. transform: perspective(1000px) rotateY(0deg);
  1634. }
  1635. 30% {
  1636. -webkit-transform: perspective(1000px) rotateY(-20deg);
  1637. transform: perspective(1000px) rotateY(-20deg);
  1638. opacity: 1;
  1639. }
  1640. 100% {
  1641. -webkit-transform: perspective(1000px) rotateY(90deg);
  1642. transform: perspective(1000px) rotateY(90deg);
  1643. opacity: 0;
  1644. }
  1645. }
  1646. /*******************************
  1647. Static Animations
  1648. *******************************/
  1649. /*--------------
  1650. Emphasis
  1651. ---------------*/
  1652. .flash.transition {
  1653. -webkit-animation-name: flash;
  1654. animation-name: flash;
  1655. }
  1656. .shake.transition {
  1657. -webkit-animation-name: shake;
  1658. animation-name: shake;
  1659. }
  1660. .bounce.transition {
  1661. -webkit-animation-name: bounce;
  1662. animation-name: bounce;
  1663. }
  1664. .tada.transition {
  1665. -webkit-animation-name: tada;
  1666. animation-name: tada;
  1667. }
  1668. .pulse.transition {
  1669. -webkit-animation-name: pulse;
  1670. animation-name: pulse;
  1671. }
  1672. .jiggle.transition {
  1673. -webkit-animation-name: jiggle;
  1674. animation-name: jiggle;
  1675. }
  1676. /* Flash */
  1677. @-webkit-keyframes flash {
  1678. 0%,
  1679. 50%,
  1680. 100% {
  1681. opacity: 1;
  1682. }
  1683. 25%,
  1684. 75% {
  1685. opacity: 0;
  1686. }
  1687. }
  1688. @keyframes flash {
  1689. 0%,
  1690. 50%,
  1691. 100% {
  1692. opacity: 1;
  1693. }
  1694. 25%,
  1695. 75% {
  1696. opacity: 0;
  1697. }
  1698. }
  1699. /* Shake */
  1700. @-webkit-keyframes shake {
  1701. 0%,
  1702. 100% {
  1703. -webkit-transform: translateX(0);
  1704. transform: translateX(0);
  1705. }
  1706. 10%,
  1707. 30%,
  1708. 50%,
  1709. 70%,
  1710. 90% {
  1711. -webkit-transform: translateX(-10px);
  1712. transform: translateX(-10px);
  1713. }
  1714. 20%,
  1715. 40%,
  1716. 60%,
  1717. 80% {
  1718. -webkit-transform: translateX(10px);
  1719. transform: translateX(10px);
  1720. }
  1721. }
  1722. @keyframes shake {
  1723. 0%,
  1724. 100% {
  1725. -webkit-transform: translateX(0);
  1726. transform: translateX(0);
  1727. }
  1728. 10%,
  1729. 30%,
  1730. 50%,
  1731. 70%,
  1732. 90% {
  1733. -webkit-transform: translateX(-10px);
  1734. transform: translateX(-10px);
  1735. }
  1736. 20%,
  1737. 40%,
  1738. 60%,
  1739. 80% {
  1740. -webkit-transform: translateX(10px);
  1741. transform: translateX(10px);
  1742. }
  1743. }
  1744. /* Bounce */
  1745. @-webkit-keyframes bounce {
  1746. 0%,
  1747. 20%,
  1748. 50%,
  1749. 80%,
  1750. 100% {
  1751. -webkit-transform: translateY(0);
  1752. transform: translateY(0);
  1753. }
  1754. 40% {
  1755. -webkit-transform: translateY(-30px);
  1756. transform: translateY(-30px);
  1757. }
  1758. 60% {
  1759. -webkit-transform: translateY(-15px);
  1760. transform: translateY(-15px);
  1761. }
  1762. }
  1763. @keyframes bounce {
  1764. 0%,
  1765. 20%,
  1766. 50%,
  1767. 80%,
  1768. 100% {
  1769. -webkit-transform: translateY(0);
  1770. transform: translateY(0);
  1771. }
  1772. 40% {
  1773. -webkit-transform: translateY(-30px);
  1774. transform: translateY(-30px);
  1775. }
  1776. 60% {
  1777. -webkit-transform: translateY(-15px);
  1778. transform: translateY(-15px);
  1779. }
  1780. }
  1781. /* Tada */
  1782. @-webkit-keyframes tada {
  1783. 0% {
  1784. -webkit-transform: scale(1);
  1785. transform: scale(1);
  1786. }
  1787. 10%,
  1788. 20% {
  1789. -webkit-transform: scale(0.9) rotate(-3deg);
  1790. transform: scale(0.9) rotate(-3deg);
  1791. }
  1792. 30%,
  1793. 50%,
  1794. 70%,
  1795. 90% {
  1796. -webkit-transform: scale(1.1) rotate(3deg);
  1797. transform: scale(1.1) rotate(3deg);
  1798. }
  1799. 40%,
  1800. 60%,
  1801. 80% {
  1802. -webkit-transform: scale(1.1) rotate(-3deg);
  1803. transform: scale(1.1) rotate(-3deg);
  1804. }
  1805. 100% {
  1806. -webkit-transform: scale(1) rotate(0);
  1807. transform: scale(1) rotate(0);
  1808. }
  1809. }
  1810. @keyframes tada {
  1811. 0% {
  1812. -webkit-transform: scale(1);
  1813. transform: scale(1);
  1814. }
  1815. 10%,
  1816. 20% {
  1817. -webkit-transform: scale(0.9) rotate(-3deg);
  1818. transform: scale(0.9) rotate(-3deg);
  1819. }
  1820. 30%,
  1821. 50%,
  1822. 70%,
  1823. 90% {
  1824. -webkit-transform: scale(1.1) rotate(3deg);
  1825. transform: scale(1.1) rotate(3deg);
  1826. }
  1827. 40%,
  1828. 60%,
  1829. 80% {
  1830. -webkit-transform: scale(1.1) rotate(-3deg);
  1831. transform: scale(1.1) rotate(-3deg);
  1832. }
  1833. 100% {
  1834. -webkit-transform: scale(1) rotate(0);
  1835. transform: scale(1) rotate(0);
  1836. }
  1837. }
  1838. /* Pulse */
  1839. @-webkit-keyframes pulse {
  1840. 0% {
  1841. -webkit-transform: scale(1);
  1842. transform: scale(1);
  1843. opacity: 1;
  1844. }
  1845. 50% {
  1846. -webkit-transform: scale(0.9);
  1847. transform: scale(0.9);
  1848. opacity: 0.7;
  1849. }
  1850. 100% {
  1851. -webkit-transform: scale(1);
  1852. transform: scale(1);
  1853. opacity: 1;
  1854. }
  1855. }
  1856. @keyframes pulse {
  1857. 0% {
  1858. -webkit-transform: scale(1);
  1859. transform: scale(1);
  1860. opacity: 1;
  1861. }
  1862. 50% {
  1863. -webkit-transform: scale(0.9);
  1864. transform: scale(0.9);
  1865. opacity: 0.7;
  1866. }
  1867. 100% {
  1868. -webkit-transform: scale(1);
  1869. transform: scale(1);
  1870. opacity: 1;
  1871. }
  1872. }
  1873. /* Rubberband */
  1874. @-webkit-keyframes jiggle {
  1875. 0% {
  1876. -webkit-transform: scale3d(1, 1, 1);
  1877. transform: scale3d(1, 1, 1);
  1878. }
  1879. 30% {
  1880. -webkit-transform: scale3d(1.25, 0.75, 1);
  1881. transform: scale3d(1.25, 0.75, 1);
  1882. }
  1883. 40% {
  1884. -webkit-transform: scale3d(0.75, 1.25, 1);
  1885. transform: scale3d(0.75, 1.25, 1);
  1886. }
  1887. 50% {
  1888. -webkit-transform: scale3d(1.15, 0.85, 1);
  1889. transform: scale3d(1.15, 0.85, 1);
  1890. }
  1891. 65% {
  1892. -webkit-transform: scale3d(0.95, 1.05, 1);
  1893. transform: scale3d(0.95, 1.05, 1);
  1894. }
  1895. 75% {
  1896. -webkit-transform: scale3d(1.05, 0.95, 1);
  1897. transform: scale3d(1.05, 0.95, 1);
  1898. }
  1899. 100% {
  1900. -webkit-transform: scale3d(1, 1, 1);
  1901. transform: scale3d(1, 1, 1);
  1902. }
  1903. }
  1904. @keyframes jiggle {
  1905. 0% {
  1906. -webkit-transform: scale3d(1, 1, 1);
  1907. transform: scale3d(1, 1, 1);
  1908. }
  1909. 30% {
  1910. -webkit-transform: scale3d(1.25, 0.75, 1);
  1911. transform: scale3d(1.25, 0.75, 1);
  1912. }
  1913. 40% {
  1914. -webkit-transform: scale3d(0.75, 1.25, 1);
  1915. transform: scale3d(0.75, 1.25, 1);
  1916. }
  1917. 50% {
  1918. -webkit-transform: scale3d(1.15, 0.85, 1);
  1919. transform: scale3d(1.15, 0.85, 1);
  1920. }
  1921. 65% {
  1922. -webkit-transform: scale3d(0.95, 1.05, 1);
  1923. transform: scale3d(0.95, 1.05, 1);
  1924. }
  1925. 75% {
  1926. -webkit-transform: scale3d(1.05, 0.95, 1);
  1927. transform: scale3d(1.05, 0.95, 1);
  1928. }
  1929. 100% {
  1930. -webkit-transform: scale3d(1, 1, 1);
  1931. transform: scale3d(1, 1, 1);
  1932. }
  1933. }
  1934. /*******************************
  1935. Site Overrides
  1936. *******************************/