Debian Codegraph @

extensions/MultimediaViewer/resources/mmv/ui/mmv.ui.metadataPanelScroller.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import '../mmv.variables.less';
3 @import '../mmv.mixins.less';
4
5 .mw-mmv-post-image {
6 animation: mw-mmv-appear-animation 0.5s ease 0s 1 normal forwards;
7 transition: box-shadow 0.25s;
8
9 &.invite {
10 animation: mw-mmv-invite-animation 0.9s ease 0.2s 1 normal forwards;
11 }
12
13 .jq-fullscreened & {
14 animation: none;
15 }
16
17 &.mw-mmv-untruncated,
18 .jq-fullscreened & {
19 box-shadow: 0 -4px 0 rgba( 0, 0, 0, 0.2 );
20 }
21 }
22
23 .mw-mmv-appear-animation() {
24 0% {
25 opacity: 0.6;
26 }
27
28 50% {
29 opacity: 0.9;
30 }
31
32 100% {
33 opacity: 1;
34 }
35 }
36
37 @keyframes mw-mmv-appear-animation {
38 .mw-mmv-appear-animation;
39 }
40
41 .mw-mmv-invite-animation() {
42 0% {
43 margin-top: 0;
44 }
45
46 30% {
47 margin-top: -15px;
48 }
49
50 85% {
51 margin-top: 0;
52 }
53 }
54
55 @keyframes mw-mmv-invite-animation {
56 .mw-mmv-invite-animation;
57 }