From 024c94699822cbff2929c101686b941bf6ba06e2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Tue, 24 Nov 2026 19:33:43 -0700 Subject: [PATCH] Nav menu tweaks, added icon styling for accessibility. --- src/styles/global.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 2a2eeec..473ae7d 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -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); }