1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

[Redesign] Clean up timeline images

Summary: Ref T8099, Timeline images should be 28 and 50, I previously had a border adding the additonal size, but changed that to an inset shadow.

Test Plan: Staring. Intensifies.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D13368
This commit is contained in:
Chad Little 2015-06-21 10:23:44 +01:00
parent 803c65663d
commit 7787c50da9
3 changed files with 18 additions and 15 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => '173fc33c',
'core.pkg.css' => '604293a7',
'core.pkg.js' => 'f1e8abd7',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'fe951924',
@ -150,7 +150,7 @@ return array(
'rsrc/css/phui/phui-status.css' => '888cedb8',
'rsrc/css/phui/phui-tag-view.css' => '402691cc',
'rsrc/css/phui/phui-text.css' => 'cf019f54',
'rsrc/css/phui/phui-timeline-view.css' => '2d181f3f',
'rsrc/css/phui/phui-timeline-view.css' => '47b18876',
'rsrc/css/phui/phui-workboard-view.css' => '0cac51a4',
'rsrc/css/phui/phui-workpanel-view.css' => '4bdc2562',
'rsrc/css/sprite-login.css' => 'a3526809',
@ -793,7 +793,7 @@ return array(
'phui-tag-view-css' => '402691cc',
'phui-text-css' => 'cf019f54',
'phui-theme-css' => 'd4a49411',
'phui-timeline-view-css' => '2d181f3f',
'phui-timeline-view-css' => '47b18876',
'phui-workboard-view-css' => '0cac51a4',
'phui-workpanel-view-css' => '4bdc2562',
'phuix-action-list-view' => 'b5c256b8',

View file

@ -354,13 +354,16 @@ final class PHUITimelineEventView extends AphrontView {
),
'');
$image = phutil_tag(
'div',
array(
'style' => 'background-image: url('.$image_uri.')',
'class' => 'phui-timeline-image',
),
'');
$image = null;
if ($image_uri) {
$image = phutil_tag(
'div',
array(
'style' => 'background-image: url('.$image_uri.')',
'class' => 'phui-timeline-image',
),
'');
}
$content_classes = array();
$content_classes[] = 'phui-timeline-content';

View file

@ -105,16 +105,16 @@
}
.device-desktop .phui-timeline-major-event .phui-timeline-image {
width: 48px;
height: 48px;
width: 50px;
height: 50px;
top: 0px;
left: -62px;
}
.device-desktop .phui-timeline-minor-event .phui-timeline-image {
width: 26px;
height: 26px;
background-size: 26px auto;
width: 28px;
height: 28px;
background-size: 28px auto;
left: -41px;
}