From 263285e13960ce050536c75453edbbcbcdfceb2a Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Tue, 14 Jun 2022 13:49:25 +0200 Subject: [PATCH] Merge some more identical MediaWiki color scheme styles Bug: T307188 Change-Id: I50037fe3f8653941269699b140a84ff44d8e20ed --- resources/mode/mediawiki/mediawiki.less | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/resources/mode/mediawiki/mediawiki.less b/resources/mode/mediawiki/mediawiki.less index dd903ba4..471d29e0 100644 --- a/resources/mode/mediawiki/mediawiki.less +++ b/resources/mode/mediawiki/mediawiki.less @@ -103,11 +103,18 @@ pre.CodeMirror-line-like.cm-mw-tag-nowiki, .cm-mw-template2-ground { .ground( @template: 1 ); } .cm-mw-template3-ground { .ground( @template: 2 ); } +.cm-mw-ext-ground, .cm-mw-template-ext-ground { .ground( @ext: 1 ); } +.cm-mw-ext2-ground, .cm-mw-template-ext2-ground { .ground( @ext: 2 ); } +.cm-mw-ext3-ground, .cm-mw-template-ext3-ground { .ground( @ext: 3 ); } +.cm-mw-link-ground, +.cm-mw-ext-link-ground, .cm-mw-template-link-ground { .ground( @link: 1 ); } +.cm-mw-ext2-link-ground, .cm-mw-template-ext-link-ground { .ground( @ext: 1, @link: 1 ); } +.cm-mw-ext3-link-ground, .cm-mw-template-ext2-link-ground { .ground( @ext: 2, @link: 1 ); } .cm-mw-template-ext3-link-ground { .ground( @ext: 3, @link: 1 ); } @@ -127,14 +134,6 @@ pre.CodeMirror-line-like.cm-mw-tag-nowiki, .cm-mw-template3-ext2-link-ground { .ground( @template: 2, @ext: 2, @link: 1 ); } .cm-mw-template3-ext3-link-ground { .ground( @template: 2, @ext: 3, @link: 1 ); } -.cm-mw-ext-ground { .ground( @ext: 1 ); } -.cm-mw-ext2-ground { .ground( @ext: 2 ); } -.cm-mw-ext3-ground { .ground( @ext: 3 ); } -.cm-mw-ext-link-ground { .ground( @link: 1 ); } -.cm-mw-ext2-link-ground { .ground( @ext: 1, @link: 1 ); } -.cm-mw-ext3-link-ground { .ground( @ext: 2, @link: 1 ); } -.cm-mw-link-ground { .ground( @link: 1 ); } - .cm-mw-matchingbracket { background-color: #eee; box-shadow: inset 0 0 1px 1px #999;