diff --git a/resources/celerity/map.php b/resources/celerity/map.php index dc018326bf..e41220b8b5 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -9,7 +9,7 @@ return array( 'names' => array( 'conpherence.pkg.css' => 'e68cf1fa', 'conpherence.pkg.js' => '15191c65', - 'core.pkg.css' => 'c30f6eaa', + 'core.pkg.css' => 'cb8ae4dc', 'core.pkg.js' => 'e1f0f7bd', 'differential.pkg.css' => '06dc617c', 'differential.pkg.js' => 'c2ca903a', @@ -131,7 +131,7 @@ return array( 'rsrc/css/phui/object-item/phui-oi-color.css' => 'cd2b9b77', 'rsrc/css/phui/object-item/phui-oi-drag-ui.css' => '08f4ccc3', 'rsrc/css/phui/object-item/phui-oi-flush-ui.css' => '9d9685d6', - 'rsrc/css/phui/object-item/phui-oi-list-view.css' => 'ae1404ba', + 'rsrc/css/phui/object-item/phui-oi-list-view.css' => '7c5c1291', 'rsrc/css/phui/object-item/phui-oi-simple-ui.css' => 'a8beebea', 'rsrc/css/phui/phui-action-list.css' => '0bcd9a45', 'rsrc/css/phui/phui-action-panel.css' => 'b4798122', @@ -838,7 +838,7 @@ return array( 'phui-oi-color-css' => 'cd2b9b77', 'phui-oi-drag-ui-css' => '08f4ccc3', 'phui-oi-flush-ui-css' => '9d9685d6', - 'phui-oi-list-view-css' => 'ae1404ba', + 'phui-oi-list-view-css' => '7c5c1291', 'phui-oi-simple-ui-css' => 'a8beebea', 'phui-pager-css' => 'edcbc226', 'phui-pinboard-view-css' => '2495140e', diff --git a/src/applications/differential/view/DifferentialRevisionListView.php b/src/applications/differential/view/DifferentialRevisionListView.php index 4c69d76274..e53bccb892 100644 --- a/src/applications/differential/view/DifferentialRevisionListView.php +++ b/src/applications/differential/view/DifferentialRevisionListView.php @@ -229,22 +229,30 @@ final class DifferentialRevisionListView extends AphrontView { $classes = array(); $classes[] = 'differential-revision-size'; + $tip = array(); + $tip[] = pht('%s Lines', new PhutilNumber($n)); + if ($plus_count <= 1) { $classes[] = 'differential-revision-small'; + $tip[] = pht('Smaller Change'); } if ($plus_count >= 4) { $classes[] = 'differential-revision-large'; + $tip[] = pht('Larger Change'); } + $tip = phutil_implode_html(" \xC2\xB7 ", $tip); + return javelin_tag( 'span', array( 'class' => implode(' ', $classes), 'sigil' => 'has-tooltip', 'meta' => array( - 'tip' => pht('%s Lines', new PhutilNumber($n)), + 'tip' => $tip, 'align' => 'E', + 'size' => 400, ), ), $size); diff --git a/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css b/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css index 9436d171df..6f2421ca2f 100644 --- a/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css +++ b/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css @@ -697,22 +697,26 @@ ul.phui-oi-list-view .phui-oi-selectable .differential-revision-size .phui-icon-view { margin: 0 1px 0 1px; - font-size: smaller; - color: {$blueborder}; + font-size: 7px; + position: relative; + top: -2px; + color: {$lightbluetext}; } .differential-revision-large { - background: {$sh-redbackground}; + background: {$sh-orangebackground}; } +/* NOTE: These are intentionally using nonstandard colors, see T13127. */ + .differential-revision-large .phui-icon-view { - color: {$red}; + color: #e5ae7e; } .differential-revision-small { - background: {$sh-greenbackground}; + background: #f2f7ff; } .differential-revision-small .phui-icon-view { - color: {$green}; + color: #6699ba; }