From 4a56b5e8276a760a3bb9159f9cc638271ff7bdad Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 26 Dec 2021 14:53:23 +0100 Subject: [PATCH] web: fix background for modals on light theme Signed-off-by: Jens Langhammer --- web/src/elements/forms/ConfirmationForm.ts | 4 ++-- web/src/elements/forms/DeleteBulkForm.ts | 6 +++--- web/src/elements/forms/DeleteForm.ts | 6 +++--- web/src/elements/forms/ModalForm.ts | 4 ++-- web/src/pages/groups/MemberSelectModal.ts | 4 ++-- web/src/pages/users/GroupSelectModal.ts | 4 ++-- web/src/pages/users/UserActiveForm.ts | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/web/src/elements/forms/ConfirmationForm.ts b/web/src/elements/forms/ConfirmationForm.ts index ed5b463ba..aecb87eae 100644 --- a/web/src/elements/forms/ConfirmationForm.ts +++ b/web/src/elements/forms/ConfirmationForm.ts @@ -55,14 +55,14 @@ export class ConfirmationForm extends ModalButton { } renderModalInner(): TemplateResult { - return html`
+ return html`

-
+
diff --git a/web/src/elements/forms/DeleteBulkForm.ts b/web/src/elements/forms/DeleteBulkForm.ts index 7ec4dc782..37494674e 100644 --- a/web/src/elements/forms/DeleteBulkForm.ts +++ b/web/src/elements/forms/DeleteBulkForm.ts @@ -177,12 +177,12 @@ export class DeleteBulkForm extends ModalButton { } renderModalInner(): TemplateResult { - return html`
+ return html`

${t`Delete ${this.objectLabel}`}

-
+

${t`Are you sure you want to delete ${this.objects.length} ${this.objectLabel}?`} @@ -190,7 +190,7 @@ export class DeleteBulkForm extends ModalButton {

-
+
+ return html`

${t`Delete ${this.objectLabel}`}

-
+

${t`Are you sure you want to delete ${this.objectLabel} ${objName} ?`}

@@ -88,7 +88,7 @@ export class DeleteForm extends ModalButton { return html``; } return html` -
+

${t`The following objects use ${objName} `}

    diff --git a/web/src/elements/forms/ModalForm.ts b/web/src/elements/forms/ModalForm.ts index adef5706a..10f0d74ae 100644 --- a/web/src/elements/forms/ModalForm.ts +++ b/web/src/elements/forms/ModalForm.ts @@ -58,14 +58,14 @@ export class ModalForm extends ModalButton { return html`${this.loading ? html`` : html``} -
    +

    -
    +