carhop__carhop-theme__DEV/resources/css/layout/nav/header.css
Antoine M ecfcc43211
All checks were successful
continuous-integration/drone/push Build is passing
REFACTOR Menu structure
2025-09-04 16:13:38 +02:00

27 lines
571 B
CSS

@media (max-width: 1024px) {
header[nav-open='true'] {
@apply fixed w-full z-50 top-0 left-0 bg-primary;
@apply max-h-screen min-h-screen overflow-y-scroll;
}
header .secondary-menu-container,
header #primary-menu {
@apply hidden;
}
header[nav-open='true'] .secondary-menu-container,
header[nav-open='true'] #primary-menu {
@apply block;
}
#primary-menu {
@apply !bg-transparent;
}
body:has(header[nav-open='true']) {
overflow-y: hidden;
header {
/* @apply min-h-screen; */
}
}
}