2014-04-04 09:32:30 +00:00
|
|
|
@import "mmv.globals";
|
2014-04-01 01:41:57 +00:00
|
|
|
@import "mmv.mixins";
|
2014-02-18 15:25:56 +00:00
|
|
|
|
2014-04-04 09:32:30 +00:00
|
|
|
@bottom-height: (@metadatabar-top-content-height + @metadatabar-drag-height);
|
|
|
|
@metadata-background: rgb(251, 251, 251);
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-wrapper {
|
2013-08-07 08:59:08 +00:00
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
z-index: 1001;
|
2014-04-04 09:32:30 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: auto;
|
2013-08-07 08:59:08 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-main {
|
2013-11-13 00:43:46 +00:00
|
|
|
width: 100%;
|
2014-04-04 09:32:30 +00:00
|
|
|
height: auto;
|
2013-08-07 08:59:08 +00:00
|
|
|
position: relative;
|
2014-04-04 09:32:30 +00:00
|
|
|
|
|
|
|
.jq-fullscreened {
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-image-wrapper,
|
|
|
|
.mw-mmv-controls {
|
|
|
|
top: 0px;
|
|
|
|
bottom: @bottom-height;
|
2013-08-07 08:59:08 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image-wrapper {
|
2014-04-04 09:32:30 +00:00
|
|
|
position: fixed;
|
2013-11-13 00:43:46 +00:00
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image-inner-wrapper {
|
2013-11-13 00:43:46 +00:00
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-pre-image {
|
2013-11-13 00:43:46 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
height: 32px;
|
|
|
|
width: 100%;
|
2014-04-04 09:32:30 +00:00
|
|
|
z-index: 1;
|
2013-08-07 08:59:08 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-post-image {
|
2013-11-13 00:43:46 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2014-04-04 09:32:30 +00:00
|
|
|
bottom: auto;
|
|
|
|
height: auto;
|
|
|
|
color: #333333;
|
|
|
|
background-color: @metadata-background;
|
|
|
|
min-height: (@bottom-height + 1);
|
|
|
|
z-index: 2;
|
2013-11-13 00:43:46 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-controls {
|
2013-11-13 00:43:46 +00:00
|
|
|
width: 100%;
|
2014-04-04 09:32:30 +00:00
|
|
|
height: auto;
|
|
|
|
border-bottom: 1px solid #cccccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fullscreen styles */
|
|
|
|
|
|
|
|
.cursor-hidden {
|
|
|
|
cursor: none;
|
2013-08-07 08:59:08 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-main.jq-fullscreened {
|
2013-11-13 00:43:46 +00:00
|
|
|
background-color: black;
|
2014-04-04 09:32:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.jq-fullscreened {
|
|
|
|
.mw-mmv-image-wrapper,
|
|
|
|
.mw-mmv-post-image,
|
|
|
|
.mw-mmv-controls {
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-drag-affordance {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-post-image,
|
|
|
|
.mw-mmv-controls {
|
|
|
|
@fullscreen-padding: 10px;
|
|
|
|
padding: (@fullscreen-padding / 2) 0;
|
|
|
|
height: (@metadatabar-top-content-height + @fullscreen-padding);
|
|
|
|
background-color: rgba(251, 251, 251, 0);
|
|
|
|
transition: background-color 0.25s;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @metadata-background;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-post-image {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-controls {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-02-10 09:12:34 +00:00
|
|
|
}
|