web: add fullHeight toggle to empty state, add dark empty state

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-17 18:49:55 +01:00
parent 5f0192ee48
commit bf32cf3265
3 changed files with 15 additions and 4 deletions

View File

@ -2,6 +2,7 @@ import { css, CSSResult, customElement, html, LitElement, property, TemplateResu
import { Route } from "./Route";
import { ROUTES } from "../../routes";
import { RouteMatch } from "./RouteMatch";
import AKGlobal from "../../authentik.css";
import "../../pages/generic/SiteShell";
import "./Router404";
@ -15,10 +16,11 @@ export class RouterOutlet extends LitElement {
defaultUrl?: string;
static get styles(): CSSResult[] {
return [
return [AKGlobal,
css`
:host {
height: 100vh;
background-color: var(--pf-c-page--BackgroundColor) !important;
}
*:first-child {
height: 100%;