more changed

This commit is contained in:
Richard Mikloš 2024-01-16 21:59:18 +01:00
parent a3015a910a
commit 879fd5c868

@ -134,8 +134,7 @@ header hr {
.navsite_item:hover .navpage_list{ .navsite_item:hover .navpage_list{
display: flex !important; display: flex !important;
} }
.navpage_list {
.navpage_list{
background-color: var(--third-bg); background-color: var(--third-bg);
margin-top: 10px; margin-top: 10px;
display: flex; display: flex;
@ -145,12 +144,6 @@ header hr {
transition: max-height 0.3s ease; /* Add transition for smooth height animation */ transition: max-height 0.3s ease; /* Add transition for smooth height animation */
} }
/* Add this style for the wrapper element with the border */
.navpage_list_wrapper {
border: 0; /* Set initial border to 0 */
transition: border 0.3s ease; /* Add transition for smooth border animation */
}
/* Modify this style for the hover state of the navsite_item */ /* Modify this style for the hover state of the navsite_item */
.navsite_item:hover .navpage_list_wrapper { .navsite_item:hover .navpage_list_wrapper {
border: 8px solid var(--primary-hover); /* Adjust border style as needed */ border: 8px solid var(--primary-hover); /* Adjust border style as needed */
@ -160,7 +153,6 @@ header hr {
.navsite_item:hover .navpage_list { .navsite_item:hover .navpage_list {
max-height: 200px; /* Adjust the value based on your content height */ max-height: 200px; /* Adjust the value based on your content height */
} }
li.navpage_item{ li.navpage_item{
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;