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

24 lines
767 B
Plaintext

@import 'mediawiki.skin.variables.less';
@import '../mmv/mmv.variables.less';
@import '../mmv/mmv.mixins.less';
.mw-mmv-reuse-dialog {
// resetting height (to overwrite .mw-mmv-dialog's bigger height), since the
// height may have to change for warnings being added
height: initial;
// set a standard min-height that should be larger than both panels in
// normal circumstances (without warnings) so that the height of the dialog
// doesn't change when switching tabs
min-height: 300px;
// positioned relative to the reuse button
bottom: @metadatabar-above-fold-height + @progress-bar-height - 5px;
.mw-mmv-dialog-down-arrow {
bottom: @metadatabar-above-fold-height + @progress-bar-height + 5px;
}
.mw-mmv-dialog-warning {
padding: 15px 30px;
}
}