mediawiki-skins-MinervaNeue/skinStyles/mediawiki.interface.helpers.styles.less
Volker E 38ca243e39 styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' @import with
new skin-aware 'mediawiki.skin.variables.less' standard.
Removing calls for 'mediawiki.skin.variables.less' in favor for
'minerva.variables.less' for consistency.
Also
- replacing several static values with new Codex design token featuring
  skin variables of `background-color`, `color`, `border-*` and
  `transition` categories
- renaming several Less variables to variable naming standard
- moving a small number of MinervaNeue specific variables into
  'minderva.variables.less' file. Those should be replaced in mid-future
  by Codex design tokens

Please note, that this patch is not replacing all values with
possible Codex tokens. It's just applying them on selected
categories for consistency for now to keep the patch easier reviewable.
Further replacements will be done in follow-up patches.

Bump MediaWiki core required version to >= v1.41.0.

Bug: T319381
Bug: T332541
Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75
Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
2023-04-24 16:08:27 +00:00

60 lines
1.1 KiB
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();
}
}
}
.mw-tempuserlink {
background-color: @background-color-interactive;
padding: 2px 8px 2px 8px;
border-radius: 2px;
}