2014-01-22 10:12:51 +00:00
|
|
|
/**
|
|
|
|
* @name animations.css
|
|
|
|
* @author Tobias Reich
|
|
|
|
* @copyright 2014 by Tobias Reich
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Animation Setter ------------------------------------------------*/
|
|
|
|
.fadeIn {
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: .3s;
|
2014-03-16 18:23:23 +00:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
animation-timing-function: cubic-bezier(0.51,.92,.24,1.15); }
|
2014-01-22 10:12:51 +00:00
|
|
|
|
|
|
|
.fadeOut {
|
|
|
|
animation-name: fadeOut;
|
|
|
|
animation-duration: .3s;
|
2014-03-16 18:23:23 +00:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
animation-timing-function: cubic-bezier(0.51,.92,.24,1.15); }
|
2014-01-22 10:12:51 +00:00
|
|
|
|
|
|
|
.contentZoomIn {
|
|
|
|
animation-name: zoomIn;
|
|
|
|
animation-duration: .2s;
|
2014-03-16 18:23:23 +00:00
|
|
|
animation-fill-mode: forwards;
|
2014-03-16 18:28:24 +00:00
|
|
|
animation-timing-function: cubic-bezier(0.51,.92,.24,1); }
|
2014-01-22 10:12:51 +00:00
|
|
|
|
|
|
|
.contentZoomOut {
|
|
|
|
animation-name: zoomOut;
|
|
|
|
animation-duration: .2s;
|
2014-03-16 18:23:23 +00:00
|
|
|
animation-fill-mode: forwards;
|
2014-03-16 18:28:24 +00:00
|
|
|
animation-timing-function: cubic-bezier(0.51,.92,.24,1); }
|
2014-01-22 10:12:51 +00:00
|
|
|
|
|
|
|
/* moveUp ------------------------------------------------*/
|
|
|
|
@keyframes moveUp {
|
|
|
|
0% {
|
2014-03-16 18:23:23 +00:00
|
|
|
transform: translateY(100px);
|
2014-01-22 10:12:51 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fadeIn ------------------------------------------------*/
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fadeOut ------------------------------------------------*/
|
|
|
|
@keyframes fadeOut {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* moveBackground ------------------------------------------------*/
|
|
|
|
@keyframes moveBackground {
|
|
|
|
0% {
|
|
|
|
background-position-x: 0px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position-x: -100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* zoomIn ------------------------------------------------*/
|
|
|
|
@keyframes zoomIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(.8);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* zoomOut ------------------------------------------------*/
|
|
|
|
@keyframes zoomOut {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(.8);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* popIn ------------------------------------------------*/
|
|
|
|
@keyframes popIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* pulse ------------------------------------------------*/
|
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
50% {
|
2014-03-16 20:09:54 +00:00
|
|
|
opacity: 0.3;
|
2014-01-22 10:12:51 +00:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-01-28 13:04:09 +00:00
|
|
|
}
|