mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.metadataPanelScroller.less
Volker E bee73f7520 styles: Replace old variables calls with skin variables
Replacing 'mediawiki.ui/variables.less' `@import`
with new skin-aware 'mediawiki.skin.variables.less' standard.
Also replacing and removing scattered WikimediaUI Base variables
with new skin variables.

Also
- replacing several static values with new Codex design tokens featuring
  skin variables for following properties:
  - `background-color`
  - `color`
  - `border*`
  - `border-radius`
- replacing local variables with new skin variables where applicable.

Bump required MediaWiki core version to >= v1.41.0.

Bug: T319381
Bug: T332541
Co-Authored-by: Volker E. <volker.e@wikimedia.org>
Depends-On: I04f9e48a1cf9dee915cf51e1e12b17ff0a595a06
Change-Id: Ie834b3f652bd22d9bf96c112166a5b7fcc3ecf2d
2023-04-16 03:32:27 -07:00

58 lines
815 B
Plaintext

@import 'mediawiki.skin.variables.less';
@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;
}