Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: refactor spinner styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoronelmakingsense committed May 22, 2019
1 parent 91ec4bf commit 58e4fc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions assets/scss/modules/_preload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
height: $size;
position: absolute;
border-radius: 50%;
border: 2px solid;
border: 5px solid;
border-color: rgba($color, .3);
border-top-color: $color;
animation: dp-preloader-spin 0.5s infinite linear;
animation: dp-preloader-spin 0.7s infinite linear;
}
}

Expand All @@ -53,8 +53,7 @@
display: flex;
align-items: center;
justify-content: center;
color:$dp-color-darkyellow;
@include dp-preloader($dp-color-darkyellow, 6em);
@include dp-preloader($dp-color-lightgrey, 3.3em);

}
@keyframes flash {
Expand All @@ -78,5 +77,5 @@
/* loading kpi */

.loading-box {
@include dp-preloader($dp-color-lightgrey, 5em, $dp-color-ghostwhite);
@include dp-preloader($dp-color-lightgrey, 3.3em, $dp-color-ghostwhite);
}
1 change: 0 additions & 1 deletion assets/templates/loading-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
</ul><!-- nav -->
<div class="wrapper-loading">
<div class="loading-page">
<p class="flash">Loading...</p>
</div>
</div><!-- wrapper-loading -->
</section><!-- section-module -->
Expand Down

0 comments on commit 58e4fc9

Please sign in to comment.