Use consistent colours in dark theme
This commit is contained in:
parent
cc39bf2535
commit
4b297a7fd7
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "interlanguage-checker",
|
||||
"version": "1.13.7",
|
||||
"version": "1.13.8",
|
||||
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
|
||||
"author": "Florine W. Dekker",
|
||||
"browser": "dist/bundle.js",
|
||||
|
|
|
@ -69,10 +69,6 @@ summary {
|
|||
|
||||
|
||||
/* Table colors */
|
||||
#network-table tbody tr:nth-child(odd) {
|
||||
background-color: var(--table-row-color);
|
||||
}
|
||||
|
||||
#network-table th a i {
|
||||
font-size: 0.9em;
|
||||
font-weight: normal;
|
||||
|
@ -158,8 +154,3 @@ div.info {
|
|||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
input[data-entered=true]:invalid {
|
||||
border-color: var(--error-color);
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
|
|
@ -108,10 +108,8 @@
|
|||
</article>
|
||||
</section>
|
||||
|
||||
<section> <!-- No `container` class, to allow use of whole width -->
|
||||
<form id="network-table-form">
|
||||
<table id="network-table"></table>
|
||||
</form>
|
||||
<section class="container-fluid">
|
||||
<form id="network-table-form"></form>
|
||||
</section>
|
||||
|
||||
<section class="container">
|
||||
|
|
|
@ -111,7 +111,7 @@ export class InterlangTable {
|
|||
*/
|
||||
render(id: string, network: InterlangNetwork): HTMLElement {
|
||||
const table = stringToHtml(
|
||||
`<table id="${id}">` +
|
||||
`<table id="${id}" role="grid">` +
|
||||
/**/this.generateTableHead(network) +
|
||||
/**/this.generateTableBody(network) +
|
||||
`</table>`,
|
||||
|
|
Loading…
Reference in New Issue