mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-25 14:14:26 +00:00
2a8b140ed3
- Use square cdx icon only buttons - gray transparent brackground - opaque background on hover, active, focus - Some fixes to the positioning and offsets of buttons and dialogs - Move the dialogs to be in the same container as the buttons This is better for accessibility but also fixes the z-index issue Bug: T365192 Change-Id: Idbc2a309fbca15bd528aaed7ca9bed584487c4f3
25 lines
801 B
Plaintext
25 lines
801 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-offset: @metadatabar-above-fold-height + @buttons-offset-edge;
|
|
bottom: @bottom-offset - 5px;
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
bottom: @bottom-offset + ( @buttons-size / 2 ) - ( @arrow-size / 2 );
|
|
}
|
|
|
|
.mw-mmv-dialog-warning {
|
|
padding: 15px 30px;
|
|
}
|
|
}
|