2012-10-23 04:06:56 +02:00
|
|
|
/**
|
2016-11-18 22:23:41 +01:00
|
|
|
* @provides phui-lightbox-css
|
2012-10-23 04:06:56 +02:00
|
|
|
*/
|
|
|
|
|
2012-10-23 21:00:37 +02:00
|
|
|
|
2012-10-23 04:06:56 +02:00
|
|
|
.lightbox-attached {
|
2012-10-23 21:00:37 +02:00
|
|
|
overflow: hidden;
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment {
|
|
|
|
position: fixed;
|
2012-10-23 21:00:37 +02:00
|
|
|
top: 0;
|
2012-10-23 04:06:56 +02:00
|
|
|
left: 0;
|
2012-10-23 21:00:37 +02:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow-y: auto;
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
2016-11-18 22:23:41 +01:00
|
|
|
.lightbox-attachment .lightbox-image-frame {
|
2016-11-12 16:37:16 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 44px;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2016-11-22 20:25:51 +01:00
|
|
|
text-align: center;
|
2016-11-12 16:37:16 +01:00
|
|
|
}
|
|
|
|
|
2016-11-18 22:23:41 +01:00
|
|
|
.lightbox-attachment.comment-panel-open .lightbox-image-frame {
|
2016-11-22 05:12:51 +01:00
|
|
|
right: 360px;
|
2016-11-18 22:23:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-image-frame img {
|
|
|
|
max-width: calc(100% - 40px);
|
|
|
|
max-height: calc(100% - 24px);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
2016-11-18 22:23:41 +01:00
|
|
|
.lightbox-comment-frame {
|
2012-10-23 04:06:56 +02:00
|
|
|
position: absolute;
|
2016-11-18 22:23:41 +01:00
|
|
|
top: -19999px;
|
2016-11-22 20:25:51 +01:00
|
|
|
right: 0;
|
2016-11-18 22:23:41 +01:00
|
|
|
opacity: 0;
|
2016-11-22 20:25:51 +01:00
|
|
|
transition: all 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-icon-frame {
|
|
|
|
top: 44%;
|
|
|
|
left: calc(50% - 160px);
|
|
|
|
position: fixed;
|
|
|
|
display: block;
|
|
|
|
height: 120px;
|
|
|
|
width: 320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment.comment-panel-open .lightbox-icon-frame {
|
|
|
|
left: calc(50% - 340px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .phui-lightbox-file-icon {
|
|
|
|
font-size: 64px;
|
|
|
|
color: {$darkbluetext};
|
2016-11-18 22:23:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment-panel-open .lightbox-comment-frame {
|
|
|
|
position: fixed;
|
|
|
|
top: 44px;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2016-11-22 05:12:51 +01:00
|
|
|
width: 360px;
|
2016-11-18 22:23:41 +01:00
|
|
|
overflow-y: auto;
|
|
|
|
background: #fff;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.device-phone .comment-panel-open .lightbox-comment-frame {
|
|
|
|
width: auto;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2016-11-18 22:23:41 +01:00
|
|
|
.jx-mask + .lightbox-attachment {
|
|
|
|
background: {$lightgreybackground};
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .attachment-name {
|
2016-11-22 20:25:51 +01:00
|
|
|
line-height: 32px;
|
|
|
|
font-size: {$biggerfontsize};
|
2012-10-23 04:06:56 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-status {
|
2016-11-12 16:37:16 +01:00
|
|
|
background: #fff;
|
2012-10-23 04:06:56 +02:00
|
|
|
position: fixed;
|
2016-11-12 16:37:16 +01:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 44px;
|
|
|
|
padding: 0 20px;
|
|
|
|
line-height: 44px;
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
2016-11-18 22:23:41 +01:00
|
|
|
color: {$greytext};
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.device-phone .lightbox-attachment .lightbox-status {
|
|
|
|
padding: 0 12px;
|
|
|
|
}
|
|
|
|
|
2012-10-23 04:06:56 +02:00
|
|
|
.lightbox-attachment .lightbox-status .lightbox-download {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.lightbox-attachment .lightbox-status-txt a {
|
2016-11-18 22:23:41 +01:00
|
|
|
color: #000;
|
2016-11-28 02:58:53 +01:00
|
|
|
margin-right: 12px;
|
2016-11-18 22:23:41 +01:00
|
|
|
font-size: {$biggerfontsize};
|
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.lightbox-attachment .lightbox-status .phui-icon-view {
|
|
|
|
height: 18px;
|
|
|
|
width: 24px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 23px;
|
|
|
|
display: block;
|
2016-11-18 22:23:41 +01:00
|
|
|
}
|
|
|
|
|
2012-10-23 04:06:56 +02:00
|
|
|
.lightbox-attachment .lightbox-status .lightbox-download
|
2016-11-12 16:37:16 +01:00
|
|
|
.lightbox-download-form {
|
|
|
|
display: inline;
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.lightbox-attachment a.lightbox-download,
|
|
|
|
.lightbox-attachment a.lightbox-comment,
|
|
|
|
.lightbox-attachment a.lightbox-close {
|
2016-11-18 22:23:41 +01:00
|
|
|
float: right;
|
|
|
|
margin: 9px 0 0 8px;
|
|
|
|
}
|
|
|
|
|
2016-11-29 20:58:42 +01:00
|
|
|
.lightbox-attachment.comment-panel-open .lightbox-comment.phui-icon-circle,
|
2016-11-18 22:23:41 +01:00
|
|
|
.lightbox-attachment.comment-panel-open .lightbox-comment .phui-icon-view {
|
|
|
|
color: {$sky};
|
2016-11-29 20:58:42 +01:00
|
|
|
border-color: {$sky};
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-left {
|
|
|
|
top: 46%;
|
2016-11-12 16:37:16 +01:00
|
|
|
left: 12px;
|
2012-10-23 04:06:56 +02:00
|
|
|
position: fixed;
|
|
|
|
display: block;
|
2016-11-12 16:37:16 +01:00
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-left .phui-icon-view {
|
|
|
|
font-size: 40px;
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
2016-11-12 16:37:16 +01:00
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-left:hover .phui-icon-view {
|
|
|
|
color: {$sky};
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|
|
|
|
|
2016-11-12 16:37:16 +01:00
|
|
|
.lightbox-attachment .lightbox-right .phui-icon-view {
|
2012-10-23 04:06:56 +02:00
|
|
|
top: 46%;
|
2016-11-12 16:37:16 +01:00
|
|
|
right: 12px;
|
2012-10-23 04:06:56 +02:00
|
|
|
position: fixed;
|
|
|
|
display: block;
|
|
|
|
height: 38px;
|
|
|
|
width: 21px;
|
|
|
|
}
|
2016-11-12 16:37:16 +01:00
|
|
|
|
2016-11-18 22:23:41 +01:00
|
|
|
.lightbox-attachment.comment-panel-open .lightbox-right .phui-icon-view {
|
2016-11-22 05:12:51 +01:00
|
|
|
right: 362px;
|
2016-11-18 22:23:41 +01:00
|
|
|
}
|
|
|
|
|
2016-11-12 16:37:16 +01:00
|
|
|
.lightbox-attachment .lightbox-right .phui-icon-view {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-attachment .lightbox-right:hover .phui-icon-view {
|
|
|
|
color: {$sky};
|
2012-10-23 04:06:56 +02:00
|
|
|
}
|