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/jWest.css src/hg/htdocs/style/jWest.css index e26beb7dac1..a52ccdfb89e 100644 --- src/hg/htdocs/style/jWest.css +++ src/hg/htdocs/style/jWest.css @@ -432,15 +432,78 @@ /* Layout tweaks for hgGateway.html */ #findPosInputContainer { margin-right: 10px; } .vertSpacerAbovePosition { padding-top: 20px; } .vertSpacerBelowPosition { padding-top: 14px; } +/* Recent Genomes Panel (replaces species tree) */ + +#recentGenomesPanel { + border: solid black 1px; + width: 405px; + background-color: #fafafa; +} + +#recentGenomesList { + padding: 10px; + min-height: fit-content; + max-height: 350px; + overflow: auto; +} + +.recentGenomeCard { + padding: 10px 12px; + margin-bottom: 6px; + cursor: pointer; + border-radius: 4px; + background-color: white; + border: 1px solid #e0e0e0; + transition: background-color 0.15s, border-color 0.15s; +} + +.recentGenomeCard:hover { + background-color: #f0f5fa; + border-color: #4c759c; +} + +.recentGenomeCard.selected { + background-color: #e8f0f8; + border-color: #003a72; + border-width: 2px; +} + +.recentGenomeLabel { + font-size: 13px; + font-weight: bold; + color: #333; + margin-bottom: 2px; +} + +.recentGenomeDb { + font-size: 12px; + color: #666; +} + +.recentGenomeCategory { + font-size: 10px; + color: #888; + text-transform: uppercase; + letter-spacing: 0.05em; + margin-top: 4px; +} + +.recentGenomesEmpty { + padding: 30px; + text-align: center; + color: #666; + font-style: italic; +} +