mediawiki-skins-MinervaNeue/skinStyles/mediawiki.interface.helpers.styles.less
bwang e09c41b011 Restore mw-ui-button styles to history page buttons
Bug: T345306
Change-Id: I331373de54fe4f4975d3e162efb6daf3258dcd67
2023-09-07 11:56:25 -05:00

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();
}
}
}