WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 2 months ago

#51282 new defect (bug)

Select element does not honor admin color scheme on hover

Reported by: vaakash Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.5.1
Component: Administration Keywords: has-patch
Focuses: ui, css, administration Cc:

Description

When select elements are hovered, the text color changes to the "default color scheme" and not to the color scheme selected bu the user.

For example, the user has selected "sunrise" color scheme the hover color on the select element should be from the "red/orange" palette. But it has the default color scheme's blue color.

Since all other inputs honor the color scheme color select element should also follow the same.

The fix should be that below selector should be added in color scheme CSS files with the respective scheme color.

.wp-core-ui select:hover {
    color: #007cba;
}

https://i.snipboard.io/RMaoLd.jpg

Attachments (1)

51282.patch (561 bytes) - added by akabarikalpesh 3 months ago.
highlighted variable added in _admin.scss

Download all attachments as: .zip

Change History (3)

@akabarikalpesh
3 months ago

highlighted variable added in _admin.scss

#1 @akabarikalpesh
3 months ago

  • Focuses administration coding-standards added
  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
2 months ago

  • Focuses coding-standards removed
Note: See TracTickets for help on using tickets.