diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-01 00:15:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 00:15:38 +0100 |
commit | ad8c71c9855634bd58b05825f4e331d75f734aaa (patch) | |
tree | d19eb5832348e19bf70091401df45629eca9fdc7 | |
parent | 1f9519020296c8c24a73d3f99d3c1ad94a627f3b (diff) |
Fix link color in high-contrast theme, add underlines (#9949)
Improve sorting of default themes in the dropdown
-rw-r--r-- | app/javascript/styles/contrast/diff.scss | 51 | ||||
-rw-r--r-- | config/locales/en.yml | 6 |
2 files changed, 54 insertions, 3 deletions
diff --git a/app/javascript/styles/contrast/diff.scss b/app/javascript/styles/contrast/diff.scss index eee9ecc3e..7d8993a50 100644 --- a/app/javascript/styles/contrast/diff.scss +++ b/app/javascript/styles/contrast/diff.scss @@ -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; + } +} diff --git a/config/locales/en.yml b/config/locales/en.yml index fc0f63415..c7ef36598 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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" |