1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-15 17:21:10 +01:00

[Redesign] Update PHUIInfoView style, color

Summary: Tested various apps and fixed colors and spacing. Moved to shade standards for lighter feel.

Test Plan:
Legalpad, Maniphest, Differential, Form Errors, Broken Repository, anything I could find.

{F396168}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D12769
This commit is contained in:
Chad Little 2015-05-08 09:38:46 -07:00
parent 6b74c310eb
commit b39aa9162b
5 changed files with 27 additions and 39 deletions

View file

@ -7,7 +7,7 @@
*/ */
return array( return array(
'names' => array( 'names' => array(
'core.pkg.css' => 'c71b1a2e', 'core.pkg.css' => '8aed144e',
'core.pkg.js' => '60924527', 'core.pkg.js' => '60924527',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'bb338e4b', 'differential.pkg.css' => 'bb338e4b',
@ -130,16 +130,16 @@ return array(
'rsrc/css/phui/phui-crumbs-view.css' => 'aeff7a21', 'rsrc/css/phui/phui-crumbs-view.css' => 'aeff7a21',
'rsrc/css/phui/phui-document.css' => '7b564cf6', 'rsrc/css/phui/phui-document.css' => '7b564cf6',
'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5', 'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5',
'rsrc/css/phui/phui-fontkit.css' => 'dd8ddf27', 'rsrc/css/phui/phui-fontkit.css' => '1e71371a',
'rsrc/css/phui/phui-form-view.css' => 'ddec8479', 'rsrc/css/phui/phui-form-view.css' => 'ddec8479',
'rsrc/css/phui/phui-form.css' => 'f535f938', 'rsrc/css/phui/phui-form.css' => 'f535f938',
'rsrc/css/phui/phui-header-view.css' => 'a1d2905a', 'rsrc/css/phui/phui-header-view.css' => 'a1d2905a',
'rsrc/css/phui/phui-icon.css' => 'bc766998', 'rsrc/css/phui/phui-icon.css' => 'bc766998',
'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8', 'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8',
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
'rsrc/css/phui/phui-info-view.css' => '13c10a8e', 'rsrc/css/phui/phui-info-view.css' => '33595731',
'rsrc/css/phui/phui-list.css' => '2e25ebfb', 'rsrc/css/phui/phui-list.css' => '2e25ebfb',
'rsrc/css/phui/phui-object-box.css' => '2d3b3b42', 'rsrc/css/phui/phui-object-box.css' => '3a601bc5',
'rsrc/css/phui/phui-object-item-list-view.css' => '172ea456', 'rsrc/css/phui/phui-object-item-list-view.css' => '172ea456',
'rsrc/css/phui/phui-pinboard-view.css' => 'eaab2b1b', 'rsrc/css/phui/phui-pinboard-view.css' => 'eaab2b1b',
'rsrc/css/phui/phui-property-list-view.css' => 'd2d143ea', 'rsrc/css/phui/phui-property-list-view.css' => 'd2d143ea',
@ -778,17 +778,17 @@ return array(
'phui-document-view-css' => '7b564cf6', 'phui-document-view-css' => '7b564cf6',
'phui-feed-story-css' => 'c9f3a0b5', 'phui-feed-story-css' => 'c9f3a0b5',
'phui-font-icon-base-css' => '3dad2ae3', 'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => 'dd8ddf27', 'phui-fontkit-css' => '1e71371a',
'phui-form-css' => 'f535f938', 'phui-form-css' => 'f535f938',
'phui-form-view-css' => 'ddec8479', 'phui-form-view-css' => 'ddec8479',
'phui-header-view-css' => 'a1d2905a', 'phui-header-view-css' => 'a1d2905a',
'phui-icon-view-css' => 'bc766998', 'phui-icon-view-css' => 'bc766998',
'phui-image-mask-css' => '5a8b09c8', 'phui-image-mask-css' => '5a8b09c8',
'phui-info-panel-css' => '27ea50a1', 'phui-info-panel-css' => '27ea50a1',
'phui-info-view-css' => '13c10a8e', 'phui-info-view-css' => '33595731',
'phui-inline-comment-view-css' => '2174771a', 'phui-inline-comment-view-css' => '2174771a',
'phui-list-view-css' => '2e25ebfb', 'phui-list-view-css' => '2e25ebfb',
'phui-object-box-css' => '2d3b3b42', 'phui-object-box-css' => '3a601bc5',
'phui-object-item-list-view-css' => '172ea456', 'phui-object-item-list-view-css' => '172ea456',
'phui-pinboard-view-css' => 'eaab2b1b', 'phui-pinboard-view-css' => 'eaab2b1b',
'phui-property-list-view-css' => 'd2d143ea', 'phui-property-list-view-css' => 'd2d143ea',

View file

@ -350,10 +350,6 @@ final class ManiphestTaskDetailController extends ManiphestController {
->setHeader($header) ->setHeader($header)
->addPropertyList($properties); ->addPropertyList($properties);
if ($info_view) {
$object_box->setInfoView($info_view);
}
if ($description) { if ($description) {
$object_box->addPropertyList($description); $object_box->addPropertyList($description);
} }
@ -361,6 +357,7 @@ final class ManiphestTaskDetailController extends ManiphestController {
return $this->buildApplicationPage( return $this->buildApplicationPage(
array( array(
$crumbs, $crumbs,
$info_view,
$object_box, $object_box,
$timeline, $timeline,
$comment_box, $comment_box,

View file

@ -66,10 +66,13 @@
.diviner-view .phui-font-source-sans .phui-property-list-section, .diviner-view .phui-font-source-sans .phui-property-list-section,
.legalpad .phui-font-source-sans .phui-property-list-section { .legalpad .phui-font-source-sans .phui-property-list-section {
border-bottom: 1px solid {$thinblueborder}; border-bottom: 1px solid {$thinblueborder};
margin-bottom: 8px;
background: {$lightgreybackground}; background: {$lightgreybackground};
} }
.legalpad .phui-font-source-sans .phui-property-list-section-header {
padding: 16px 4px 0 16px;
}
.phui-font-source-sans .phui-property-list-text-content { .phui-font-source-sans .phui-property-list-text-content {
background: {$lightgreybackground}; background: {$lightgreybackground};
padding: 0; padding: 0;

View file

@ -55,32 +55,32 @@ h1.phui-info-view-head {
.phui-info-severity-error, .phui-info-severity-error,
.phui-info-severity-error a.button { .phui-info-severity-error a.button {
border-color: {$red}; border-color: {$sh-redborder};
background: {$lightred}; background: {$sh-redbackground};
} }
.phui-info-severity-error a.button { .phui-info-severity-error a.button {
color: {$red}; color: {$sh-redtext};
} }
.phui-info-severity-warning, .phui-info-severity-warning,
.phui-info-severity-warning a.button { .phui-info-severity-warning a.button {
border-color: {$yellow}; border-color: {$sh-yellowborder};
background: {$lightyellow}; background: {$sh-yellowbackground};
} }
.phui-info-severity-warning a.button { .phui-info-severity-warning a.button {
color: #bc7837; color: {$sh-yellowtext};
} }
.phui-info-severity-notice, .phui-info-severity-notice,
.phui-info-severity-notice a.button { .phui-info-severity-notice a.button {
border-color: {$blue}; border-color: {$sh-blueborder};
background: {$lightblue}; background: {$sh-bluebackground};
} }
.phui-info-severity-notice a.button { .phui-info-severity-notice a.button {
color: {$blue}; color: {$sh-bluetext};
} }
.phui-info-severity-nodata, .phui-info-severity-nodata,
@ -95,34 +95,24 @@ h1.phui-info-view-head {
.phui-info-severity-success, .phui-info-severity-success,
.phui-info-severity-success a.button { .phui-info-severity-success a.button {
border-color: {$green}; border-color: {$sh-greenborder};
background: {$lightgreen}; background: {$sh-greenbackground};
} }
.phui-info-severity-success a.button { .phui-info-severity-success a.button {
color: {$green}; color: {$sh-greentext};
} }
.legalpad .phui-info-view { .legalpad .phui-info-view {
margin: 0; margin: 0;
border-width: 0 0 1px 0; border-radius: 0;
border-bottom: 1px solid {$lightblueborder}; border-width: 0;
} }
.aphront-dialog-body .phui-info-view { .aphront-dialog-body .phui-info-view {
margin: 0 0 8px 0; margin: 0 0 8px 0;
} }
.aphront-dialog-body .phui-info-view .phui-info-view-list {
margin: 0 0 0 16px;
list-style: disc;
}
.phui-object-box .phui-info-severity-warning,
.aphront-dialog-body .phui-info-severity-warning {
color: #bc7837;
}
.phui-crumbs-view + .phui-info-view { .phui-crumbs-view + .phui-info-view {
margin-top: 0; margin-top: 0;
} }

View file

@ -27,9 +27,7 @@ div.phui-object-box.phui-object-box-flush {
} }
.phui-object-box .phui-header-shell + .phui-info-view { .phui-object-box .phui-header-shell + .phui-info-view {
margin: 0; margin: 12px 0 0 0;
border-width: 0;
border-bottom: 1px solid {$lightblueborder};
} }
.device-phone .phui-object-box { .device-phone .phui-object-box {