Fix link color in high-contrast theme, add underlines (#9949)

Improve sorting of default themes in the dropdown
master
Eugen Rochko 6 years ago committed by GitHub
parent 1f95190202
commit ad8c71c985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 51
      app/javascript/styles/contrast/diff.scss
  2. 6
      config/locales/en.yml

@ -12,3 +12,54 @@
}
}
}
.status__content a,
.reply-indicator__content a {
color: lighten($ui-highlight-color, 12%);
text-decoration: underline;
&.mention {
text-decoration: none;
}
&.mention span {
text-decoration: underline;
&:hover,
&:focus,
&:active {
text-decoration: none;
}
}
&:hover,
&:focus,
&:active {
text-decoration: none;
}
&.status__content__spoiler-link {
color: $secondary-text-color;
text-decoration: none;
}
}
.status__content__read-more-button {
text-decoration: underline;
&:hover,
&:focus,
&:active {
text-decoration: none;
}
}
.getting-started__footer a {
text-decoration: underline;
&:hover,
&:focus,
&:active {
text-decoration: none;
}
}

@ -929,9 +929,9 @@ en:
<p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
title: "%{instance} Terms of Service and Privacy Policy"
themes:
contrast: High contrast
default: Mastodon
mastodon-light: Mastodon (light)
contrast: Mastodon (High contrast)
default: Mastodon (Dark)
mastodon-light: Mastodon (Light)
time:
formats:
default: "%b %d, %Y, %H:%M"

Loading…
Cancel
Save