mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-02 19:56:17 +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
24 lines
767 B
Plaintext
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;
|
|
}
|
|
}
|