mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-22 18:23:18 +00:00
Allow disabled dropdown menu items to be focused (#36078)
This commit is contained in:
parent
ffaa672fd6
commit
841212710b
3 changed files with 19 additions and 9 deletions
|
|
@ -2908,16 +2908,23 @@ a.account__display-name {
|
|||
&:focus,
|
||||
&:hover,
|
||||
&:active {
|
||||
&:not(:disabled) {
|
||||
&:not(:disabled, [aria-disabled='true']) {
|
||||
background: var(--dropdown-border-color);
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
button:disabled,
|
||||
button[aria-disabled='true'] {
|
||||
color: $dark-text-color;
|
||||
cursor: default;
|
||||
|
||||
&:focus {
|
||||
color: rgb(from $dark-text-color r g b / 70%);
|
||||
background: var(--dropdown-border-color);
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue