@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
93 lines (84 loc) • 1.65 kB
CSS
/* SPDX-License-Identifier: Apache-2.0 */
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}
#splash-screen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
z-index: 9999;
transition: opacity 0.7s;
}
#splash-screen svg {
position: absolute;
width: 160px;
top: 50%;
left: 50%;
margin: -50px -80px;
}
#splash-screen .loader {
flex: auto;
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 200px;
height: 200px;
margin: -100px 0 0 -100px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #333;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
#splash-screen .loader:before {
content: '';
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #666;
-webkit-animation: spin 3s linear infinite;
animation: spin 3s linear infinite;
}
#splash-screen .loader:after {
content: '';
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #999;
-webkit-animation: spin 1.5s linear infinite;
animation: spin 1.5s linear infinite;
}
#splash-screen span {
position: absolute;
width: 200px;
top: 50%;
left: 50%;
margin: 35px -90px;
text-align: center;
}