16eee40c920d259c10ee345472708d0cc0cc3393 chmalee Tue Mar 3 11:25:23 2026 -0800 Adds an hg.conf defined 'popular' species list to the new search bar as a 'default' list of results upon focus of the search bar. Combines with 'recents' list. Add a chevron next to the search bar so users know the autocomplete has some default options, refs #36232 diff --git src/hg/htdocs/style/HGStyle.css src/hg/htdocs/style/HGStyle.css index cd9f95e1a33..edfdab940e7 100644 --- src/hg/htdocs/style/HGStyle.css +++ src/hg/htdocs/style/HGStyle.css @@ -1350,30 +1350,47 @@ .searchBarAndButton { display: flex; align-items: center; max-width: 500px; min-width: 0; gap: 0.25em; } .genomeSearchBarDefault { flex: 1; box-sizing: border-box; min-width: 0; } +.genomeSearchToggle { + background: none; + border: 1px solid #ccc; + border-left: none; + padding: 2px 5px; + cursor: pointer; + color: #666; + font-size: 10px; + line-height: 1; + margin-left: -1px; +} + +.genomeSearchToggle:hover { + color: #333; + background: #f0f0f0; +} + .tbSearchLabel { font-weight: bold; white-space: normal; max-width: 100%; box-sizing: border-box; } /* For styling facetedComposite UI elements */ #dataTypeSelector { border-left: 4px solid #4a90d9; padding: 12px 16px; margin-bottom: 16px; background: #f8fafc; }