Add background animation

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-26 08:12:10 +01:00
parent f0c26846c7
commit 172cc01f7d
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 11 additions and 1 deletions

View File

@ -20,6 +20,12 @@ limitations under the License.
flex-direction: column;
}
@keyframes mx_RoomView_fileDropTarget_animation {
from {opacity: 0;}
to {opacity: 0.95;}
}
.mx_RoomView_fileDropTarget {
min-width: 0px;
width: 100%;
@ -30,7 +36,8 @@ limitations under the License.
pointer-events: none;
background-color: $droptarget-bg-color;
background-color: $primary-bg-color;
opacity: 0.95;
position: absolute;
z-index: 3000;
@ -39,6 +46,9 @@ limitations under the License.
flex-direction: column;
justify-content: center;
align-items: center;
animation: mx_RoomView_fileDropTarget_animation;
animation-duration: 0.5s;
}
@keyframes mx_RoomView_fileDropTarget_image_animation {