Make WordPress Core

Changeset 62200


Ignore:
Timestamp:
04/02/2026 11:33:50 PM (4 days ago)
Author:
joedolson
Message:

Admin: Limit scope of admin notice link design.

The design changes to admin notices links in the admin refresh were applied broadly to .notice, .error, and .updated classes, but these classes are sometimes used outside the context of an admin notice.

Change selectors from .notice a, .error a, .updated a to div.notice a, div.error a, div.updated a.

Props opurockey, audrasjb, vgnavada, gaisma22, shailu25, rbcorrales, joedolson.
Fixes #64976.

File:
1 edited

Legend:

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

    r62187 r62200  
    14741474}
    14751475
    1476 .notice a,
    1477 .error a,
    1478 .updated a {
     1476div.notice a,
     1477div.error a,
     1478div.updated a {
    14791479    color: var(--wp-admin-theme-color-darker-10);
    14801480    text-decoration: underline;
    14811481}
    14821482
    1483 .notice a:hover,
    1484 .error a:hover,
    1485 .updated a:hover {
     1483div.notice a:hover,
     1484div.error a:hover,
     1485div.updated a:hover {
    14861486    color: var(--wp-admin-theme-color-darker-20);
    14871487}
    14881488
    1489 .notice a:focus,
    1490 .error a:focus,
    1491 .updated a:focus {
     1489div.notice a:focus,
     1490div.error a:focus,
     1491div.updated a:focus {
    14921492    box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
    14931493    outline: 2px solid transparent;
Note: See TracChangeset for help on using the changeset viewer.