2014-04-01 01:41:57 +00:00
|
|
|
@import "../mmv.globals";
|
|
|
|
@import "../mmv.mixins";
|
|
|
|
|
2014-04-08 22:43:54 +00:00
|
|
|
@info-box-color: #FFFFFF;
|
|
|
|
@info-box-border-color: #DDDDDD;
|
|
|
|
@info-box-border-shadow-color: #C9C9C9;
|
|
|
|
@secondary-text-color: rgb(136, 136, 136);
|
|
|
|
|
2014-10-27 16:17:49 +00:00
|
|
|
@fold-separator-border-width: 1px;
|
|
|
|
|
2014-04-08 22:43:54 +00:00
|
|
|
.mw-mmv-info-box {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
border: 1px solid @info-box-border-color;
|
|
|
|
border-bottom: 2px solid @info-box-border-shadow-color;
|
|
|
|
.box-round(3px);
|
|
|
|
|
|
|
|
background-color: @info-box-color;
|
|
|
|
}
|
|
|
|
|
2014-04-01 01:41:57 +00:00
|
|
|
.mw-mmv-title-contain {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-title-para {
|
2014-06-17 22:23:18 +00:00
|
|
|
margin: 0;
|
2014-09-26 17:52:13 +00:00
|
|
|
padding: 10px 0 0;
|
2014-06-17 22:23:18 +00:00
|
|
|
}
|
|
|
|
.mw-mmv-credit {
|
|
|
|
margin: 0;
|
2014-10-27 16:17:49 +00:00
|
|
|
color: #555;
|
|
|
|
padding: 0 0 5px;
|
|
|
|
font-size: 0.85em;
|
|
|
|
&.empty {
|
|
|
|
height: 0.85em;
|
|
|
|
}
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-title {
|
|
|
|
font-size: 1.2em;
|
|
|
|
max-width: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-metadata {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2014-10-27 16:17:49 +00:00
|
|
|
margin-top: -@metadatabar-below-fold-pushup-height;
|
|
|
|
border-top: @fold-separator-border-width solid #ddd;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
padding-top: 4px;
|
|
|
|
|
|
|
|
.jq-fullscreened & {
|
|
|
|
// Make sure content fits into the screen. This assumes no paddings.
|
|
|
|
height: @metadatabar-below-fold-pushup-height - @fold-separator-border-width;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.jq-fullscreened .mw-mmv-untruncated & {
|
|
|
|
height: auto;
|
|
|
|
}
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|
|
|
|
|
2014-10-27 16:17:49 +00:00
|
|
|
.mw-mmv-author:before {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
content: ' ';
|
|
|
|
margin-right: 5px;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-image: url(img/user-ltr.svg);
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-desc-div {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-desc-div,
|
|
|
|
.mw-mmv-image-links-div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-desc-div {
|
|
|
|
max-height: 150px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@littlefont: 0.85em;
|
2014-10-27 16:17:49 +00:00
|
|
|
@mediumfont: 0.95em;
|
2014-04-01 01:41:57 +00:00
|
|
|
|
|
|
|
.mw-mmv-caption,
|
|
|
|
.mw-mmv-image-desc {
|
|
|
|
font-size: @mediumfont;
|
|
|
|
color: #555555;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-links {
|
2014-04-08 22:43:54 +00:00
|
|
|
margin: 0 20px;
|
2014-04-01 01:41:57 +00:00
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
font-size: @littlefont;
|
|
|
|
color: #3f4040;
|
|
|
|
|
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
content: ' ';
|
|
|
|
margin-right: 10px;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: right center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2014-10-27 14:03:16 +00:00
|
|
|
&.mw-mmv-license-li.cc-license:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/cc.svg);
|
|
|
|
}
|
|
|
|
|
2014-04-01 01:41:57 +00:00
|
|
|
&.mw-mmv-datetime-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/time.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mmv-username-li:before {
|
|
|
|
/* @embed */
|
2014-10-27 16:17:49 +00:00
|
|
|
background-image: url(img/uploader-ltr.svg);
|
|
|
|
width: 18px;
|
|
|
|
margin-right: 8px;
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mmv-location-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/location.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.empty:before {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-license-contain,
|
|
|
|
.mw-mmv-license {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-07-03 19:12:59 +00:00
|
|
|
// These are single-line; make sure it looks sane when they are too long (we truncate the text by character
|
|
|
|
// limit, but that's still no guarantee it will fit in one line)
|
2014-04-01 01:41:57 +00:00
|
|
|
.mw-mmv-title-para,
|
|
|
|
.mw-mmv-credit {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 20px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2014-07-03 19:12:59 +00:00
|
|
|
|
|
|
|
// in untruncated mode, the text can be multiline
|
|
|
|
.mw-mmv-untruncated & {
|
|
|
|
overflow: visible; // needed so the stripe button floats can run into the block and the text can flow around them
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-title-para,
|
|
|
|
.mw-mmv-credit,
|
|
|
|
.mw-mmv-image-desc,
|
|
|
|
.mw-mmv-caption {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-desc-div.empty .mw-mmv-image-desc {
|
2014-04-08 22:43:54 +00:00
|
|
|
color: @secondary-text-color;
|
2014-04-01 01:41:57 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-caption.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-about-links {
|
|
|
|
font-size: @littlefont;
|
|
|
|
padding: 20px;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-label {
|
2014-02-27 17:48:54 +00:00
|
|
|
color: #333333;
|
2014-02-28 13:14:34 +00:00
|
|
|
margin-left: 6px;
|
2014-02-14 00:36:10 +00:00
|
|
|
.box-round(3px);
|
|
|
|
padding: 2px 5px;
|
2014-02-28 13:14:34 +00:00
|
|
|
background-color: #dddddd;
|
|
|
|
font-size: 0.9em;
|
|
|
|
&:hover {
|
|
|
|
background-color: #c9c9c9;
|
|
|
|
}
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image-metadata-column {
|
2014-02-14 00:36:10 +00:00
|
|
|
float: left;
|
2014-03-11 14:18:34 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image-metadata-desc-column {
|
2014-03-11 14:18:34 +00:00
|
|
|
width: 66.5%;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image-metadata-links-column {
|
2014-03-11 14:18:34 +00:00
|
|
|
width: 33.5%;
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-link {
|
2014-02-14 00:36:10 +00:00
|
|
|
cursor: pointer;
|
2014-06-17 21:57:44 +00:00
|
|
|
|
|
|
|
.jq-fullscreened & {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
2014-06-18 00:17:45 +00:00
|
|
|
.mw-mmv-optout-link.pending {
|
|
|
|
cursor: wait;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-about-links {
|
2014-02-14 00:36:10 +00:00
|
|
|
clear: both;
|
2014-04-01 01:41:57 +00:00
|
|
|
}
|