mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.download.dialog.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

37 lines
916 B
Plaintext

@import 'mediawiki.skin.variables.less';
@import '../mmv.variables.less';
@import '../mmv.mixins.less';
.mw-mmv-download-dialog {
// resetting height (to overwrite .mw-mmv-dialog's bigger height), since the
// height may have to change for warnings being added
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
height: initial;
// positioned relative to the download button
position: fixed;
bottom: @metadatabar-above-fold-height + @progress-bar-height + 35px;
.mw-mmv-download-size .oo-ui-optionWidget {
display: inline-block;
padding: 10px 25px;
font-size: 16px;
&.oo-ui-optionWidget-selected {
border: 0;
}
&:first-child {
border-radius: @border-radius-base 0 0 0;
}
}
.mw-mmv-dialog-down-arrow {
bottom: @metadatabar-above-fold-height + @progress-bar-height + 45px;
background-color: #f8f9fa;
}
.mw-mmv-dialog-warning {
padding: 10px 30px;
}
}