Changeset 441f5d6 in Klonkt for src/assets/css/style.css


Ignore:
Timestamp:
06/17/2026 04:02:46 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
c50f22e
Parents:
125e0e1
Message:

Login navigation via htmx (audio no longer jumps when opening login)

Navigating TO the login page now goes via htmx instead of a full load → the
audio player stays alive (no jump). The login itself (form submit) deliberately
remains a full load (choice: only the navigate-to-login is smooth).

For this to work, on-auth also needed to work via htmx:

  • pcmsNav now applies ALL page-classes sent along (not just the first one), and on-auth is in PAGE_CLASSES → the login focus screen gets its styling via htmx.
  • body.on-auth .bottom-tab { display:none } → hide the tab from the previous page (which stays alive under htmx nav), just as clean as a full-load login.
  • Login links (bottom-tab + topnav) get hx-get.

CSS cache-buster v9.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    r125e0e1 r441f5d6  
    265265}
    266266::-webkit-scrollbar-corner { background: transparent; }
     267
     268/* Login/auth = focus-scherm. Bij htmx-navigatie naar login blijft de bottom-tab
     269   uit de vorige pagina in de DOM staan → hier verbergen zodat het login-scherm
     270   net zo "kaal" is als bij een full-load (waar de tab niet eens gerenderd wordt). */
     271body.on-auth .bottom-tab { display: none; }
    267272body:not(.admin) {
    268273    min-height: 100dvh;
Note: See TracChangeset for help on using the changeset viewer.