[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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user