1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Improve legibility of account/hashtag autosuggest (#31361)

This commit is contained in:
Michael Stanclift 2024-08-10 04:11:34 -05:00 committed by GitHub
parent 28411acebb
commit caf0164f00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 3 deletions

View file

@ -559,3 +559,9 @@ a.sparkline {
.report-dialog-modal__textarea { .report-dialog-modal__textarea {
background: darken($ui-base-color, 10%); background: darken($ui-base-color, 10%);
} }
.autosuggest-account {
.display-name__account {
color: $dark-text-color;
}
}

View file

@ -426,10 +426,17 @@ body > [data-popper-placement] {
&:hover, &:hover,
&:focus, &:focus,
&:active, &:active {
background: var(--dropdown-border-color);
.autosuggest-account .display-name__account {
color: inherit;
}
}
&.selected { &.selected {
background: $ui-highlight-color; background: $ui-highlight-color;
color: $primary-text-color; color: $ui-button-color;
.autosuggest-account .display-name__account { .autosuggest-account .display-name__account {
color: inherit; color: inherit;
@ -465,7 +472,7 @@ body > [data-popper-placement] {
display: block; display: block;
line-height: 16px; line-height: 16px;
font-size: 12px; font-size: 12px;
color: $dark-text-color; color: $ui-primary-color;
} }
} }