| 1 |
/*! |
| 2 |
* VisualEditor MediaWiki UserInterface language variant context item styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
@import 'mediawiki.skin.variables.less'; |
| 8 |
|
| 9 |
.ve-ui-mwLanguageVariantNodeContextItem-rule-table { |
| 10 |
width: 100%; |
| 11 |
border: 0; |
| 12 |
border-collapse: collapse; |
| 13 |
|
| 14 |
th { |
| 15 |
white-space: nowrap; |
| 16 |
border-bottom: 1px solid @border-color-subtle; |
| 17 |
text-align: left; |
| 18 |
} |
| 19 |
|
| 20 |
th, |
| 21 |
td { |
| 22 |
padding: 0.75em 1em; |
| 23 |
border-bottom: 1px solid @background-color-base; |
| 24 |
} |
| 25 |
|
| 26 |
tr:nth-child( odd ) td { |
| 27 |
background: @background-color-neutral; |
| 28 |
} |
| 29 |
|
| 30 |
tr:nth-child( even ) td { |
| 31 |
background: @background-color-neutral-subtle; |
| 32 |
} |
| 33 |
} |