mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-27 15:50:32 +00:00
86dfcc6eb8
This uses background-color-success-subtle for the background color of 'yes' cells in Special:Interwiki Bug: T367124 Change-Id: I81764c2669525c790f600643421274cfa9436e2a
56 lines
1 KiB
Plaintext
56 lines
1 KiB
Plaintext
// Styles for Special:Interwiki
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
table.mw-interwikitable {
|
|
width: 100%;
|
|
|
|
&.intro th {
|
|
padding-right: 1.4ex;
|
|
vertical-align: top;
|
|
}
|
|
|
|
&.intro th.mw-align-start {
|
|
text-align: left;
|
|
}
|
|
|
|
&.intro th.mw-align-end {
|
|
text-align: right;
|
|
}
|
|
|
|
&.body td.mw-interwikitable-local,
|
|
&.body td.mw-interwikitable-trans,
|
|
&.body td.mw-interwikitable-modify {
|
|
text-align: center;
|
|
}
|
|
|
|
&.body td.mw-interwikitable-local-yes {
|
|
background: @background-color-success-subtle;
|
|
}
|
|
}
|
|
|
|
/* It's safe enough to assume that URLs are usually LTR. */
|
|
/* @noflip */
|
|
.mw-interwikitable-url,
|
|
input#mw-interwiki-url {
|
|
text-align: left;
|
|
direction: ltr;
|
|
}
|
|
|
|
.mw-interwikitable-modify {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mw-interwiki-legend th::before,
|
|
.mw-interwiki-legend .mw-collapsible-toggle {
|
|
font-weight: normal !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|
|
|
|
/* Selector with higher specifity than wikitable */
|
|
table.wikitable.mw-interwiki-legend {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.mw-collapsible-content {
|
|
clear: both;
|
|
}
|