From c88385fa22a40e159e2c339f6bea7923664868b4 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 22 May 2014 12:04:11 -0700 Subject: [PATCH] Tweak mobile action css, add to people Summary: Makes the mobile action menu a little nicer, adds it to /people/ Test Plan: Test myself on my install, mobile and desktop. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9259 --- resources/celerity/map.php | 10 +++++----- .../controller/PhabricatorPeopleProfileController.php | 1 + .../rsrc/css/layout/phabricator-action-list-view.css | 6 ++++++ webroot/rsrc/css/phui/phui-property-list-view.css | 1 + 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index be914986d5..3c51b869d9 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ return array( 'names' => array( - 'core.pkg.css' => '48a77b2a', + 'core.pkg.css' => 'f936c63f', 'core.pkg.js' => 'e01fd8e2', 'darkconsole.pkg.js' => 'ca8671ce', 'differential.pkg.css' => 'fbf57382', @@ -114,7 +114,7 @@ return array( 'rsrc/css/font/font-source-sans-pro.css' => '91d53463', 'rsrc/css/font/phui-font-icon-base.css' => '3b2f9260', 'rsrc/css/layout/phabricator-action-header-view.css' => '40134802', - 'rsrc/css/layout/phabricator-action-list-view.css' => 'dcd9875f', + 'rsrc/css/layout/phabricator-action-list-view.css' => '020d6dab', 'rsrc/css/layout/phabricator-crumbs-view.css' => '6a23399c', 'rsrc/css/layout/phabricator-filetree-view.css' => 'a8c86ace', 'rsrc/css/layout/phabricator-hovercard-view.css' => '46a13cf0', @@ -138,7 +138,7 @@ return array( 'rsrc/css/phui/phui-object-box.css' => 'ce92d8ec', 'rsrc/css/phui/phui-object-item-list-view.css' => '64b6b266', 'rsrc/css/phui/phui-pinboard-view.css' => '874c22f9', - 'rsrc/css/phui/phui-property-list-view.css' => '37a1a369', + 'rsrc/css/phui/phui-property-list-view.css' => '2f7199e8', 'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b', 'rsrc/css/phui/phui-spacing.css' => '042804d6', 'rsrc/css/phui/phui-status.css' => '2f562399', @@ -688,7 +688,7 @@ return array( 'path-typeahead' => 'f7fc67ec', 'people-profile-css' => 'ba7b2762', 'phabricator-action-header-view-css' => '40134802', - 'phabricator-action-list-view-css' => 'dcd9875f', + 'phabricator-action-list-view-css' => '020d6dab', 'phabricator-application-launch-view-css' => 'd290ba21', 'phabricator-busy' => '6453c869', 'phabricator-chatlog-css' => '852140ff', @@ -769,7 +769,7 @@ return array( 'phui-object-box-css' => 'ce92d8ec', 'phui-object-item-list-view-css' => '64b6b266', 'phui-pinboard-view-css' => '874c22f9', - 'phui-property-list-view-css' => '37a1a369', + 'phui-property-list-view-css' => '2f7199e8', 'phui-remarkup-preview-css' => '19ad512b', 'phui-spacing-css' => '042804d6', 'phui-status-list-view-css' => '2f562399', diff --git a/src/applications/people/controller/PhabricatorPeopleProfileController.php b/src/applications/people/controller/PhabricatorPeopleProfileController.php index 7bb4279f98..9dad1ee80d 100644 --- a/src/applications/people/controller/PhabricatorPeopleProfileController.php +++ b/src/applications/people/controller/PhabricatorPeopleProfileController.php @@ -131,6 +131,7 @@ final class PhabricatorPeopleProfileController $crumbs = $this->buildApplicationCrumbs(); $crumbs->addTextCrumb($user->getUsername()); + $crumbs->setActionList($actions); $feed = $this->renderUserFeed($user); $calendar = $this->renderUserCalendar($user); $activity = phutil_tag( diff --git a/webroot/rsrc/css/layout/phabricator-action-list-view.css b/webroot/rsrc/css/layout/phabricator-action-list-view.css index 2a5db9bc6f..2ffb682a62 100644 --- a/webroot/rsrc/css/layout/phabricator-action-list-view.css +++ b/webroot/rsrc/css/layout/phabricator-action-list-view.css @@ -27,6 +27,12 @@ line-height: 22px; padding-bottom: 4px; border-bottom: 1px solid {$thinblueborder}; + padding-left: 30px; +} + +.device .phui-property-list-actions .phabricator-action-view .phui-icon-view { + font-size: 14px; + line-height: 18px; } .phabricator-action-view { diff --git a/webroot/rsrc/css/phui/phui-property-list-view.css b/webroot/rsrc/css/phui/phui-property-list-view.css index 5795e975a6..03b2ed89f9 100644 --- a/webroot/rsrc/css/phui/phui-property-list-view.css +++ b/webroot/rsrc/css/phui/phui-property-list-view.css @@ -171,6 +171,7 @@ float: none; width: auto; margin: -12px 0 12px 0; + border: none; } .phui-property-list-image-content img {