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

Touch up typeahead behavior in locate-file

Summary: Uses `fire`, `underline`. Sets text that overflows to ellipsis.

Test Plan:
Test searching for CMS in Phabricator. Check other typeaheads, tokenizers.

{F5098496}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18424
This commit is contained in:
Chad Little 2017-08-14 11:18:29 -07:00
parent 07c0032491
commit bd1d22baa2
2 changed files with 8 additions and 4 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array(
'conpherence.pkg.css' => 'e68cf1fa',
'conpherence.pkg.js' => 'b5b51108',
'core.pkg.css' => '038ad839',
'core.pkg.css' => '03047373',
'core.pkg.js' => '5d80e0db',
'darkconsole.pkg.js' => '1f9a31bc',
'differential.pkg.css' => '45951e9e',
@ -36,7 +36,7 @@ return array(
'rsrc/css/aphront/tokenizer.css' => '15d5ff71',
'rsrc/css/aphront/tooltip.css' => '173b9431',
'rsrc/css/aphront/typeahead-browse.css' => 'f2818435',
'rsrc/css/aphront/typeahead.css' => '4434bc8a',
'rsrc/css/aphront/typeahead.css' => 'a4a21016',
'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af',
'rsrc/css/application/auth/auth.css' => '0877ed6e',
'rsrc/css/application/base/main-menu-view.css' => '16053029',
@ -546,7 +546,7 @@ return array(
'aphront-table-view-css' => 'a3aa6910',
'aphront-tokenizer-control-css' => '15d5ff71',
'aphront-tooltip-css' => '173b9431',
'aphront-typeahead-control-css' => '4434bc8a',
'aphront-typeahead-control-css' => 'a4a21016',
'application-search-view-css' => '66ee5d46',
'auth-css' => '0877ed6e',
'bulk-job-css' => 'df9c1d4a',

View file

@ -28,6 +28,9 @@ div.jx-typeahead-results a.jx-result {
color: {$darkgreytext};
display: block;
font-size: {$normalfontsize};
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
div.jx-typeahead-results a.jx-result + a.jx-result {
@ -68,7 +71,8 @@ div.jx-typeahead-results a.diffusion-locate-file {
}
.diffusion-locate-file strong {
color: {$blue};
color: {$fire};
text-decoration: underline;
}
.diffusion-locate-file .phui-icon-view {