mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-24 05:34:41 +00:00
bee73f7520
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
48 lines
1,017 B
Plaintext
48 lines
1,017 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
@import '../mmv.variables.less';
|
|
@import '../mmv.mixins.less';
|
|
|
|
@background-color: #fff;
|
|
@dialog-width: 450px;
|
|
@box-shadow-dialog: 0 2px 2px 0 darken( @background-color, 33.3% );
|
|
|
|
.mw-mmv-dialog {
|
|
position: fixed;
|
|
right: 58px;
|
|
display: none;
|
|
width: @dialog-width;
|
|
height: @dialog-height;
|
|
background-color: @background-color;
|
|
box-shadow: @box-shadow-dialog;
|
|
border-radius: @border-radius-base;
|
|
z-index: 1004;
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
right: 48px;
|
|
background-color: @background-color;
|
|
width: @arrow-size;
|
|
height: @arrow-size;
|
|
.rotate( -45deg );
|
|
position: fixed;
|
|
}
|
|
|
|
.mw-mmv-dialog-copy {
|
|
/* @embed */
|
|
background-image: url( img/pasting.svg );
|
|
background-size: contain;
|
|
background-position: right center;
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
/* @embed */
|
|
background-image: url( img/pasting-hover.svg );
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-dialog-warning {
|
|
background-color: @dialog-warning-color;
|
|
}
|
|
}
|