mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 18:36:20 +00:00
2fc809dc17
Replaces hardcoded color hex values with their equivalent values from Codex, via the "mediawiki.skin.variables" system. Bug: T366197 Change-Id: Ia929a1a8d6351222acb454c8ec750e920ae6d072
34 lines
662 B
Plaintext
34 lines
662 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki UserInterface language variant context item styles.
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
.ve-ui-mwLanguageVariantNodeContextItem-rule-table {
|
|
width: 100%;
|
|
border: 0;
|
|
border-collapse: collapse;
|
|
|
|
th {
|
|
white-space: nowrap;
|
|
border-bottom: 1px solid @border-color-subtle;
|
|
text-align: left;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 0.75em 1em;
|
|
border-bottom: 1px solid @background-color-base;
|
|
}
|
|
|
|
tr:nth-child( odd ) td {
|
|
background: @background-color-neutral;
|
|
}
|
|
|
|
tr:nth-child( even ) td {
|
|
background: @background-color-neutral-subtle;
|
|
}
|
|
}
|