mediawiki-skins-MinervaNeue/skinStyles/mediawiki.interface.helpers.styles.less
Thalia 52273510fe Add custom styles for temporary user links
Bug: T334581
Change-Id: I0641bab87a8c942fb58e63c08924f5ff9f4472b0
2023-04-12 18:38:28 +01:00

61 lines
1.1 KiB
Plaintext

@import '../minerva.less/minerva.mixins.less';
@import '../minerva.less/minerva.variables.less';
@import 'mediawiki.ui/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: @colorGray15;
color: @colorText;
text-decoration: none;
.mw-ui-button();
.mw-ui-button-states();
font-size: @font-size-minerva-smallest;
&::after {
.clearfix();
}
}
}
.mw-tempuserlink {
background-color: @background-color-interactive;
padding: 2px 8px 2px 8px;
border-radius: 2px;
}