Skip to content

Commit

Permalink
Remove the page loader
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioPerezEsteso committed Jan 5, 2017
1 parent ef65035 commit f15f377
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 98 deletions.
76 changes: 0 additions & 76 deletions public/themes/vortex/assets/css/style.css
Expand Up @@ -1976,82 +1976,6 @@ Google map
max-width: none;
}

/* ------------------------------------------------------------------
Preloader
------------------------------------------------------------------- */

.page-loader {
background: #fff;
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 9998;
}

.loader {
background: #ddd;
position: absolute;
display: inline-block;
height: 40px;
width: 40px;
left: 50%;
top: 50%;
margin: -20px 0 0 -20px;
text-indent: -9999em;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border-radius: 100%;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation: ball-scale 1s 0s ease-in-out infinite;
animation: ball-scale 1s 0s ease-in-out infinite;
}


@-webkit-keyframes ball-scale {

0% {
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}

100% {
opacity: 0;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}

}

@keyframes ball-scale {

0% {
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}

100% {
opacity: 0;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}

}

/* -------------------------------------------------------------------
Scroll to top
------------------------------------------------------------------- */
Expand Down
9 changes: 0 additions & 9 deletions public/themes/vortex/assets/js/custom.js
Expand Up @@ -2,15 +2,6 @@

"use strict";

/* ---------------------------------------------- /*
* Preloader
/* ---------------------------------------------- */

$(window).load(function() {
$('.loader').fadeOut();
$('.page-loader').delay(350).fadeOut('slow');
});

$(document).ready(function() {

/* ---------------------------------------------- /*
Expand Down
2 changes: 1 addition & 1 deletion public/themes/vortex/assets/js/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions resources/views/themes/vortex/blog/layout.blade.php
Expand Up @@ -42,12 +42,6 @@
</head>
<body>

<!-- PRELOADER -->
<div class="page-loader">
<div class="loader">Loading...</div>
</div>
<!-- /PRELOADER -->

<!-- OVERLAY MENU -->
@include('themes.vortex.partials.overlay-menu')
<!-- /OVERLAY MENU -->
Expand Down
6 changes: 0 additions & 6 deletions resources/views/themes/vortex/layout.blade.php
Expand Up @@ -35,12 +35,6 @@
</head>
<body>

<!-- PRELOADER -->
<div class="page-loader">
<div class="loader">Loading...</div>
</div>
<!-- /PRELOADER -->

<!-- OVERLAY MENU -->
@include('themes.vortex.partials.overlay-menu')
<!-- /OVERLAY MENU -->
Expand Down

0 comments on commit f15f377

Please sign in to comment.