diff --git a/web/src/common/config.ts b/web/src/common/config.ts index 23da2fbaa..36521aad0 100644 --- a/web/src/common/config.ts +++ b/web/src/common/config.ts @@ -30,7 +30,7 @@ export interface UIConfig { navbar: { userDisplay: UserDisplay; }; - color: { + theme: { background: string; cardBackground: string; }; @@ -57,7 +57,7 @@ export class DefaultUIConfig implements UIConfig { navbar = { userDisplay: UserDisplay.username, }; - color = { + theme = { background: "", cardBackground: "", }; diff --git a/web/src/interfaces/UserInterface.ts b/web/src/interfaces/UserInterface.ts index 61e924684..8e2ac0eb0 100644 --- a/web/src/interfaces/UserInterface.ts +++ b/web/src/interfaces/UserInterface.ts @@ -75,7 +75,7 @@ export class UserInterface extends LitElement { background-color: transparent !important; } .pf-c-page { - background-color: var(--pf-c-page--BackgroundColor) !important; + background-color: transparent !important; } .display-none { display: none; @@ -87,6 +87,12 @@ export class UserInterface extends LitElement { .has-notifications { color: #2b9af3; } + .background-wrapper { + height: 100vh; + width: 100vw; + position: absolute; + z-index: -1; + } `, ]; } @@ -128,10 +134,8 @@ export class UserInterface extends LitElement { render(): TemplateResult { return html`${until( uiConfig().then((config) => { - return html`
+ return html`
+