mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 18:10:06 +00:00
1a5aa67c08
Bug: T278670 Change-Id: I5640e4539598de8e9ae2d4e5172a5ae41b570ce3
66 lines
976 B
Plaintext
66 lines
976 B
Plaintext
@import '../mmv.variables.less';
|
|
@import '../mmv.mixins.less';
|
|
@import 'mediawiki.mixins.animation.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;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes mw-mmv-appear-animation {
|
|
.mw-mmv-appear-animation;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|
|
|
|
@keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|