From 511f703657f2c7f533947bd77da385a4c48b51cf Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 6 Jun 2016 20:57:58 +0000 Subject: [PATCH] Tidy up quick create menu spacing Summary: Just adds a little more space to the quick create menu. Test Plan: Test stock and modded quick create menu. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16057 --- resources/celerity/map.php | 12 ++++++------ .../css/application/base/main-menu-view.css | 17 ++++++++++++++--- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 569c570535..6b5aceb02b 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '8aeacc63', + 'core.pkg.css' => 'b9927580', 'core.pkg.js' => '3f15fa62', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => 'f5569f20', @@ -32,7 +32,7 @@ return array( 'rsrc/css/aphront/typeahead.css' => 'd4f16145', 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 'rsrc/css/application/auth/auth.css' => '0877ed6e', - 'rsrc/css/application/base/main-menu-view.css' => 'd00a795a', + 'rsrc/css/application/base/main-menu-view.css' => 'b623169f', 'rsrc/css/application/base/notification-menu.css' => 'f31c0bde', 'rsrc/css/application/base/phabricator-application-launch-view.css' => '95351601', 'rsrc/css/application/base/phui-theme.css' => '027ba77e', @@ -776,7 +776,7 @@ return array( 'phabricator-flag-css' => '5337623f', 'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut-manager' => 'c1700f6f', - 'phabricator-main-menu-view' => 'd00a795a', + 'phabricator-main-menu-view' => 'b623169f', 'phabricator-nav-view-css' => 'ac79a758', 'phabricator-notification' => 'ccf1cbf8', 'phabricator-notification-css' => '3f6c89c9', @@ -1818,6 +1818,9 @@ return array( 'javelin-dom', 'javelin-util', ), + 'b623169f' => array( + 'phui-theme-css', + ), 'b6993408' => array( 'javelin-behavior', 'javelin-stratcom', @@ -1922,9 +1925,6 @@ return array( 'javelin-workflow', 'phabricator-drag-and-drop-file-upload', ), - 'd00a795a' => array( - 'phui-theme-css', - ), 'd0c516d5' => array( 'javelin-behavior', 'javelin-dom', diff --git a/webroot/rsrc/css/application/base/main-menu-view.css b/webroot/rsrc/css/application/base/main-menu-view.css index 2b8fcb1a0b..8be3a97f5e 100644 --- a/webroot/rsrc/css/application/base/main-menu-view.css +++ b/webroot/rsrc/css/application/base/main-menu-view.css @@ -555,16 +555,27 @@ button.phabricator-main-menu-search-dropdown .caret:before { height: 28px; } -.phabricator-main-menu-dropdown { +.phabricator-main-menu-dropdown.phui-list-sidenav { position: absolute; background: #fff; top: 42px; - padding: 2px; + padding: 6px 0; + margin: 0 20px 0 0; box-shadow: {$dropshadow}; - border: 1px solid {$blueborder}; + border: 1px solid {$lightblueborder}; border-radius: 3px; } +.phabricator-main-menu-dropdown.phui-list-sidenav .phui-list-item-has-icon + .phui-list-item-href { + padding: 4px 40px 4px 12px; +} + +.phabricator-main-menu-dropdown.phui-list-sidenav .phui-list-item-type-label + .phui-list-item-name { + padding-left: 12px; +} + /* - Application Menu ----------------------------------------------------------