few menu refinments

This commit is contained in:
Antoine M 2024-01-15 15:39:05 +01:00
parent 1e6547557a
commit e6d4f30537
2 changed files with 10 additions and 14 deletions

View File

@ -25,8 +25,6 @@
mx-auto
lg:mx-0
static
/* left-0
w-full */
bottom-0
lg:translate-y-full
xl:absolute;
@ -67,10 +65,7 @@
/* Highlight using list element */
li.current-page-parent > a,
li.current_page_item > a {
@apply font-medium
text-white
decoration-secondary
underline underline-offset-8;
@apply font-bold;
}
li.menu-item {
@ -85,13 +80,13 @@
px-2
xl:px-4
py-2;
}
&:hover:not(.wpml-ls-item),
button:focus-visible,
a:focus-visible {
@apply cursor-pointer;
@apply cursor-pointer rounded-md;
background-color: rgba(255, 255, 255, 0.1);
}
}
button:focus-visible,
a:focus-visible:not(.wpml-ls-item) {
@apply rounded-md;
@ -107,7 +102,7 @@
/* @apply text-secondary; */
}
/* @apply relative pr-4; */
@apply pr-4;
@apply pr-4 mx-auto;
&:after {
content: '';
display: inline-block;

View File

@ -70,11 +70,12 @@
lg:absolute
top-0
lg:min-h-0
bottom-0
overflow-y-scroll
lg:overflow-visible;
isolation: isolate;
bottom: 1px;
&:after {
content: '';