Browse Source

Improve legibility of account/hashtag autosuggest (#31361)

dariusk-working/4_3_0
Michael Stanclift 2 years ago committed by GitHub
parent
commit
caf0164f00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      app/javascript/styles/mastodon-light/diff.scss
  2. 13
      app/javascript/styles/mastodon/components.scss

6
app/javascript/styles/mastodon-light/diff.scss

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

13
app/javascript/styles/mastodon/components.scss

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

Loading…
Cancel
Save