mini-player, header: make it persistent, add music page button and check current route

This commit is contained in:
Agahnim 2026-03-20 14:48:52 +01:00
parent 823308d6eb
commit dfd4da2d7c
Signed by: Agahnim
SSH key fingerprint: SHA256:Zj65PJnE0dRYye8Ltk/qDglynyXUxJngQ9qqx/VI+b4
11 changed files with 78 additions and 52 deletions

View file

@ -111,4 +111,3 @@ function initMiniPlayer() {
}
initMiniPlayer();
document.addEventListener("htmx:afterSwap", initMiniPlayer);

View file

@ -79,13 +79,14 @@ navbar {
navbar-content {
display: flex;
gap: 1rem;
gap: 0.3rem;
label {
cursor: pointer;
padding: 4px 8px;
border: 2px solid black;
background: var(--win-bg-grey);
border-color: #ffffff #808080 #808080 #ffffff;
&:has(input:checked) {
background: #ff75a7;
@ -94,8 +95,9 @@ navbar {
}
&:active {
border-color: #808080 #ffffff #ffffff #808080;
border-color: #ffffff #808080 #808080 #ffffff;
padding: 5px 7px 3px 9px;
border-color: #808080 #ffffff #ffffff #808080;
}
&:hover {