mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Maniphest styling pass
Summary: Makes maniphest slightly less gross looking Test Plan: Looked at it Reviewers: tomo CC: Differential Revision: 26
This commit is contained in:
parent
616c22eae2
commit
b500105a56
3 changed files with 27 additions and 7 deletions
|
@ -208,7 +208,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'maniphest-transaction-detail-css' =>
|
'maniphest-transaction-detail-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/436b83d7/rsrc/css/application/maniphest/transaction-detail.css',
|
'uri' => '/res/443acf25/rsrc/css/application/maniphest/transaction-detail.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -91,6 +91,15 @@ class ManiphestTransactionDetailView extends AphrontView {
|
||||||
$punc = '.';
|
$punc = '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strlen(trim($transaction->getComments()))) {
|
||||||
|
$comment_block =
|
||||||
|
'<div class="maniphest-transaction-comments phabricator-remarkup">'.
|
||||||
|
$comments.
|
||||||
|
'</div>';
|
||||||
|
} else {
|
||||||
|
$comment_block = null;
|
||||||
|
}
|
||||||
|
|
||||||
return phutil_render_tag(
|
return phutil_render_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
|
@ -109,9 +118,7 @@ class ManiphestTransactionDetailView extends AphrontView {
|
||||||
$punc.
|
$punc.
|
||||||
'</strong>'.
|
'</strong>'.
|
||||||
'</div>'.
|
'</div>'.
|
||||||
'<div class="maniphest-transaction-comments">'.
|
$comment_block.
|
||||||
$comments.
|
|
||||||
'</div>'.
|
|
||||||
'</div>');
|
'</div>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,15 @@
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.maniphest-transaction-header {
|
||||||
|
background: #e0e0e0;
|
||||||
|
padding: 4px 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.maniphest-transaction-detail-view {
|
.maniphest-transaction-detail-view {
|
||||||
margin-left: 54px;
|
margin-left: 54px;
|
||||||
padding: 4px 1em;
|
border: 1px solid #bbbbbb;
|
||||||
border: 1px solid #dddddd;
|
border-width: 1px 0 0;
|
||||||
background: #f6f6f6;
|
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,3 +25,12 @@
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.maniphest-transaction-comments {
|
||||||
|
padding: 4px 1em;
|
||||||
|
background: #f3f3f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.maniphest-transaction-comments p {
|
||||||
|
margin: .25em 0 .5em;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue