forked from crowetic/commerce
* Setup Mobile Menu Sidebar * Setup Basic Mobile Menu Items Styling * Implement full width styling for mobile devices * Cleanup Co-authored-by: Nine <at059214@Abdurahmans-MacBook-Pro.local>
45 lines
857 B
CSS
45 lines
857 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;
|
|
|
|
&:hover {
|
|
@apply text-accent-6 transition scale-110 duration-100;
|
|
}
|
|
|
|
&:first-child {
|
|
@apply ml-0;
|
|
}
|
|
|
|
&:focus,
|
|
&: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
|
|
}
|
|
|
|
.avatarButton:focus,
|
|
.mobileMenu:focus {
|
|
@apply outline-none;
|
|
} |