FEATURE Refactor header nav behaviours
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e29da0a151
commit
40b3c98141
|
|
@ -358,7 +358,7 @@ body:has(.primary-menu-container .sub-menu-open) {
|
|||
}
|
||||
}
|
||||
li#menu-item-1836 {
|
||||
@apply border border-white relative;
|
||||
@apply border border-white relative flex items-center lg:block pr-4;
|
||||
width: 100%;
|
||||
|
||||
@screen lg {
|
||||
|
|
@ -369,13 +369,17 @@ li#menu-item-1836 {
|
|||
|
||||
&:after {
|
||||
transition: all 0.3s ease-out;
|
||||
@apply absolute top-1/2 -translate-y-1/2 right-10 content-[''] block w-16 h-16 bg-contain bg-center bg-no-repeat;
|
||||
@apply lg:absolute top-1/2 lg:-translate-y-1/2 right-10 content-[''] block w-16 h-16 bg-contain bg-center bg-no-repeat;
|
||||
background-image: url('../resources/img/bouton-fleche.svg');
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:after {
|
||||
@apply right-8;
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
@apply translate-x-1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user