This commit is contained in:
maaa 2023-08-04 22:44:36 +02:00
parent 536a99a109
commit 3f5355c4c5
2 changed files with 17 additions and 1 deletions

View File

@ -76,6 +76,22 @@ body {
.notesBar .loadingStuff {
border: none;
background:
linear-gradient(0.25turn, transparent, #fff, transparent),
linear-gradient(#eee, #eee),
radial-gradient(38px circle at 19px 19px, #eee 50%, transparent 51%),
linear-gradient(#eee, #eee);
background-repeat: no-repeat;
background-size: 315px 250px, 315px 180px, 100px 100px, 225px 30px;
background-position: -315px 0, 0 0, 0px 190px, 50px 195px;
animation: loading 1.5s infinite;
}
@keyframes loading {
to {
background-position: 315px 0, 0 0, 0 190px, 50px 195px;
}
}
.notesBar .selected {

View File

@ -217,7 +217,6 @@ function updateNotes() {
})
.then((response) => response)
.then((response) => {
document.querySelectorAll(".loadingStuff").forEach((el) => el.remove());
async function doStuff() {
document.querySelectorAll(".noteButton").forEach((el) => el.remove());
noteBox.readOnly = true
@ -257,6 +256,7 @@ function updateNotes() {
}
});
}
document.querySelectorAll(".loadingStuff").forEach((el) => el.remove());
}
doStuff()
});