commerce/components/ui/Button/Button.module.css
2021-05-27 14:23:55 -03:00

40 lines
881 B
CSS

.root {
@apply bg-secondary text-accent-1 cursor-pointer inline-flex
px-10 rounded-sm leading-6 transition ease-in-out duration-150
shadow-sm font-semibold text-center justify-center uppercase
py-4 border border-transparent items-center;
}
.root:hover {
@apply bg-accent-0 text-primary border border-secondary;
}
.root:focus {
@apply shadow-outline-normal outline-none;
}
.root[data-active] {
@apply bg-gray-600;
}
.loading {
@apply bg-accent-1 text-accent-3 border-accent-2 cursor-not-allowed;
}
.slim {
@apply py-2 transform-none normal-case;
}
.ghost {
@apply border border-accent-3 bg-accent-0 text-accent-9 text-sm;
}
.disabled,
.disabled:hover {
@apply text-accent-4 border-accent-2 bg-accent-1 cursor-not-allowed;
filter: grayscale(1);
-webkit-transform: translateZ(0);
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;
}