Debian Codegraph @

skins/MinervaNeue/skinStyles/mediawiki.interface.helpers.styles.less

raw
1 @import '../minerva.less/minerva.mixins.less';
2 @import '../minerva.less/minerva.variables.less';
3 @import 'mediawiki.mixins.less';
4
5 /**
6 * Helper classes for special pages with changeslist elements.
7 */
8
9 .mw-changeslist-links {
10 & > span::before {
11 content: '@{msg-parentheses-start}';
12 }
13
14 & > span:not( :first-child )::before {
15 content: '@{msg-pipe-separator}';
16 }
17
18 & > span:last-child::after {
19 content: '@{msg-parentheses-end}';
20 }
21 }
22
23 // Disable parentheses and content in pager tools.
24 .mw-pager-tools {
25 margin-left: 8px;
26
27 &.mw-changeslist-links {
28 > span::after,
29 > span::before {
30 content: none;
31 }
32 }
33 }
34
35 .mw-pager-tools,
36 .mw-history-undo {
37 font-size: initial;
38
39 a {
40 float: right;
41 background-color: @background-color-interactive-subtle;
42 color: @color-base;
43 text-decoration: none;
44 font-size: @font-size-minerva-smallest;
45
46 &::after {
47 .clearfix();
48 }
49 }
50 }
51
52 /**
53 * "pill" style tags meant to emulate the OOUI ".oo-ui-tagItemWidget" style.
54 */
55 .mw-tag-markers {
56 margin: 0 0 0.5em 0;
57 clear: both;
58 }
59
60 .mw-uctop {
61 padding: 0.5em 0;
62 line-height: 1.4em;
63 }
64
65 .mw-tag-marker {
66 // due to the extra space afforded by padding,
67 // we can make the font-size a bit smaller to save space.
68 font-size: @font-size-tag-line;
69 display: inline-block;
70 box-sizing: border-box;
71 height: 1.6em;
72 border: @border-base;
73 border-radius: @border-radius-pill;
74 line-height: 1.6em;
75 padding: 0 0.6em;
76 vertical-align: middle;
77 white-space: nowrap;
78 }