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:
parent
28411acebb
commit
caf0164f00
2 changed files with 16 additions and 3 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue