mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
40 lines
848 B
CSS
40 lines
848 B
CSS
.root {
|
|
@apply sticky top-0 bg-primary z-40 transition-all duration-150;
|
|
min-height: 74px;
|
|
}
|
|
|
|
.nav {
|
|
@apply relative flex flex-row justify-between py-4 md:py-4;
|
|
}
|
|
|
|
.navMenu {
|
|
@apply hidden ml-6 space-x-4 lg:block;
|
|
}
|
|
|
|
.link {
|
|
@apply inline-flex items-center leading-6
|
|
transition ease-in-out duration-75 cursor-pointer
|
|
text-accent-5;
|
|
}
|
|
|
|
.link:hover {
|
|
@apply text-accent-9;
|
|
}
|
|
|
|
.link:focus {
|
|
@apply outline-none text-accent-8;
|
|
}
|
|
|
|
.logo {
|
|
@apply cursor-pointer rounded-full border transform duration-100 ease-in-out;
|
|
|
|
&:hover {
|
|
@apply shadow-md;
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
.customLink {
|
|
@apply relative py-2 after:absolute after:right-1 after:top-1/2 after:mt-[-2px] after:h-2 after:w-2 after:-translate-y-1/2 after:rotate-45 after:border-b-2 after:border-r-2 after:border-current lg:pl-0 lg:pr-4 lg:after:right-0;
|
|
}
|