mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-30 19:04:19 +00:00
f3f86d6081
* The file page has a button that does not match the font size of the page. This is also the case for the overlay. * The icons are too big on the file page. This reduces their size. Bug: T345749 Change-Id: I4f4edc0aa7adc0c72773a939c43108019bc4295b
53 lines
959 B
Plaintext
53 lines
959 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
.mw-mmv-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1000;
|
|
background-color: #000;
|
|
}
|
|
|
|
body.mw-mmv-lightbox-open {
|
|
overflow-y: auto;
|
|
|
|
// Stop the article from scrolling in the background
|
|
> *:not( .mw-notification-area-overlay ) {
|
|
display: none;
|
|
}
|
|
|
|
> .mw-mmv-overlay,
|
|
> .mw-mmv-wrapper {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-filepage-buttons {
|
|
margin-top: 5px;
|
|
|
|
.cdx-button:nth-child(n + 2) {
|
|
border-left: none;
|
|
}
|
|
|
|
.mw-mmv-view-expanded .cdx-button__icon {
|
|
.cdx-mixin-css-icon( @cdx-icon-image-gallery, @param-is-button-icon: true,
|
|
@param-size-icon: @size-icon-small );
|
|
}
|
|
|
|
.mw-mmv-view-config .cdx-button__icon {
|
|
.cdx-mixin-css-icon( @cdx-icon-settings, @param-is-button-icon: true,
|
|
@param-size-icon: @size-icon-small );
|
|
}
|
|
}
|
|
|
|
.mw-mmv-button {
|
|
background-color: transparent;
|
|
min-width: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
overflow-x: hidden;
|
|
text-indent: -9999em;
|
|
}
|