forked from tangled.org/core
Monorepo for Tangled

core/input.css: add styles needed for dropdown updates

besaid.zone 83453ec0 233dd7f6

verified
Changed files
+21
+21
input.css
··· 89 89 @apply no-underline text-black hover:underline hover:text-gray-800 dark:text-white dark:hover:text-gray-300; 90 90 } 91 91 92 + #navigation-menu-popover li:not(:last-of-type) a { 93 + @apply flex gap-2 items-center px-2 pb-2 pt-1.5 rounded-sm hover:bg-green-50 hover:text-green-700 no-underline 94 + } 95 + 92 96 label { 93 97 @apply block text-gray-900 text-sm font-bold py-2 uppercase dark:text-gray-100; 94 98 } ··· 962 966 color: #f9fafb; 963 967 } 964 968 } 969 + 970 + .site-navigation-dropdown-trigger { 971 + anchor-name: --dropdown-trigger; 972 + } 973 + 974 + .site-navigation-popover { 975 + position: absolute; 976 + margin: 0; 977 + inset: auto; 978 + position-anchor: --dropdown-trigger; 979 + position-area: bottom right; 980 + position-try-fallbacks: --bottom-left; 981 + } 982 + 983 + @position-try --bottom-left { 984 + position-area: bottom left; 985 + }