Add Minerva specific mediawiki.interface.helpers.styles.less file

This SkinStyle file adds paranthases around the (diff|hist) links
and username(talk|contrib|block) links on special pages.

Bug: T222394
Change-Id: Ic291cb795ccad556a5049d970c0282b2d4c65a11
This commit is contained in:
Jan Drewniak 2019-05-07 15:17:04 +02:00
parent 7eabe08806
commit 4ad1b511c0
2 changed files with 20 additions and 1 deletions

View File

@ -122,7 +122,9 @@
"mediawiki.action.history.styles": [
"skinStyles/mediawiki.action.history.styles.less"
],
"mediawiki.interface.helpers.styles": [],
"mediawiki.interface.helpers.styles": [
"skinStyles/mediawiki.interface.helpers.styles.less"
],
"mediawiki.rcfilters.highlightCircles.seenunseen.styles": [],
"mediawiki.rcfilters.filters.base.styles": [],
"ext.confirmEdit.fancyCaptcha.styles": [

View File

@ -0,0 +1,17 @@
/**
* Helper classes for special pages with changeslist elements.
*/
.mw-changeslist-links {
& > span:before {
content: '@{msg-parentheses-start}';
}
& > span:not( :first-child ):before {
content: '@{msg-pipe-separator}';
}
& > span:last-child:after {
content: '@{msg-parentheses-end}';
}
}