Merge pull request #2114 from MartijnCuppens/remove-redundant-animation-states

Remove redundant animation states
This commit is contained in:
Adam Wathan 2020-08-07 14:14:14 -04:00 • committed by GitHub
commit 0ca1c14365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 60 deletions

View file

@ -10951,21 +10951,12 @@ video {
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes ping {
0% {
transform: scale(1);
opacity: 1;
}
75%, 100% {
transform: scale(2);
opacity: 0;
@ -10973,10 +10964,6 @@ video {
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
@ -10989,7 +10976,7 @@ video {
}
50% {
transform: translateY(0);
transform: none;
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}

View file

@ -14563,21 +14563,12 @@ video {
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes ping {
0% {
transform: scale(1);
opacity: 1;
}
75%, 100% {
transform: scale(2);
opacity: 0;
@ -14585,10 +14576,6 @@ video {
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
@ -14601,7 +14588,7 @@ video {
}
50% {
transform: translateY(0);
transform: none;
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}

View file

@ -12115,21 +12115,12 @@ video {
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes ping {
0% {
transform: scale(1);
opacity: 1;
}
75%, 100% {
transform: scale(2);
opacity: 0;
@ -12137,10 +12128,6 @@ video {
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
@ -12153,7 +12140,7 @@ video {
}
50% {
transform: translateY(0);
transform: none;
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}

View file

@ -14563,21 +14563,12 @@ video {
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes ping {
0% {
transform: scale(1);
opacity: 1;
}
75%, 100% {
transform: scale(2);
opacity: 0;
@ -14585,10 +14576,6 @@ video {
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
@ -14601,7 +14588,7 @@ video {
}
50% {
transform: translateY(0);
transform: none;
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}

View file

@ -631,15 +631,12 @@ module.exports = {
},
keyframes: {
spin: {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' },
},
ping: {
'0%': { transform: 'scale(1)', opacity: '1' },
'75%, 100%': { transform: 'scale(2)', opacity: '0' },
},
pulse: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '.5' },
},
bounce: {
@ -648,7 +645,7 @@ module.exports = {
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'translateY(0)',
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},