Move animations into _animations

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-09-14 18:05:15 +02:00
parent 1a128c3a00
commit 8e3be15365
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
3 changed files with 20 additions and 18 deletions

View file

@ -53,3 +53,23 @@ limitations under the License.
transition: none;
}
}
@keyframes mx_Dialog_lightbox_background_keyframes {
from {
opacity: 0;
}
to {
opacity: $lightbox-background-bg-opacity;
}
}
@keyframes mx_ImageView_panel_keyframes {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

View file

@ -315,15 +315,6 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
opacity: 0.4;
}
@keyframes mx_Dialog_lightbox_background_keyframes {
from {
opacity: 0;
}
to {
opacity: $lightbox-background-bg-opacity;
}
}
.mx_Dialog_lightbox .mx_Dialog_background {
opacity: $lightbox-background-bg-opacity;
background-color: $lightbox-background-bg-color;

View file

@ -38,15 +38,6 @@ $button-gap: 24px;
flex-shrink: 0;
}
@keyframes mx_ImageView_panel_keyframes {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.mx_ImageView_panel {
width: 100%;
height: 68px;