mediawiki-extensions-Interwiki/modules/interwiki.less
Ebrahim Byagowi 86dfcc6eb8 Tweak background of 'yes' cells of Special:Interwiki for night mode
This uses background-color-success-subtle for the background color of
'yes' cells in Special:Interwiki

Bug: T367124
Change-Id: I81764c2669525c790f600643421274cfa9436e2a
2024-07-01 21:00:59 +00:00

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;
}