Skip to content

Konkat theme does not render checkbox:indeterminate correctly #2162

@Toutouwai

Description

@Toutouwai

The AdminThemeUikit "Core original" theme renders a checkbox in an indeterminate state like this:
Image

But in the "Konkat default" theme the state is not visible because the background colour of the checkbox is missing:
Image

Updating the CSS as follows fixes the issue:

.uk-checkbox:indeterminate {
    background-color: var(--pw-main-color);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23fff%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E")
}
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions