Make WordPress Core

Changeset 64231


Ignore:
Timestamp:
10/07/2026 03:00:52 PM (7 hours ago)
Author:
afercia
Message:

Administration: Improve the styling of the disabled buttons in colors/_mixins.scss.

Makes sure that buttons with an aria-disabled="true" attribute gets the disabled styling provided in src/wp-admin/css/colors/_mixins.scss.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/14042

Props sainathpoojary.
Fixes #66253.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_mixins.scss

    r64229 r64231  
    3737
    3838        &:disabled,
     39        &[aria-disabled="true"],
    3940        &.disabled {
    4041                background: tokens.$gray-100;
    … …  
    8586
    8687        &:disabled,
     88        &[aria-disabled="true"],
    8789        &.disabled {
    8890                background: transparent;
    … …  
    122124
    123125        &:disabled,
     126        &[aria-disabled="true"],
    124127        &.disabled {
    125128                background: transparent;
Note: See TracChangeset for help on using the changeset viewer.