moved loader to header
parent
3d4c29b237
commit
473ed63ca6
|
@ -18,6 +18,12 @@
|
||||||
<body ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController">
|
<body ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController">
|
||||||
<header>
|
<header>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div class="loader" ng-if="!masonryInit">
|
||||||
|
<div class="spinner">
|
||||||
|
<div class="double-bounce1"></div>
|
||||||
|
<div class="double-bounce2"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<img src="assets/img/logo-light.svg" class="logo" alt="nginxconfig.io">
|
<img src="assets/img/logo-light.svg" class="logo" alt="nginxconfig.io">
|
||||||
|
|
||||||
<div class="sites">
|
<div class="sites">
|
||||||
|
@ -970,12 +976,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="loader" ng-if="!masonryInit">
|
|
||||||
<div class="spinner">
|
|
||||||
<div class="double-bounce1"></div>
|
|
||||||
<div class="double-bounce2"></div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<main ng-class="{ 'active': masonryInit }">
|
<main ng-class="{ 'active': masonryInit }">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row grid">
|
<div class="row grid">
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
header {
|
header {
|
||||||
|
position: relative;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
padding: 0.5rem 0;
|
padding: 0.5rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -6,6 +7,37 @@ header {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
|
|
||||||
|
.loader {
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
left: 50%;
|
||||||
|
pointer-events: none;
|
||||||
|
margin-left: -230px;
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.double-bounce1,
|
||||||
|
.double-bounce2 {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #999;
|
||||||
|
opacity: 0.6;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
animation: sk-bounce 2.0s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.double-bounce2 {
|
||||||
|
animation-delay: -1.0s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|
|
@ -246,40 +246,6 @@ section.tabs {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section.loader {
|
|
||||||
position: fixed;
|
|
||||||
z-index: 1;
|
|
||||||
bottom: 25%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
pointer-events: none;
|
|
||||||
|
|
||||||
.spinner {
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
|
|
||||||
position: relative;
|
|
||||||
margin: 100px auto;
|
|
||||||
|
|
||||||
.double-bounce1,
|
|
||||||
.double-bounce2 {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: #999;
|
|
||||||
opacity: 0.6;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
animation: sk-bounce 2.0s infinite ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.double-bounce2 {
|
|
||||||
animation-delay: -1.0s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
Loading…
Reference in New Issue