mediawiki-extensions-Multim.../resources/mmv/mmv.bootstrap.less
Gilles Dubuc 685f42f05f Display black overlay while the viewer JS is loading
I went for this option because it was the fastest to implement.
I think we should wait until we make the change to core to expose
image dimensions before we consider switching to another strategy.

Change-Id: I61c9342a2d6d6fc24a24e0988b3cf7f9a06859a2
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/248
2014-03-30 09:53:20 +02:00

28 lines
598 B
Plaintext

.mlb-overlay {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
z-index: 1000;
background-color: rgb(0,0,0);
}
body.mw-mlb-lightbox-open {
overflow-y: auto;
}
body.mw-mlb-lightbox-open #mw-page-base,
body.mw-mlb-lightbox-open #mw-head-base,
body.mw-mlb-lightbox-open #mw-navigation,
body.mw-mlb-lightbox-open #mw-footer,
body.mw-mlb-lightbox-open #content {
/** Stop the article from scrolling in the background */
display: none;
}
body.mw-mlb-lightbox-open > :not(.mlb-overlay, .mlb-wrapper) {
/** Stop the article from scrolling in the background */
display: none;
}