Changes for page MentionsMacro

Last modified by Thomas Coelho (local) on 2026/02/05 11:32

From version 1.1
edited by Thomas Coelho (local)
on 2025/11/05 14:42
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/17.9.0]
To version 2.1
edited by Thomas Coelho (local)
on 2026/02/05 11:32
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/18.0.1]

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,11 +1,17 @@
1 1  .xwiki-mention {
2 - background-color: $services.mentions.mentionsColor;
2 + --mentions-color: $services.mentions.mentionsColor;
3 + --mentions-self-color: $services.mentions.selfMentionsForeground;
4 + --mentions-self-bg: $services.mentions.selfMentionsColor;
5 + background-color: var(--mentions-color);
3 3   border-radius: 10px;
4 - padding: 2px 5px 2px 5px;
7 + padding: 1px 5px 1px 5px;
8 + border: 1px solid var(--dropdown-divider-bg);
5 5  }
6 6  
7 7  .xwiki-mention.user.self {
8 - background-color: $services.mentions.selfMentionsColor;
12 + background-color: var(--mentions-self-bg);
13 + color: var(--mentions-self-color);
14 + border: 0;
9 9  }
10 10  
11 11  .xwiki-mention.removed {