2016-09-22 02:05:24 +02:00
|
|
|
#overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
|
2016-09-30 20:59:25 +02:00
|
|
|
background-color: #19203a;
|
2016-09-22 02:05:24 +02:00
|
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.2);
|
|
|
|
z-index: 101;
|
|
|
|
|
|
|
|
transition: all 0.2s ease;
|
2016-10-17 22:02:25 +02:00
|
|
|
overflow: auto;
|
2016-10-01 00:50:19 +02:00
|
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#overlay.show {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-preview {
|
2016-10-25 23:26:28 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2016-09-22 02:05:24 +02:00
|
|
|
position: relative;
|
2016-10-11 22:27:03 +02:00
|
|
|
width: 100%;
|
2016-10-01 00:50:19 +02:00
|
|
|
height: calc(100% - 65px - 30px);
|
|
|
|
margin: 0px;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
background-color: #19203a;
|
|
|
|
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
2016-10-25 23:26:28 +02:00
|
|
|
#overlay .image-preview img {
|
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
background-color: #FFF;
|
|
|
|
background-image:
|
|
|
|
-moz-linear-gradient(45deg, #CCC 25%, transparent 25%),
|
|
|
|
-moz-linear-gradient(-45deg, #CCC 25%, transparent 25%),
|
|
|
|
-moz-linear-gradient(45deg, transparent 75%, #000 75%),
|
|
|
|
-moz-linear-gradient(-45deg, transparent 75%, #000 75%);
|
|
|
|
background-image:
|
|
|
|
-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, #CCC), color-stop(.25, transparent)),
|
|
|
|
-webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #CCC), color-stop(.25, transparent)),
|
|
|
|
-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, #CCC)),
|
|
|
|
-webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, #CCC));
|
|
|
|
|
|
|
|
-moz-background-size: 20px 20px;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
-webkit-background-size: 20px 20px;
|
|
|
|
|
|
|
|
background-position: 0 0, 50px 0, 50px -50px, 0px 50px;
|
|
|
|
}
|
|
|
|
|
2016-10-01 00:50:19 +02:00
|
|
|
#overlay .exit {
|
|
|
|
float: right;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
color: rgba(255,255,255,0.8);
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 200;
|
2016-10-11 22:27:03 +02:00
|
|
|
margin: 24px 20px 0px 0px;
|
2016-10-01 00:50:19 +02:00
|
|
|
|
|
|
|
transform: scaleY(0.75);
|
|
|
|
font-weight: 300;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
2016-10-01 00:50:19 +02:00
|
|
|
#overlay .exit {
|
2016-09-22 02:05:24 +02:00
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2016-09-30 20:59:25 +02:00
|
|
|
#overlay .image-info-wrapper {
|
2016-10-01 00:50:19 +02:00
|
|
|
background-color: transparent;
|
2016-09-30 20:59:25 +02:00
|
|
|
}
|
|
|
|
|
2016-09-22 02:05:24 +02:00
|
|
|
#overlay .image-description,
|
|
|
|
#overlay .image-actions {
|
|
|
|
float: left;
|
2016-10-01 00:50:19 +02:00
|
|
|
margin: 20px 20px;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2016-10-01 00:50:19 +02:00
|
|
|
#overlay .image-actions a {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
2016-09-22 02:05:24 +02:00
|
|
|
#overlay .image-actions .icon {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions .icon .text {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions span:nth-of-type(2) {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions .open span:nth-of-type(2) {
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-description {
|
2016-09-28 03:06:44 +02:00
|
|
|
/* approx width of screen minus action buttons on the side. */
|
2016-10-01 00:50:19 +02:00
|
|
|
width: calc(100% - 320px);
|
|
|
|
|
|
|
|
font-size: 1.3rem;
|
|
|
|
color: #fff;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-description .title {
|
2016-10-01 00:50:19 +02:00
|
|
|
font-weight: 500;
|
2016-09-22 02:05:24 +02:00
|
|
|
line-height: normal;
|
|
|
|
max-width: calc(100%);
|
|
|
|
|
|
|
|
/* Required for text-overflow */
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2016-10-17 22:02:25 +02:00
|
|
|
#overlay .player-container {
|
|
|
|
height: calc(100vh - 71px);
|
|
|
|
display: flex;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .player-container iframe {
|
|
|
|
width: 80vw;
|
|
|
|
height: 45vw;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2016-09-22 02:05:24 +02:00
|
|
|
#overlay .image-description .user {
|
2016-10-01 00:50:19 +02:00
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-actions .button {
|
2016-09-22 02:05:24 +02:00
|
|
|
font-size: 0.8rem;
|
2016-10-01 00:50:19 +02:00
|
|
|
min-width: inherit;
|
|
|
|
padding: 4px 10px;
|
|
|
|
border: 1px solid rgba(255,255,255,0.6);
|
|
|
|
background-color: transparent;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-actions .button:hover {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #19203a;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.image-actions a.button {
|
2016-09-28 03:06:44 +02:00
|
|
|
text-decoration: none;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button .download {
|
|
|
|
top: 1px;
|
|
|
|
}
|
2016-09-30 20:59:25 +02:00
|
|
|
|
|
|
|
#overlay .clear-float {
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-10-11 22:32:26 +02:00
|
|
|
|
2016-10-25 23:26:28 +02:00
|
|
|
@media only screen and (min-device-width : 320px) and (max-device-width : 736px) {
|
2016-10-11 22:32:26 +02:00
|
|
|
#overlay .image-actions {
|
2016-10-25 23:26:28 +02:00
|
|
|
display: none !important;
|
2016-10-11 22:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-description {
|
|
|
|
width: calc(100% - 100px);
|
2016-10-25 23:26:28 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-10-11 22:32:26 +02:00
|
|
|
}
|
|
|
|
}
|