From c1299184667159935edbd2754e8dbd247889940a Mon Sep 17 00:00:00 2001 From: jh3y Date: Mon, 29 Sep 2014 21:40:40 +0100 Subject: [PATCH] Remove old source --- dist/whirl.css | 401 ++++++++++++++++++++++++++++++++++++++++ src/jade/index.jade | 2 +- src/sass/csspinner.sass | 397 --------------------------------------- 3 files changed, 402 insertions(+), 398 deletions(-) delete mode 100644 src/sass/csspinner.sass diff --git a/dist/whirl.css b/dist/whirl.css index e2a7dee..6c79691 100644 --- a/dist/whirl.css +++ b/dist/whirl.css @@ -69,3 +69,404 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI transform: rotate(360deg); } } +/*whirl bar follow - a simple strafing bar animation that follows itself*/ +.whirl.bar.follow:after { + -webkit-animation: bar-follow 1s infinite linear; + animation: bar-follow 1s infinite linear; +} +@-webkit-keyframes bar-follow { + 0% { + -webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5); + } +} +@keyframes bar-follow { + 0% { + -webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5); + } +} +/*whirl bar - a simple strafing bar animation*/ +.whirl.bar:after { + height: 20px; + width: 40px; + border-radius: 0; + border: none; + -webkit-animation: bar 1s infinite linear; + animation: bar 1s infinite linear; +} +@-webkit-keyframes bar { + from { + -webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5); + } +} +@keyframes bar { + from { + -webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5); + } +} +/* whirl blade spinner. +experimental spinner that tries to create a blade effect.*/ +.whirl.blade:after { + height: 20px; + width: 20px; + margin: -10px 0 0 10px; + border-right: 4px solid transparent; + border-top: 4px solid transparent; + border-left: 4px solid transparent; + border-bottom: 4px solid #e74c3c; + opacity: 1; + -webkit-transform-origin: left; + -ms-transform-origin: left; + transform-origin: left; +} +/*whirl double up - a doubling up standard animation spinner*/ +.whirl.double-up:after { + border-right: 4px solid #e74c3c; + border-top: 4px double #e74c3c; + border-left: 4px double #e74c3c; + border-bottom: 4px double #e74c3c; +} +/*whirl duo - a dual colored standard animated spinner*/ +.whirl.duo:after { + border-right: 4px solid #333333; + border-left: 4px solid #333333; + border-top: 4px solid #f1c40f; + border-bottom: 4px solid #f1c40f; +} +/* whirl helicopter spinner.*/ +.whirl.helicopter:after { + height: 10px; + width: 40px; + margin: -10px 0 0 -20px; + border: none; + border-radius: 0; + opacity: 1; + -webkit-transform-origin: center; + -ms-transform-origin: center; + transform-origin: center; + background-color: #8e44ad; +} +/*whirl line back and forth grow - a simple strafing line animation that goes back and forth and grows in the middle*/ +.whirl.line.back-and-forth.grow:after { + -webkit-animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear; + animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear; +} +@-webkit-keyframes line-back-and-forth-grow { + 0% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 25% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 50% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 75% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 100% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } +} +@keyframes line-back-and-forth-grow { + 0% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 25% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 50% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 75% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 100% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } +} +/*whirl line back and forth - a simple strafing line animation that goes back and forth*/ +.whirl.line.back-and-forth:after { + -webkit-animation: line-back-and-forth 1s infinite linear; + animation: line-back-and-forth 1s infinite linear; +} +@-webkit-keyframes line-back-and-forth { + 0% { + width: 10px; + } + 50% { + width: 50px; + } + 100% { + width: 10px; + } +} +@keyframes line-back-and-forth { + 0% { + width: 10px; + } + 50% { + width: 50px; + } + 100% { + width: 10px; + } +} +/*whirl line grow - a simple strafing line animation that grows in the middle*/ +.whirl.line.grow:after { + -webkit-animation: line 0.75s infinite linear, line-grow 0.75s infinite linear; + animation: line 0.75s infinite linear, line-grow 0.75s infinite linear; +} +@-webkit-keyframes line-grow { + 0% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 50% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 100% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } +} +@keyframes line-grow { + 0% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } + 50% { + -webkit-transform: scaleY(2); + transform: scaleY(2); + } + 100% { + -webkit-transform: scaleY(1); + transform: scaleY(1); + } +} +/*whirl line - a simple strafing line animation*/ +.whirl.line:after { + height: 20px; + border-radius: 0; + border: none; + -webkit-box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5); + -webkit-animation: line .75s infinite linear; + animation: line .75s infinite linear; +} +@-webkit-keyframes line { + from { + width: 10px; + } + to { + width: 50px; + } +} +@keyframes line { + from { + width: 10px; + } + to { + width: 50px; + } +} +/* whirl ringed spinner. +a spinner with a static ring and no overlay.*/ +.whirl.ringed:after { + border-right: 4px solid #e74c3c; + border-top: 4px solid #2ecc71; + border-left: 4px solid #2ecc71; + border-bottom: 4px solid #2ecc71; + opacity: 1; +} +/* whirl shadow oval left - makes use of box shadowing effects +in addition to offsetting the width and the height to angle the shadow*/ +.whirl.shadow.oval.left:after, +.whirl.shadow.oval:after { + -webkit-animation: spin-shadow 0.25s infinite linear; + animation: spin-shadow 0.25s infinite linear; + border: none; + border-radius: 40% 100%; +} +@-webkit-keyframes spin-shadow { + 0% { + -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + } + 25% { + -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + } + 50% { + -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + } +} +@keyframes spin-shadow { + 0% { + -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + } + 25% { + -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + } + 50% { + -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + } +} +/* whirl shadow oval right - makes use of box shadowing effects +in addition to offsetting the width and the height to angle the shadow*/ +.whirl.shadow.oval.right:after { + -webkit-animation: spin-shadow 0.25s infinite linear; + animation: spin-shadow 0.25s infinite linear; + border: none; + border-radius: 100% 40%; +} +@keyframes spin-shadow { + 0% { + -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + } + 25% { + -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + } + 50% { + -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + } +} +/* whirl shadow - makes use of box shadowing effects */ +.whirl.shadow:after { + -webkit-animation: spin-shadow 0.25s infinite linear; + animation: spin-shadow 0.25s infinite linear; + border-radius: 100%; + border: none; +} +@keyframes spin-shadow { + 0% { + -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5); + } + 25% { + -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5); + } + 50% { + -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5); + } + 100% { + -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5); + } +} +/*whirl spherical horizontal spinner*/ +.whirl.sphere.horizontal:after, +.whirl.sphere:after { + border-radius: 100%; + -webkit-animation: sphere .5s infinite; + animation: sphere .5s infinite; + border: none; + height: 40px; +} +@-webkit-keyframes sphere { + from { + -webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5); + } +} +@keyframes sphere { + from { + -webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5); + } +} +/*whirl spherical vertical spinner*/ +.whirl.sphere.vertical:after { + border-radius: 100%; + -webkit-animation: sphere-v 0.5s infinite; + animation: sphere-v 0.5s infinite; + border: none; + height: 40px; +} +@-webkit-keyframes sphere-v { + from { + -webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5); + } +} +@keyframes sphere-v { + from { + -webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5); + } + to { + -webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5); + } +} +/* whirl traditional spinner. +Makes use of standard animation spin and minimally extends core.*/ +.whirl.traditional:after { + border-right: 4px solid #777777; + border-top: 4px solid #777777; + border-left: 4px solid #999999; + border-bottom: 4px solid #bbbbbb; +} diff --git a/src/jade/index.jade b/src/jade/index.jade index 56d2a86..a041c81 100644 --- a/src/jade/index.jade +++ b/src/jade/index.jade @@ -14,6 +14,6 @@ head } body h1.center whirl - .container.center.whirl.helicopter + .container.center.whirl p. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum in cursus ligula, nec mollis purus. Vivamus tincidunt, metus vel mollis consectetur, mauris urna dapibus justo, ut ornare risus diam sed orci. Nullam blandit varius lectus eget accumsan. Donec interdum imperdiet accumsan. Etiam at porttitor metus. Fusce non ipsum aliquam, condimentum orci ac, pretium magna. Aliquam ipsum orci, sodales ut augue a, cursus auctor turpis. Proin pretium interdum enim, a cursus libero tincidunt eu. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec cursus urna vitae dignissim adipiscing. diff --git a/src/sass/csspinner.sass b/src/sass/csspinner.sass deleted file mode 100644 index fafb3d6..0000000 --- a/src/sass/csspinner.sass +++ /dev/null @@ -1,397 +0,0 @@ -/* - whirl - https://github.com/jh3y/-cs-spinner - Licensed under the MIT license - - Jhey Tompkins (c) 2014 - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -//VARS -$height: 40px -$width: 40px -$border-width: 4px -$overlay-color: #999 -$base-color: #555 - -/* BASE */ -.whirl - position: relative -.whirl:before - content: "" - z-index: 1 - position: absolute - top: 0 - left: 0 - display: block - height: 100% - width: 100% - background-color: $overlay-color - opacity: 0.6 - -.whirl:after - z-index: 2 - content: "" - height: $height - width: $width - position: absolute - top: 50% - left: 50% - margin: (-$width / 2) 0 0 (-$width / 2) - transition: all .75s ease 0s - -webkit-transition: all .75s ease 0s - border-radius: 100% - border-top: $border-width solid $base-color - animation: standard .75s infinite linear - -webkit-animation: standard .75s infinite linear - -.whirl.no-overlay:before - content: none - display: none - - -/* STANDARD ROTATION ANIMATION */ -@-webkit-keyframes standard - from - -webkit-transform: rotate(0deg) - - to - -webkit-transform: rotate(360deg) - - -@keyframes standard - from - transform: rotate(0deg) - - to - transform: rotate(360deg) - - - -/* TRADITIONAL */ -$traditional-color-one: #777 -$traditional-color-two: #999 -$traditional-color-three: #BBB - -.whirl.traditional:after - border-right: $border-width solid $traditional-color-one - border-top: $border-width solid $traditional-color-one - border-left: $border-width solid $traditional-color-two - border-bottom: $border-width solid $traditional-color-three - -/* DOUBLE UP*/ -$double-up-color-one: #E74C3C - -.whirl.double-up:after - border-right: $border-width solid $double-up-color-one - border-top: $border-width double $double-up-color-one - border-left: $border-width double $double-up-color-one - border-bottom: $border-width double $double-up-color-one - - -/* DUO */ -$duo-color-one: #333 -$duo-color-two: #F1C40F - -.whirl.duo:after - border-right: $border-width solid $duo-color-one - border-left: $border-width solid $duo-color-one - border-top: $border-width solid $duo-color-two - border-bottom: $border-width solid $duo-color-two - - -/* SPHERICAL */ -$sphere-color: rgba(0, 0, 0, .5) -$sphere-height: $height -$sphere-width: $width - -.whirl.sphere.horizontal:after, .whirl.sphere:after - border-radius: 100% - animation: sphere .5s infinite - -webkit-animation: sphere .5s infinite - border: none - height: $sphere-height - -.whirl.sphere.vertical:after - border-radius: 100% - animation: sphere-v .5s infinite - -webkit-animation: sphere-v .5s infinite - border: none - height: $sphere-height - -@-webkit-keyframes sphere - from - box-shadow: inset ($sphere-width + 5px) 0px $sphere-width/4 $sphere-color - - to - box-shadow: inset -($sphere-width + 5px) 0px $sphere-width/4 $sphere-color - - -@keyframes sphere - from - box-shadow: inset ($sphere-width + 5px) 0px $sphere-width/4 $sphere-color - - to - box-shadow: inset -($sphere-width + 5px) 0px $sphere-width/4 $sphere-color - - -@-webkit-keyframes sphere-v - from - box-shadow: inset 0px ($sphere-width + 5px) $sphere-width/4 $sphere-color - - to - box-shadow: inset 0px -($sphere-width + 5px) $sphere-width/4 $sphere-color - - -@keyframes sphere-v - from - box-shadow: inset 0px ($sphere-width + 5px) $sphere-width/4 $sphere-color - - to - box-shadow: inset 0px -($sphere-width + 5px) $sphere-width/4 $sphere-color - - - -/* BAR */ -$bar-height: $height / 2 -$bar-width: $width -$bar-color: rgba(0, 0, 0, .5) - -.whirl.bar:after - height: $bar-height - width: $bar-width - border-radius: 0 - border: none - animation: bar 1s infinite linear - -webkit-animation: bar 1s infinite linear - -@-webkit-keyframes bar - from - box-shadow: inset 0px 0px 0px $bar-color - - to - box-shadow: inset ($bar-width * 2) 0px 0px $bar-color - - -@keyframes bar - from - box-shadow: inset 0px 0px 0px $bar-color - - to - box-shadow: inset ($bar-width * 2) 0px 0px $bar-color - - -.whirl.bar.follow:after - animation: bar-follow 1s infinite linear - -webkit-animation: bar-follow 1s infinite linear - -@-webkit-keyframes bar-follow - 0% - box-shadow: inset $bar-width 0px 0px $bar-color - - 100% - box-shadow: inset -$bar-width 0px 0px $bar-color - - -@keyframes bar-follow - 0% - box-shadow: inset $bar-width 0px 0px $bar-color - - 100% - box-shadow: inset -$bar-width 0px 0px $bar-color - - -/* LINE */ -$line-width: $width -$line-height: $height / 2 -$line-color: rgba(0, 0, 0, .5) - -.whirl.line:after - height: $line-height - border-radius: 0 - border: none - box-shadow: inset -($line-width / 4) 0px 0px $line-color - animation: line .75s infinite linear - -webkit-animation: line .75s infinite linear - -@-webkit-keyframes line - from - width: 10px - - to - width: $line-width + 10px - - -@keyframes line - from - width: 10px - - to - width: $line-width + 10px - - - -.whirl.line.grow:after - animation: line .75s infinite linear, line-grow .75s infinite linear - -webkit-animation: line .75s infinite linear, line-grow .75s infinite linear - -@keyframes line-grow - 0% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 50% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 100% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - -@-webkit-keyframes line-grow - 0% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 50% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 100% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - - -/* LINE BACK AND forth */ -.whirl.line.back-and-forth:after - animation: line-back-and-forth 1s infinite linear - -webkit-animation: line-back-and-forth 1s infinite linear - -@-webkit-keyframes line-back-and-forth - 0% - width: 10px - - 50% - width: $line-width + 10px - - 100% - width: 10px - - -@keyframes line-back-and-forth - 0% - width: 10px - - 50% - width: $line-width + 10px - - 100% - width: 10px - - -.whirl.line.back-and-forth.grow:after - animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear - -webkit-animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear - -@keyframes line-back-and-forth-grow - 0% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 25% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 50% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 75% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 100% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - -@-webkit-keyframes line-back-and-forth-grow - 0% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 25% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 50% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - 75% - transform: scaleY(2.0) - -webkit-transform: scaleY(2.0) - - 100% - transform: scaleY(1.0) - -webkit-transform: scaleY(1.0) - - - -/* BOX SHADOWING */ -$box-shadow-height: $height -$box-shadow-width: $width -$box-shadow-color: rgba(0, 0, 0, .5) - -.whirl.shadow:after - animation: spin-shadow .25s infinite linear - -webkit-animation: spin-shadow .25s infinite linear - border-radius: 100% - border: none - - -.whirl.shadow.oval.left:after, .whirl.shadow.oval:after - animation: spin-shadow .25s infinite linear - -webkit-animation: spin-shadow .25s infinite linear - border-radius: 100% - border: none - border-radius: 40% 100% - -.whirl.shadow.oval.right:after - animation: spin-shadow .25s infinite linear - -webkit-animation: spin-shadow .25s infinite linear - border-radius: 100% - border: none - border-radius: 100% 40% - -@-webkit-keyframes spin-shadow - 0% - box-shadow: inset ($box-shadow-width / 8) ($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 25% - box-shadow: inset -($box-shadow-width / 8) ($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 50% - box-shadow: inset -($box-shadow-width / 8) -($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 100% - box-shadow: inset ($box-shadow-width / 8) -($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - -@keyframes spin-shadow - 0% - box-shadow: inset ($box-shadow-width / 8) ($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 25% - box-shadow: inset -($box-shadow-width / 8) ($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 50% - box-shadow: inset -($box-shadow-width / 8) -($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color - - 100% - box-shadow: inset ($box-shadow-width / 8) -($box-shadow-width / 8) ($box-shadow-width / 8) $box-shadow-color