mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-24 07:12:57 +00:00
Show spinner icon in the fullscreen viewer while loading
This commit is contained in:
@@ -177,6 +177,21 @@
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
position: fixed;
|
||||
opacity: 0;
|
||||
left: 50vw;
|
||||
top: 50vh;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 64px;
|
||||
text-shadow: 0 0 15px black;
|
||||
}
|
||||
|
||||
img, video, .spinner {
|
||||
transition: opacity .25s ease;
|
||||
}
|
||||
|
||||
&.shown {
|
||||
@@ -188,4 +203,14 @@
|
||||
opacity: var(--opacity, 1);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
&.loading {
|
||||
img, video {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user