Debian Codegraph @

extensions/MultimediaViewer/resources/mmv.bootstrap/mmv.bootstrap.less

raw
1 @import 'mediawiki.skin.variables.less';
2
3 .mw-mmv-overlay {
4 position: fixed;
5 top: 0;
6 left: 0;
7 right: 0;
8 bottom: 0;
9 z-index: 1000;
10 background-color: #000;
11 display: flex;
12 justify-items: center;
13 align-items: center;
14 align-content: center;
15 justify-content: center;
16
17 .cdx-progress-bar {
18 max-width: 80vw;
19 min-width: 20vw;
20 width: 20rem;
21 }
22 }
23
24 body.mw-mmv-lightbox-open {
25 overflow-y: auto;
26
27 // This is to ensure the background area for the safe areas (notch) is black in fullscreen mode
28 // Separate from above as not all browsers that we support, support has().
29 background-color: #000;
30
31 // Stop the article from scrolling in the background
32 > *:not( .mw-notification-area-overlay ) {
33 display: none;
34 }
35
36 > .mw-mmv-overlay {
37 display: flex;
38 }
39
40 > .mw-mmv-wrapper {
41 display: block;
42 }
43 }
44
45 .mw-mmv-view-expanded {
46 .cdx-button__icon {
47 .cdx-mixin-css-icon( @cdx-icon-image-gallery, @param-is-button-icon: true,
48 @param-size-icon: @size-icon-small );
49 }
50 }