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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay.show {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-preview {
|
|
|
|
position: relative;
|
2016-09-30 20:59:25 +02:00
|
|
|
width: calc(100% - 40px);
|
|
|
|
height: calc(100% - 65px - 40px);
|
|
|
|
margin: 20px;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
background-color: #19203a;
|
|
|
|
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-preview .exit {
|
|
|
|
position: absolute;
|
2016-09-30 20:59:25 +02:00
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
color: rgba(255,255,255,0.8);
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 200;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-preview:hover .exit {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2016-09-30 20:59:25 +02:00
|
|
|
#overlay .image-info-wrapper {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2016-09-22 02:05:24 +02:00
|
|
|
#overlay .image-description,
|
|
|
|
#overlay .image-actions {
|
|
|
|
float: left;
|
|
|
|
margin: 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions .icon {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-actions .icon .text {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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. */
|
|
|
|
width: calc(100% - 290px);
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-description .title {
|
2016-09-30 20:59:25 +02:00
|
|
|
font-size: 1.4rem;
|
2016-09-22 02:05:24 +02:00
|
|
|
font-weight: 300;
|
|
|
|
line-height: normal;
|
|
|
|
max-width: calc(100%);
|
|
|
|
|
|
|
|
/* Required for text-overflow */
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay .image-description .user {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|