diff --git a/web/src/authentik.css b/web/src/authentik.css index c9aab8a9f..d7142cc17 100644 --- a/web/src/authentik.css +++ b/web/src/authentik.css @@ -228,4 +228,11 @@ select[multiple] { .form-control-static { color: var(--ak-dark-foreground); } + /* notifications */ + .pf-c-notification-drawer { + --pf-c-notification-drawer--BackgroundColor: var(--ak-dark-background); + } + .pf-c-notification-drawer__header { + background-color: var(--ak-dark-background-lighter); + } } diff --git a/web/src/elements/notifications/NotificationDrawer.ts b/web/src/elements/notifications/NotificationDrawer.ts index 9496125ba..8739162c5 100644 --- a/web/src/elements/notifications/NotificationDrawer.ts +++ b/web/src/elements/notifications/NotificationDrawer.ts @@ -17,8 +17,10 @@ export class NotificationDrawer extends LitElement { return COMMON_STYLES.concat( css` .pf-c-notification-drawer__header { - height: 82px; + height: 114px; padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft); + display: flex; + flex-direction: column; } ` ); @@ -72,13 +74,13 @@ export class NotificationDrawer extends LitElement { } return html`
-
-

+
+

${gettext("Notifications")}

- +

${gettext(`${this.unread} unread`)} - +