mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-18 10:52:48 +00:00
5bee6274e0
Initialise the corresponding dialogs upon first use by deferred loading of the mmv.ui.reuse module. Reduces code size of the main mmv module. Bug: T77349 Change-Id: I672419e1a8af47d192843f7e7a4a038c0d8da2a3
26 lines
738 B
Plaintext
26 lines
738 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
@import '../mmv/mmv.variables.less';
|
|
@import '../mmv/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
|
|
height: initial;
|
|
// positioned relative to the download button
|
|
position: fixed;
|
|
bottom: @metadatabar-above-fold-height + @progress-bar-height + 35px;
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
bottom: @metadatabar-above-fold-height + @progress-bar-height + 45px;
|
|
background-color: @background-color-base;
|
|
}
|
|
|
|
.mw-mmv-dialog-warning {
|
|
padding: 10px 30px;
|
|
}
|
|
|
|
.cdx-button__icon--download {
|
|
.cdx-mixin-css-icon( @cdx-icon-download, @param-is-button-icon: true );
|
|
}
|
|
}
|