mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
b0aa45822c
Additional change: * Remove unused import on mediawiki.special.changeslist module * Increase touch area of undo link for mobile devices Bug: T345768 Change-Id: I8ded245cf15ca58f91ca1b71beffd91da02cfd92
51 lines
877 B
Plaintext
51 lines
877 B
Plaintext
@import '../minerva.less/minerva.mixins.less';
|
|
@import '../minerva.less/minerva.variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
/**
|
|
* 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}';
|
|
}
|
|
}
|
|
|
|
// Disable parentheses and content in pager tools.
|
|
.mw-pager-tools {
|
|
margin-left: 8px;
|
|
|
|
&.mw-changeslist-links {
|
|
> span::after,
|
|
> span::before {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-pager-tools,
|
|
.mw-history-undo {
|
|
font-size: initial;
|
|
|
|
a {
|
|
float: right;
|
|
background-color: @background-color-lightest;
|
|
color: @color-base;
|
|
text-decoration: none;
|
|
font-size: @font-size-minerva-smallest;
|
|
|
|
&::after {
|
|
.clearfix();
|
|
}
|
|
}
|
|
}
|