Make checkbox label change color on hover

This commit is contained in:
nathan 2022-07-28 10:54:08 -06:00
parent 7a05318d49
commit 827a10376a

View File

@ -31,6 +31,10 @@ export class Et2Checkbox extends Et2InputWidget(SlCheckbox)
:host([disabled]) { :host([disabled]) {
display:initial; display:initial;
} }
/* Extend hover highlight to label */
.checkbox:not(.checkbox--disabled):hover {
color: var(--sl-input-border-color-hover);
}
`, `,
]; ];
} }