mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-04 20:48:22 +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
30 lines
975 B
Plaintext
30 lines
975 B
Plaintext
// MultimediaViewer specific global variables
|
|
// Height of the area of the metadata bar which is visible without scrolling.
|
|
@metadatabar-above-fold-height: 86px;
|
|
|
|
// adjust for @metadatabar-below-fold-pushup-height wide bottom padding - that area will be overlapped
|
|
// by the revealed part of the below-the-fold content
|
|
@metadatabar-above-fold-inner-height: @metadatabar-above-fold-height - @metadatabar-below-fold-pushup-height;
|
|
|
|
// Height of the top part of the "below-fold" content which is actually above the fold, as a scrolling affordance
|
|
@metadatabar-below-fold-pushup-height: 30px;
|
|
|
|
@panel-above-fold-background-color: #fff;
|
|
|
|
// Height of the progress bar
|
|
@progress-bar-height: 14px;
|
|
|
|
// Height of dialogs
|
|
@dialog-height: 350px;
|
|
|
|
// Arrow size for dialogs
|
|
@arrow-size: 20px;
|
|
@arrow-border-size: 2px;
|
|
|
|
@dialog-warning-color: #ffd36e;
|
|
|
|
// Some button things that get included all over
|
|
@navbutton-width: 18px;
|
|
@buttons-offset-right: 5px;
|
|
@buttons-offset-each-top: 37px;
|