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:
parent
7eabe08806
commit
4ad1b511c0
|
@ -122,7 +122,9 @@
|
||||||
"mediawiki.action.history.styles": [
|
"mediawiki.action.history.styles": [
|
||||||
"skinStyles/mediawiki.action.history.styles.less"
|
"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.highlightCircles.seenunseen.styles": [],
|
||||||
"mediawiki.rcfilters.filters.base.styles": [],
|
"mediawiki.rcfilters.filters.base.styles": [],
|
||||||
"ext.confirmEdit.fancyCaptcha.styles": [
|
"ext.confirmEdit.fancyCaptcha.styles": [
|
||||||
|
|
|
@ -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}';
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue