mirror of
https://github.com/gchq/CyberChef
synced 2026-01-02 16:43:22 +00:00
Added old loading icon back for initial page load.
This commit is contained in:
@@ -16,25 +16,54 @@
|
||||
background-color: var(--secondary-border-colour);
|
||||
}
|
||||
|
||||
#loader-wrapper div {
|
||||
animation: fadeIn 1s ease-in 0s;
|
||||
}
|
||||
|
||||
.loader {
|
||||
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%;
|
||||
|
||||
animation: spin 2s linear infinite;
|
||||
}
|
||||
|
||||
.loader:before,
|
||||
.loader:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: calc(50% - 200px);
|
||||
top: calc(50% - 160px);
|
||||
width: 400px;
|
||||
height: 260px;
|
||||
border: 3px solid transparent;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.loader:before {
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
border-top-color: #e74c3c;
|
||||
animation: spin 3s linear infinite;
|
||||
}
|
||||
|
||||
.loader:after {
|
||||
top: 13px;
|
||||
left: 13px;
|
||||
right: 13px;
|
||||
bottom: 13px;
|
||||
border-top-color: #f9c922;
|
||||
animation: spin 1.5s linear infinite;
|
||||
}
|
||||
|
||||
.loading-msg {
|
||||
display: block;
|
||||
position: absolute;
|
||||
position: relative;
|
||||
width: 400px;
|
||||
left: calc(50% - 200px);
|
||||
top: calc(50% + 110px);
|
||||
top: calc(50% + 50px);
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
font-size: 18px;
|
||||
@@ -116,6 +145,15 @@
|
||||
|
||||
/* Animations */
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bump {
|
||||
from {
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user