diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-04-12 12:07:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-13 22:04:29 +0100 |
commit | 0748177b40188a6fb735fe1ba1c17294afa4a3d0 (patch) | |
tree | 17c3b35e84bf0b23a6320de3f0016eb99233f921 /lib/toaster/toastergui/static/css/default.css | |
parent | 2cafb16033b2f38156e6e0a74c02120f87a4fa92 (diff) | |
download | bitbake-contrib-0748177b40188a6fb735fe1ba1c17294afa4a3d0.tar.gz |
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.
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/static/css/default.css')
-rw-r--r-- | lib/toaster/toastergui/static/css/default.css | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css index b024d962a..d0e45b6ed 100644 --- a/lib/toaster/toastergui/static/css/default.css +++ b/lib/toaster/toastergui/static/css/default.css @@ -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; +} |