Debian Codegraph @

extensions/Interwiki/modules/interwiki.less

raw
1 // Styles for Special:Interwiki
2 @import 'mediawiki.skin.variables.less';
3
4 table.mw-interwikitable {
5 width: 100%;
6
7 &.intro th {
8 padding-right: 1.4ex;
9 vertical-align: top;
10 }
11
12 &.intro th.mw-align-start {
13 text-align: left;
14 }
15
16 &.intro th.mw-align-end {
17 text-align: right;
18 }
19
20 &.body td.mw-interwikitable-local,
21 &.body td.mw-interwikitable-trans,
22 &.body td.mw-interwikitable-modify {
23 text-align: center;
24 }
25
26 &.body td.mw-interwikitable-local-yes {
27 background: @background-color-success-subtle;
28 }
29 }
30
31 /* It's safe enough to assume that URLs are usually LTR. */
32 /* @noflip */
33 .mw-interwikitable-url,
34 input#mw-interwiki-url {
35 text-align: left;
36 direction: ltr;
37 }
38
39 .mw-interwikitable-modify {
40 white-space: nowrap;
41 }
42
43 .mw-interwiki-legend th::before,
44 .mw-interwiki-legend .mw-collapsible-toggle {
45 font-weight: normal !important; /* stylelint-disable-line declaration-no-important */
46 }
47
48 /* Selector with higher specifity than wikitable */
49 table.wikitable.mw-interwiki-legend {
50 margin-top: 2em;
51 }
52
53 .mw-collapsible-content {
54 clear: both;
55 }