wishthis/node_modules/fomantic-ui/dist/components/transition.css

1149 lines
20 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
* # Fomantic-UI 2.9.3 - Transition
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-01-13 13:00:31 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-01-13 13:00:31 +00:00
*
*/
/*******************************
Transitions
*******************************/
.transition {
2023-08-17 09:47:40 +00:00
animation-iteration-count: 1;
animation-duration: 300ms;
animation-timing-function: ease;
animation-fill-mode: both;
2022-01-13 13:00:31 +00:00
}
/*******************************
States
*******************************/
/* Animating */
.animating.transition {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
visibility: visible !important;
}
/* Loading */
.loading.transition {
position: absolute;
top: -99999px;
left: -99999px;
}
/* Hidden */
.hidden.transition {
display: none;
visibility: hidden;
}
/* Visible */
.visible.transition {
display: block !important;
visibility: visible !important;
2023-08-17 09:47:40 +00:00
/* backface-visibility: @backfaceVisibility;
transform: @use3DAcceleration; */
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
2022-01-13 13:00:31 +00:00
/* Disabled */
.disabled.transition {
2023-08-17 09:47:40 +00:00
animation-play-state: paused;
2022-01-13 13:00:31 +00:00
}
/*******************************
Variations
*******************************/
.looping.transition {
2023-08-17 09:47:40 +00:00
animation-iteration-count: infinite;
}
/* Pulsating */
.pulsating.transition {
animation-name: pulsating;
animation-duration: 2000ms;
box-shadow: 0 0 0 0 rgba(128, 128, 128, 0.5);
}
.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}
@keyframes pulsating {
100% {
box-shadow: 0 0 0 0.8rem rgba(255, 255, 255, 0);
}
}
.primary.pulsating.transition {
box-shadow: 0 0 0 0 rgba(33, 133, 208, 0.5);
}
.primary.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(84, 200, 255, 0.7);
}
.secondary.pulsating.transition {
box-shadow: 0 0 0 0 rgba(27, 28, 29, 0.5);
}
.secondary.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(84, 84, 84, 0.7);
}
.red.pulsating.transition {
box-shadow: 0 0 0 0 rgba(219, 40, 40, 0.5);
}
.red.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(255, 105, 94, 0.7);
}
.orange.pulsating.transition {
box-shadow: 0 0 0 0 rgba(242, 113, 28, 0.5);
}
.orange.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(255, 133, 27, 0.7);
}
.yellow.pulsating.transition {
box-shadow: 0 0 0 0 rgba(251, 189, 8, 0.5);
}
.yellow.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(255, 226, 31, 0.7);
}
.olive.pulsating.transition {
box-shadow: 0 0 0 0 rgba(181, 204, 24, 0.5);
}
.olive.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(217, 231, 120, 0.7);
}
.green.pulsating.transition {
box-shadow: 0 0 0 0 rgba(33, 186, 69, 0.5);
}
.green.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(46, 204, 64, 0.7);
}
.teal.pulsating.transition {
box-shadow: 0 0 0 0 rgba(0, 181, 173, 0.5);
}
.teal.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(109, 255, 255, 0.7);
}
.blue.pulsating.transition {
box-shadow: 0 0 0 0 rgba(33, 133, 208, 0.5);
}
.blue.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(84, 200, 255, 0.7);
}
.violet.pulsating.transition {
box-shadow: 0 0 0 0 rgba(100, 53, 201, 0.5);
}
.violet.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(162, 145, 251, 0.7);
}
.purple.pulsating.transition {
box-shadow: 0 0 0 0 rgba(163, 51, 200, 0.5);
}
.purple.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(220, 115, 255, 0.7);
}
.pink.pulsating.transition {
box-shadow: 0 0 0 0 rgba(224, 57, 151, 0.5);
}
.pink.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(255, 142, 223, 0.7);
}
.brown.pulsating.transition {
box-shadow: 0 0 0 0 rgba(165, 103, 63, 0.5);
}
.brown.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(214, 124, 28, 0.7);
}
.grey.pulsating.transition {
box-shadow: 0 0 0 0 rgba(118, 118, 118, 0.5);
}
.grey.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(220, 221, 222, 0.7);
}
.black.pulsating.transition {
box-shadow: 0 0 0 0 rgba(27, 28, 29, 0.5);
}
.black.inverted.pulsating.transition {
box-shadow: 0 0 0 0 rgba(84, 84, 84, 0.7);
2022-01-13 13:00:31 +00:00
}
/*******************************
Transitions
*******************************/
/*
Some transitions adapted from Animate CSS
https://github.com/daneden/animate.css
Additional transitions adapted from Glide
by Nick Pettit - https://github.com/nickpettit/glide
*/
2023-08-17 09:47:40 +00:00
/* --------------
Browse
--------------- */
2022-01-13 13:00:31 +00:00
.transition.browse {
2023-08-17 09:47:40 +00:00
animation-duration: 500ms;
2022-01-13 13:00:31 +00:00
}
.transition.browse.in {
2023-08-17 09:47:40 +00:00
animation-name: browseIn;
2022-01-13 13:00:31 +00:00
}
.transition.browse.out,
.transition.browse.left.out {
2023-08-17 09:47:40 +00:00
animation-name: browseOutLeft;
2022-01-13 13:00:31 +00:00
}
.transition.browse.right.out {
2023-08-17 09:47:40 +00:00
animation-name: browseOutRight;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes browseIn {
0% {
2023-08-17 09:47:40 +00:00
transform: scale(0.8) translateZ(0);
2022-01-13 13:00:31 +00:00
z-index: -1;
}
10% {
2023-08-17 09:47:40 +00:00
transform: scale(0.8) translateZ(0);
2022-01-13 13:00:31 +00:00
z-index: -1;
opacity: 0.7;
}
80% {
2023-08-17 09:47:40 +00:00
transform: scale(1.05) translateZ(0);
2022-01-13 13:00:31 +00:00
opacity: 1;
z-index: 999;
}
100% {
2023-08-17 09:47:40 +00:00
transform: scale(1) translateZ(0);
2022-01-13 13:00:31 +00:00
z-index: 999;
}
}
/* Out */
@keyframes browseOutLeft {
0% {
z-index: 999;
2023-08-17 09:47:40 +00:00
transform: translateX(0) rotateY(0) rotateX(0);
2022-01-13 13:00:31 +00:00
}
50% {
z-index: -1;
2023-08-17 09:47:40 +00:00
transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
2022-01-13 13:00:31 +00:00
}
80% {
opacity: 1;
}
100% {
z-index: -1;
2023-08-17 09:47:40 +00:00
transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
@keyframes browseOutRight {
0% {
z-index: 999;
2023-08-17 09:47:40 +00:00
transform: translateX(0) rotateY(0) rotateX(0);
2022-01-13 13:00:31 +00:00
}
50% {
z-index: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
2022-01-13 13:00:31 +00:00
}
80% {
opacity: 1;
}
100% {
z-index: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Drop
--------------- */
2022-01-13 13:00:31 +00:00
.drop.transition {
2023-08-17 09:47:40 +00:00
transform-origin: top center;
animation-duration: 400ms;
animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
2022-01-13 13:00:31 +00:00
}
.drop.transition.in {
2023-08-17 09:47:40 +00:00
animation-name: dropIn;
2022-01-13 13:00:31 +00:00
}
.drop.transition.out {
2023-08-17 09:47:40 +00:00
animation-name: dropOut;
2022-01-13 13:00:31 +00:00
}
/* Drop */
@keyframes dropIn {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
}
@keyframes dropOut {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale(0);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Fade
--------------- */
2022-01-13 13:00:31 +00:00
.transition.fade.in {
2023-08-17 09:47:40 +00:00
animation-name: fadeIn;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade up"].in {
2023-08-17 09:47:40 +00:00
animation-name: fadeInUp;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade down"].in {
2023-08-17 09:47:40 +00:00
animation-name: fadeInDown;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade left"].in {
2023-08-17 09:47:40 +00:00
animation-name: fadeInLeft;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade right"].in {
2023-08-17 09:47:40 +00:00
animation-name: fadeInRight;
2022-01-13 13:00:31 +00:00
}
.transition.fade.out {
2023-08-17 09:47:40 +00:00
animation-name: fadeOut;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade up"].out {
2023-08-17 09:47:40 +00:00
animation-name: fadeOutUp;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade down"].out {
2023-08-17 09:47:40 +00:00
animation-name: fadeOutDown;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade left"].out {
2023-08-17 09:47:40 +00:00
animation-name: fadeOutLeft;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fade right"].out {
2023-08-17 09:47:40 +00:00
animation-name: fadeOutRight;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateY(10%);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateY(0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateY(-10%);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateY(0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeInLeft {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateX(10%);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeInRight {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateX(-10%);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(0);
2022-01-13 13:00:31 +00:00
}
}
/* Out */
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes fadeOutUp {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateY(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateY(5%);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeOutDown {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateY(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateY(-5%);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeOutLeft {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateX(5%);
2022-01-13 13:00:31 +00:00
}
}
@keyframes fadeOutRight {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translateX(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translateX(-5%);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Flips
--------------- */
2022-01-13 13:00:31 +00:00
.flip.transition.in,
.flip.transition.out {
2023-08-17 09:47:40 +00:00
animation-duration: 600ms;
2022-01-13 13:00:31 +00:00
}
.horizontal.flip.transition.in {
2023-08-17 09:47:40 +00:00
animation-name: horizontalFlipIn;
2022-01-13 13:00:31 +00:00
}
.horizontal.flip.transition.out {
2023-08-17 09:47:40 +00:00
animation-name: horizontalFlipOut;
2022-01-13 13:00:31 +00:00
}
.vertical.flip.transition.in {
2023-08-17 09:47:40 +00:00
animation-name: verticalFlipIn;
2022-01-13 13:00:31 +00:00
}
.vertical.flip.transition.out {
2023-08-17 09:47:40 +00:00
animation-name: verticalFlipOut;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes horizontalFlipIn {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateY(-90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateY(0);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
}
@keyframes verticalFlipIn {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateX(-90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateX(0);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
}
/* Out */
@keyframes horizontalFlipOut {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateY(0);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateY(90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
@keyframes verticalFlipOut {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateX(0);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(2000px) rotateX(-90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Scale
--------------- */
2022-01-13 13:00:31 +00:00
.scale.transition.in {
2023-08-17 09:47:40 +00:00
animation-name: scaleIn;
2022-01-13 13:00:31 +00:00
}
.scale.transition.out {
2023-08-17 09:47:40 +00:00
animation-name: scaleOut;
2022-01-13 13:00:31 +00:00
}
@keyframes scaleIn {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale(0.8);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
}
/* Out */
@keyframes scaleOut {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale(0.9);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Fly
--------------- */
2022-01-13 13:00:31 +00:00
/* Inward */
.transition.fly {
2023-08-17 09:47:40 +00:00
animation-duration: 0.6s;
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
2022-01-13 13:00:31 +00:00
}
.transition.fly.in {
2023-08-17 09:47:40 +00:00
animation-name: flyIn;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly up"].in {
2023-08-17 09:47:40 +00:00
animation-name: flyInUp;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly down"].in {
2023-08-17 09:47:40 +00:00
animation-name: flyInDown;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly left"].in {
2023-08-17 09:47:40 +00:00
animation-name: flyInLeft;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly right"].in {
2023-08-17 09:47:40 +00:00
animation-name: flyInRight;
2022-01-13 13:00:31 +00:00
}
/* Outward */
.transition.fly.out {
2023-08-17 09:47:40 +00:00
animation-name: flyOut;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly up"].out {
2023-08-17 09:47:40 +00:00
animation-name: flyOutUp;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly down"].out {
2023-08-17 09:47:40 +00:00
animation-name: flyOutDown;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly left"].out {
2023-08-17 09:47:40 +00:00
animation-name: flyOutLeft;
2022-01-13 13:00:31 +00:00
}
.transition[class*="fly right"].out {
2023-08-17 09:47:40 +00:00
animation-name: flyOutRight;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes flyIn {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale3d(0.3, 0.3, 0.3);
2022-01-13 13:00:31 +00:00
}
20% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1.1, 1.1, 1.1);
2022-01-13 13:00:31 +00:00
}
40% {
2023-08-17 09:47:40 +00:00
transform: scale3d(0.9, 0.9, 0.9);
2022-01-13 13:00:31 +00:00
}
60% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale3d(1.03, 1.03, 1.03);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: scale3d(0.97, 0.97, 0.97);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale3d(1, 1, 1);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyInUp {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 1500px, 0);
2022-01-13 13:00:31 +00:00
}
60% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -20px, 0);
2022-01-13 13:00:31 +00:00
}
75% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 10px, 0);
2022-01-13 13:00:31 +00:00
}
90% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -5px, 0);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 0, 0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyInDown {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -1500px, 0);
2022-01-13 13:00:31 +00:00
}
60% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 25px, 0);
2022-01-13 13:00:31 +00:00
}
75% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -10px, 0);
2022-01-13 13:00:31 +00:00
}
90% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 5px, 0);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: none;
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyInLeft {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(1500px, 0, 0);
2022-01-13 13:00:31 +00:00
}
60% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(-25px, 0, 0);
2022-01-13 13:00:31 +00:00
}
75% {
2023-08-17 09:47:40 +00:00
transform: translate3d(10px, 0, 0);
2022-01-13 13:00:31 +00:00
}
90% {
2023-08-17 09:47:40 +00:00
transform: translate3d(-5px, 0, 0);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: none;
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyInRight {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(-1500px, 0, 0);
2022-01-13 13:00:31 +00:00
}
60% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(25px, 0, 0);
2022-01-13 13:00:31 +00:00
}
75% {
2023-08-17 09:47:40 +00:00
transform: translate3d(-10px, 0, 0);
2022-01-13 13:00:31 +00:00
}
90% {
2023-08-17 09:47:40 +00:00
transform: translate3d(5px, 0, 0);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: none;
2022-01-13 13:00:31 +00:00
}
}
/* Out */
@keyframes flyOut {
20% {
2023-08-17 09:47:40 +00:00
transform: scale3d(0.9, 0.9, 0.9);
2022-01-13 13:00:31 +00:00
}
50%,
55% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale3d(1.1, 1.1, 1.1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scale3d(0.3, 0.3, 0.3);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyOutUp {
20% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 10px, 0);
2022-01-13 13:00:31 +00:00
}
40%,
45% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -20px, 0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 2000px, 0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyOutDown {
20% {
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -10px, 0);
2022-01-13 13:00:31 +00:00
}
40%,
45% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, 20px, 0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(0, -2000px, 0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyOutRight {
20% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(20px, 0, 0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(-2000px, 0, 0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes flyOutLeft {
20% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: translate3d(-20px, 0, 0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: translate3d(2000px, 0, 0);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Slide
--------------- */
2022-01-13 13:00:31 +00:00
.transition.slide.in,
.transition[class*="slide down"].in {
2023-08-17 09:47:40 +00:00
animation-name: slideInY;
transform-origin: top center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide up"].in {
2023-08-17 09:47:40 +00:00
animation-name: slideInY;
transform-origin: bottom center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide left"].in {
2023-08-17 09:47:40 +00:00
animation-name: slideInX;
transform-origin: right center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide right"].in {
2023-08-17 09:47:40 +00:00
animation-name: slideInX;
transform-origin: left center;
2022-01-13 13:00:31 +00:00
}
.transition.slide.out,
.transition[class*="slide down"].out {
2023-08-17 09:47:40 +00:00
animation-name: slideOutY;
transform-origin: top center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide up"].out {
2023-08-17 09:47:40 +00:00
animation-name: slideOutY;
transform-origin: bottom center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide left"].out {
2023-08-17 09:47:40 +00:00
animation-name: slideOutX;
transform-origin: right center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="slide right"].out {
2023-08-17 09:47:40 +00:00
animation-name: slideOutX;
transform-origin: left center;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes slideInY {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scaleY(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scaleY(1);
2022-01-13 13:00:31 +00:00
}
}
@keyframes slideInX {
0% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scaleX(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scaleX(1);
2022-01-13 13:00:31 +00:00
}
}
/* Out */
@keyframes slideOutY {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scaleY(1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scaleY(0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes slideOutX {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scaleX(1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 0;
2023-08-17 09:47:40 +00:00
transform: scaleX(0);
2022-01-13 13:00:31 +00:00
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Swing
--------------- */
2022-01-13 13:00:31 +00:00
.transition.swing {
2023-08-17 09:47:40 +00:00
animation-duration: 800ms;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing down"].in {
2023-08-17 09:47:40 +00:00
animation-name: swingInX;
transform-origin: top center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing up"].in {
2023-08-17 09:47:40 +00:00
animation-name: swingInX;
transform-origin: bottom center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing left"].in {
2023-08-17 09:47:40 +00:00
animation-name: swingInY;
transform-origin: right center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing right"].in {
2023-08-17 09:47:40 +00:00
animation-name: swingInY;
transform-origin: left center;
2022-01-13 13:00:31 +00:00
}
.transition.swing.out,
.transition[class*="swing down"].out {
2023-08-17 09:47:40 +00:00
animation-name: swingOutX;
transform-origin: top center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing up"].out {
2023-08-17 09:47:40 +00:00
animation-name: swingOutX;
transform-origin: bottom center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing left"].out {
2023-08-17 09:47:40 +00:00
animation-name: swingOutY;
transform-origin: right center;
2022-01-13 13:00:31 +00:00
}
.transition[class*="swing right"].out {
2023-08-17 09:47:40 +00:00
animation-name: swingOutY;
transform-origin: left center;
2022-01-13 13:00:31 +00:00
}
/* In */
@keyframes swingInX {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
40% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(-30deg);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
60% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(15deg);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(-7.5deg);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(0);
2022-01-13 13:00:31 +00:00
}
}
@keyframes swingInY {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(-90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
40% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(30deg);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
60% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(-17.5deg);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(7.5deg);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(0);
2022-01-13 13:00:31 +00:00
}
}
/* Out */
@keyframes swingOutX {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(0);
2022-01-13 13:00:31 +00:00
}
40% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(-7.5deg);
2022-01-13 13:00:31 +00:00
}
60% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(17.5deg);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(-30deg);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateX(90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
@keyframes swingOutY {
0% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(0);
2022-01-13 13:00:31 +00:00
}
40% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(7.5deg);
2022-01-13 13:00:31 +00:00
}
60% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(-10deg);
2022-01-13 13:00:31 +00:00
}
80% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(30deg);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
100% {
2023-08-17 09:47:40 +00:00
transform: perspective(1000px) rotateY(-90deg);
2022-01-13 13:00:31 +00:00
opacity: 0;
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Zoom
--------------- */
2022-01-13 13:00:31 +00:00
.transition.zoom.in {
2023-08-17 09:47:40 +00:00
animation-name: zoomIn;
2022-01-13 13:00:31 +00:00
}
.transition.zoom.out {
2023-08-17 09:47:40 +00:00
animation-name: zoomOut;
2022-01-13 13:00:31 +00:00
}
@keyframes zoomIn {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(0);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
}
@keyframes zoomOut {
0% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
100% {
opacity: 1;
2023-08-17 09:47:40 +00:00
transform: scale(0);
2022-01-13 13:00:31 +00:00
}
}
/*******************************
Static Animations
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Emphasis
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.flash.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 750ms;
animation-name: flash;
2022-01-13 13:00:31 +00:00
}
.shake.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 750ms;
animation-name: shake;
2022-01-13 13:00:31 +00:00
}
.bounce.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 750ms;
animation-name: bounce;
2022-01-13 13:00:31 +00:00
}
.tada.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 750ms;
animation-name: tada;
2022-01-13 13:00:31 +00:00
}
.pulse.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 500ms;
animation-name: pulse;
2022-01-13 13:00:31 +00:00
}
.jiggle.transition {
2023-08-17 09:47:40 +00:00
animation-duration: 750ms;
animation-name: jiggle;
2022-01-13 13:00:31 +00:00
}
.transition.glow {
2023-08-17 09:47:40 +00:00
animation-duration: 2000ms;
animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
2022-01-13 13:00:31 +00:00
}
.transition.glow {
2023-08-17 09:47:40 +00:00
animation-name: glow;
2022-01-13 13:00:31 +00:00
}
/* Flash */
@keyframes flash {
0%,
50%,
100% {
opacity: 1;
}
25%,
75% {
opacity: 0;
}
}
/* Shake */
@keyframes shake {
0%,
100% {
2023-08-17 09:47:40 +00:00
transform: translateX(0);
2022-01-13 13:00:31 +00:00
}
10%,
30%,
50%,
70%,
90% {
2023-08-17 09:47:40 +00:00
transform: translateX(-10px);
2022-01-13 13:00:31 +00:00
}
20%,
40%,
60%,
80% {
2023-08-17 09:47:40 +00:00
transform: translateX(10px);
2022-01-13 13:00:31 +00:00
}
}
/* Bounce */
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
2023-08-17 09:47:40 +00:00
transform: translateY(0);
2022-01-13 13:00:31 +00:00
}
40% {
2023-08-17 09:47:40 +00:00
transform: translateY(-30px);
2022-01-13 13:00:31 +00:00
}
60% {
2023-08-17 09:47:40 +00:00
transform: translateY(-15px);
2022-01-13 13:00:31 +00:00
}
}
/* Tada */
@keyframes tada {
0% {
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
}
10%,
20% {
2023-08-17 09:47:40 +00:00
transform: scale(0.9) rotate(-3deg);
2022-01-13 13:00:31 +00:00
}
30%,
50%,
70%,
90% {
2023-08-17 09:47:40 +00:00
transform: scale(1.1) rotate(3deg);
2022-01-13 13:00:31 +00:00
}
40%,
60%,
80% {
2023-08-17 09:47:40 +00:00
transform: scale(1.1) rotate(-3deg);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: scale(1) rotate(0);
2022-01-13 13:00:31 +00:00
}
}
/* Pulse */
@keyframes pulse {
0% {
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
50% {
2023-08-17 09:47:40 +00:00
transform: scale(0.9);
2022-01-13 13:00:31 +00:00
opacity: 0.7;
}
100% {
2023-08-17 09:47:40 +00:00
transform: scale(1);
2022-01-13 13:00:31 +00:00
opacity: 1;
}
}
/* Jiggle */
@keyframes jiggle {
0% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1, 1, 1);
2022-01-13 13:00:31 +00:00
}
30% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1.25, 0.75, 1);
2022-01-13 13:00:31 +00:00
}
40% {
2023-08-17 09:47:40 +00:00
transform: scale3d(0.75, 1.25, 1);
2022-01-13 13:00:31 +00:00
}
50% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1.15, 0.85, 1);
2022-01-13 13:00:31 +00:00
}
65% {
2023-08-17 09:47:40 +00:00
transform: scale3d(0.95, 1.05, 1);
2022-01-13 13:00:31 +00:00
}
75% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1.05, 0.95, 1);
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
transform: scale3d(1, 1, 1);
2022-01-13 13:00:31 +00:00
}
}
/* Glow */
@keyframes glow {
0% {
2023-08-17 09:47:40 +00:00
background-color: #fcfcfd;
2022-01-13 13:00:31 +00:00
}
30% {
2023-08-17 09:47:40 +00:00
background-color: #fff6cd;
2022-01-13 13:00:31 +00:00
}
100% {
2023-08-17 09:47:40 +00:00
background-color: #fcfcfd;
2022-01-13 13:00:31 +00:00
}
}
/*******************************
Site Overrides
*******************************/