mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-18 08:40:49 +00:00
d973a1642f
This reverts commit 52273510fe
.
Reason for revert: Web team is trying to limit the amount of differences between Minerva and Vector codebases, using shared styles
in core where-ever possible. Since this rule is already defined in core, we should load it from there. This requires a slight change to
the loading mechanism, which I've marked as a dependency.
Change-Id: Id31a6b24bdd4f745e194d77cf7b97faf6ae7e6de
Depends-On: I11c54b58873523f7b72cca67b82efdd681562508
54 lines
966 B
Plaintext
54 lines
966 B
Plaintext
@import '../minerva.less/minerva.mixins.less';
|
|
@import '../minerva.less/minerva.variables.less';
|
|
@import 'mediawiki.ui/mixins.buttons.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;
|
|
.mw-ui-button();
|
|
.mw-ui-button-states();
|
|
font-size: @font-size-minerva-smallest;
|
|
|
|
&::after {
|
|
.clearfix();
|
|
}
|
|
}
|
|
}
|