diff --git a/module/bug/css/browse.css b/module/bug/css/browse.css index 8a01602e3b..f0bd370a0f 100644 --- a/module/bug/css/browse.css +++ b/module/bug/css/browse.css @@ -5,7 +5,11 @@ .confirm1 {color:green; font-size:9px} .red{color:red;} -.dropdown-menu.with-search {padding-bottom: 34px; min-width: 150px; overflow: hidden; max-height: 305px} -.dropdown-menu > .menu-search {padding: 0; position: absolute; z-index: 0; bottom: 0; left: 0; right: 0} +.dropdown-menu.with-search {padding: 0; min-width: 150px; overflow: hidden; max-height: 302px;} .dropdown-menu > .menu-search .input-group {width:100%;} .dropdown-menu > .menu-search .input-group-addon {position: absolute; right: 10px; top: 0; z-index: 10; background: none; border: none; color: #666} +.dropdown-menu > .menu-search .form-control {border: none!important; box-shadow: none!important; border-top: 1px solid #ddd!important;} +.dropdown-list {display: block; padding: 0; max-height: 270px; overflow-y: auto;} +.dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;} +.dropdown-list > li > a:hover, +.dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;} diff --git a/module/bug/js/browse.js b/module/bug/js/browse.js index 550b231de9..b939022371 100644 --- a/module/bug/js/browse.js +++ b/module/bug/js/browse.js @@ -9,7 +9,7 @@ $(document).ready(function() }).on('keyup change paste', 'input', function() { var val = $(this).val().toLowerCase(); - var $options = $(this).closest('ul.dropdown-menu.with-search').find('.option'); + var $options = $(this).closest('.dropdown-menu.with-search').find('.option'); if(val == '') return $options.removeClass('hide'); $options.each(function() { diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 5af222fd7c..23f6278747 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -148,14 +148,16 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows $withSearch = count($modules) > 8; echo "'; } else { @@ -178,7 +180,8 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows $withSearch = count($builds) > 4; echo "'; } else { @@ -210,15 +214,16 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows echo html::select('assignedTo', $memberPairs, '', 'class="hidden"'); echo "