Add background animation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -20,6 +20,12 @@ limitations under the License.
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@keyframes mx_RoomView_fileDropTarget_animation {
|
||||||
|
from {opacity: 0;}
|
||||||
|
to {opacity: 0.95;}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_RoomView_fileDropTarget {
|
.mx_RoomView_fileDropTarget {
|
||||||
min-width: 0px;
|
min-width: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -30,7 +36,8 @@ limitations under the License.
|
|||||||
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
background-color: $droptarget-bg-color;
|
background-color: $primary-bg-color;
|
||||||
|
opacity: 0.95;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 3000;
|
z-index: 3000;
|
||||||
@@ -39,6 +46,9 @@ limitations under the License.
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
animation: mx_RoomView_fileDropTarget_animation;
|
||||||
|
animation-duration: 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes mx_RoomView_fileDropTarget_image_animation {
|
@keyframes mx_RoomView_fileDropTarget_image_animation {
|
||||||
|
|||||||
Reference in New Issue
Block a user