mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-25 00:25:47 +00:00
47a8bda392
Also do a bunch of refactoring to: * keep LESS rules in more sane locations so it is not as hard to get an overview (most of the metadata panel rules were in mmv.less) * move mmv.mixins.less up one directory as it is not specific to the UI * move the SVG icons as all of them were related to the UI * remove the marging-right hack which was used to keep the title text from overflowing the button; instead use a float and overflow properties to make sure text that is too long gets hidden Change-Id: Icc8ea2e766be67d86ae98c734721b2185bd6c36e
54 lines
690 B
Plaintext
54 lines
690 B
Plaintext
@import "mmv.mixins";
|
|
|
|
.mw-mmv-wrapper {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.mw-mmv-main {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.mw-mmv-image-wrapper {
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.mw-mmv-image-inner-wrapper {
|
|
display: table;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.mw-mmv-pre-image {
|
|
position: absolute;
|
|
top: 0px;
|
|
height: 32px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mw-mmv-post-image {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
height: 32px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mw-mmv-controls {
|
|
height: 32px;
|
|
width: 100%;
|
|
border-bottom: 1px solid #7d7c81;
|
|
}
|
|
|
|
.mw-mmv-main.jq-fullscreened {
|
|
background-color: black;
|
|
} |