]> cat aescling's git repositories - mastodon.git/commitdiff
Fix link color in high-contrast theme, add underlines (#9949)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 31 Jan 2019 23:15:38 +0000 (00:15 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 23:15:38 +0000 (00:15 +0100)
Improve sorting of default themes in the dropdown

app/javascript/styles/contrast/diff.scss
config/locales/en.yml

index eee9ecc3ef7f27706957e5c66aae23f19599895b..7d8993a50802a1e7ef6e0c99125b4d5fd375ef5a 100644 (file)
     }
   }
 }
+
+.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;
+  }
+}
index fc0f634159c607c8fedabe52a1bd2a1248d00184..c7ef36598a09b6858b6d08b971a857b06830506c 100644 (file)
@@ -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"