diff --git a/resources/sprite/manifest/menu.json b/resources/sprite/manifest/menu.json index b700c48399..0c09028704 100644 --- a/resources/sprite/manifest/menu.json +++ b/resources/sprite/manifest/menu.json @@ -36,6 +36,16 @@ "rule" : ".phabricator-main-menu-logo-image", "hash" : "b03901ae5dff3ec840b88f8335819598" }, + "new" : { + "name" : "new", + "rule" : ".menu-icon-new", + "hash" : "84cf453396e9fdb82fb965ac74cd86cc" + }, + "new_blue" : { + "name" : "new_blue", + "rule" : ".menu-icon-new-blue", + "hash" : "3cb927000c2bb3a11002377fe5fab9ec" + }, "search" : { "name" : "search", "rule" : ".menu-icon-search", diff --git a/resources/sprite/menu_1x/new.png b/resources/sprite/menu_1x/new.png new file mode 100644 index 0000000000..d86f3ef83c Binary files /dev/null and b/resources/sprite/menu_1x/new.png differ diff --git a/resources/sprite/menu_1x/new_blue.png b/resources/sprite/menu_1x/new_blue.png new file mode 100644 index 0000000000..b0c10ec9f7 Binary files /dev/null and b/resources/sprite/menu_1x/new_blue.png differ diff --git a/resources/sprite/menu_2x/new.png b/resources/sprite/menu_2x/new.png new file mode 100644 index 0000000000..4b28987652 Binary files /dev/null and b/resources/sprite/menu_2x/new.png differ diff --git a/resources/sprite/menu_2x/new_blue.png b/resources/sprite/menu_2x/new_blue.png new file mode 100644 index 0000000000..5294204555 Binary files /dev/null and b/resources/sprite/menu_2x/new_blue.png differ diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 71a81f989b..fa17f8e105 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -667,15 +667,15 @@ celerity_register_resource_map(array( ), '/rsrc/image/sprite-menu-X2.png' => array( - 'hash' => '7bab106317b0939ef4a0bff9bb834860', - 'uri' => '/res/7bab1063/rsrc/image/sprite-menu-X2.png', + 'hash' => '63b649a6ccba7bf76bc9456dc5dfb12b', + 'uri' => '/res/63b649a6/rsrc/image/sprite-menu-X2.png', 'disk' => '/rsrc/image/sprite-menu-X2.png', 'type' => 'png', ), '/rsrc/image/sprite-menu.png' => array( - 'hash' => 'a25c6cac704cb98ce7bcd3972019733d', - 'uri' => '/res/a25c6cac/rsrc/image/sprite-menu.png', + 'hash' => 'e0e16618691d2cffe64e9c57843828ff', + 'uri' => '/res/e0e16618/rsrc/image/sprite-menu.png', 'disk' => '/rsrc/image/sprite-menu.png', 'type' => 'png', ), @@ -4127,7 +4127,7 @@ celerity_register_resource_map(array( ), 'sprite-menu-css' => array( - 'uri' => '/res/34954a09/rsrc/css/sprite-menu.css', + 'uri' => '/res/764ab039/rsrc/css/sprite-menu.css', 'type' => 'css', 'requires' => array( @@ -4191,7 +4191,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - 'd1cae958' => + 'bbc1cd98' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -4239,7 +4239,7 @@ celerity_register_resource_map(array( 40 => 'phabricator-property-list-view-css', 41 => 'phabricator-tag-view-css', ), - 'uri' => '/res/pkg/d1cae958/core.pkg.css', + 'uri' => '/res/pkg/bbc1cd98/core.pkg.css', 'type' => 'css', ), '75ccea43' => @@ -4430,16 +4430,16 @@ celerity_register_resource_map(array( ), 'reverse' => array( - 'aphront-dialog-view-css' => 'd1cae958', - 'aphront-error-view-css' => 'd1cae958', - 'aphront-form-view-css' => 'd1cae958', - 'aphront-list-filter-view-css' => 'd1cae958', - 'aphront-pager-view-css' => 'd1cae958', - 'aphront-panel-view-css' => 'd1cae958', - 'aphront-table-view-css' => 'd1cae958', - 'aphront-tokenizer-control-css' => 'd1cae958', - 'aphront-tooltip-css' => 'd1cae958', - 'aphront-typeahead-control-css' => 'd1cae958', + 'aphront-dialog-view-css' => 'bbc1cd98', + 'aphront-error-view-css' => 'bbc1cd98', + 'aphront-form-view-css' => 'bbc1cd98', + 'aphront-list-filter-view-css' => 'bbc1cd98', + 'aphront-pager-view-css' => 'bbc1cd98', + 'aphront-panel-view-css' => 'bbc1cd98', + 'aphront-table-view-css' => 'bbc1cd98', + 'aphront-tokenizer-control-css' => 'bbc1cd98', + 'aphront-tooltip-css' => 'bbc1cd98', + 'aphront-typeahead-control-css' => 'bbc1cd98', 'differential-changeset-view-css' => 'dd27a69b', 'differential-core-view-css' => 'dd27a69b', 'differential-inline-comment-editor' => '48040be9', @@ -4453,7 +4453,7 @@ celerity_register_resource_map(array( 'differential-table-of-contents-css' => 'dd27a69b', 'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88', - 'global-drag-and-drop-css' => 'd1cae958', + 'global-drag-and-drop-css' => 'bbc1cd98', 'inline-comment-summary-css' => 'dd27a69b', 'javelin-aphlict' => '75ccea43', 'javelin-behavior' => 'a9f14d76', @@ -4526,55 +4526,55 @@ celerity_register_resource_map(array( 'javelin-util' => 'a9f14d76', 'javelin-vector' => 'a9f14d76', 'javelin-workflow' => 'a9f14d76', - 'lightbox-attachment-css' => 'd1cae958', + 'lightbox-attachment-css' => 'bbc1cd98', 'maniphest-task-summary-css' => '06bacb9a', 'maniphest-transaction-detail-css' => '06bacb9a', - 'phabricator-action-list-view-css' => 'd1cae958', - 'phabricator-application-launch-view-css' => 'd1cae958', + 'phabricator-action-list-view-css' => 'bbc1cd98', + 'phabricator-application-launch-view-css' => 'bbc1cd98', 'phabricator-busy' => '75ccea43', 'phabricator-content-source-view-css' => 'dd27a69b', - 'phabricator-core-css' => 'd1cae958', - 'phabricator-crumbs-view-css' => 'd1cae958', + 'phabricator-core-css' => 'bbc1cd98', + 'phabricator-crumbs-view-css' => 'bbc1cd98', 'phabricator-drag-and-drop-file-upload' => '48040be9', 'phabricator-dropdown-menu' => '75ccea43', 'phabricator-file-upload' => '75ccea43', - 'phabricator-filetree-view-css' => 'd1cae958', - 'phabricator-flag-css' => 'd1cae958', - 'phabricator-form-view-css' => 'd1cae958', - 'phabricator-header-view-css' => 'd1cae958', + 'phabricator-filetree-view-css' => 'bbc1cd98', + 'phabricator-flag-css' => 'bbc1cd98', + 'phabricator-form-view-css' => 'bbc1cd98', + 'phabricator-header-view-css' => 'bbc1cd98', 'phabricator-hovercard' => '75ccea43', - 'phabricator-jump-nav' => 'd1cae958', + 'phabricator-jump-nav' => 'bbc1cd98', 'phabricator-keyboard-shortcut' => '75ccea43', 'phabricator-keyboard-shortcut-manager' => '75ccea43', - 'phabricator-main-menu-view' => 'd1cae958', + 'phabricator-main-menu-view' => 'bbc1cd98', 'phabricator-menu-item' => '75ccea43', - 'phabricator-nav-view-css' => 'd1cae958', + 'phabricator-nav-view-css' => 'bbc1cd98', 'phabricator-notification' => '75ccea43', - 'phabricator-notification-css' => 'd1cae958', - 'phabricator-notification-menu-css' => 'd1cae958', - 'phabricator-object-item-list-view-css' => 'd1cae958', + 'phabricator-notification-css' => 'bbc1cd98', + 'phabricator-notification-menu-css' => 'bbc1cd98', + 'phabricator-object-item-list-view-css' => 'bbc1cd98', 'phabricator-object-selector-css' => 'dd27a69b', 'phabricator-phtize' => '75ccea43', 'phabricator-prefab' => '75ccea43', 'phabricator-project-tag-css' => '06bacb9a', - 'phabricator-property-list-view-css' => 'd1cae958', - 'phabricator-remarkup-css' => 'd1cae958', + 'phabricator-property-list-view-css' => 'bbc1cd98', + 'phabricator-remarkup-css' => 'bbc1cd98', 'phabricator-shaped-request' => '48040be9', - 'phabricator-side-menu-view-css' => 'd1cae958', - 'phabricator-standard-page-view' => 'd1cae958', - 'phabricator-tag-view-css' => 'd1cae958', + 'phabricator-side-menu-view-css' => 'bbc1cd98', + 'phabricator-standard-page-view' => 'bbc1cd98', + 'phabricator-tag-view-css' => 'bbc1cd98', 'phabricator-textareautils' => '75ccea43', 'phabricator-tooltip' => '75ccea43', - 'phabricator-transaction-view-css' => 'd1cae958', - 'phabricator-zindex-css' => 'd1cae958', - 'phui-button-css' => 'd1cae958', - 'phui-form-css' => 'd1cae958', - 'phui-icon-view-css' => 'd1cae958', - 'phui-spacing-css' => 'd1cae958', - 'sprite-apps-large-css' => 'd1cae958', - 'sprite-gradient-css' => 'd1cae958', - 'sprite-icons-css' => 'd1cae958', - 'sprite-menu-css' => 'd1cae958', - 'syntax-highlighting-css' => 'd1cae958', + 'phabricator-transaction-view-css' => 'bbc1cd98', + 'phabricator-zindex-css' => 'bbc1cd98', + 'phui-button-css' => 'bbc1cd98', + 'phui-form-css' => 'bbc1cd98', + 'phui-icon-view-css' => 'bbc1cd98', + 'phui-spacing-css' => 'bbc1cd98', + 'sprite-apps-large-css' => 'bbc1cd98', + 'sprite-gradient-css' => 'bbc1cd98', + 'sprite-icons-css' => 'bbc1cd98', + 'sprite-menu-css' => 'bbc1cd98', + 'syntax-highlighting-css' => 'bbc1cd98', ), )); diff --git a/src/infrastructure/celerity/CeleritySpriteGenerator.php b/src/infrastructure/celerity/CeleritySpriteGenerator.php index d1f5d27a02..9e0a89a27e 100644 --- a/src/infrastructure/celerity/CeleritySpriteGenerator.php +++ b/src/infrastructure/celerity/CeleritySpriteGenerator.php @@ -237,6 +237,16 @@ final class CeleritySpriteGenerator { 'y' => 24, 'css' => '.menu-icon-search-blue', ), + 'new' => array( + 'x' => 24, + 'y' => 24, + 'css' => '.menu-icon-new', + ), + 'new_blue' => array( + 'x' => 24, + 'y' => 24, + 'css' => '.menu-icon-new-blue', + ), 'app' => array( 'x' => 24, 'y' => 24, diff --git a/webroot/rsrc/css/sprite-menu.css b/webroot/rsrc/css/sprite-menu.css index d0841ebfdc..eb12a04237 100644 --- a/webroot/rsrc/css/sprite-menu.css +++ b/webroot/rsrc/css/sprite-menu.css @@ -13,7 +13,7 @@ only screen and (min-device-pixel-ratio: 1.5), only screen and (-webkit-min-device-pixel-ratio: 1.5) { .sprite-menu { background-image: url(/rsrc/image/sprite-menu-X2.png); - background-size: 150px 122px; + background-size: 150px 147px; } } @@ -31,7 +31,7 @@ only screen and (-webkit-min-device-pixel-ratio: 1.5) { } .phabricator-crumb-divider { - background-position: 0px -90px; + background-position: 0px -115px; } .menu-icon-search { @@ -42,16 +42,24 @@ only screen and (-webkit-min-device-pixel-ratio: 1.5) { background-position: -25px -38px; } +.menu-icon-new { + background-position: -50px -38px; +} + +.menu-icon-new-blue { + background-position: 0px -63px; +} + .menu-icon-app { - background-position: -10px -90px; + background-position: -10px -115px; } .menu-icon-app-blue { - background-position: -35px -90px; + background-position: -35px -115px; } .phabricator-main-menu-logo-image { - background-position: 0px -63px; + background-position: 0px -88px; } .alert-notifications .phabricator-main-menu-message-icon { diff --git a/webroot/rsrc/image/sprite-menu-X2.png b/webroot/rsrc/image/sprite-menu-X2.png index ed32c6d003..eb019d3eb3 100644 Binary files a/webroot/rsrc/image/sprite-menu-X2.png and b/webroot/rsrc/image/sprite-menu-X2.png differ diff --git a/webroot/rsrc/image/sprite-menu.png b/webroot/rsrc/image/sprite-menu.png index 005e937732..bfb22da391 100644 Binary files a/webroot/rsrc/image/sprite-menu.png and b/webroot/rsrc/image/sprite-menu.png differ