2022-02-22 12:14:56 +01:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2022-02-22 12:14:56 +01:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2022-02-22 12:14:56 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
@keyframes mx_FileDropTarget_animation {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.95;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FileDropTarget {
|
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
font-size: $font-18px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
background-color: $background;
|
|
|
|
opacity: 0.95;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3000;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
animation: mx_FileDropTarget_animation;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mx_FileDropTarget_image_animation {
|
|
|
|
from {
|
|
|
|
transform: scaleX(0);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: scaleX(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FileDropTarget_image {
|
|
|
|
width: 32px;
|
|
|
|
animation: mx_FileDropTarget_image_animation;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|