[Redesign] Normalize header policy and object tags

Summary: Ref T8099, This adds a consistent background color to object and policy tags, and highlights them when they deviate from the normal. Still likely worth revamping 'closed' and 'review' state colors.

Test Plan: Review lots of diffs and tasks.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D13399
This commit is contained in:
Chad Little
2015-06-23 12:03:46 +01:00
parent 1ccdb941b9
commit d27b3146d2
4 changed files with 16 additions and 26 deletions

View File

@@ -68,7 +68,7 @@ final class DifferentialRevisionStatus extends Phobject {
$tag = phutil_tag(
'span',
array(
'class' => 'phui-header-'.$color.' plr',
'class' => 'phui-header-status phui-header-'.$color,
),
array(
$img,

View File

@@ -110,7 +110,7 @@ final class PHUIHeaderView extends AphrontTagView {
$tag = phutil_tag(
'span',
array(
'class' => "{$header_class} plr",
'class' => "phui-header-status {$header_class}",
),
array(
$img,