diff --git a/web/src/authentik.css b/web/src/authentik.css index 98c74410d..bff33f48f 100644 --- a/web/src/authentik.css +++ b/web/src/authentik.css @@ -77,6 +77,7 @@ ak-message { --pf-global--Color--100: var(--ak-dark-foreground); --pf-c-page__main-section--m-light--BackgroundColor: var(--ak-dark-background-darker); --pf-global--link--Color: var(--ak-dark-foreground-link); + --pf-global--BackgroundColor--light-300: var(--ak-dark-background); } /* Global page background colour */ .pf-c-page { @@ -131,6 +132,10 @@ ak-message { .pf-c-table__expandable-row.pf-m-expanded { --pf-c-table__expandable-row--m-expanded--BorderBottomColor: var(--ak-dark-background-lighter); } + /* tabs */ + .pf-c-tabs { + background-color: var(--ak-dark-background-light); + } /* tabs, vertical */ .pf-c-tabs.pf-m-vertical .pf-c-tabs__link { background-color: var(--ak-dark-background-light); diff --git a/web/src/elements/EmptyState.ts b/web/src/elements/EmptyState.ts index e8341743f..e443cb756 100644 --- a/web/src/elements/EmptyState.ts +++ b/web/src/elements/EmptyState.ts @@ -2,6 +2,7 @@ import { CSSResult, customElement, html, LitElement, property, TemplateResult } import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; +import AKGlobal from "../authentik.css"; import { SpinnerSize } from "./Spinner"; @@ -14,15 +15,18 @@ export class EmptyState extends LitElement { @property({type: Boolean}) loading = false; + @property({type: Boolean}) + fullHeight = false; + @property() - header?: string; + header: string = ""; static get styles(): CSSResult[] { - return [PFBase, PFEmptyState, PFTitle]; + return [PFBase, PFEmptyState, PFTitle, AKGlobal]; } render(): TemplateResult { - return html`