mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.metadataPanelScroller.less
Ed Sanders 73e59d396d style: Remove vendor-prefixes no longer required
Change-Id: Ide19cd0decb8a6ef26ccb94bfc89376b3a886748
2022-05-19 23:48:51 +01:00

57 lines
774 B
Plaintext

@import '../mmv.variables.less';
@import '../mmv.mixins.less';
.mw-mmv-post-image {
animation: mw-mmv-appear-animation 0.5s ease 0s 1 normal forwards;
transition: box-shadow 0.25s;
&.invite {
animation: mw-mmv-invite-animation 0.9s ease 0.2s 1 normal forwards;
}
.jq-fullscreened & {
animation: none;
}
&.mw-mmv-untruncated,
.jq-fullscreened & {
box-shadow: 0 -4px 0 rgba( 0, 0, 0, 0.2 );
}
}
.mw-mmv-appear-animation() {
0% {
opacity: 0.6;
}
50% {
opacity: 0.9;
}
100% {
opacity: 1;
}
}
@keyframes mw-mmv-appear-animation {
.mw-mmv-appear-animation;
}
.mw-mmv-invite-animation() {
0% {
margin-top: 0;
}
30% {
margin-top: -15px;
}
85% {
margin-top: 0;
}
}
@keyframes mw-mmv-invite-animation {
.mw-mmv-invite-animation;
}