web: fix minor styling issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
fdd8e66b91
commit
f28bfdaeb9
|
@ -268,6 +268,10 @@ body {
|
||||||
.pf-c-toggle-group__button:not(.pf-m-selected) {
|
.pf-c-toggle-group__button:not(.pf-m-selected) {
|
||||||
background-color: var(--ak-dark-background-light) !important;
|
background-color: var(--ak-dark-background-light) !important;
|
||||||
}
|
}
|
||||||
|
.pf-c-toggle-group__button.pf-m-selected {
|
||||||
|
color: var(--ak-dark-foreground) !important;
|
||||||
|
background-color: var(--pf-global--primary-color--100) !important;
|
||||||
|
}
|
||||||
/* inputs help text */
|
/* inputs help text */
|
||||||
.pf-c-form__helper-text:not(.pf-m-error) {
|
.pf-c-form__helper-text:not(.pf-m-error) {
|
||||||
color: var(--ak-dark-foreground);
|
color: var(--ak-dark-foreground);
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MessageLevel } from "../messages/Message";
|
||||||
|
|
||||||
@customElement("ak-action-button")
|
@customElement("ak-action-button")
|
||||||
export class ActionButton extends SpinnerButton {
|
export class ActionButton extends SpinnerButton {
|
||||||
|
|
||||||
@property({ attribute: false })
|
@property({ attribute: false })
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
apiRequest: () => Promise<any> = () => {
|
apiRequest: () => Promise<any> = () => {
|
||||||
|
|
|
@ -16,6 +16,7 @@ import { ERROR_CLASS, PRIMARY_CLASS, PROGRESS_CLASS, SUCCESS_CLASS } from "../..
|
||||||
|
|
||||||
@customElement("ak-spinner-button")
|
@customElement("ak-spinner-button")
|
||||||
export class SpinnerButton extends LitElement {
|
export class SpinnerButton extends LitElement {
|
||||||
|
|
||||||
@property({ type: Boolean })
|
@property({ type: Boolean })
|
||||||
isRunning = false;
|
isRunning = false;
|
||||||
|
|
||||||
|
|
|
@ -112,8 +112,6 @@ export class RuleListPage extends TablePage<NotificationRule> {
|
||||||
</p>
|
</p>
|
||||||
<ak-bound-policies-list .target=${item.pk}> </ak-bound-policies-list>
|
<ak-bound-policies-list .target=${item.pk}> </ak-bound-policies-list>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>`;
|
||||||
<td></td>
|
|
||||||
<td></td>`;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,6 +87,7 @@ export class TransportListPage extends TablePage<NotificationTransport> {
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-action-button
|
<ak-action-button
|
||||||
|
class="pf-m-plain"
|
||||||
.apiRequest=${() => {
|
.apiRequest=${() => {
|
||||||
return new EventsApi(DEFAULT_CONFIG).eventsTransportsTestCreate({
|
return new EventsApi(DEFAULT_CONFIG).eventsTransportsTestCreate({
|
||||||
uuid: item.pk || "",
|
uuid: item.pk || "",
|
||||||
|
|
Reference in New Issue