mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
c0c9e7037f
Keep modules in separate dirs, move images to their module dirs, and fix up the module declarations so they still work. Also moved viewer.svg into the root. Bug: 56421 Change-Id: Ia84ddfd3b91c784c42d9ba243c5cfd46354f139f
242 lines
4.1 KiB
CSS
242 lines
4.1 KiB
CSS
.mw-lightbox-title-div {
|
|
text-align: left;
|
|
padding-left: 10px;
|
|
font-weight: bold;
|
|
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
height: 50px;
|
|
|
|
/* FF 3.6+ */
|
|
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
|
|
|
|
/* Chrome, Safari 4+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1)));
|
|
|
|
/* Chrome 10+, Safari 5.1+ */
|
|
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
|
|
|
|
/* Opera 11.10+ */
|
|
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
|
|
|
|
/* IE10+ */
|
|
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
|
|
|
|
/* W3C */
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
|
|
|
|
/* IE 6-9 */
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
|
|
}
|
|
|
|
.mw-lightbox-extra-info-div {
|
|
height: 50px;
|
|
position: absolute;
|
|
bottom: -50px;
|
|
right: 0px;
|
|
left: 0px;
|
|
|
|
text-align: left;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.mw-lightbox-extra-info-div a,
|
|
.mw-lightbox-extra-info-div a:hover,
|
|
.mw-lightbox-extra-info-div a:visited,
|
|
.mw-lightbox-extra-info-div a:active,
|
|
.mw-lightbox-extra-info-div a:link {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mw-lightbox .lb-container {
|
|
position: absolute;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
}
|
|
|
|
.mlb-fullscreen-div {
|
|
background-color: rgb( 255, 255, 255 );
|
|
}
|
|
|
|
.mlb-overlay {
|
|
background-color: rgba( 255, 255, 255, 0.9 );
|
|
}
|
|
|
|
.mlb-close {
|
|
/* @embed */
|
|
background-image: url(img/mw-close.svg);
|
|
}
|
|
|
|
.mlb-fullscreen-div .mlb-fullscreen {
|
|
/* @embed */
|
|
background-image: url(img/mw-defullscreen.svg);
|
|
}
|
|
|
|
.mlb-fullscreen {
|
|
/* @embed */
|
|
background-image: url(img/mw-fullscreen.svg);
|
|
}
|
|
|
|
.mw-mlb-license,
|
|
.mw-mlb-title-contain {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.mw-mlb-title {
|
|
margin-bottom: 1px;
|
|
margin-top: 0px;
|
|
padding: 0px;
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.mw-mlb-author {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mw-mlb-image-metadata {
|
|
margin-top: 30px;
|
|
width: 64%;
|
|
margin: 30px auto;
|
|
position: relative;
|
|
}
|
|
|
|
.mw-mlb-image-desc-div,
|
|
.mw-mlb-image-links-div {
|
|
display: inline-block;
|
|
width: 50%;
|
|
height: 100px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.mw-mlb-image-desc {
|
|
color: #6f7073;
|
|
}
|
|
|
|
.mw-mlb-image-desc-div {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mw-mlb-image-links li {
|
|
list-style: none;
|
|
font-size: 0.8em;
|
|
color: #3f4040;
|
|
}
|
|
|
|
.mw-mlb-image-links li:before {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 16px;
|
|
width: 16px;
|
|
content: ' ';
|
|
margin-right: 10px;
|
|
background-size: contain;
|
|
}
|
|
|
|
.mw-mlb-image-links li.mw-mlb-repo-li:before {
|
|
/* @embed */
|
|
background-image: url(img/repo.svg);
|
|
}
|
|
|
|
.mw-mlb-image-links li.mw-mlb-username-li:before {
|
|
/* @embed */
|
|
background-image: url(img/user.svg);
|
|
}
|
|
|
|
.mw-mlb-image-links li.mw-mlb-datetime-li:before {
|
|
/* @embed */
|
|
background-image: url(img/time.svg);
|
|
}
|
|
|
|
.mw-mlb-image-links li.mw-mlb-usefile-li:before {
|
|
/* @embed */
|
|
background-image: url(img/use.svg);
|
|
}
|
|
|
|
.mw-mlb-image-links li.empty:before {
|
|
background-image: none !important;
|
|
}
|
|
|
|
.mw-mlb-credit.empty {
|
|
display: none;
|
|
}
|
|
|
|
.mw-mlb-license-contain,
|
|
.mw-mlb-title-credit {
|
|
display: inline-block;
|
|
}
|
|
|
|
.mw-mlb-license-contain {
|
|
width: 30%;
|
|
}
|
|
|
|
.mw-mlb-title-credit {
|
|
width: 70%;
|
|
}
|
|
|
|
.mw-mlb-title-contain {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.mw-mlb-license {
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.mw-mlb-license.empty {
|
|
display: none;
|
|
}
|
|
|
|
.mw-mlb-license.cc-license:before {
|
|
background-size: contain;
|
|
/* @embed */
|
|
background-image: url(img/cc.svg);
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 20px;
|
|
width: 20px;
|
|
content: ' ';
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mw-mlb-license-contain,
|
|
.mw-mlb-license {
|
|
text-align: right;
|
|
}
|
|
|
|
.mw-mlb-image-links li.empty {
|
|
display: none;
|
|
}
|
|
|
|
.mw-mlb-use-file-dialog label {
|
|
display: block;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mw-mlb-use-file-dialog input {
|
|
width: 100%;
|
|
}
|
|
|
|
.mw-mlb-mmv-about-links {
|
|
font-size: 0.8em;
|
|
padding-top: 20px;
|
|
width: 50%;
|
|
}
|
|
|
|
.mlb-image .mw-spinner {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.mlb-image.empty .mw-spinner {
|
|
display: block;
|
|
}
|
|
|
|
.mw-mlb-image-desc-div.empty,
|
|
.mlb-image.empty img {
|
|
display: none;
|
|
}
|