47ea57080b515e5dad5f658c58feb8944a7e7d61
chmalee
  Thu Jan 29 15:30:26 2026 -0800
Replace clade/assembly dropdowns with a search bar on most CGIs. Add a recents list to hgGateway and to the species bar and to the 'Genomes' dropdown menu. Track recently selected species in localStorage. Add toGenome and fromGenome arguemnts to hubApi/liftOver in order to find appropriate liftover assemblies, refs #36232

diff --git src/hg/htdocs/style/HGStyle.css src/hg/htdocs/style/HGStyle.css
index e63ac948c72..072773ae58a 100644
--- src/hg/htdocs/style/HGStyle.css
+++ src/hg/htdocs/style/HGStyle.css
@@ -1254,15 +1254,59 @@
 #hgta_doClearIdentifiers {
     color: red;
 }
 
 #hgta_doClearIntersect {
     color: red;
 }
 
 #hgta_doClearUserRegions {
     color: red;
 }
 
 #hgta_doClearSubtrackMerge {
     color: red;
 }
+
+.searchCell {
+    white-space: nowrap;
+    vertical-align: top;
+}
+
+.searchCell > .flexContainer {
+    display: flex;
+    flex-direction: column;
+    gap: 0.2em;
+    min-width: 0;
+    max-width: 500px;
+}
+
+.searchBarAndButton {
+    display: flex;
+    align-items: center;
+    gap: 0.25em;
+}
+
+.searchCell:first-child {
+    padding-right: 1em;
+}
+
+.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;
+}
+
+.tbSearchLabel {
+    font-weight: bold;
+    white-space: normal;
+    max-width: 100%;
+    box-sizing: border-box;
+}