mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-23 10:19:05 +00:00
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": [
|
||||
"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": [
|
||||
|
|
17
skinStyles/mediawiki.interface.helpers.styles.less
Normal file
17
skinStyles/mediawiki.interface.helpers.styles.less
Normal 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}';
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue