web/admin: fix dark theme for hover on tables

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-05 00:00:50 +01:00
parent 33f547c870
commit 52a0b19f7e
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -165,7 +165,7 @@ export class AdminInterface extends AKElement {
renderSidebarItems(): TemplateResult {
return html`
${this.version?.versionCurrent !== VERSION
${this.version && this.version.versionCurrent !== VERSION
? html`
<ak-sidebar-item ?highlight=${true}>
<span slot="label"

View file

@ -177,6 +177,8 @@ 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);