style: adopt the E&P corporate design tokens and components

This commit is contained in:
fromme committed 2026-11-12 11:13:30 +01:00
1 parent 126a0680db
commit acd8e78e55
12 files changed
+120 -49

No files matched your search

+18 -6
View File
@@ -1,16 +1,28 @@
/*
* 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 rounded-lg text-sm uppercase font-semibold py-2.5 px-4;
@apply bg-primary text-white hover:bg-primary/80 shadow-md disabled:opacity-50 disabled:cursor-not-allowed;
@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 text-xs py-1 px-2 rounded-md;
@apply py-1 px-2;
}
.btn--secondary {
@apply bg-secondary text-gray-800 hover:bg-secondary/80;
@apply border border-brand bg-white text-brand hover:bg-brand hover:text-white;
}
.btn--active {
@apply shadow-none;
.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;
}