2023-08-06 15:23:37 +01:00
|
|
|
nav {
|
|
|
|
.search-wrapper {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-hidden md:hx-inline-block;
|
2023-08-06 15:23:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-13 05:02:38 -04:00
|
|
|
@supports (
|
|
|
|
(-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
|
|
|
|
) {
|
|
|
|
.nav-container-blur {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-backdrop-blur-md hx-bg-white/[.85] dark:!hx-bg-dark/80;
|
2023-09-13 05:02:38 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-06 15:23:37 +01:00
|
|
|
.hamburger-menu svg {
|
|
|
|
g {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-origin-center;
|
2023-08-06 15:23:37 +01:00
|
|
|
transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
|
|
|
|
}
|
|
|
|
path {
|
|
|
|
opacity: 1;
|
|
|
|
transition:
|
|
|
|
transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s,
|
|
|
|
opacity 0.2s ease 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
path {
|
|
|
|
transition:
|
|
|
|
transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
|
|
|
|
opacity 0s ease 0.2s;
|
|
|
|
}
|
|
|
|
g {
|
|
|
|
transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open > {
|
|
|
|
path {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-opacity-0;
|
2023-08-06 15:23:37 +01:00
|
|
|
}
|
|
|
|
g:nth-of-type(1) {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-rotate-45;
|
2023-08-06 15:23:37 +01:00
|
|
|
path {
|
2023-08-16 17:31:33 +01:00
|
|
|
transform: translate3d(0, 4px, 0);
|
2023-08-06 15:23:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
g:nth-of-type(2) {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply -hx-rotate-45;
|
2023-08-06 15:23:37 +01:00
|
|
|
path {
|
2023-08-16 17:31:33 +01:00
|
|
|
transform: translate3d(0, -4px, 0);
|
2023-08-06 15:23:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|