hanicz opened a new pull request, #1445: URL: https://github.com/apache/knox/pull/1445
… displayed [KNOX-3506](https://issues.apache.org/jira/browse/KNOX-3506) - Knox default login page flashes before modern login page displayed ## What changes were proposed in this pull request? The login page painted the classic dark theme before the modern theme applied. Root cause: a script-inserted `<link rel=stylesheet>` is not render-blocking (only parser-created ones are), and the theme request was queued behind jQuery. - `login.html` — theme loader moved above jQuery (theme CSS requested at 15 ms instead of 1027 ms); document cloaked until the theme stylesheet resolves, revealed on load/error/1.5 s timeout so a 404 or CSP block can never leave a blank page. - `knox.css / login.html / logout.jsp` — sign-in box centred in CSS instead of by a jQuery setTimeout, removing a 74 px jump on first paint. - modern/theme.css — button transition: all narrowed to the three properties hover actually animates, so applying the theme no longer animates green→blue; added missing sans-serif fallbacks to three Roboto declarations that otherwise fell back to serif. ## How was this patch tested? Tested locally in chrome and firefox ## UI changes <img width="1328" height="860" alt="Screenshot 2026-10-07 at 11 01 08" src="https://github.com/user-attachments/assets/16e1cb0a-1b97-4e88-b993-6fae998a45f9" /> <img width="947" height="681" alt="Screenshot 2026-10-07 at 11 01 40" src="https://github.com/user-attachments/assets/e181dfc9-be34-479f-965f-e2c779fdd0ac" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
