diff --git a/Makefile b/Makefile index 986e4d8e3..43d50197c 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,6 @@ font-awesome: vis: $(GIT_SUBTREE) --prefix=lib/vis https://github.com/almende/vis.git master + +typeahead: + $(GIT_SUBTREE) -- prefix=lib/typeahead https://github.com/twitter/typeahead.js.git master diff --git a/html/css/styles.css b/html/css/styles.css index c788d57a3..5846651d6 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -1560,20 +1560,6 @@ tr.search:nth-child(odd) { overflow-x: hidden; } -.tt-dropdown-menu -{ - min-width: 500px; - left: -400px !important; -} - -.twitter-typeahead .tt-hint { - display: block; - height: 34px; - padding: 8px 12px; - font-size: 14px; - line-height: 1.428571429; - border: 1px solid transparent; -} .ui-autocomplete { max-height: 100px; @@ -1610,3 +1596,42 @@ tr.search:nth-child(odd) { display:block; min-width: 75%; } + +.tt-menu { + position: absolute; + top: 95%; + left: 2.5%; + z-index: 100; + display: none; + min-width: 400px; + margin-bottom: 20px; + overflow: hidden; + background-color: #fff; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + box-shadow: 0px 0px 0px 1px green; + -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); + box-shadow: 0 5px 10px rgba(0,0,0,.2); +} + +.tt-open { + position: absolute; + top: 95%; + left: 2.5%; + z-index: 100; + display: none; + min-width: 400px; + left: -400px !important; + margin-bottom: 20px; + overflow: hidden; + background-color: #fff; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + box-shadow: 0px 0px 0px 1px green; + -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); + box-shadow: 0 5px 10px rgba(0,0,0,.2); +} diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 4f5215cd1..c3da47f95 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -463,9 +463,9 @@ if(is_file("includes/print-menubar-custom.inc.php")) ?> -