From ac868f56dbdd702aa4de67f7d0d472991d119c8b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 8 Oct 2013 14:35:56 -0700 Subject: [PATCH] Maniphest mobile CSS tweaks Summary: Fixes a few minor quirks when viewing maniphest on mobile. Test Plan: shrink maniphest screen, easier to read. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7270 --- src/__celerity_resource_map__.php | 92 +++++++++---------- .../css/phui/phui-object-item-list-view.css | 6 +- 2 files changed, 51 insertions(+), 47 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index b85438c293..f9faf54a7a 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -3814,7 +3814,7 @@ celerity_register_resource_map(array( ), 'phui-object-item-list-view-css' => array( - 'uri' => '/res/71f7f081/rsrc/css/phui/phui-object-item-list-view.css', + 'uri' => '/res/c3a0ea74/rsrc/css/phui/phui-object-item-list-view.css', 'type' => 'css', 'requires' => array( @@ -4184,7 +4184,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - 93500898 => + '7cd2ded3' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -4233,7 +4233,7 @@ celerity_register_resource_map(array( 41 => 'phabricator-tag-view-css', 42 => 'phui-list-view-css', ), - 'uri' => '/res/pkg/93500898/core.pkg.css', + 'uri' => '/res/pkg/7cd2ded3/core.pkg.css', 'type' => 'css', ), '64eeda79' => @@ -4425,15 +4425,15 @@ celerity_register_resource_map(array( ), 'reverse' => array( - 'aphront-dialog-view-css' => '93500898', - 'aphront-error-view-css' => '93500898', - 'aphront-list-filter-view-css' => '93500898', - 'aphront-pager-view-css' => '93500898', - 'aphront-panel-view-css' => '93500898', - 'aphront-table-view-css' => '93500898', - 'aphront-tokenizer-control-css' => '93500898', - 'aphront-tooltip-css' => '93500898', - 'aphront-typeahead-control-css' => '93500898', + 'aphront-dialog-view-css' => '7cd2ded3', + 'aphront-error-view-css' => '7cd2ded3', + 'aphront-list-filter-view-css' => '7cd2ded3', + 'aphront-pager-view-css' => '7cd2ded3', + 'aphront-panel-view-css' => '7cd2ded3', + 'aphront-table-view-css' => '7cd2ded3', + 'aphront-tokenizer-control-css' => '7cd2ded3', + 'aphront-tooltip-css' => '7cd2ded3', + 'aphront-typeahead-control-css' => '7cd2ded3', 'differential-changeset-view-css' => '4dc2311c', 'differential-core-view-css' => '4dc2311c', 'differential-inline-comment-editor' => '5e9e5c4e', @@ -4447,7 +4447,7 @@ celerity_register_resource_map(array( 'differential-table-of-contents-css' => '4dc2311c', 'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88', - 'global-drag-and-drop-css' => '93500898', + 'global-drag-and-drop-css' => '7cd2ded3', 'inline-comment-summary-css' => '4dc2311c', 'javelin-aphlict' => '64eeda79', 'javelin-behavior' => '9564fa17', @@ -4522,56 +4522,56 @@ celerity_register_resource_map(array( 'javelin-util' => '9564fa17', 'javelin-vector' => '9564fa17', 'javelin-workflow' => '9564fa17', - 'lightbox-attachment-css' => '93500898', + 'lightbox-attachment-css' => '7cd2ded3', 'maniphest-task-summary-css' => '49898640', - 'phabricator-action-list-view-css' => '93500898', - 'phabricator-application-launch-view-css' => '93500898', + 'phabricator-action-list-view-css' => '7cd2ded3', + 'phabricator-application-launch-view-css' => '7cd2ded3', 'phabricator-busy' => '64eeda79', 'phabricator-content-source-view-css' => '4dc2311c', - 'phabricator-core-css' => '93500898', - 'phabricator-crumbs-view-css' => '93500898', + 'phabricator-core-css' => '7cd2ded3', + 'phabricator-crumbs-view-css' => '7cd2ded3', 'phabricator-drag-and-drop-file-upload' => '5e9e5c4e', 'phabricator-dropdown-menu' => '64eeda79', 'phabricator-file-upload' => '64eeda79', - 'phabricator-filetree-view-css' => '93500898', - 'phabricator-flag-css' => '93500898', + 'phabricator-filetree-view-css' => '7cd2ded3', + 'phabricator-flag-css' => '7cd2ded3', 'phabricator-hovercard' => '64eeda79', - 'phabricator-jump-nav' => '93500898', + 'phabricator-jump-nav' => '7cd2ded3', 'phabricator-keyboard-shortcut' => '64eeda79', 'phabricator-keyboard-shortcut-manager' => '64eeda79', - 'phabricator-main-menu-view' => '93500898', + 'phabricator-main-menu-view' => '7cd2ded3', 'phabricator-menu-item' => '64eeda79', - 'phabricator-nav-view-css' => '93500898', + 'phabricator-nav-view-css' => '7cd2ded3', 'phabricator-notification' => '64eeda79', - 'phabricator-notification-css' => '93500898', - 'phabricator-notification-menu-css' => '93500898', + 'phabricator-notification-css' => '7cd2ded3', + 'phabricator-notification-menu-css' => '7cd2ded3', 'phabricator-object-selector-css' => '4dc2311c', 'phabricator-phtize' => '64eeda79', 'phabricator-prefab' => '64eeda79', 'phabricator-project-tag-css' => '49898640', - 'phabricator-property-list-view-css' => '93500898', - 'phabricator-remarkup-css' => '93500898', + 'phabricator-property-list-view-css' => '7cd2ded3', + 'phabricator-remarkup-css' => '7cd2ded3', 'phabricator-shaped-request' => '5e9e5c4e', - 'phabricator-side-menu-view-css' => '93500898', - 'phabricator-standard-page-view' => '93500898', - 'phabricator-tag-view-css' => '93500898', + 'phabricator-side-menu-view-css' => '7cd2ded3', + 'phabricator-standard-page-view' => '7cd2ded3', + 'phabricator-tag-view-css' => '7cd2ded3', 'phabricator-textareautils' => '64eeda79', 'phabricator-tooltip' => '64eeda79', - 'phabricator-transaction-view-css' => '93500898', - 'phabricator-zindex-css' => '93500898', - 'phui-button-css' => '93500898', - 'phui-form-css' => '93500898', - 'phui-form-view-css' => '93500898', - 'phui-header-view-css' => '93500898', - 'phui-icon-view-css' => '93500898', - 'phui-list-view-css' => '93500898', - 'phui-object-item-list-view-css' => '93500898', - 'phui-spacing-css' => '93500898', - 'sprite-apps-large-css' => '93500898', - 'sprite-gradient-css' => '93500898', - 'sprite-icons-css' => '93500898', - 'sprite-menu-css' => '93500898', - 'sprite-status-css' => '93500898', - 'syntax-highlighting-css' => '93500898', + 'phabricator-transaction-view-css' => '7cd2ded3', + 'phabricator-zindex-css' => '7cd2ded3', + 'phui-button-css' => '7cd2ded3', + 'phui-form-css' => '7cd2ded3', + 'phui-form-view-css' => '7cd2ded3', + 'phui-header-view-css' => '7cd2ded3', + 'phui-icon-view-css' => '7cd2ded3', + 'phui-list-view-css' => '7cd2ded3', + 'phui-object-item-list-view-css' => '7cd2ded3', + 'phui-spacing-css' => '7cd2ded3', + 'sprite-apps-large-css' => '7cd2ded3', + 'sprite-gradient-css' => '7cd2ded3', + 'sprite-icons-css' => '7cd2ded3', + 'sprite-menu-css' => '7cd2ded3', + 'sprite-status-css' => '7cd2ded3', + 'syntax-highlighting-css' => '7cd2ded3', ), )); diff --git a/webroot/rsrc/css/phui/phui-object-item-list-view.css b/webroot/rsrc/css/phui/phui-object-item-list-view.css index ee390b4afc..ee309ab860 100644 --- a/webroot/rsrc/css/phui/phui-object-item-list-view.css +++ b/webroot/rsrc/css/phui/phui-object-item-list-view.css @@ -153,14 +153,17 @@ .phui-object-item-with-1-actions .phui-object-item-content-box { margin-right: 24px; + overflow: hidden; } .phui-object-item-with-2-actions .phui-object-item-content-box { margin-right: 48px; + overflow: hidden; } .phui-object-item-with-3-actions .phui-object-item-content-box { margin-right: 72px; + overflow: hidden; } @@ -267,7 +270,8 @@ margin-right: 30px; } -.device .phui-object-item-icon-label { +.device .phui-object-item-icon-label, +.device .phui-object-item-icon-none { display: none; }