mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
a6adad35ed
* remove chevron * adjust colors Change-Id: I443fd757f5df18d099e42a81f1f323fadea77987 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
77 lines
1.2 KiB
Plaintext
77 lines
1.2 KiB
Plaintext
@import "../mmv.globals";
|
|
@import "../mmv.mixins";
|
|
@import "mediawiki.mixins.animation";
|
|
|
|
.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);
|
|
}
|
|
|
|
&.panel-open, .jq-fullscreened & {
|
|
box-shadow: 0 -4px 0px 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;
|
|
}
|
|
|
|
@-moz-keyframes mw-mmv-appear-animation {
|
|
.mw-mmv-appear-animation;
|
|
}
|
|
|
|
@-o-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: 0px;
|
|
}
|
|
30% {
|
|
margin-top: -15px;
|
|
}
|
|
85% {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|
|
|
|
@-moz-keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|
|
|
|
@-o-keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|
|
|
|
@keyframes mw-mmv-invite-animation {
|
|
.mw-mmv-invite-animation;
|
|
}
|