style: align with the ep-corporate-design skill
This commit is contained in:
1 parent
50ef662dd3
commit
ebad54e989
162 files changed
+768
-640
No files matched your search
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
@import "toastify-js/src/toastify.css";
|
||||
|
||||
.toastify {
|
||||
@apply max-w-sm border-l-4 px-4 py-3 text-sm shadow-lg;
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* in the colours of the alerts, as in epbms */
|
||||
.toastify--success {
|
||||
@apply border-emerald-700 bg-emerald-50 text-emerald-950;
|
||||
}
|
||||
|
||||
.toastify--warning {
|
||||
@apply border-red-700 bg-red-50 text-red-950;
|
||||
}
|
||||
|
||||
.toastify--info {
|
||||
@apply border-brand bg-brand-light text-ink;
|
||||
}
|
||||
|
||||
.toastify .toast-close {
|
||||
@apply ml-3 text-current opacity-60 hover:opacity-100;
|
||||
}
|
||||
@@ -1,18 +1,18 @@
|
||||
@import "tippy.js/dist/tippy.css";
|
||||
|
||||
.tippy-box {
|
||||
background-color: var(--color-primary);
|
||||
background-color: var(--color-brand);
|
||||
}
|
||||
|
||||
.tippy-box[data-placement^='top'] > .tippy-arrow::before {
|
||||
border-top-color: var(--color-primary);
|
||||
border-top-color: var(--color-brand);
|
||||
}
|
||||
.tippy-box[data-placement^='bottom'] > .tippy-arrow::before {
|
||||
border-bottom-color: var(--color-primary);
|
||||
border-bottom-color: var(--color-brand);
|
||||
}
|
||||
.tippy-box[data-placement^='left'] > .tippy-arrow::before {
|
||||
border-left-color: var(--color-primary);
|
||||
border-left-color: var(--color-brand);
|
||||
}
|
||||
.tippy-box[data-placement^='right'] > .tippy-arrow::before {
|
||||
border-right-color: var(--color-primary);
|
||||
border-right-color: var(--color-brand);
|
||||
}
|
||||
Reference in new issue
Block a user