Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] User mentions #11001

Merged
merged 12 commits into from Jun 12, 2018
Expand Up @@ -4790,11 +4790,10 @@ body:not(.is-cordova) {

.rc-old .mention-link {
border-radius: 4px;
padding: 0 4px 2px;

&.mention-link-me,
&.mention-link-all {
padding: 0 4px 2px;

font-weight: bold;
}
}
Expand Down
4 changes: 4 additions & 0 deletions packages/rocketchat-theme/server/colors.less
Expand Up @@ -598,6 +598,10 @@ input:-webkit-autofill {
}

.mention-link {
&:not(.mention-link-me):not(.mention-link-all) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karlprieb @ggazzo do we need this? or till the more specific selector class="mention-link mention-link-me" already overwrite the background colour?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried it, doesn't work :(
2018-06-12_20-01-55

background-color: fade(@rc-color-button-primary, 20%);
}

&.mention-link-me {
color: @primary-action-contrast;
}
Expand Down