Date: Fri, 1 Feb 2019 00:15:38 +0100
Subject: Fix link color in high-contrast theme, add underlines (#9949)
Improve sorting of default themes in the dropdown
---
app/javascript/styles/contrast/diff.scss | 51 ++++++++++++++++++++++++++++++++
config/locales/en.yml | 6 ++--
2 files changed, 54 insertions(+), 3 deletions(-)
(limited to 'config/locales/en.yml')
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:
Originally adapted from the Discourse privacy policy.
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"
--
cgit