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> <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" title: "%{instance} Terms of Service and Privacy Policy"
themes: themes:
contrast: High contrast contrast: Mastodon (High contrast)
default: Mastodon default: Mastodon (Dark)
mastodon-light: Mastodon (light) mastodon-light: Mastodon (Light)
time: time:
formats: formats:
default: "%b %d, %Y, %H:%M" default: "%b %d, %Y, %H:%M"

Loading…
Cancel
Save