mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
144 lines
1.8 KiB
SCSS
144 lines
1.8 KiB
SCSS
/*!
|
|
* animate.css -http://daneden.me/animate
|
|
* Version - 3.5.1
|
|
* Licensed under the MIT license - http://opensource.org/licenses/MIT
|
|
*
|
|
* Copyright (c) 2016 Daniel Eden
|
|
*/
|
|
|
|
.animated {
|
|
-webkit-animation-duration: 1s;
|
|
animation-duration: 1s;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
}
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.fadeIn {
|
|
-webkit-animation-name: fadeIn;
|
|
animation-name: fadeIn;
|
|
}
|
|
|
|
@-webkit-keyframes fadeInDown {
|
|
0% {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(0, -100%, 0);
|
|
transform: translate3d(0, -100%, 0);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
-webkit-transform: none;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInDown {
|
|
0% {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(0, -100%, 0);
|
|
transform: translate3d(0, -100%, 0);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
-webkit-transform: none;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.fadeInDown {
|
|
-webkit-animation-name: fadeInDown;
|
|
animation-name: fadeInDown;
|
|
}
|
|
|
|
// Loader animation
|
|
@keyframes pen1 {
|
|
0% {
|
|
transform: translateY(0px);
|
|
}
|
|
|
|
15% {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
30% {
|
|
transform: translateY(0px);
|
|
}
|
|
}
|
|
|
|
@keyframes pen2 {
|
|
30% {
|
|
transform: translateY(0px);
|
|
}
|
|
|
|
45% {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
60% {
|
|
transform: translateY(0px);
|
|
}
|
|
}
|
|
|
|
@keyframes pen3 {
|
|
60% {
|
|
transform: translateY(0px);
|
|
}
|
|
|
|
75% {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
90% {
|
|
transform: translateY(0px);
|
|
}
|
|
}
|
|
|
|
@keyframes loaderColor {
|
|
0% {
|
|
fill: #513b56;
|
|
}
|
|
|
|
33% {
|
|
fill: #348aa7;
|
|
}
|
|
|
|
66% {
|
|
fill: #5dd39e;
|
|
}
|
|
|
|
100% {
|
|
fill: #513b56;
|
|
}
|
|
}
|
|
|
|
//pencil loader animation
|
|
@keyframes linePencil {
|
|
0% {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
100% {
|
|
transform: translateY(-150px);
|
|
}
|
|
}
|