web/elements: fix font colour for confirmation form in dark mode

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-04 20:52:06 +02:00
parent 002c048d0b
commit ff40ab0c49
3 changed files with 2 additions and 4 deletions

View File

@ -81,8 +81,6 @@ export class ModalButton extends LitElement {
class="pf-c-modal-box pf-m-lg"
role="dialog"
aria-modal="true"
aria-labelledby="modal-md-title"
aria-describedby="modal-md-description"
>
<button
@click=${() => (this.open = false)}

View File

@ -60,7 +60,7 @@ export class ConfirmationForm extends ModalButton {
</section>
<section class="pf-c-page__main-section pf-m-light">
<form class="pf-c-form pf-m-horizontal">
<slot name="body"></slot>
<slot class="pf-c-content" name="body"></slot>
</form>
</section>
<footer class="pf-c-modal-box__footer">

View File

@ -75,7 +75,7 @@ export class UserListPage extends TablePage<User> {
</button>
</ak-forms-modal>
<ak-dropdown class="pf-c-dropdown">
<button class="pf-c-dropdown__toggle pf-m-secondary" type="button">
<button class="pf-m-primary pf-c-dropdown__toggle" type="button">
<span class="pf-c-dropdown__toggle-text">${item.isActive ? t`Disable` : t`Enable`}</span>
<i class="fas fa-caret-down pf-c-dropdown__toggle-icon" aria-hidden="true"></i>
</button>