Submit
Path:
~
/
home
/
getwphos
/
www
/
shellfish
/
wp-content
/
plugins
/
templaza-framework
/
assets
/
scss
/
spinkit
/
File Content:
_animation.scss
// 1 .sk-rotating-plane { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; margin: auto; background-color: $tztheme-spinkit-spinner-color; animation: sk-rotating-plane 1.2s infinite ease-in-out; } @keyframes sk-rotating-plane { 0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); } 50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); } 100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } } // 2 .sk-double-bounce { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; .sk-child { width: 100%; height: 100%; border-radius: 50%; background-color: $tztheme-spinkit-spinner-color; opacity: 0.6; position: absolute; top: 0; left: 0; animation: sk-double-bounce 2.0s infinite ease-in-out; } .sk-double-bounce2 { animation-delay: -1.0s; } } @keyframes sk-double-bounce { 0%, 100% { transform: scale(0); } 50% { transform: scale(1.0); } } // 3 .sk-wave { width: $tztheme-spinkit-size * 1.5; height: $tztheme-spinkit-size; margin: auto; text-align: center; font-size: 1em; .sk-rect { background-color: $tztheme-spinkit-spinner-color; height: 100%; width: .5em; display: inline-block; animation: sk-wave-stretch-delay $tztheme-sk-wave-animationDuration infinite ease-in-out; } @for $i from 1 through $tztheme-sk-wave-rectCount { .sk-rect#{$i} { animation-delay: - $tztheme-sk-wave-animationDuration + $tztheme-sk-wave-delayRange / ($tztheme-sk-wave-rectCount - 1) * ($i - 1); } } } @keyframes sk-wave-stretch-delay { 0%, 40%, 100% { transform: scaleY(0.4); } 20% { transform: scaleY(1.0); } } // 4 .sk-wandering-cubes { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; .sk-cube { background-color: $tztheme-spinkit-spinner-color; width: 20%; height: 20%; //width: ($tztheme-spinkit-size / 4); //height: ($tztheme-spinkit-size / 4); //width: calc(#{$tztheme-spinkit-size} / 4); //height: calc(#{$tztheme-spinkit-size} / 4); position: absolute; top: 0; left: 0; animation: sk-wandering-cubes $tztheme-sk-wandering-cubs-animationDuration ease-in-out #{-$tztheme-sk-wandering-cubs-animationDuration} infinite both; } .sk-cube2 { animation-delay: (-$tztheme-sk-wandering-cubs-animationDuration / 2); } } @keyframes sk-wandering-cubes { 0% { transform: rotate(0deg); } 25% { transform: translateX($tztheme-sk-wandering-cubeDistance) rotate(-90deg) scale(0.5); } 50% { /* Hack to make FF rotate in the right direction */ transform: translateX($tztheme-sk-wandering-cubeDistance) translateY($tztheme-sk-wandering-cubeDistance) rotate(-179deg); } 50.1% { transform: translateX($tztheme-sk-wandering-cubeDistance) translateY($tztheme-sk-wandering-cubeDistance) rotate(-180deg); } 75% { transform: translateX(0) translateY($tztheme-sk-wandering-cubeDistance) rotate(-270deg) scale(0.5); } 100% { transform: rotate(-360deg); } } // 5 .sk-spinner-pulse { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; margin: auto; background-color: $tztheme-spinkit-spinner-color; border-radius: 100%; animation: sk-spinner-pulse 1.0s infinite ease-in-out; } @keyframes sk-spinner-pulse { 0% { transform: scale(0); } 100% { transform: scale(1.0); opacity: 0; } } // 6 .sk-chase { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; margin: auto; position: relative; animation: sk-chase $tztheme-sk-chase-animationDuration infinite linear both; .sk-chase-dot { width: 100%; height: 100%; position: absolute; left: 0; top: 0; animation: sk-chase-dot 2.0s infinite ease-in-out both; &:before { content: ''; display: block; width: 25%; height: 25%; background-color: $tztheme-spinkit-spinner-color; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; animation: sk-chase-dot-before 2.0s infinite ease-in-out both; } } @for $i from 1 through $tztheme-sk-chase-count { .sk-chase-dot:nth-child(#{$i}), .sk-chase-dot:nth-child(#{$i}):before { animation-delay: - ($tztheme-sk-chase-delayRange - ($i - 1) *1/10); } } } @keyframes sk-chase { 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot { 80%, 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot-before { 50% { transform: scale(0.4); } 100%, 0% { transform: scale(1.0); } } // 7 .sk-chasing-dots { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; text-align: center; animation: sk-chasing-dots-rotate $tztheme-sk-chasing-dot-animationDuration infinite linear; .sk-child { width: calc(#{$tztheme-spinkit-size} / 2); height: calc(#{$tztheme-spinkit-size} / 2); display: inline-block; position: absolute; top: 0; background-color: $tztheme-spinkit-spinner-color; border-radius: 100%; animation: sk-chasing-dots-bounce $tztheme-sk-chasing-dot-animationDuration infinite ease-in-out; } .sk-dot2 { top: auto; bottom: 0; animation-delay: (-$tztheme-sk-chasing-dot-animationDuration / 2); } } @keyframes sk-chasing-dots-rotate { 100% { transform: rotate(360deg); } } @keyframes sk-chasing-dots-bounce { 0%, 100% { transform: scale(0); } 50% { transform: scale(1.0); } } // 8 .sk-three-bounce { width: ($tztheme-spinkit-size * 2); margin: auto; text-align: center; .sk-child { width: calc(#{$tztheme-spinkit-size} / 2); height: calc(#{$tztheme-spinkit-size} / 2); background-color: $tztheme-spinkit-spinner-color; border-radius: 100%; display: inline-block; animation: sk-three-bounce $tztheme-sk-three-bounce-animationDuration ease-in-out 0s infinite both; } .sk-bounce1 { animation-delay: -$tztheme-sk-three-bounce-delayRange; } .sk-bounce2 { animation-delay: (-$tztheme-sk-three-bounce-delayRange / 2); } } @keyframes sk-three-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } } // 9 .sk-circle { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; .sk-child { width: 100%; height: 100%; position: absolute; left: 0; top: 0; } .sk-child:before { content: ''; display: block; margin: 0 auto; width: 15%; height: 15%; background-color: $tztheme-spinkit-spinner-color; border-radius: 100%; animation: sk-circle-delay $tztheme-sk-circle-animationDuration infinite ease-in-out both; } @for $i from 2 through $tztheme-sk-circle-count { .sk-circle#{$i} { transform: rotate((360deg / $tztheme-sk-circle-count * ($i - 1))); } } @for $i from 2 through $tztheme-sk-circle-count { .sk-circle#{$i}:before { animation-delay: (-$tztheme-sk-circle-animationDuration + $tztheme-sk-circle-animationDuration / $tztheme-sk-circle-count * ($i - 1)); } } } @keyframes sk-circle-delay { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } } // 10 .sk-cube-grid { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; margin: auto; .sk-cube { width: 33%; height: 33%; background-color: $tztheme-spinkit-spinner-color; float: left; animation: sk-cube-grid-scale-delay 1.3s infinite ease-in-out; } /* * Spinner positions * 1 2 3 * 4 5 6 * 7 8 9 */ .sk-cube1 { animation-delay: ($tztheme-sk-circle-delayRange * 0.50); } .sk-cube2 { animation-delay: ($tztheme-sk-circle-delayRange * 0.75); } .sk-cube3 { animation-delay: $tztheme-sk-circle-delayRange; } .sk-cube4 { animation-delay: ($tztheme-sk-circle-delayRange * 0.25); } .sk-cube5 { animation-delay: ($tztheme-sk-circle-delayRange * 0.50); } .sk-cube6 { animation-delay: ($tztheme-sk-circle-delayRange * 0.75); } .sk-cube7 { animation-delay: 0s; } .sk-cube8 { animation-delay: ($tztheme-sk-circle-delayRange * 0.25); } .sk-cube9 { animation-delay: ($tztheme-sk-circle-delayRange * 0.50); } } @keyframes sk-cube-grid-scale-delay { 0%, 70%, 100% { transform: scale3D(1,1,1); } 35% { transform: scale3D(0,0,1); } } // 11 .sk-fading-circle { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; .sk-circle { width: 100%; height: 100%; position: absolute; left: 0; top: 0; } .sk-circle:before { content: ''; display: block; margin: 0 auto; width: 15%; height: 15%; background-color: $tztheme-spinkit-spinner-color; border-radius: 100%; animation: sk-fading-circle-delay $tztheme-sk-fading-circle-animationDuration infinite ease-in-out both; } @for $i from 2 through $tztheme-sk-fading-circle-count { .sk-circle#{$i} { transform: rotate((360deg / $tztheme-sk-fading-circle-count * ($i - 1))); } } @for $i from 2 through $tztheme-sk-fading-circle-count { .sk-circle#{$i}:before { animation-delay: (-$tztheme-sk-fading-circle-animationDuration + $tztheme-sk-fading-circle-animationDuration / $tztheme-sk-fading-circle-count * ($i - 1)); } } } @keyframes sk-fading-circle-delay { 0%, 39%, 100% { opacity: 0; } 40% { opacity: 1; } } // 12 .sk-folding-cube { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; position: relative; margin: auto; transform: rotateZ(45deg); .sk-cube { float: left; width: 50%; height: 50%; position: relative; transform: scale(1.1); } .sk-cube:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: $tztheme-spinkit-spinner-color; animation: sk-folding-cube-angle $tztheme-sk-folding-cube-animationDuration infinite linear both; transform-origin: 100% 100%; } // Rotation / angle @for $i from 2 through $tztheme-sk-folding-cube-count { .sk-cube#{$i} { transform: scale(1.1) rotateZ((90deg * ($i - 1))); } } @for $i from 2 through $tztheme-sk-folding-cube-count { .sk-cube#{$i}:before { animation-delay: ($tztheme-sk-folding-cube-delayRange / $tztheme-sk-folding-cube-count * ($i - 1)); } } } @keyframes sk-folding-cube-angle { 0%, 10% { transform: perspective(140px) rotateX(-180deg); opacity: 0; } 25%, 75% { transform: perspective(140px) rotateX(0deg); opacity: 1; } 90%, 100% { transform: perspective(140px) rotateY(180deg); opacity: 0; } } // 13 .bouncing-loader { display: flex; justify-content: center; margin: 0 auto; > div { width: calc(#{$tztheme-spinkit-size} / 2); height: calc(#{$tztheme-spinkit-size} / 2); margin: 1rem 0.2rem 0; background: $tztheme-spinkit-spinner-color; border-radius: 50%; -webkit-animation: bouncing-loader 0.6s infinite alternate; -o-animation: bouncing-loader 0.6s infinite alternate; animation: bouncing-loader 0.6s infinite alternate; &:nth-child(2) { animation-delay: 0.2s; } &:nth-child(3) { animation-delay: 0.4s; } } } @keyframes bouncing-loader { to { opacity: 0.1; transform: translate3d(0, -1rem, 0); } } // 14 .donut { display:inline-block; border: 4px solid #e8ebf1; border-left-color: $tztheme-spinkit-spinner-color; border-radius: 50%; margin:0 auto; width: 40px; height: 40px; animation:donut-spin 1.2s linear infinite; } @keyframes donut-spin{ 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } } // triple, cm, hm, reverse spinner // 15 .triple-spinner { display: block; position: relative; width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; border-radius: 50%; border: 2px solid transparent; border-top: 2px solid $tztheme-spinkit-spinner-color; border-left: 2px solid $tztheme-spinkit-spinner-color; -webkit-animation: preload-spin 2s linear infinite; animation: preload-spin 2s linear infinite; &::before, &::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid transparent; } &::before { opacity: 0.85; top: 8%; left: 8%; right: 8%; bottom: 8%; border-top-color: $tztheme-spinkit-spinner-color-2; border-left-color: $tztheme-spinkit-spinner-color-2; -webkit-animation: preload-spin 3s linear infinite; animation: preload-spin 3.5s linear infinite; } &::after { opacity: 0.7; top: 18%; left: 18%; right: 18%; bottom: 18%; border-top-color: $tztheme-spinkit-spinner-color-3; border-left-color: $tztheme-spinkit-spinner-color-3; -webkit-animation: preload-spin 1.5s linear infinite; animation: preload-spin 1.75s linear infinite; } } // 16 .cm-spinner { width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; border: 2px solid transparent; border-radius: 50%; border-top: 2px solid $tztheme-spinkit-spinner-color; -webkit-animation: preload-spin 4s linear infinite; animation: preload-spin 4s linear infinite; position: relative; &::before, &::after { content: ""; position: absolute; top: 10%; bottom: 10%; left: 10%; right: 10%; border-radius: 50%; border: 2px solid transparent; } &::before { opacity: 0.8; border-top-color: $tztheme-spinkit-spinner-color-2; -webkit-animation: 3s preload-spin linear infinite; animation: 3s preload-spin linear infinite; } &::after { opacity: 0.9; border-top-color: $tztheme-spinkit-spinner-color-3; -webkit-animation: preload-spin 1.5s linear infinite; animation: preload-spin 1.5s linear infinite; } } // 17 .hm-spinner{ width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; border: 2px solid transparent; border-top-color: $tztheme-spinkit-spinner-color; border-bottom-color: $tztheme-spinkit-spinner-color; border-radius: 50%; position: relative; -webkit-animation: preload-spin 3s linear infinite; animation: preload-spin 3s linear infinite; &::before{ opacity: 0.7; content: ""; position: absolute; top: 15%; right: 15%; bottom: 15%; left: 15%; border: 2px solid transparent; border-top-color: $tztheme-spinkit-spinner-color-2; border-bottom-color: $tztheme-spinkit-spinner-color-2; border-radius: 50%; -webkit-animation: preload-spin 1.5s linear infinite; animation: preload-spin 1.5s linear infinite; } } // 18 .reverse-spinner { position: relative; width: $tztheme-spinkit-size; height: $tztheme-spinkit-size; border: 2px solid transparent; border-top-color: $tztheme-spinkit-spinner-color; border-left-color: $tztheme-spinkit-spinner-color; border-radius: 50%; -webkit-animation: preload-spin 1.5s linear infinite; animation: preload-spin 1.5s linear infinite; &::before { position: absolute; top: 15%; left: 15%; right: 15%; bottom: 15%; content: ""; border: 2px solid transparent; border-top-color: $tztheme-spinkit-spinner-color-2; border-left-color: $tztheme-spinkit-spinner-color-2; border-radius: 50%; -webkit-animation: preload-spin-back 1s linear infinite; animation: preload-spin-back 1s linear infinite; } } @-webkit-keyframes preload-spin-back { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(-720deg); transform: rotate(-720deg); } } @keyframes preload-spin-back { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(-720deg); transform: rotate(-720deg); } } @-webkit-keyframes preload-spin { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes preload-spin { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
_animation.scss
16360 bytes
0644
_variables.scss
1897 bytes
0644
N4ST4R_ID | Naxtarrr