57490a621bd10c9c7810bdf474b7c801027d237d max Thu Sep 10 06:56:54 2026 -0700 Use one blue for the menu bar on every page, refs #38206 The bar came in three shades: #2636d1 from nice_menu.css on hgTables, hgBlat, hgc and the other cart CGIs, #00457c on hgTracks through its own set of ids, and #003a72 on the gateway and the static pages, which override nice_menu.css afterwards. They are all #003a72 now, the house deep navy already used for the gateway banner, the footer and the buttons. hgTracks no longer rewrites main-menu-whole and home-link into its own ids, so its bar and its house icon come from the same rules as everyone else's, and hgTracksHomeIconSprite.png goes away - the shared sprite is white on a transparent background and sits on whatever blue the bar has. gbStatic.css keeps its own copy of the color on purpose; the comment there says why. diff --git src/hg/htdocs/staticStyle/gbStatic.css src/hg/htdocs/staticStyle/gbStatic.css index c6b9f5075b1..23a92e6d14b 100644 --- src/hg/htdocs/staticStyle/gbStatic.css +++ src/hg/htdocs/staticStyle/gbStatic.css @@ -282,30 +282,34 @@ background-size: contain !important; background-image: url("../images/ucscHelixLogo.png") !important; background-repeat: no-repeat !important; top: -8px !important; width: 84px !important; height: 32px !important; background-color: white !important; margin-left: -9px !important; } /* Override nice-menu: from jWest* */ /* TODO: Move out of here after static page push. * This is shared with CGI's. Currently also in gbAfterMenu.css */ +/* The blue must stay in step with nice_menu.css, which is the one place it is defined. It is + * repeated here on purpose: static pages pull nice_menu.css in through hgMenubar as a bare URL + * with no ?v= cache-buster, so a visitor can hold a stale copy of it while getting a fresh copy + * of this file. Without the repeat they would see the old pre-#38206 bar. */ #main-menu-whole { background-color: #003a72 !important; font-family: Lato,Arial,Helvetica,sans-serif !important; } ul.nice-menu a { font-weight: normal !important; font-family: Lato,Arial,Helvetica,sans-serif !important; } ul.nice-menu ul li a { font-weight: normal !important; font-family: Lato,Arial,Helvetica,sans-serif !important; }