From 40cdf6877daa6bcae86d26160f9b4bd777a01bb5 Mon Sep 17 00:00:00 2001 From: Jens L Date: Thu, 16 Mar 2023 15:59:21 +0100 Subject: [PATCH] web/flows: fix authenticator selector in dark mode (#4974) Signed-off-by: Jens Langhammer --- web/src/flow/FlowExecutor.ts | 3 +-- .../authenticator_validate/AuthenticatorValidateStage.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/flow/FlowExecutor.ts b/web/src/flow/FlowExecutor.ts index ad7ecb5ab..b71b1a167 100644 --- a/web/src/flow/FlowExecutor.ts +++ b/web/src/flow/FlowExecutor.ts @@ -37,7 +37,6 @@ import PFDrawer from "@patternfly/patternfly/components/Drawer/drawer.css"; import PFList from "@patternfly/patternfly/components/List/list.css"; import PFLogin from "@patternfly/patternfly/components/Login/login.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; -import PFBase from "@patternfly/patternfly/patternfly-base.css"; import { ChallengeChoices, @@ -120,7 +119,7 @@ export class FlowExecutor extends Interface implements StageHost { ws: WebsocketClient; static get styles(): CSSResult[] { - return [PFBase, PFLogin, PFDrawer, PFButton, PFTitle, PFList, PFBackgroundImage].concat(css` + return [PFLogin, PFDrawer, PFButton, PFTitle, PFList, PFBackgroundImage].concat(css` .pf-c-background-image::before { --pf-c-background-image--BackgroundImage: var(--ak-flow-background); --pf-c-background-image--BackgroundImage-2x: var(--ak-flow-background); diff --git a/web/src/flow/stages/authenticator_validate/AuthenticatorValidateStage.ts b/web/src/flow/stages/authenticator_validate/AuthenticatorValidateStage.ts index 1525a063b..a73100efd 100644 --- a/web/src/flow/stages/authenticator_validate/AuthenticatorValidateStage.ts +++ b/web/src/flow/stages/authenticator_validate/AuthenticatorValidateStage.ts @@ -16,7 +16,6 @@ import PFForm from "@patternfly/patternfly/components/Form/form.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import PFLogin from "@patternfly/patternfly/components/Login/login.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; -import PFBase from "@patternfly/patternfly/patternfly-base.css"; import { AuthenticatorValidationChallenge, @@ -77,7 +76,7 @@ export class AuthenticatorValidateStage } static get styles(): CSSResult[] { - return [PFBase, PFLogin, PFForm, PFFormControl, PFTitle, PFButton].concat(css` + return [PFLogin, PFForm, PFFormControl, PFTitle, PFButton].concat(css` ul { padding-top: 1rem; }