forked from crowetic/commerce
* Adding Dropdown Component * Styling Issues * Wishlist Fix * Fixes for Wishlist View * Hearts now work again * Rollback ts * Removing extra config to disable BigCommerce * Fixes for Wishlist View * Remove transition/animation for mobile * New Updates. * New Updates. * Dropdown fix * Polish * export * export * revert tsconfig Co-authored-by: Luis Alvarez D. <luis@vercel.com> Co-authored-by: Dom Sip <dom@vercel.com> Co-authored-by: Luis Alvarez D. <luis@vercel.com>
60 lines
1022 B
CSS
60 lines
1022 B
CSS
.root {
|
|
@apply relative flex items-center;
|
|
}
|
|
|
|
.list {
|
|
@apply flex flex-row items-center justify-items-end h-full;
|
|
}
|
|
|
|
.item {
|
|
@apply ml-6 cursor-pointer relative transition ease-in-out
|
|
duration-100 flex items-center outline-none text-primary;
|
|
}
|
|
|
|
.item:hover {
|
|
@apply text-accent-6 transition scale-110 duration-100;
|
|
}
|
|
|
|
.item:first-child {
|
|
@apply ml-0;
|
|
}
|
|
|
|
.item:focus,
|
|
.item:active {
|
|
@apply outline-none;
|
|
}
|
|
|
|
.bagCount {
|
|
@apply border border-accent-1 bg-secondary text-secondary absolute rounded-full right-3 top-3 flex items-center justify-center font-bold text-xs;
|
|
padding-left: 2.5px;
|
|
padding-right: 2.5px;
|
|
min-width: 1.25rem;
|
|
min-height: 1.25rem;
|
|
}
|
|
|
|
.avatarButton {
|
|
@apply inline-flex justify-center rounded-full;
|
|
}
|
|
|
|
.mobileMenu {
|
|
@apply flex lg:hidden ml-6 text-white;
|
|
}
|
|
|
|
.avatarButton:focus,
|
|
.mobileMenu:focus {
|
|
@apply outline-none;
|
|
}
|
|
|
|
.dropdownDesktop {
|
|
@apply hidden -z-10;
|
|
}
|
|
|
|
@media screen(lg) {
|
|
.dropdownDesktop {
|
|
@apply block;
|
|
}
|
|
.dropdownMobile {
|
|
@apply hidden;
|
|
}
|
|
}
|