mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 20:22:46 +01:00
26dd2a0eef
Summary: Allows you to edit or delete comments in appplications which support ApplicationTransactions. UI/UX stuff: - The dialogs are rough but I want to do a dialog design pass more generally, @chad has some mocks. - When you add new mentions via edit, they don't currently count as mentions. I'm not sure what I want to do about this. - When you edit or delete a comment, we do not publish any notifications about it. I think this is reasonable. - I didn't separate "delete" out versus "edit"; I assume it will be reasonably intuitive that deleting all the text deletes effectively deletes the comment. I also want to discourage deletion somewhat (we still show the transaction, just show that the comment has been deleted). Test Plan: Transaction view, note "Edit" and "Edited" links: {F26914} Edit view, has some design issues but I want to do a pass on dialogs in general: {F26915} History view: {F26913} Reviewers: vrana, btrahan, chad Reviewed By: vrana CC: aran Maniphest Tasks: T1082 Differential Revision: https://secure.phabricator.com/D4149
108 lines
2.1 KiB
CSS
108 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;
|
|
z-index: 12;
|
|
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');
|
|
}
|
|
|