.btn { @apply .rounded .p-2; transition: all 100ms ease-in-out; /** * Button Colors */ &.btn-blue { @apply .bg-blue .border-blue-dark .border .text-white; &:hover:enabled { @apply .bg-blue-dark .border-blue-darker; } } &.btn-green { @apply .bg-green .border-green-dark .border .text-white; &:hover:enabled { @apply .bg-green-dark .border-green-darker; } } &.btn-red { &:not(.btn-secondary) { @apply .bg-red .border-red-dark .border .text-white; } &:hover:enabled { @apply .bg-red-dark .border-red-darker; } } &.btn-secondary { @apply .border .border-grey-light .text-grey-dark; &:hover:enabled { @apply .border-grey .text-grey-darker; } &.btn-red:hover:enabled { @apply .bg-red-dark .border-red-darker .text-white; } } /** * Button Sizes */ &.btn-jumbo { @apply .p-4 .w-full .uppercase .tracking-wide .text-sm; } &.btn-lg { @apply .p-4 .uppercase .tracking-wide .text-sm; } &.btn-sm { @apply .px-6 .py-3 .uppercase .tracking-wide .text-sm; } &.btn-xs { @apply .py-2 .px-2 .uppercase .text-xs; } &:disabled, &.disabled { opacity: 0.55; cursor: default; } }