1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-28 12:41:22 +00:00
Files
.vscode
framework
packages
site
assets
components
auth
cart
checkout
common
Avatar
FeatureBar
Footer
Head
HomeAllProductsGrid
I18nWidget
Layout
Navbar
Searchbar
SidebarLayout
UserNav
MenuSidebarView
DropdownMenu.module.css
DropdownMenu.tsx
UserNav.module.css
UserNav.tsx
index.ts
index.ts
icons
product
ui
wishlist
search.tsx
config
lib
pages
public
.env.template
.eslintrc
.gitignore
.prettierignore
.prettierrc
codegen.bigcommerce.json
codegen.json
commerce-config.js
commerce.config.json
global.d.ts
next-env.d.ts
next.config.js
package.json
postcss.config.js
swell-js.d.ts
tailwind.config.js
tsconfig.json
.editorconfig
.gitignore
.prettierignore
.prettierrc
README.md
license.md
package-copy.json
package-lock.json
package.json
commerce/site/components/common/UserNav/UserNav.module.css
2022-01-07 11:48:45 -05:00

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;
}