103 lines
1.7 KiB
CSS
103 lines
1.7 KiB
CSS
/* Loading Box: */
|
|
@keyframes spinner {
|
|
0% {
|
|
transform: translate3d(-50%, -50%, 0) rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: translate3d(-50%, -50%, 0) rotate(360deg);
|
|
}
|
|
}
|
|
.spinner::before {
|
|
animation: 1.5s linear infinite spinner;
|
|
animation-play-state: inherit;
|
|
border: solid 5px var(--overlay-color);
|
|
border-bottom-color: white;
|
|
border-radius: 50%;
|
|
content: "";
|
|
height: 40px;
|
|
width: 40px;
|
|
position: absolute;
|
|
top: 30%;
|
|
margin: auto;
|
|
transform: translate3d(-50%, -50%, 0);
|
|
will-change: transform;
|
|
}
|
|
#loading {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
margin: auto;
|
|
background-color: var(--overlay-color);
|
|
border-radius: 45px;
|
|
padding: 20px;
|
|
padding-bottom: 1px;
|
|
min-width: 90px;
|
|
}
|
|
#loading p {
|
|
padding-top: 50px;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/* Error Notices: */
|
|
.hidden-unless-error {
|
|
display: none;
|
|
margin-top: 150px;
|
|
}
|
|
|
|
#err_not_found {
|
|
display: none;
|
|
}
|
|
|
|
#err_no_data {
|
|
display: none;
|
|
}
|
|
|
|
#err_conn {
|
|
display: none;
|
|
}
|
|
|
|
/* Fixed Content: */
|
|
#header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 50px;
|
|
background-color: var(--overlay-color);
|
|
}
|
|
|
|
#station_name {
|
|
position: absolute;
|
|
font-size: 15pt;
|
|
left: 10px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.header-right {
|
|
text-align: right;
|
|
padding-right: 5px;
|
|
margin: 4px;
|
|
}
|
|
|
|
#footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 40px;
|
|
background-color: var(--overlay-color);
|
|
}
|
|
|
|
#footer img {
|
|
height: 35px;
|
|
}
|
|
|
|
.hide-when-loading {
|
|
display: none;
|
|
}
|
|
|
|
/* Injected Data */
|
|
#nrcc_notices {
|
|
margin-top: 60px;
|
|
} |