2022-12-12 23:52:52 +00:00
|
|
|
@import '../minerva.less/minerva.mixins.less';
|
|
|
|
@import '../minerva.less/minerva.variables.less';
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
2019-05-07 13:17:04 +00:00
|
|
|
/**
|
|
|
|
* Helper classes for special pages with changeslist elements.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mw-changeslist-links {
|
2023-03-31 19:50:36 +00:00
|
|
|
& > span::before {
|
2019-05-07 13:17:04 +00:00
|
|
|
content: '@{msg-parentheses-start}';
|
|
|
|
}
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
& > span:not( :first-child )::before {
|
2019-05-07 13:17:04 +00:00
|
|
|
content: '@{msg-pipe-separator}';
|
|
|
|
}
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
& > span:last-child::after {
|
2019-05-07 13:17:04 +00:00
|
|
|
content: '@{msg-parentheses-end}';
|
|
|
|
}
|
|
|
|
}
|
2022-12-12 23:52:52 +00:00
|
|
|
|
|
|
|
// Disable parentheses and content in pager tools.
|
|
|
|
.mw-pager-tools {
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
&.mw-changeslist-links {
|
2023-03-31 19:50:36 +00:00
|
|
|
> span::after,
|
|
|
|
> span::before {
|
2022-12-12 23:52:52 +00:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-pager-tools,
|
|
|
|
.mw-history-undo {
|
|
|
|
font-size: initial;
|
|
|
|
|
|
|
|
a {
|
|
|
|
float: right;
|
2024-02-01 17:33:08 +00:00
|
|
|
background-color: var( --background-color-interactive-subtle );
|
|
|
|
color: var( --color-base );
|
2022-12-12 23:52:52 +00:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: @font-size-minerva-smallest;
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
&::after {
|
2022-12-12 23:52:52 +00:00
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-24 01:14:15 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* "pill" style tags meant to emulate the OOUI ".oo-ui-tagItemWidget" style.
|
|
|
|
*/
|
|
|
|
.mw-tag-markers {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-tag-marker {
|
|
|
|
// due to the extra space afforded by padding,
|
|
|
|
// we can make the font-size a bit smaller to save space.
|
|
|
|
font-size: @font-size-tag-line;
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 1.6em;
|
|
|
|
border: @border-base;
|
|
|
|
border-radius: @border-radius-pill;
|
|
|
|
line-height: 1.6em;
|
|
|
|
padding: 0 0.6em;
|
|
|
|
vertical-align: middle;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|