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:
parent
002c048d0b
commit
ff40ab0c49
|
@ -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)}
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue