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-06-10 20:52:01 +00:00
|
|
|
background-color: @background-color-interactive-subtle;
|
|
|
|
color: @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;
|
|
|
|
}
|
|
|
|
|
2024-09-10 03:20:42 +00:00
|
|
|
.mw-uctop {
|
|
|
|
padding: 0.5em 0;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
|
2024-03-24 01:14:15 +00:00
|
|
|
.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;
|
|
|
|
}
|