From 77725782c10571f1137bf4e8fbbf0d4a3ec3fbd7 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 20 Jun 2015 13:12:52 +0100 Subject: [PATCH] [Redsign] Update Hovercards for redesign Summary: Ref T8099, updates hovercard headers, spacing, and borders. Test Plan: Hover. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8099 Differential Revision: https://secure.phabricator.com/D13365 --- resources/celerity/map.php | 4 ++-- .../rsrc/css/layout/phabricator-hovercard-view.css | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 79ceaeb304..383a3b1e11 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -117,7 +117,7 @@ return array( 'rsrc/css/font/font-slabo.css' => '1f520937', 'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3', 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', - 'rsrc/css/layout/phabricator-hovercard-view.css' => '0d665853', + 'rsrc/css/layout/phabricator-hovercard-view.css' => '0a08eb6c', 'rsrc/css/layout/phabricator-side-menu-view.css' => '4f2cd343', 'rsrc/css/layout/phabricator-source-code-view.css' => '098e9b75', 'rsrc/css/phui/calendar/phui-calendar-day.css' => 'd1cf6f93', @@ -719,7 +719,7 @@ return array( 'phabricator-filetree-view-css' => 'fccf9f82', 'phabricator-flag-css' => '5337623f', 'phabricator-hovercard' => '14ac66f5', - 'phabricator-hovercard-view-css' => '0d665853', + 'phabricator-hovercard-view-css' => '0a08eb6c', 'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut-manager' => 'c1700f6f', 'phabricator-main-menu-view' => '44b4a289', diff --git a/webroot/rsrc/css/layout/phabricator-hovercard-view.css b/webroot/rsrc/css/layout/phabricator-hovercard-view.css index ae6d28f815..9c6f1350f2 100644 --- a/webroot/rsrc/css/layout/phabricator-hovercard-view.css +++ b/webroot/rsrc/css/layout/phabricator-hovercard-view.css @@ -20,13 +20,20 @@ float: left; width: 100%; box-shadow: {$dropshadow}; - border: 1px solid {$lightblueborder}; + border: 1px solid {$blueborder}; border-radius: 3px; background-color: #fff; } .phabricator-hovercard-head .phui-header-shell { padding: 8px 8px 8px 12px; + background-color: {$lightgreybackground}; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} + +.phabricator-hovercard-head .phui-header-header { + font-size: 14px; } .phabricator-hovercard-head .phui-tag-type-state { @@ -41,7 +48,7 @@ } .phabricator-hovercard-body { - padding: 12px 8px; + padding: 12px; color: {$darkgreytext}; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;