mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-25 11:56:36 +00:00
Fix bad contrast on disabled dropdown menu items (#37268)
This commit is contained in:
@@ -2848,7 +2848,7 @@ a.account__display-name {
|
||||
cursor: default;
|
||||
|
||||
&:focus {
|
||||
color: rgb(from var(--color-text-disabled) r g b / 70%);
|
||||
color: var(--color-text-on-disabled);
|
||||
background: var(--color-bg-disabled);
|
||||
outline: 0;
|
||||
}
|
||||
@@ -3994,8 +3994,8 @@ a.account__display-name {
|
||||
box-sizing: border-box;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
&:active,
|
||||
&:focus-visible {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
@@ -4013,14 +4013,7 @@ a.account__display-name {
|
||||
}
|
||||
|
||||
&--logo {
|
||||
background: transparent;
|
||||
padding: 10px;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user