wikimedia/mediawiki-extensions-VisualEditor

View on GitHub
modules/ve-mw/ui/styles/dialogs/ve.ui.MWMetaDialog.less

Summary

Maintainability
Test Coverage
/*!
 * VisualEditor MediaWiki UserInterface MWMetaDialog styles.
 *
 * @copyright See AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

/* Language page */
@import 'mediawiki.skin.variables.less';

.ve-ui-mwLanguagesPage-languages-table {
    margin: 2em 0 0 0;
    padding: 0;
    width: 100%;
    border: 0;
    border-collapse: collapse;

    th {
        border-bottom: 1px solid @border-color-subtle;
        text-align: left;
    }

    th,
    td {
        padding: 0.75em 1em;
        border-bottom: 1px solid @border-color-inverted;
    }

    tr td:first-child {
        width: 30%;
    }

    tr:nth-child( odd ) td {
        background: @background-color-neutral;
    }

    tr:nth-child( even ) td {
        background: @background-color-neutral-subtle;
    }
}