global: add custom context menu, fix js not working when swapping through htmx

This commit is contained in:
Agahnim 2026-03-24 16:33:32 +01:00
parent 4e69d307cf
commit d000b743a1
5 changed files with 89 additions and 20 deletions

View file

@ -923,4 +923,23 @@ mini-player {
width: 90%;
}
}
}
/* Context Menu */
.context-menu {
position: fixed;
background: var(--win-bg-grey);
border: 2px solid;
border-color: #ffffff #808080 #808080 #ffffff;
box-shadow: 2px 2px 0 #000;
border-radius: 4px;
padding: 0.5rem 0;
min-width: 150px;
z-index: 9999;
font-family: 'VT323', monospace;
font-size: 1.2rem;
img {
width: 10svw;
}
}