mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-11 12:16:24 +03:00
66 lines
1.4 KiB
Text
66 lines
1.4 KiB
Text
|
/*
|
||
|
Copyright 2015, 2016 OpenMarket Ltd
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
*/
|
||
|
|
||
|
@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;
|
||
|
}
|