Give lightbox a background load animation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
248a758ad6
commit
2529b88bf6
|
@ -315,9 +315,20 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes mx_Dialog_lightbox_background_keyframes {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: $lightbox-background-bg-opacity;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_Dialog_lightbox .mx_Dialog_background {
|
.mx_Dialog_lightbox .mx_Dialog_background {
|
||||||
opacity: $lightbox-background-bg-opacity;
|
opacity: $lightbox-background-bg-opacity;
|
||||||
background-color: $lightbox-background-bg-color;
|
background-color: $lightbox-background-bg-color;
|
||||||
|
animation-name: mx_Dialog_lightbox_background_keyframes;
|
||||||
|
animation-duration: 0.25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_lightbox .mx_Dialog {
|
.mx_Dialog_lightbox .mx_Dialog {
|
||||||
|
|
Loading…
Reference in New Issue