[Glitch] Change contrast of status links that are not mentions nor hashtags

Port 10e78ecf57 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
ThibG authored and Thibaut Girka committed 2019-07-28 16:47:36 +02:00
1 parent 31fc3be0a4
commit 7f147acea6
2 files changed
+5

No files matched your search

@@ -51,6 +51,7 @@ export default class StatusContent extends React.PureComponent {
} else {
link.addEventListener('click', this.onLinkClick.bind(this), false);
link.setAttribute('title', link.href);
link.classList.add('unhandled-link');
}
link.setAttribute('target', '_blank');
@@ -133,6 +133,10 @@
}
}
a.unhandled-link {
color: lighten($ui-highlight-color, 8%);
}
.status__content__spoiler-link {
background: lighten($ui-base-color, 30%);