mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 12:11:23 +00:00
assets
components
auth
cart
core
icons
product
ui
Button
Button.module.css
Button.tsx
index.ts
Container
Grid
Hero
Input
Link
LoadingDots
Logo
Marquee
Modal
Sidebar
Skeleton
Text
Toast
README.md
context.tsx
index.ts
wishlist
config
lib
pages
public
utils
.gitignore
.prettierignore
README.md
codegen.json
global.d.ts
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
yarn.lock
33 lines
818 B
CSS
33 lines
818 B
CSS
.root {
|
|
@apply text-accents-1 cursor-pointer inline-flex px-10 rounded-sm leading-6 bg-secondary transition ease-in-out duration-150 shadow-sm font-semibold text-center justify-center uppercase py-4 uppercase text-center border border-transparent items-center;
|
|
}
|
|
|
|
.root:hover {
|
|
@apply bg-accents-0 text-primary border border-secondary;
|
|
}
|
|
|
|
.root:focus {
|
|
@apply shadow-outline outline-none;
|
|
}
|
|
|
|
.root[data-active] {
|
|
@apply bg-gray-600;
|
|
}
|
|
|
|
.loading {
|
|
@apply bg-accents-1 text-accents-3 border-accents-2 cursor-not-allowed;
|
|
}
|
|
|
|
.slim {
|
|
@apply py-2 transform-none normal-case;
|
|
}
|
|
|
|
.disabled,
|
|
.disabled:hover {
|
|
@apply text-accents-4 border-accents-2 bg-accents-1 cursor-not-allowed;
|
|
filter: grayscale(1);
|
|
-webkit-transform: translateZ(0);
|
|
-webkit-perspective: 1000;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|