FEATURE Add custom styles for catalogue menu item with hover effect
This commit is contained in:
parent
fff24795cd
commit
759cc69b99
|
|
@ -335,6 +335,22 @@ body:has(.primary-menu-container .sub-menu-open) {
|
|||
}
|
||||
}
|
||||
|
||||
.menu-item-object-custom.item-catalogue {
|
||||
a {
|
||||
@apply flex flex-col items-center justify-center gap-4;
|
||||
}
|
||||
a:before {
|
||||
@apply content-[''] block bg-contain bg-center bg-no-repeat;
|
||||
@apply w-7 h-7 object-contain object-center;
|
||||
background-image: url('../resources/img/icons/icon-catalogue.svg');
|
||||
transition: transform 0.3s ease-out;
|
||||
}
|
||||
&:hover {
|
||||
a:before {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
li#menu-item-1836 {
|
||||
@apply border border-white relative;
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user