Use consistent colours in dark theme

This commit is contained in:
Florine W. Dekker 2022-11-26 15:26:04 +01:00
parent cc39bf2535
commit 4b297a7fd7
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
4 changed files with 4 additions and 15 deletions

View File

@ -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",

View File

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

View File

@ -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">

View File

@ -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>`,