mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
.github
.vscode
packages
site
assets
components
auth
cart
checkout
common
Avatar
FeatureBar
Footer
Head
HomeAllProductsGrid
I18nWidget
Layout
Navbar
SEO
Searchbar
SidebarLayout
UserNav
CustomerMenuContent
MenuSidebarView
UserNav.module.css
UserNav.tsx
index.ts
index.ts
icons
product
ui
wishlist
search.tsx
config
lib
pages
public
.env.template
.eslintrc
.gitignore
.npmrc
.prettierignore
.prettierrc
commerce-config.js
commerce.config.json
global.d.ts
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
.editorconfig
.gitignore
.prettierignore
.prettierrc
README.md
license.md
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
turbo.json
* Fix auth & wishlist * Revert files * Update signup.ts * Update signup.ts * Requested changes * Revert fetch options
63 lines
1.0 KiB
CSS
63 lines
1.0 KiB
CSS
.root {
|
|
@apply relative flex items-center;
|
|
}
|
|
|
|
.list {
|
|
@apply flex flex-row items-center justify-items-end h-full;
|
|
}
|
|
|
|
.item {
|
|
@apply ml-6 flex items-center relative;
|
|
}
|
|
|
|
.item > button {
|
|
@apply cursor-pointer transition ease-in-out duration-100 outline-none text-primary;
|
|
}
|
|
|
|
.item > button:hover {
|
|
@apply text-accent-6 transition scale-110 outline-none;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|