mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 04:32:43 +01:00
e0cc277d5f
Summary: See D3795 / D3797. Also made the mask darker. Test Plan: Mask now sizes properly on window resize in all browsers / mask uses. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3798
104 lines
2.1 KiB
CSS
104 lines
2.1 KiB
CSS
/**
|
|
* @provides lightbox-attachment-css
|
|
*/
|
|
|
|
.lightbox-attached {
|
|
height: 100%;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.lightbox-attachment {
|
|
position: fixed;
|
|
top: 44px;
|
|
left: 0;
|
|
z-index: 12;
|
|
width: 100%;
|
|
}
|
|
|
|
.lightbox-attachment img {
|
|
margin: 12px auto 0px auto;
|
|
}
|
|
|
|
.lightbox-attachment .loading {
|
|
position: absolute;
|
|
top: -9999px;
|
|
}
|
|
|
|
.lightbox-attachment .attachment-name {
|
|
width: 100%;
|
|
color: #F2F2F2;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-status {
|
|
background: #010101;
|
|
color: #F2F2F2;
|
|
line-height: 30px;
|
|
position: fixed;
|
|
bottom: 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-status .lightbox-status-txt {
|
|
padding: 0px 0px 0px 20px;
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-status .lightbox-download {
|
|
padding: 0px 20px 0px 0px;
|
|
float: right;
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-status .lightbox-download
|
|
.lightbox-download-form {
|
|
display: inline;
|
|
}
|
|
.lightbox-attachment .lightbox-status .lightbox-download
|
|
.lightbox-download-form button {
|
|
border: 0;
|
|
background: #010101;
|
|
}
|
|
.lightbox-attachment .lightbox-status .lightbox-download
|
|
.lightbox-download-form button:hover {
|
|
background: #333;
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-close {
|
|
top: 22px;
|
|
right: 20px;
|
|
position: fixed;
|
|
display: block;
|
|
height: 26px;
|
|
width: 26px;
|
|
background: url('/rsrc/image/icon/lightbox/close-2.png');
|
|
}
|
|
.lightbox-attachment .lightbox-close:hover {
|
|
background: url('/rsrc/image/icon/lightbox/close-hover-2.png');
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-left {
|
|
top: 46%;
|
|
left: 20px;
|
|
position: fixed;
|
|
display: block;
|
|
height: 38px;
|
|
width: 21px;
|
|
background: url('/rsrc/image/icon/lightbox/left-arrow-2.png');
|
|
}
|
|
.lightbox-attachment .lightbox-left:hover {
|
|
background: url('/rsrc/image/icon/lightbox/left-arrow-hover-2.png');
|
|
}
|
|
|
|
.lightbox-attachment .lightbox-right {
|
|
top: 46%;
|
|
right: 20px;
|
|
position: fixed;
|
|
display: block;
|
|
height: 38px;
|
|
width: 21px;
|
|
background: url('/rsrc/image/icon/lightbox/right-arrow-2.png');
|
|
}
|
|
.lightbox-attachment .lightbox-right:hover {
|
|
background: url('/rsrc/image/icon/lightbox/right-arrow-hover-2.png');
|
|
}
|
|
|