1 /* stylelint-disable selector-class-pattern */
3 @import 'mediawiki.skin.variables.less';
4 @import 'mediawiki.mixins.less';
7 * Helper classes to provide styles for classes provided by functions of Linker class or Changes class.
8 * Also used for CommentFormatter class, which was previous in Linker.
11 /** Class is added by ChangesList::flag */
14 color: @color-destructive;
17 /** Class is added by ChangesList::flag */
24 /** Class is added by Linker::userLink */
26 // Word-break overlong user names, see T237230.
27 // FIXME: This property is introduced now, but will be separated in a follow-up
28 // caring about 'i18n-directionality', see T247033.
33 /** Class is added by Linker::userLink */
35 background-color: @background-color-interactive;
37 border-radius: @border-radius-base;
40 /* Comment portions of RC entries, also used by MediaWiki\CommentFormatter\CommentFormatter::formatBlock */
43 unicode-bidi: -moz-isolate;
44 unicode-bidi: isolate;
45 // Covering several contexts for breaking up long comments, see T158725.
46 word-wrap: break-word;
47 overflow-wrap: break-word;
48 word-break: break-word;
51 /* The auto-generated edit comments */
54 .autocomment a:visited {
58 /** rev_deleted stuff */
60 span.history-deleted {
61 text-decoration: line-through;
66 span.mw-history-suppressed {
67 /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
68 text-decoration-style: double;
72 /* (show/hide) revision deletion links */
73 span.mw-revdelundel-link,
74 strong.mw-revdelundel-link {
78 // Historically this has been styled red, but should be distinguished from
79 // normal red links as the contributions page does exist. To be revisited later.
80 // More context: T303571#7781282
81 .mw-usertoollinks-contribs-no-edits {
82 color: @color-link-new;
85 color: @color-link-new--visited;
90 .cdx-mixin-link-base();