mediawiki-extensions-Multim.../resources/mmv.ui.reuse/mmv.ui.download.dialog.less
Simon Legner 5bee6274e0 Move dialog/reuse dialog code to mmv.ui.reuse module
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
2024-05-28 11:58:44 +02:00

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 );
}
}