Add transition animation to transition screen
Avoid a harsh switch to the transition screen (loading, connecting) by using some CSS transition animation.
This commit is contained in:
parent
301714928b
commit
7ad4e60df6
|
@ -871,7 +871,11 @@ select:active {
|
|||
|
||||
/* Transition screen */
|
||||
#noVNC_transition {
|
||||
display: none;
|
||||
transition: 0.5s ease-in-out;
|
||||
|
||||
display: flex;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -892,7 +896,8 @@ select:active {
|
|||
:root.noVNC_connecting #noVNC_transition,
|
||||
:root.noVNC_disconnecting #noVNC_transition,
|
||||
:root.noVNC_reconnecting #noVNC_transition {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
:root:not(.noVNC_reconnecting) #noVNC_cancel_reconnect_button {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in New Issue