Improve appearance of short-lived app loading spinner

by hiding it for 500ms - thereby only showing it if the loading is
taking a long time.
This commit is contained in:
Luke Barnard 2018-05-09 16:41:45 +01:00
parent 7d0406b430
commit 0c1846630c
2 changed files with 14 additions and 1 deletions

View file

@ -266,6 +266,19 @@ form.mx_Custom_Widget_Form div {
right: 0;
}
.mx_AppLoading_spinner_fadeIn {
animation-fill-mode: backwards;
animation-duration: 200ms;
animation-delay: 500ms;
animation-name: mx_AppLoading_spinner_fadeIn_animation;
}
@keyframes mx_AppLoading_spinner_fadeIn_animation {
from { opacity: 0 }
to { opacity: 1 }
}
.mx_AppLoading iframe {
display: none;
}