Compare commits
No commits in common. "5929703205f20edcf4b599bcf3e6a7d46c3ba777" and "879fd5c8681a57d1a84ffa284c61cc2c857108b3" have entirely different histories.
5929703205
...
879fd5c868
@ -134,9 +134,6 @@ header hr {
|
|||||||
.navsite_item:hover .navpage_list{
|
.navsite_item:hover .navpage_list{
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Add this style for the initial state of the navpage_list */
|
|
||||||
.navpage_list {
|
.navpage_list {
|
||||||
background-color: var(--third-bg);
|
background-color: var(--third-bg);
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
@ -144,18 +141,18 @@ header hr {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden; /* Hide the content initially */
|
overflow: hidden; /* Hide the content initially */
|
||||||
max-height: 0; /* Set the initial height to 0 */
|
max-height: 0; /* Set the initial height to 0 */
|
||||||
border: 0; /* Set initial border to 0 */
|
transition: max-height 0.3s ease; /* Add transition for smooth height animation */
|
||||||
transition: max-height 0.3s ease, border 0.3s ease; /* Add transition for smooth height and border animation */
|
}
|
||||||
|
|
||||||
|
/* Modify this style for the hover state of the navsite_item */
|
||||||
|
.navsite_item:hover .navpage_list_wrapper {
|
||||||
|
border: 8px solid var(--primary-hover); /* Adjust border style as needed */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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 {
|
.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 */
|
||||||
border: 8px solid var(--primary-hover); /* Adjust border style as needed */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
li.navpage_item{
|
li.navpage_item{
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
|
Loading…
Reference in New Issue
Block a user