From 6b1e362e0241fc736d1f6de1ffa5eb6910355444 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 8 Dec 2012 16:58:19 -0800 Subject: [PATCH] Gentle hover state for main menu logo. Summary: Adds a darker hover color for mousing over the logo. Test Plan: Mouse over logo, feel the gentle hover wash over me like a light spring rain. Reviewers: epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4128 --- src/__celerity_resource_map__.php | 82 +++++++++---------- .../css/application/base/main-menu-view.css | 9 +- 2 files changed, 48 insertions(+), 43 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index e2e7257860..7b9378d88b 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -2588,7 +2588,7 @@ celerity_register_resource_map(array( ), 'phabricator-main-menu-view' => array( - 'uri' => '/res/c0631d5f/rsrc/css/application/base/main-menu-view.css', + 'uri' => '/res/f26336ff/rsrc/css/application/base/main-menu-view.css', 'type' => 'css', 'requires' => array( @@ -3194,7 +3194,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - '0620a1f4' => + '311950db' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -3238,7 +3238,7 @@ celerity_register_resource_map(array( 36 => 'phabricator-crumbs-view-css', 37 => 'phabricator-object-item-list-view-css', ), - 'uri' => '/res/pkg/0620a1f4/core.pkg.css', + 'uri' => '/res/pkg/311950db/core.pkg.css', 'type' => 'css', ), '5bcc25b6' => @@ -3426,20 +3426,20 @@ celerity_register_resource_map(array( 'reverse' => array( 'aphront-attached-file-view-css' => '7839ae2d', - 'aphront-crumbs-view-css' => '0620a1f4', - 'aphront-dialog-view-css' => '0620a1f4', - 'aphront-error-view-css' => '0620a1f4', - 'aphront-form-view-css' => '0620a1f4', + 'aphront-crumbs-view-css' => '311950db', + 'aphront-dialog-view-css' => '311950db', + 'aphront-error-view-css' => '311950db', + 'aphront-form-view-css' => '311950db', 'aphront-headsup-action-list-view-css' => 'c904bbee', - 'aphront-headsup-view-css' => '0620a1f4', - 'aphront-list-filter-view-css' => '0620a1f4', - 'aphront-pager-view-css' => '0620a1f4', - 'aphront-panel-view-css' => '0620a1f4', - 'aphront-side-nav-view-css' => '0620a1f4', - 'aphront-table-view-css' => '0620a1f4', - 'aphront-tokenizer-control-css' => '0620a1f4', - 'aphront-tooltip-css' => '0620a1f4', - 'aphront-typeahead-control-css' => '0620a1f4', + 'aphront-headsup-view-css' => '311950db', + 'aphront-list-filter-view-css' => '311950db', + 'aphront-pager-view-css' => '311950db', + 'aphront-panel-view-css' => '311950db', + 'aphront-side-nav-view-css' => '311950db', + 'aphront-table-view-css' => '311950db', + 'aphront-tokenizer-control-css' => '311950db', + 'aphront-tooltip-css' => '311950db', + 'aphront-typeahead-control-css' => '311950db', 'differential-changeset-view-css' => 'c904bbee', 'differential-core-view-css' => 'c904bbee', 'differential-inline-comment-editor' => '7ecd31fa', @@ -3520,48 +3520,48 @@ celerity_register_resource_map(array( 'javelin-util' => 'db6d724d', 'javelin-vector' => 'db6d724d', 'javelin-workflow' => 'db6d724d', - 'lightbox-attachment-css' => '0620a1f4', + 'lightbox-attachment-css' => '311950db', 'maniphest-task-summary-css' => '7839ae2d', 'maniphest-transaction-detail-css' => '7839ae2d', - 'phabricator-app-buttons-css' => '0620a1f4', + 'phabricator-app-buttons-css' => '311950db', 'phabricator-busy' => '5bcc25b6', 'phabricator-content-source-view-css' => 'c904bbee', - 'phabricator-core-buttons-css' => '0620a1f4', - 'phabricator-core-css' => '0620a1f4', - 'phabricator-crumbs-view-css' => '0620a1f4', - 'phabricator-directory-css' => '0620a1f4', + 'phabricator-core-buttons-css' => '311950db', + 'phabricator-core-css' => '311950db', + 'phabricator-crumbs-view-css' => '311950db', + 'phabricator-directory-css' => '311950db', 'phabricator-drag-and-drop-file-upload' => '7ecd31fa', 'phabricator-dropdown-menu' => '5bcc25b6', 'phabricator-file-upload' => '5bcc25b6', - 'phabricator-filetree-view-css' => '0620a1f4', - 'phabricator-flag-css' => '0620a1f4', - 'phabricator-form-view-css' => '0620a1f4', - 'phabricator-header-view-css' => '0620a1f4', - 'phabricator-jump-nav' => '0620a1f4', + 'phabricator-filetree-view-css' => '311950db', + 'phabricator-flag-css' => '311950db', + 'phabricator-form-view-css' => '311950db', + 'phabricator-header-view-css' => '311950db', + 'phabricator-jump-nav' => '311950db', 'phabricator-keyboard-shortcut' => '5bcc25b6', 'phabricator-keyboard-shortcut-manager' => '5bcc25b6', - 'phabricator-main-menu-view' => '0620a1f4', + 'phabricator-main-menu-view' => '311950db', 'phabricator-menu-item' => '5bcc25b6', - 'phabricator-nav-view-css' => '0620a1f4', + 'phabricator-nav-view-css' => '311950db', 'phabricator-notification' => '5bcc25b6', - 'phabricator-notification-css' => '0620a1f4', - 'phabricator-notification-menu-css' => '0620a1f4', - 'phabricator-object-item-list-view-css' => '0620a1f4', + 'phabricator-notification-css' => '311950db', + 'phabricator-notification-menu-css' => '311950db', + 'phabricator-object-item-list-view-css' => '311950db', 'phabricator-object-selector-css' => 'c904bbee', 'phabricator-paste-file-upload' => '5bcc25b6', 'phabricator-prefab' => '5bcc25b6', 'phabricator-project-tag-css' => '7839ae2d', - 'phabricator-remarkup-css' => '0620a1f4', + 'phabricator-remarkup-css' => '311950db', 'phabricator-shaped-request' => '7ecd31fa', - 'phabricator-side-menu-view-css' => '0620a1f4', - 'phabricator-standard-page-view' => '0620a1f4', + 'phabricator-side-menu-view-css' => '311950db', + 'phabricator-standard-page-view' => '311950db', 'phabricator-textareautils' => '5bcc25b6', 'phabricator-tooltip' => '5bcc25b6', - 'phabricator-transaction-view-css' => '0620a1f4', - 'sprite-apps-large-css' => '0620a1f4', - 'sprite-gradient-css' => '0620a1f4', - 'sprite-icon-css' => '0620a1f4', - 'sprite-menu-css' => '0620a1f4', - 'syntax-highlighting-css' => '0620a1f4', + 'phabricator-transaction-view-css' => '311950db', + 'sprite-apps-large-css' => '311950db', + 'sprite-gradient-css' => '311950db', + 'sprite-icon-css' => '311950db', + 'sprite-menu-css' => '311950db', + 'syntax-highlighting-css' => '311950db', ), )); diff --git a/webroot/rsrc/css/application/base/main-menu-view.css b/webroot/rsrc/css/application/base/main-menu-view.css index 20cade10ab..603002a7bc 100644 --- a/webroot/rsrc/css/application/base/main-menu-view.css +++ b/webroot/rsrc/css/application/base/main-menu-view.css @@ -45,8 +45,13 @@ position: relative; height: 44px; width: 139px; - margin-right: 12px; - margin-left: 6px; + margin-right: 6px; + padding-right: 6px; + padding-left: 6px; +} + +.phabricator-main-menu-logo:hover { + background-color: #000; } .phabricator-main-menu-logo-image {