2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay {
|
2017-06-21 09:00:49 +02:00
|
|
|
background-color: hsl(227, 40%, 16%);
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_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%;
|
2017-03-20 19:37:23 +01:00
|
|
|
height: calc(100% - 65px - 95px);
|
2016-10-01 00:50:19 +02:00
|
|
|
margin: 0px;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-preview img {
|
2016-10-25 23:26:28 +02:00
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2016-10-25 23:26:28 +02:00
|
|
|
background-image:
|
2017-11-13 17:26:11 +01:00
|
|
|
-moz-linear-gradient(45deg, hsl(0, 0%, 80%) 25%, transparent 25%),
|
|
|
|
-moz-linear-gradient(-45deg, hsl(0, 0%, 80%) 25%, transparent 25%),
|
|
|
|
-moz-linear-gradient(45deg, transparent 75%, hsl(0, 0%, 0%) 75%),
|
|
|
|
-moz-linear-gradient(-45deg, transparent 75%, hsl(0, 0%, 0%) 75%);
|
2016-10-25 23:26:28 +02:00
|
|
|
background-image:
|
2017-11-13 17:26:11 +01:00
|
|
|
-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, hsl(0, 0%, 80%)), color-stop(.25, transparent)),
|
|
|
|
-webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, hsl(0, 0%, 80%)), color-stop(.25, transparent)),
|
|
|
|
-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, hsl(0, 0%, 80%))),
|
|
|
|
-webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, hsl(0, 0%, 80%)));
|
2016-10-25 23:26:28 +02:00
|
|
|
|
|
|
|
-moz-background-size: 20px 20px;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
-webkit-background-size: 20px 20px;
|
|
|
|
|
|
|
|
background-position: 0 0, 50px 0, 50px -50px, 0px 50px;
|
|
|
|
}
|
|
|
|
|
2017-06-08 22:58:15 +02:00
|
|
|
#lightbox_overlay .image-preview canvas {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .exit {
|
2016-10-01 00:50:19 +02:00
|
|
|
float: right;
|
2016-09-22 02:05:24 +02:00
|
|
|
|
2017-06-21 09:00:49 +02:00
|
|
|
color: hsla(0, 0%, 100%, 0.8);
|
2016-09-22 02:05:24 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay.show .exit {
|
2016-09-22 02:05:24 +02:00
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-info-wrapper {
|
2016-10-01 00:50:19 +02:00
|
|
|
background-color: transparent;
|
2016-09-30 20:59:25 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description,
|
|
|
|
#lightbox_overlay .image-actions {
|
2016-09-22 02:05:24 +02:00
|
|
|
float: left;
|
2016-10-01 00:50:19 +02:00
|
|
|
margin: 20px 20px;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions {
|
2016-09-22 02:05:24 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2017-06-08 22:58:15 +02:00
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
|
2017-11-27 04:12:35 +01:00
|
|
|
min-width: 75px;
|
2017-06-08 22:58:15 +02:00
|
|
|
|
2017-12-17 08:19:20 +01:00
|
|
|
margin: 0px;
|
|
|
|
margin-right: 5px;
|
2017-06-08 22:58:15 +02:00
|
|
|
padding: 0px 5px;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.6);
|
|
|
|
|
|
|
|
text-align: center;
|
2017-11-13 16:34:06 +01:00
|
|
|
color: hsl(0, 0%, 100%);
|
2017-06-08 22:58:15 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger:hover {
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2018-09-27 21:57:07 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 100%);
|
2017-06-08 22:58:15 +02:00
|
|
|
color: hsl(227, 40%, 16%);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger .status::after {
|
|
|
|
content: attr(data-disabled);
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger.enabled .status::after {
|
|
|
|
content: attr(data-enabled);
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger .title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-actions .lightbox-canvas-trigger .status {
|
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions a {
|
2017-12-17 08:19:20 +01:00
|
|
|
margin: 0px 5px;
|
2016-10-01 00:50:19 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions .icon {
|
2016-09-22 02:05:24 +02:00
|
|
|
font-size: 1.1rem;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions .icon .text {
|
2016-09-22 02:05:24 +02:00
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions span:nth-of-type(2) {
|
2016-09-22 02:05:24 +02:00
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions .open span:nth-of-type(2) {
|
2016-09-22 02:05:24 +02:00
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description {
|
2017-11-26 02:39:55 +01:00
|
|
|
width: 100%;
|
2016-09-28 03:06:44 +02:00
|
|
|
/* approx width of screen minus action buttons on the side. */
|
2017-11-27 04:12:35 +01:00
|
|
|
max-width: calc(100% - 450px);
|
2017-01-10 20:49:12 +01:00
|
|
|
/* add some extra margin top and remove some bottom to keep the
|
|
|
|
height the same. and vertically center the text with the buttons. */
|
|
|
|
margin-top: 25px;
|
|
|
|
margin-bottom: 15px;
|
2016-10-01 00:50:19 +02:00
|
|
|
|
|
|
|
font-size: 1.3rem;
|
2017-11-13 16:34:06 +01:00
|
|
|
color: hsl(0, 0%, 100%);
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description .title {
|
2017-01-10 20:49:12 +01:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
|
2017-08-24 23:35:34 +02:00
|
|
|
font-weight: 400;
|
2016-09-22 02:05:24 +02:00
|
|
|
line-height: normal;
|
2017-12-17 08:19:20 +01:00
|
|
|
max-width: calc(100% - 110px);
|
2016-09-22 02:05:24 +02:00
|
|
|
|
|
|
|
/* Required for text-overflow */
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description .user::before {
|
2017-01-10 20:49:12 +01:00
|
|
|
margin-right: 5px;
|
2017-01-11 02:10:15 +01:00
|
|
|
content: "\2014";
|
2017-01-10 20:49:12 +01:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .player-container {
|
2017-03-20 19:37:23 +01:00
|
|
|
height: calc(100% - 65px - 95px);
|
2016-10-17 22:02:25 +02:00
|
|
|
display: flex;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .player-container iframe {
|
2017-03-20 19:37:23 +01:00
|
|
|
/* maintain 16:9 ratio. */
|
|
|
|
width: calc((100vh - 65px - 95px) * 16 / 9);
|
|
|
|
height: 100%;
|
2016-10-17 22:02:25 +02:00
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description .user {
|
2017-01-10 20:49:12 +01:00
|
|
|
max-width: 200px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2016-10-01 00:50:19 +02:00
|
|
|
font-weight: 300;
|
2017-01-10 20:49:12 +01:00
|
|
|
line-height: normal;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: pre;
|
2016-10-01 00:50:19 +02:00
|
|
|
}
|
|
|
|
|
2017-03-19 01:51:20 +01:00
|
|
|
#lightbox_overlay .center .arrow {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 25px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
2017-11-13 16:34:06 +01:00
|
|
|
color: hsl(0, 0%, 100%);
|
2017-03-19 01:51:20 +01:00
|
|
|
font-size: 1.8em;
|
|
|
|
font-weight: 100;
|
|
|
|
|
|
|
|
transform: scaleY(2);
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .center .arrow:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .center .image-list {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 15px 0px 12px 0px;
|
|
|
|
height: 50px;
|
|
|
|
font-size: 0px;
|
|
|
|
|
|
|
|
max-width: 40vw;
|
2017-06-15 12:12:00 +02:00
|
|
|
overflow: hidden;
|
2017-03-19 01:51:20 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .center .image-list .image {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
margin: 0px 2px;
|
|
|
|
|
2017-06-21 09:00:49 +02:00
|
|
|
background-color: hsla(0, 0%, 94%, 0.2);
|
2017-03-19 01:51:20 +01:00
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lightbox_overlay .image-list .image.selected {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-03-13 19:38:07 +01:00
|
|
|
#lightbox_overlay .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;
|
2017-06-21 09:00:49 +02:00
|
|
|
border: 1px solid hsla(0, 0%, 100%, 0.6);
|
2016-10-01 00:50:19 +02:00
|
|
|
background-color: transparent;
|
2017-11-13 16:34:06 +01:00
|
|
|
color: hsl(0, 0%, 100%);
|
2016-10-01 00:50:19 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2019-03-13 19:38:07 +01:00
|
|
|
#lightbox_overlay .image-actions .button:hover {
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
border-color: hsl(0, 0%, 100%);
|
2017-06-21 09:00:49 +02:00
|
|
|
color: hsl(227, 40%, 16%);
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-13 19:38:07 +01:00
|
|
|
#lightbox_overlay .image-actions a.button {
|
2016-09-28 03:06:44 +02:00
|
|
|
text-decoration: none;
|
2016-09-22 02:05:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-13 19:38:07 +01:00
|
|
|
#lightbox_overlay .button .download {
|
2016-09-22 02:05:24 +02:00
|
|
|
top: 1px;
|
|
|
|
}
|
2016-09-30 20:59:25 +02:00
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .clear-float {
|
2016-09-30 20:59:25 +02:00
|
|
|
clear: both;
|
|
|
|
}
|
2016-10-11 22:32:26 +02:00
|
|
|
|
2018-04-02 04:47:30 +02:00
|
|
|
@media only screen and (min-width: 320px) and (max-width: 736px) {
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-actions {
|
2017-12-17 08:19:20 +01:00
|
|
|
float: left;
|
|
|
|
margin-top: 0;
|
2016-10-11 22:32:26 +02:00
|
|
|
}
|
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description {
|
2017-12-17 08:19:20 +01:00
|
|
|
max-width: calc(100% - 100px);
|
2016-10-25 23:26:28 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-12-17 08:19:20 +01:00
|
|
|
margin-bottom: 5px;
|
2016-10-11 22:32:26 +02:00
|
|
|
}
|
2017-01-10 20:49:12 +01:00
|
|
|
|
2017-03-18 00:53:58 +01:00
|
|
|
#lightbox_overlay .image-description .title {
|
2017-12-17 08:19:20 +01:00
|
|
|
max-width: calc(100% - 70px);
|
2017-01-10 20:49:12 +01:00
|
|
|
}
|
2017-03-19 01:51:20 +01:00
|
|
|
|
|
|
|
#lightbox_overlay .center .image-list {
|
|
|
|
max-width: 80vw;
|
|
|
|
}
|
2017-03-20 19:37:23 +01:00
|
|
|
|
|
|
|
#lightbox_overlay .player-container iframe {
|
|
|
|
/* maintain 16:9 ratio. */
|
|
|
|
width: 100%;
|
|
|
|
height: calc((100vw) * 9 / 16);
|
|
|
|
margin: auto;
|
|
|
|
}
|
2017-12-17 08:19:20 +01:00
|
|
|
|
|
|
|
#lightbox_overlay .image-preview {
|
|
|
|
height: calc(100% - 101px - 95px);
|
|
|
|
}
|
2016-10-11 22:32:26 +02:00
|
|
|
}
|