Skip to content

[5.x]: Poor contrast for field handle in field condition builder on hover #15316

@MoritzLost

Description

@MoritzLost

What happened?

Description

The field layout builder shows field handles in the dropdown for entry conditions as long as the user has the option to show field handles enabled. When an option is hovered, the title of the option is inverted to contrast with the hover background, but the field handle is not, resulting in poor contrast:

condition-normal

condition-hover

Steps to reproduce

  1. Set the user account to show field handles.
  2. Hover over a field in a field condition selection dropdown.

Expected behavior

The label should always be readable.

Actual behavior

The label is hard to read on hover.

Craft CMS version

5.2.5

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions