1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42: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:
epriestley 2011-02-09 11:38:38 -08:00
parent 616c22eae2
commit b500105a56
3 changed files with 27 additions and 7 deletions

View file

@ -208,7 +208,7 @@ celerity_register_resource_map(array(
),
'maniphest-transaction-detail-css' =>
array(
'uri' => '/res/436b83d7/rsrc/css/application/maniphest/transaction-detail.css',
'uri' => '/res/443acf25/rsrc/css/application/maniphest/transaction-detail.css',
'type' => 'css',
'requires' =>
array(

View file

@ -91,6 +91,15 @@ class ManiphestTransactionDetailView extends AphrontView {
$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(
'div',
array(
@ -109,9 +118,7 @@ class ManiphestTransactionDetailView extends AphrontView {
$punc.
'</strong>'.
'</div>'.
'<div class="maniphest-transaction-comments">'.
$comments.
'</div>'.
$comment_block.
'</div>');
}

View file

@ -8,11 +8,15 @@
min-height: 50px;
}
.maniphest-transaction-header {
background: #e0e0e0;
padding: 4px 1em;
}
.maniphest-transaction-detail-view {
margin-left: 54px;
padding: 4px 1em;
border: 1px solid #dddddd;
background: #f6f6f6;
border: 1px solid #bbbbbb;
border-width: 1px 0 0;
min-height: 40px;
}
@ -21,3 +25,12 @@
font-size: 11px;
color: #666666;
}
.maniphest-transaction-comments {
padding: 4px 1em;
background: #f3f3f3;
}
.maniphest-transaction-comments p {
margin: .25em 0 .5em;
}