Nav menu tweaks, added icon styling for accessibility.

This commit is contained in:
Benjamin A. Shelton 2026-11-24 19:33:43 -07:00
commit 024c946998
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -164,14 +164,14 @@ header {
position: relative;
}
#menu-items {
@apply bg-sunday-theme mt-4;
@apply bg-sunday-theme mt-4 pr-4;
cursor: auto;
visibility: hidden;
position: absolute;
top: 100%;
left: 0;
min-width: 20vw;
width: fit-content;
min-width: 40vw;
width: max-content;
height: 100vh;
margin-left: -1rem;
z-index: 1000;
@ -204,7 +204,7 @@ header {
cursor: pointer;
}
#menu span.label-text {
@apply align-top opacity-0 invisible lg:visible xl:visible 2xl:visible inline ml-4;
@apply align-top opacity-0 sm:hidden md:hidden hidden lg:visible xl:visible 2xl:visible lg:inline xl:inline 2xl:inline ml-4;
@apply transition-opacity duration-300;
}
#menu:hover span {
@ -235,6 +235,11 @@ header {
top: calc((33% - var(--slice-height)) / -2);
}
}
a#af-toggle {
@apply cursor-pointer text-green-900;
filter: drop-shadow(0px 0px 4px var(--color-green-500));
}
}
footer {
@ -294,7 +299,7 @@ dialog.config {
@apply scrollbar-thumb-gray-300 dark:scrollbar-thumb-gray-500;
@apply scrollbar-thin;
/*@apply p-0 rounded-sm w-full lg:max-w-lg xl:max-w-lg 2xl:max-w-lg m-auto flex-col flex hidden;*/
@apply p-0 rounded-sm w-full lg:max-w-lg xl:max-w-lg 2xl:max-w-lg m-auto flex-col hidden;
@apply p-0 rounded-sm w-full lg:max-w-lg xl:max-w-lg 2xl:max-w-lg m-auto flex-col;
&::backdrop {
background-color: rgba(0, 0, 0, 0.6);
}