mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-04 12:38:21 +00:00
5aaf1e73fe
There's just no other adjective for this, it is _super_ nice. There may be refinements later as the designers get things together. Bug: 56499 Change-Id: I200684a19c190444587f520595186e9ae5afbea6
107 lines
1.4 KiB
CSS
107 lines
1.4 KiB
CSS
.mlb-staging-area {
|
|
position: absolute;
|
|
top: -999999px;
|
|
left: -999999px;
|
|
}
|
|
|
|
.mlb-overlay {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1000;
|
|
background-color: rgba(0,0,0,0.9);
|
|
}
|
|
|
|
.mlb-wrapper {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.mlb-main {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.mlb-image-wrapper {
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.mlb-image-inner-wrapper {
|
|
display: table;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.mlb-image {
|
|
display: table-cell;
|
|
width: 100%;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.mlb-image img {
|
|
display: block;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mlb-pre-image {
|
|
position: absolute;
|
|
top: 0px;
|
|
height: 32px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mlb-post-image {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
height: 32px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mlb-controls {
|
|
height: 32px;
|
|
width: 100%;
|
|
border-bottom: 1px solid #7d7c81;
|
|
}
|
|
|
|
.mlb-close,
|
|
.mlb-fullscreen {
|
|
position: absolute;
|
|
top: 0px;
|
|
cursor: pointer;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.mlb-close {
|
|
left: 0px;
|
|
background-image: url("../img/close.svg");
|
|
border-right: 1px solid #7d7c81;
|
|
}
|
|
|
|
.mlb-fullscreen {
|
|
right: 0px;
|
|
background-image: url("../img/fullscreen.svg");
|
|
border-left: 1px solid #7d7c81;
|
|
}
|
|
|
|
.mlb-main.mlb-fullscreened {
|
|
background-color: black;
|
|
}
|
|
|
|
.mlb-fullscreen-div .mlb-fullscreen {
|
|
background-image: url("../img/defullscreen.svg");
|
|
}
|