From e9561f54c3808f3215b8230da37ecfa3c700a38a Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 12 Jan 2017 16:07:10 -0800 Subject: [PATCH] removing custom loader logic --- theme/site/elements/loader.overrides | 53 ---------------------------- theme/site/elements/loader.variables | 5 --- 2 files changed, 58 deletions(-) diff --git a/theme/site/elements/loader.overrides b/theme/site/elements/loader.overrides index 8e3f44ef..cba59efe 100755 --- a/theme/site/elements/loader.overrides +++ b/theme/site/elements/loader.overrides @@ -1,56 +1,3 @@ /******************************* Site Overrides *******************************/ - -.ui.loader:before { - border: none; - border-radius: 0px; - box-shadow: none; -} - -.ui.loader:after { - border: none; - box-shadow: none; - border-radius: 0px; - margin: 40px auto; - background: transparent data-uri("static/loader.svg") no-repeat center center; - background-size: 100%; - -webkit-animation: loader-pxt @loaderSpeed infinite ease-in-out; - animation: loader-pxt @loaderSpeed infinite ease-in-out; -} - -@-webkit-keyframes loader-pxt { - 0% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(0deg); - transform: perspective(160px) rotateX(0deg) rotateY(0deg); - opacity: 0} - 15% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(-@loaderAngle); - transform: perspective(160px) rotateX(0deg) rotateY(-@loaderAngle); } - 50% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(@loaderAngle); - transform: perspective(160px) rotateX(0deg) rotateY(@loaderAngle); - opacity: 1} - 100% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(0deg); - transform: perspective(160px) rotateX(0deg) rotateY(0deg); - opacity: 0} -} - -@keyframes loader-pxt { - 0% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(0deg); - transform: perspective(160px) rotateX(0deg) rotateY(0deg); - opacity: 0} - 15% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(-10deg); - transform: perspective(160px) rotateX(0deg) rotateY(-10deg); } - 50% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(10deg); - transform: perspective(160px) rotateX(0deg) rotateY(10deg); - opacity: 1} - 100% { - -webkit-transform: perspective(160px) rotateX(0deg) rotateY(0deg); - transform: perspective(160px) rotateX(0deg) rotateY(0deg); - opacity: 0} -} \ No newline at end of file diff --git a/theme/site/elements/loader.variables b/theme/site/elements/loader.variables index d676eca0..6f085f93 100755 --- a/theme/site/elements/loader.variables +++ b/theme/site/elements/loader.variables @@ -1,8 +1,3 @@ /******************************* User Variable Overrides *******************************/ - -@loaderSpeed: 2s; -@loaderAngle: 5deg; - -@large : 200px; \ No newline at end of file