From 52a0b19f7e4ec2ba4e23fedd8022c5877a1dbbbd Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 5 Feb 2023 00:00:50 +0100 Subject: [PATCH] web/admin: fix dark theme for hover on tables Signed-off-by: Jens Langhammer --- web/src/admin/AdminInterface.ts | 2 +- web/src/common/styles/authentik.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/admin/AdminInterface.ts b/web/src/admin/AdminInterface.ts index 2a1596b80..28502a9b6 100644 --- a/web/src/admin/AdminInterface.ts +++ b/web/src/admin/AdminInterface.ts @@ -165,7 +165,7 @@ export class AdminInterface extends AKElement { renderSidebarItems(): TemplateResult { return html` - ${this.version?.versionCurrent !== VERSION + ${this.version && this.version.versionCurrent !== VERSION ? html` form > input { --pf-c-table--BackgroundColor: var(--ak-dark-background-light); --pf-c-table--BorderColor: var(--ak-dark-background-lighter); --pf-c-table--cell--Color: var(--ak-dark-foreground); + --pf-c-table--tr--m-hoverable--hover--BackgroundColor: var(--ak-dark-background-light-ish); + --pf-c-table--tr--m-hoverable--active--BackgroundColor: var(--ak-dark-background-lighter); } .pf-c-table__text { color: var(--ak-dark-foreground);