mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-18 02:40:56 +00:00
4898f42e18
Works with the new multilightbox library from https://gitorious.org/multilightbox/multilightbox Also has fullscreen and close. Very fun. Change-Id: I6d61f6590843e1767bc7492dbd98e6aa3b85fcdc
89 lines
1.3 KiB
CSS
89 lines
1.3 KiB
CSS
.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: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.mlb-main {
|
|
margin-top: 20px;
|
|
width: 80%;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.mlb-image {
|
|
width: 100%;
|
|
}
|
|
|
|
.mlb-image img {
|
|
display: block;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mlb-controls {
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
width: 80%;
|
|
min-height: 32px;
|
|
border-bottom: 1px solid #7d7c81;
|
|
margin-bottom: 40px;
|
|
position: relative;
|
|
}
|
|
|
|
.mlb-close {
|
|
cursor: pointer;
|
|
background-image: url("../img/close.svg");
|
|
width: 32px;
|
|
height: 32px;
|
|
border-right: 1px solid #7d7c81;
|
|
border-bottom: 1px solid #7d7c81;
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: -32px;
|
|
}
|
|
|
|
.mlb-fullscreen {
|
|
cursor: pointer;
|
|
background-image: url("../img/fullscreen.svg");
|
|
width: 32px;
|
|
height: 32px;
|
|
border-left: 1px solid #7d7c81;
|
|
border-bottom: 1px solid #7d7c81;
|
|
position: absolute;
|
|
bottom: -1px;
|
|
right: -32px;
|
|
}
|
|
|
|
.mlb-fullscreen-div {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 1002;
|
|
}
|
|
|
|
.mlb-fullscreen-div .mlb-main {
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mlb-fullscreen-div .mlb-fullscreen {
|
|
background-image: url("../img/defullscreen.svg");
|
|
}
|