mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
e7ff2ba8b6
Change-Id: I6f97359c6f34f2e5687ce91ab9926c493e613bf5
63 lines
1.1 KiB
Plaintext
63 lines
1.1 KiB
Plaintext
@expand-link-border-color: #ddd;
|
|
|
|
.mw-mmv-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1000;
|
|
background-color: rgb( 0, 0, 0 );
|
|
}
|
|
|
|
body.mw-mmv-lightbox-open {
|
|
overflow-y: auto;
|
|
|
|
/* stylelint-disable selector-no-id */
|
|
#mw-page-base,
|
|
#mw-head-base,
|
|
#mw-navigation,
|
|
#content,
|
|
#footer,
|
|
#globalWrapper { // monobook
|
|
/** Stop the article from scrolling in the background - skin-specific but works in any browser */
|
|
display: none;
|
|
}
|
|
/* stylelint-enable selector-no-id */
|
|
|
|
> * {
|
|
/** Stop the article from scrolling in the background - works with any skin but needs modern browser */
|
|
display: none;
|
|
}
|
|
> .mw-mmv-overlay,
|
|
> .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;
|
|
}
|
|
}
|
|
}
|