transition changes

This commit is contained in:
Richard Mikloš 2024-01-16 21:53:00 +01:00
parent 00208e3d03
commit b28914dcbf

@ -172,10 +172,15 @@ header hr {
border: 0; border: 0;
transition: max-height 0.3s ease; transition: max-height 0.3s ease;
} }
.navsite_item .navpage_list {
transition-delay: 0.3s; /* Delay the border fade-out transition */
}
/* Modify this style for the hover state of the navsite_item */
.navsite_item:hover .navpage_list { .navsite_item:hover .navpage_list {
max-height: 200px; max-height: 200px; /* Adjust the value based on your content height */
border: 4px solid var(--primary-hover) ; border: 4px solid var(--primary-hover); /* Adjust border style as needed */
transition-delay: 0s; /* Reset delay on hover */
} }
a.navpage_link{ a.navpage_link{