mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-18 10:52:48 +00:00
7ef5471846
Bug: T127052 Change-Id: I69738387f685a9f88c62c1cc820bc0e8270b6fed
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
@expand-link-border-color: #dddddd;
|
|
|
|
.mw-mmv-overlay {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1000;
|
|
background-color: rgb(0,0,0);
|
|
}
|
|
|
|
body.mw-mmv-lightbox-open {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
body.mw-mmv-lightbox-open #mw-page-base,
|
|
body.mw-mmv-lightbox-open #mw-head-base,
|
|
body.mw-mmv-lightbox-open #mw-navigation,
|
|
body.mw-mmv-lightbox-open #content,
|
|
body.mw-mmv-lightbox-open #footer,
|
|
body.mw-mmv-lightbox-open #globalWrapper // monobook
|
|
{
|
|
/** Stop the article from scrolling in the background - skin-specific but works in any browser */
|
|
display: none;
|
|
}
|
|
|
|
body.mw-mmv-lightbox-open > * {
|
|
/** Stop the article from scrolling in the background - works with any skin but needs modern browser */
|
|
display: none;
|
|
}
|
|
body.mw-mmv-lightbox-open > .mw-mmv-overlay,
|
|
body.mw-mmv-lightbox-open > .mw-mmv-wrapper {
|
|
display: block;
|
|
}
|
|
|
|
.mw-mmv-filepage-buttons {
|
|
margin-top: 5px;
|
|
|
|
.mw-mmv-view-expanded, .mw-mmv-view-config {
|
|
display: block;
|
|
// Work around some weirdness of MW-UI buttons. T127052
|
|
line-height: inherit;
|
|
}
|
|
|
|
.mw-mmv-view-expanded.mw-ui-icon:before {
|
|
/* @embed */
|
|
background-image: url('img/expand.svg');
|
|
}
|
|
|
|
.mw-mmv-view-config.mw-ui-icon:before {
|
|
/* @embed */
|
|
background-image: url('img/gear_gray.svg');
|
|
opacity: 0.75;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|