Commit 7f147ace authored by ThibG's avatar ThibG Committed by Thibaut Girka
Browse files

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

Port 10e78ecf

 to glitch-soc

Signed-off-by: default avatarThibaut Girka <thib@sitedethib.com>
parent 31fc3be0
......@@ -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%);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment