1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00

Clean up some search result alignment CSS

Summary: Aligns the search result list to the right of the input box, adds a little space, removes a double border.

Test Plan: Search on desktop, mobile, tablet breakpoints. Double check normal typeahead results.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17345
This commit is contained in:
Chad Little 2017-02-13 11:10:27 -08:00
parent 3cf6f746f0
commit 006d74fde2
3 changed files with 15 additions and 13 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array( 'names' => array(
'conpherence.pkg.css' => 'a520d619', 'conpherence.pkg.css' => 'a520d619',
'conpherence.pkg.js' => '6249a1cf', 'conpherence.pkg.js' => '6249a1cf',
'core.pkg.css' => '76a0e8c9', 'core.pkg.css' => '1179d101',
'core.pkg.js' => '1fa7c0c5', 'core.pkg.js' => '1fa7c0c5',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '4815647b', 'differential.pkg.css' => '4815647b',
@ -31,10 +31,10 @@ return array(
'rsrc/css/aphront/tokenizer.css' => '9a8cb501', 'rsrc/css/aphront/tokenizer.css' => '9a8cb501',
'rsrc/css/aphront/tooltip.css' => '173b9431', 'rsrc/css/aphront/tooltip.css' => '173b9431',
'rsrc/css/aphront/typeahead-browse.css' => '8904346a', 'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
'rsrc/css/aphront/typeahead.css' => 'd4f16145', 'rsrc/css/aphront/typeahead.css' => '8a84cc7d',
'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af',
'rsrc/css/application/auth/auth.css' => '0877ed6e', 'rsrc/css/application/auth/auth.css' => '0877ed6e',
'rsrc/css/application/base/main-menu-view.css' => '43d59288', 'rsrc/css/application/base/main-menu-view.css' => '5294060f',
'rsrc/css/application/base/notification-menu.css' => '6a697e43', 'rsrc/css/application/base/notification-menu.css' => '6a697e43',
'rsrc/css/application/base/phui-theme.css' => '9f261c6b', 'rsrc/css/application/base/phui-theme.css' => '9f261c6b',
'rsrc/css/application/base/standard-page-view.css' => '894d8a25', 'rsrc/css/application/base/standard-page-view.css' => '894d8a25',
@ -555,7 +555,7 @@ return array(
'aphront-table-view-css' => '6ca8e057', 'aphront-table-view-css' => '6ca8e057',
'aphront-tokenizer-control-css' => '9a8cb501', 'aphront-tokenizer-control-css' => '9a8cb501',
'aphront-tooltip-css' => '173b9431', 'aphront-tooltip-css' => '173b9431',
'aphront-typeahead-control-css' => 'd4f16145', 'aphront-typeahead-control-css' => '8a84cc7d',
'application-search-view-css' => '66ee5d46', 'application-search-view-css' => '66ee5d46',
'auth-css' => '0877ed6e', 'auth-css' => '0877ed6e',
'bulk-job-css' => 'df9c1d4a', 'bulk-job-css' => 'df9c1d4a',
@ -797,7 +797,7 @@ return array(
'phabricator-flag-css' => 'bba8f811', 'phabricator-flag-css' => 'bba8f811',
'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut' => '1ae869f2',
'phabricator-keyboard-shortcut-manager' => '4a021c10', 'phabricator-keyboard-shortcut-manager' => '4a021c10',
'phabricator-main-menu-view' => '43d59288', 'phabricator-main-menu-view' => '5294060f',
'phabricator-nav-view-css' => 'e58a4a30', 'phabricator-nav-view-css' => 'e58a4a30',
'phabricator-notification' => 'ccf1cbf8', 'phabricator-notification' => 'ccf1cbf8',
'phabricator-notification-css' => '3f6c89c9', 'phabricator-notification-css' => '3f6c89c9',
@ -1171,9 +1171,6 @@ return array(
'javelin-dom', 'javelin-dom',
'javelin-request', 'javelin-request',
), ),
'43d59288' => array(
'phui-theme-css',
),
'44959b73' => array( '44959b73' => array(
'javelin-util', 'javelin-util',
'javelin-uri', 'javelin-uri',
@ -1280,6 +1277,9 @@ return array(
'javelin-vector', 'javelin-vector',
'javelin-typeahead-static-source', 'javelin-typeahead-static-source',
), ),
'5294060f' => array(
'phui-theme-css',
),
'5359e785' => array( '5359e785' => array(
'javelin-install', 'javelin-install',
'javelin-util', 'javelin-util',

View file

@ -4,7 +4,7 @@
div.jx-typeahead-hardpoint { div.jx-typeahead-hardpoint {
position: relative; position: relative;
_zoom: 1; /* Some kind of IE6 fix? */ /* yes */ /* why? */ _zoom: 1; /* Some kind of IE6 fix? */ /* yes */ /* why? */ /* still need? */
} }
div.jx-typeahead-results { div.jx-typeahead-results {
@ -28,6 +28,9 @@ div.jx-typeahead-results a.jx-result {
color: {$darkgreytext}; color: {$darkgreytext};
display: block; display: block;
font-size: {$normalfontsize}; font-size: {$normalfontsize};
}
div.jx-typeahead-results a.jx-result + a.jx-result {
border-top: 1px solid {$hoverborder}; border-top: 1px solid {$hoverborder};
} }

View file

@ -139,8 +139,7 @@
} }
.device-desktop .phabricator-main-menu-search-target { .device-desktop .phabricator-main-menu-search-target {
width: 320px; width: 360px;
margin-left: -150px;
} }
.device .phabricator-main-menu-search-target { .device .phabricator-main-menu-search-target {
@ -276,11 +275,11 @@ a.phabricator-core-user-menu .caret:before {
box-shadow: {$dropshadow}; box-shadow: {$dropshadow};
border: 1px solid {$lightgreyborder}; border: 1px solid {$lightgreyborder};
border-radius: 3px; border-radius: 3px;
margin-left: 40px; margin-left: -64px;
} }
.device .phabricator-main-menu-search-target div.jx-typeahead-results { .device .phabricator-main-menu-search-target div.jx-typeahead-results {
margin-left: 30px; margin-left: 28px;
} }
.phabricator-main-search-typeahead-result .phabricator-search-icon { .phabricator-main-search-typeahead-result .phabricator-search-icon {