mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-24 07:42:40 +01:00
923dc42e1a
Summary: We have enough z-index rules that they're fairly hard to visualize with "git grep". Consolidate them. Then fix T2253 (missing z-index on left menu background). Test Plan: Made a Differential window really narrow, then scrolled it horizontally. Reviewers: btrahan, chad, ender Reviewed By: chad CC: aran Maniphest Tasks: T2253 Differential Revision: https://secure.phabricator.com/D4302
107 lines
2.1 KiB
CSS
107 lines
2.1 KiB
CSS
/**
|
|
* @provides lightbox-attachment-css
|
|
*/
|
|
|
|
|
|
.lightbox-attached {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.lightbox-attachment {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.lightbox-attachment img {
|
|
margin: 3% auto 0;
|
|
max-height: 90%;
|
|
max-width: 90%;
|
|
}
|
|
|
|
.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');
|
|
}
|
|
|