2013-11-13 00:43:46 +00:00
|
|
|
/**
|
|
|
|
* Override multilightbox styles that don't apply to us
|
|
|
|
*/
|
2013-12-30 23:12:42 +00:00
|
|
|
.mlb-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
bottom: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mlb-main {
|
|
|
|
height: auto;
|
2014-02-03 04:04:20 +00:00
|
|
|
|
|
|
|
.jq-fullscreened {
|
|
|
|
background-color: black;
|
|
|
|
}
|
2013-12-30 23:12:42 +00:00
|
|
|
}
|
|
|
|
|
2014-02-03 04:04:20 +00:00
|
|
|
/**
|
|
|
|
* Some variables
|
|
|
|
*/
|
|
|
|
@title-height: 64px;
|
|
|
|
@drag-height: 18px;
|
|
|
|
@bottom-height: (@title-height + @drag-height);
|
2014-02-06 10:23:03 +00:00
|
|
|
@metadata-background: rgb(251, 251, 251);
|
2014-02-25 13:43:22 +00:00
|
|
|
@progress-height: 3px;
|
2014-02-03 04:04:20 +00:00
|
|
|
|
2013-12-30 23:12:42 +00:00
|
|
|
.mlb-image-wrapper,
|
|
|
|
.mw-mlb-controls {
|
2013-11-13 00:43:46 +00:00
|
|
|
top: 0px;
|
2014-02-03 04:04:20 +00:00
|
|
|
bottom: @bottom-height;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2014-02-06 10:23:03 +00:00
|
|
|
.jq-fullscreened {
|
|
|
|
.mlb-image-wrapper,
|
|
|
|
.mlb-post-image,
|
|
|
|
.mw-mlb-controls {
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-drag-affordance {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mlb-post-image,
|
|
|
|
.mlb-controls {
|
|
|
|
@fullscreen-padding: 10px;
|
|
|
|
padding: (@fullscreen-padding / 2) 0;
|
|
|
|
height: (@title-height + @fullscreen-padding);
|
|
|
|
background-color: rgba(251, 251, 251, 0);
|
|
|
|
transition: background-color 0.25s;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @metadata-background;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mlb-post-image {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mlb-controls {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-01-06 21:53:42 +00:00
|
|
|
}
|
|
|
|
|
2014-02-18 08:25:48 +00:00
|
|
|
.cursor-hidden {
|
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
|
2013-12-30 23:12:42 +00:00
|
|
|
.mlb-image-wrapper {
|
|
|
|
position: fixed;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mlb-post-image {
|
2013-12-30 23:12:42 +00:00
|
|
|
bottom: auto;
|
2013-11-13 00:43:46 +00:00
|
|
|
height: auto;
|
2014-02-03 04:04:20 +00:00
|
|
|
background-color: @metadata-background;
|
2014-01-07 15:01:48 +00:00
|
|
|
position: absolute;
|
2014-02-03 04:04:20 +00:00
|
|
|
min-height: (@bottom-height + 1);
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-12-30 23:12:42 +00:00
|
|
|
.mlb-controls {
|
|
|
|
height: auto;
|
2014-01-07 15:01:48 +00:00
|
|
|
border-bottom: 1px solid #cccccc;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-controls {
|
|
|
|
border: none;
|
2014-02-03 04:04:20 +00:00
|
|
|
|
|
|
|
div {
|
|
|
|
border: none;
|
|
|
|
display: block;
|
|
|
|
}
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
body.mobile .mw-mlb-controls,
|
|
|
|
.mw-mlb-controls-position:hover .mw-mlb-controls {
|
|
|
|
display: block;
|
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-lightbox-title-div,
|
2013-08-07 08:59:08 +00:00
|
|
|
.mw-lightbox-extra-info-div {
|
2013-11-13 00:43:46 +00:00
|
|
|
text-align: left;
|
2013-08-07 08:59:08 +00:00
|
|
|
height: 50px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
left: 0px;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-08-07 08:59:08 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-lightbox-title-div {
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-lightbox-extra-info-div {
|
|
|
|
bottom: -50px;
|
2013-08-07 08:59:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2013-09-20 23:29:11 +00:00
|
|
|
|
|
|
|
.mlb-overlay {
|
2013-11-26 03:37:01 +00:00
|
|
|
background-color: rgb(0,0,0);
|
2013-09-20 23:29:11 +00:00
|
|
|
}
|
|
|
|
|
2013-10-16 23:50:51 +00:00
|
|
|
.mw-mlb-license,
|
2013-10-22 16:34:08 +00:00
|
|
|
.mw-mlb-title-contain {
|
2013-09-26 01:47:59 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-title-para {
|
2013-10-22 16:34:08 +00:00
|
|
|
margin-bottom: 1px;
|
|
|
|
margin-top: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-title {
|
|
|
|
font-size: 1.2em;
|
2013-11-28 17:26:10 +00:00
|
|
|
max-width: 60%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-10 22:31:13 +00:00
|
|
|
}
|
|
|
|
|
2013-09-26 01:47:59 +00:00
|
|
|
.mw-mlb-image-metadata {
|
2013-11-13 00:43:46 +00:00
|
|
|
width: 100%;
|
2013-12-31 08:54:29 +00:00
|
|
|
background-color: #fbfbfb;
|
2013-09-26 01:47:59 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-01-30 07:22:26 +00:00
|
|
|
.jq-fullscreened .mw-mlb-image-metadata {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-image-desc-div {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2013-09-26 01:47:59 +00:00
|
|
|
.mw-mlb-image-desc-div,
|
|
|
|
.mw-mlb-image-links-div {
|
2013-10-29 20:26:07 +00:00
|
|
|
display: inline-block;
|
2013-11-01 19:07:06 +00:00
|
|
|
vertical-align: top;
|
2013-09-26 01:47:59 +00:00
|
|
|
}
|
|
|
|
|
2014-01-30 11:28:43 +00:00
|
|
|
.mw-mlb-image-desc-div {
|
2014-02-14 00:36:10 +00:00
|
|
|
max-height: 150px;
|
|
|
|
margin-bottom: 15px;
|
2014-01-30 11:28:43 +00:00
|
|
|
}
|
|
|
|
|
2014-02-27 17:48:54 +00:00
|
|
|
@littlefont: 0.9em;
|
2014-02-03 04:04:20 +00:00
|
|
|
|
2014-01-30 11:18:45 +00:00
|
|
|
.mw-mlb-caption,
|
2013-10-11 17:55:10 +00:00
|
|
|
.mw-mlb-image-desc {
|
2014-02-03 04:04:20 +00:00
|
|
|
font-size: @littlefont;
|
2014-01-07 15:01:48 +00:00
|
|
|
color: #555555;
|
2013-10-11 17:55:10 +00:00
|
|
|
}
|
|
|
|
|
2014-02-03 04:04:20 +00:00
|
|
|
.mw-mlb-image-links {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mlb-repo-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/repo.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mlb-datetime-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/time.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mlb-username-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/user-ltr.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mlb-location-li:before {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/location.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.empty:before {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
}
|
2013-10-15 22:34:41 +00:00
|
|
|
}
|
2013-10-28 18:38:07 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-license,
|
2013-10-16 23:50:51 +00:00
|
|
|
.mw-mlb-title-credit {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-title-credit {
|
2013-11-13 00:43:46 +00:00
|
|
|
width: 100%;
|
2014-02-03 04:04:20 +00:00
|
|
|
height: @title-height;
|
2013-10-16 23:50:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-license {
|
2014-01-07 15:01:48 +00:00
|
|
|
color: #888888;
|
|
|
|
font-size: 0.9em;
|
2013-11-13 00:43:46 +00:00
|
|
|
padding-left: 10px;
|
2014-01-07 15:01:48 +00:00
|
|
|
vertical-align: baseline;
|
2013-10-16 23:50:51 +00:00
|
|
|
|
2014-02-03 04:04:20 +00:00
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-10-16 23:50:51 +00:00
|
|
|
|
2014-02-03 04:04:20 +00:00
|
|
|
&.cc-license:before {
|
|
|
|
background-size: contain;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/cc.svg);
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
content: ' ';
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2013-10-16 23:50:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-license-contain,
|
|
|
|
.mw-mlb-license {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2013-10-29 02:31:23 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
.mw-mlb-title-para,
|
|
|
|
.mw-mlb-credit,
|
|
|
|
.mw-mlb-image-desc,
|
2014-02-03 04:04:20 +00:00
|
|
|
.mw-mlb-caption {
|
2013-11-13 00:43:46 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2014-01-22 01:21:22 +00:00
|
|
|
.mw-mlb-image-desc-div.empty .mw-mlb-image-desc {
|
|
|
|
color: rgb(136, 136, 136);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-01-30 11:18:45 +00:00
|
|
|
.mw-mlb-caption.empty {
|
2014-01-22 01:21:22 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-10-29 20:26:07 +00:00
|
|
|
.mw-mlb-mmv-about-links {
|
2014-02-03 04:04:20 +00:00
|
|
|
font-size: @littlefont;
|
2013-11-13 00:43:46 +00:00
|
|
|
padding: 20px;
|
2013-10-29 20:26:07 +00:00
|
|
|
width: 50%;
|
|
|
|
}
|
2013-10-31 22:03:59 +00:00
|
|
|
|
2013-11-13 00:43:46 +00:00
|
|
|
body.mw-mlb-lightbox-open {
|
2013-12-30 23:12:42 +00:00
|
|
|
overflow-y: auto;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
|
|
|
|
2013-12-30 23:12:42 +00:00
|
|
|
body.mw-mlb-lightbox-open #mw-page-base,
|
|
|
|
body.mw-mlb-lightbox-open #mw-head-base,
|
|
|
|
body.mw-mlb-lightbox-open #mw-navigation,
|
|
|
|
body.mw-mlb-lightbox-open #mw-footer,
|
|
|
|
body.mw-mlb-lightbox-open #content {
|
|
|
|
/** Stop the article from scrolling in the background */
|
|
|
|
display: none;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
2013-11-26 03:37:01 +00:00
|
|
|
|
2013-12-02 19:46:52 +00:00
|
|
|
.mw-mlb-drag-affordance {
|
|
|
|
width: 100%;
|
2014-02-03 04:04:20 +00:00
|
|
|
height: @drag-height;
|
2014-01-14 16:15:22 +00:00
|
|
|
cursor: pointer;
|
2013-12-02 19:46:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-drag-icon {
|
|
|
|
width: 64px;
|
2014-02-03 04:04:20 +00:00
|
|
|
height: @drag-height;
|
2013-12-02 19:46:52 +00:00
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/drag.svg);
|
2013-12-31 08:54:29 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center bottom;
|
2013-12-02 19:46:52 +00:00
|
|
|
margin: 0 auto;
|
2014-01-08 13:41:44 +00:00
|
|
|
opacity: 0.6;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
|
2014-02-03 04:04:20 +00:00
|
|
|
&.pointing-down {
|
|
|
|
background-position: center top;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
-moz-transform: rotate(180deg);
|
|
|
|
-o-transform: rotate(180deg);
|
|
|
|
-webkit-transform: rotate(180deg);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2.0);
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2.0)";
|
|
|
|
}
|
2014-01-23 00:38:01 +00:00
|
|
|
}
|
|
|
|
|
2014-01-08 13:41:44 +00:00
|
|
|
.mlb-post-image:hover .mw-mlb-drag-icon {
|
|
|
|
opacity: 1;
|
2013-12-10 21:04:45 +00:00
|
|
|
}
|
2014-02-25 13:43:22 +00:00
|
|
|
|
|
|
|
.mw-mlb-progress {
|
|
|
|
width: 100%;
|
|
|
|
height: @progress-height;
|
|
|
|
background-color: rgb( 204, 204, 204 );
|
|
|
|
margin-top: -@progress-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-progress.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-progress-percent {
|
|
|
|
width: 0;
|
|
|
|
height: @progress-height;
|
|
|
|
background-color: rgb( 0, 113, 188 );
|
|
|
|
}
|