bitbake: toaster: migrate typeahead library

Migrate from Bootstrap 2's built-in typeahead to Twitter's
typeahead library.

This is to facilitate moving to Bootstrap 3, which doesn't have
a typeahead.

(Bitbake rev: 0748177b40188a6fb735fe1ba1c17294afa4a3d0)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Elliot Smith
2016-04-12 12:07:01 +01:00
committed by Richard Purdie
parent 64622029d7
commit cd7b48cd0d
5 changed files with 84 additions and 68 deletions

View File

@@ -341,3 +341,22 @@ input.input-lg {
line-height: 1.33333;
padding: 10px 16px;
}
/* styling for standalone typeahead library */
.tt-menu {
margin-top: 2px;
border-radius: 4px;
width: 100%;
}
.tt-suggestion {
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tt-suggestion.active {
background-color: #0081c2;
color: white;
}