2017-04-15 20:46:57 +01:00
|
|
|
/**
|
|
|
|
* Preloader styles
|
|
|
|
*
|
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#loader-wrapper {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1000;
|
2017-04-24 23:59:35 +01:00
|
|
|
background-color: var(--secondary-border-colour);
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
.loader {
|
2017-04-15 20:46:57 +01:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
margin: -75px 0 0 -75px;
|
|
|
|
|
|
|
|
border: 3px solid transparent;
|
|
|
|
border-top-color: #3498db;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
2017-04-24 23:59:35 +01:00
|
|
|
animation: spin 2s linear infinite;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
.loader:before,
|
|
|
|
.loader:after {
|
2017-04-15 20:46:57 +01:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border: 3px solid transparent;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
.loader:before {
|
2017-06-26 21:47:57 +01:00
|
|
|
top: 5px;
|
|
|
|
left: 5px;
|
|
|
|
right: 5px;
|
|
|
|
bottom: 5px;
|
2017-04-15 20:46:57 +01:00
|
|
|
border-top-color: #e74c3c;
|
2017-04-24 23:59:35 +01:00
|
|
|
animation: spin 3s linear infinite;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
.loader:after {
|
2017-06-26 21:47:57 +01:00
|
|
|
top: 13px;
|
|
|
|
left: 13px;
|
|
|
|
right: 13px;
|
|
|
|
bottom: 13px;
|
2017-04-15 20:46:57 +01:00
|
|
|
border-top-color: #f9c922;
|
2017-04-24 23:59:35 +01:00
|
|
|
animation: spin 1.5s linear infinite;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
2017-05-19 16:23:52 +00:00
|
|
|
#preloader-msg {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 300px;
|
|
|
|
left: calc(50% - 150px);
|
|
|
|
top: calc(50% + 50px);
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 50px;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#preloader-msg.loading {
|
|
|
|
opacity: 1;
|
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
}
|
|
|
|
|
2017-04-15 20:46:57 +01:00
|
|
|
|
|
|
|
/* Loaded */
|
2017-05-19 16:23:52 +00:00
|
|
|
.loaded #preloader-msg {
|
2017-04-15 20:46:57 +01:00
|
|
|
opacity: 0;
|
2017-04-24 23:59:35 +01:00
|
|
|
transition: all 0.3s ease-out;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #loader-wrapper {
|
|
|
|
opacity: 0;
|
2017-04-24 23:59:35 +01:00
|
|
|
transition: all 0.5s 0.3s ease-out;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li {
|
2017-04-24 23:59:35 +01:00
|
|
|
animation: bump 0.7s cubic-bezier(0.7, 0, 0.3, 1) both;
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #content-wrapper {
|
|
|
|
animation-delay: 0.10s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:first-child {
|
|
|
|
animation-delay: 0.20s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(2) {
|
|
|
|
animation-delay: 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(3) {
|
|
|
|
animation-delay: 0.30s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(4) {
|
|
|
|
animation-delay: 0.35s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(5) {
|
|
|
|
animation-delay: 0.40s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(6) {
|
|
|
|
animation-delay: 0.45s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(7) {
|
|
|
|
animation-delay: 0.50s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(8) {
|
|
|
|
animation-delay: 0.55s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(9) {
|
|
|
|
animation-delay: 0.60s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loaded #rec-list li:nth-child(10) {
|
|
|
|
animation-delay: 0.65s;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-24 23:59:35 +01:00
|
|
|
/* Animations */
|
2017-04-15 20:46:57 +01:00
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
0% {
|
2017-04-24 23:59:35 +01:00
|
|
|
transform: rotate(0deg);
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
100% {
|
2017-04-24 23:59:35 +01:00
|
|
|
transform: rotate(360deg);
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes bump {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
2017-04-24 23:59:35 +01:00
|
|
|
transform: translate3d(0, 200px, 0);
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
|
|
|
}
|