PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 4s
PR CI / test (stable) (pull_request) Successful in 45s
PR CI / ui (pull_request) Successful in 48s
PR CI / test (lowest) (pull_request) Successful in 50s
PR CI / security (pull_request) Successful in 54s
PR CI / pr-ci (pull_request) Successful in 2s
PR CI / release-automerge (pull_request) Successful in 3s
35 lines
2.3 KiB
CSS
35 lines
2.3 KiB
CSS
@import "tailwindcss";
|
|
|
|
/* The look comes from CSS variables the page sets (--m-*, from the active theme, see IriksIT\Manager\Support\Themes). */
|
|
@theme inline {
|
|
--color-ink: var(--m-ink);
|
|
--color-panel: var(--m-panel);
|
|
--color-panel-2: var(--m-panel-2);
|
|
--color-line: var(--m-line);
|
|
--color-muted: var(--m-muted);
|
|
--color-text: var(--m-text);
|
|
--color-brand: var(--m-brand);
|
|
--color-brand-alt: var(--m-brand-alt);
|
|
--font-sans: var(--m-font, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
|
|
--font-display: var(--m-font-display, var(--m-font, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif));
|
|
}
|
|
|
|
html, body { background: var(--m-ink); color: var(--m-text); font-family: var(--font-sans); }
|
|
|
|
@layer components {
|
|
.m-card { background: var(--m-panel); border: 1px solid var(--m-line); border-radius: var(--m-radius, .5rem); }
|
|
.m-btn { display: inline-flex; align-items: center; gap: .4rem; border-radius: var(--m-radius, .5rem); padding: .5rem .9rem; font-size: .875rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: filter .15s; }
|
|
.m-btn:disabled { opacity: .5; cursor: not-allowed; }
|
|
.m-btn-primary { background: var(--m-brand); color: #fff; }
|
|
.m-btn-primary:hover:not(:disabled) { filter: brightness(1.1); }
|
|
.m-btn-secondary { background: var(--m-panel-2); border-color: var(--m-line); color: var(--m-text); }
|
|
.m-btn-secondary:hover:not(:disabled) { filter: brightness(1.15); }
|
|
.m-btn-danger { background: transparent; border-color: #ef444466; color: #ef4444; }
|
|
.m-label { display: block; margin-bottom: .25rem; font-size: .8rem; font-weight: 600; color: var(--m-muted); }
|
|
.m-input { width: 100%; border-radius: var(--m-radius, .5rem); border: 1px solid var(--m-line); background: var(--m-ink); color: var(--m-text); padding: .5rem .7rem; font-size: .9rem; }
|
|
.m-input:focus { outline: 2px solid var(--m-brand); outline-offset: 1px; }
|
|
.m-error { margin-top: .25rem; font-size: .8rem; color: #ef4444; }
|
|
.m-help { margin-top: .25rem; font-size: .75rem; color: var(--m-muted); }
|
|
.m-badge { display: inline-block; border-radius: 999px; padding: .1rem .55rem; font-size: .7rem; font-weight: 600; background: var(--m-panel-2); border: 1px solid var(--m-line); }
|
|
}
|