Skip to content

Commit ea7e9d3

Browse files
committed
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 WordPress#14042 Props sainathpoojary. Fixes #66253. git-svn-id: https://develop.svn.wordpress.org/trunk@64231 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c181fea commit ea7e9d3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/wp-admin/css/colors/_mixins.scss‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
}
3737

3838
&:disabled,
39+
&[aria-disabled="true"],
3940
&.disabled {
4041
background: tokens.$gray-100;
4142
border-color: transparent;
@@ -84,6 +85,7 @@
8485
}
8586

8687
&:disabled,
88+
&[aria-disabled="true"],
8789
&.disabled {
8890
background: transparent;
8991
border-color: tokens.$gray-300;
@@ -121,6 +123,7 @@
121123
}
122124

123125
&:disabled,
126+
&[aria-disabled="true"],
124127
&.disabled {
125128
background: transparent;
126129
border-color: tokens.$gray-400;

0 commit comments

Comments
 (0)