/* * Buttons as in the apps portal (EP/apps frontend/components/ui.ts): square, small bold uppercase. * The default is filled brand blue; magenta (.btn--cta) only for the one main action of a page. */ .btn { @apply inline-flex space-x-1 justify-center items-center text-xs uppercase tracking-wide font-semibold py-2.5 px-4 no-underline transition-colors; @apply bg-brand text-white hover:bg-brand-dark disabled:opacity-50 disabled:cursor-not-allowed; } .btn--small { @apply py-1 px-2; } .btn--secondary { @apply border border-brand bg-white text-brand hover:bg-brand hover:text-white; } .btn--cta { background-image: linear-gradient(120deg, var(--color-accent-from), #9e036a 40%, var(--color-accent-to)); } .btn--cta:hover { background-image: linear-gradient(120deg, #7d0156, #8a035d 40%, #e3107c); } .btn--cta:disabled { background-image: none; }