Remove pro-white-background, re-style PHUIDocumentViewPro

Summary: This makes document views a little more automatic, and a little more style to the page. The Document itself remains on a pure white centered background, but footer and preceeding objects go back to the original body color. This provides a bit more depth and separation over content and definitions/comments.

Test Plan:
Tested Phriction, Diviner, Legalpad, Phame, Email Commands, HTTP Commands, with and without a footer.

{F1005853}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14582
This commit is contained in:
Chad Little
2015-11-27 20:40:02 -08:00
parent d880346b64
commit a6e24cb2be
13 changed files with 51 additions and 71 deletions

View File

@@ -216,7 +216,6 @@ final class PhrictionDocumentController
$page_content = id(new PHUIDocumentViewPro())
->setHeader($header)
->setPropertyList($prop_list)
->setToc($toc)
->appendChild(
array(
@@ -229,12 +228,12 @@ final class PhrictionDocumentController
array(
$crumbs->render(),
$page_content,
$prop_list,
$children,
),
array(
'pageObjects' => array($document->getPHID()),
'title' => $page_title,
'class' => 'pro-white-background',
));
}