Make WordPress Core

Changeset 55107


Ignore:
Timestamp:
01/20/2023 09:26:44 PM (22 months ago)
Author:
joedolson
Message:

Plugins: Add visible focus on plugin modal close button.

Change the focus and hover state of the plugin modal close button to use #f0f0f1 with visible outline to be visible against modal overlay.

Props dperonne, viralsampat, jeawhanlee, mukesh27, sabernhardt, joedolson.
Fixes #56604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r53777 r55107  
    30313031.plugin-details-modal #TB_closeWindowButton:hover,
    30323032.plugin-details-modal #TB_closeWindowButton:focus {
    3033     color: #135e96;
    30343033    outline: none;
    30353034    box-shadow: none;
     3035}
     3036
     3037.plugin-details-modal #TB_closeWindowButton:hover::after,
     3038.plugin-details-modal #TB_closeWindowButton:focus::after {
     3039    outline: 2px solid;
     3040    outline-offset: -4px;
     3041    border-radius: 4px;
    30363042}
    30373043
Note: See TracChangeset for help on using the changeset viewer.