Browse Source

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

Improve sorting of default themes in the dropdown
master
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
ad8c71c985
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 54 additions and 3 deletions
  1. +51
    -0
      app/javascript/styles/contrast/diff.scss
  2. +3
    -3
      config/locales/en.yml

+ 51
- 0
app/javascript/styles/contrast/diff.scss View File

@ -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;
}
}

+ 3
- 3
config/locales/en.yml View 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"

Loading…
Cancel
Save