[Glitch] Fix bad contrast on disabled dropdown menu items

Port 9e97ad04d8e771dd8a618d3b0e1fda6f3efcfec9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion 2025-12-16 12:38:47 +01:00 committed by Claire
parent 177479fe37
commit 59d2a712c5

View File

@ -2913,7 +2913,7 @@ a.account__display-name {
cursor: default; cursor: default;
&:focus { &:focus {
color: rgb(from var(--color-text-disabled) r g b / 70%); color: var(--color-text-on-disabled);
background: var(--color-bg-disabled); background: var(--color-bg-disabled);
outline: 0; outline: 0;
} }
@ -4059,8 +4059,8 @@ a.account__display-name {
box-sizing: border-box; box-sizing: border-box;
&:hover, &:hover,
&:focus, &:active,
&:active { &:focus-visible {
color: var(--color-text-primary); color: var(--color-text-primary);
} }
@ -4078,14 +4078,7 @@ a.account__display-name {
} }
&--logo { &--logo {
background: transparent;
padding: 10px; padding: 10px;
&:hover,
&:focus,
&:active {
background: transparent;
}
} }
} }