mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
e0b9a63388
Summary: all sorts of stuff - made comment form width flexible - made margins element specific rather than part of differential-primary-pane - made box elements all veritically align left and right until code stuff - re-factored width calculaton stuff a bunch so only the code section has to suffer from max-width calculations; everything else can flex - made colspan 3 for rightmost table header element. this is so the "View Options" UI element ends up lining up correctly with the "Show All Lines" element just below Test Plan: looked at revision view and changeset view and it all looked hot. note I did not test what things looked like with different word wrap values; that should still work given the re-factoring and not re-design here. also toggled haunted panel mode and it looked good. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2006 Differential Revision: https://secure.phabricator.com/D3866
104 lines
2.3 KiB
CSS
104 lines
2.3 KiB
CSS
/**
|
|
* @provides differential-revision-comment-css
|
|
*/
|
|
|
|
.differential-comment-list {
|
|
margin: 0 2em 0 2em;
|
|
}
|
|
|
|
/* Spooky haunted panel which floats on the bottom of the screen.
|
|
Haunt modes are:
|
|
|
|
- Mode 1: Just the comment box.
|
|
- Mode 2: Comment box, comment preview, and inline comment previews.
|
|
*/
|
|
.differential-haunt-mode-1 .differential-add-comment-panel,
|
|
.differential-haunt-mode-2 .differential-add-comment-panel {
|
|
position: fixed;
|
|
width: 100%;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 8;
|
|
overflow: auto;
|
|
max-height: 375px;
|
|
|
|
box-shadow: 0 0 4px #000;
|
|
-webkit-box-shadow: 0 0 4px #000;
|
|
-moz-box-shadow: 0 0 4px #000;
|
|
}
|
|
|
|
.differential-haunt-mode-2 .differential-add-comment-panel {
|
|
max-height: 75%;
|
|
}
|
|
|
|
.differential-haunt-mode-1 .differential-add-comment-panel h1,
|
|
.differential-haunt-mode-2 .differential-add-comment-panel h1 {
|
|
display: none;
|
|
}
|
|
|
|
.differential-haunt-mode-1 .aphront-panel-preview {
|
|
display: none;
|
|
}
|
|
|
|
.differential-haunt-mode-1 {
|
|
padding-bottom: 250px;
|
|
}
|
|
|
|
.differential-comment-list .anchor-target {
|
|
background-color: #ffffdd;
|
|
border-color: #ffff00;
|
|
}
|
|
|
|
.differential-inline-comment-content {
|
|
overflow: auto;
|
|
}
|
|
|
|
.differential-comment-core .phabricator-remarkup .remarkup-code-block {
|
|
width: 88ex;
|
|
width: 81ch;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-testplan {
|
|
border-color: #660099;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-abandon {
|
|
border-color: #222222;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-accept {
|
|
border-color: #009966;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-reject {
|
|
border-color: #aa0000;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-rethink {
|
|
border-color: #aa0000;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-commit {
|
|
border-color: #006699;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-reclaim {
|
|
border-color: #0099aa;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-update {
|
|
border-color: #6699cc;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-add_reviewers {
|
|
border-color: #aa99cc;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-request_review {
|
|
border-color: #cc9966;
|
|
}
|
|
|
|
.phabricator-transaction-view .differential-comment-action-claim {
|
|
border-color: #ffdd33;
|
|
}
|