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", "name": "interlanguage-checker",
"version": "1.13.7", "version": "1.13.8",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.", "description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "Florine W. Dekker", "author": "Florine W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",

View File

@ -69,10 +69,6 @@ summary {
/* Table colors */ /* Table colors */
#network-table tbody tr:nth-child(odd) {
background-color: var(--table-row-color);
}
#network-table th a i { #network-table th a i {
font-size: 0.9em; font-size: 0.9em;
font-weight: normal; font-weight: normal;
@ -158,8 +154,3 @@ div.info {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
input[data-entered=true]:invalid {
border-color: var(--error-color);
color: var(--error-color);
}

View File

@ -108,10 +108,8 @@
</article> </article>
</section> </section>
<section> <!-- No `container` class, to allow use of whole width --> <section class="container-fluid">
<form id="network-table-form"> <form id="network-table-form"></form>
<table id="network-table"></table>
</form>
</section> </section>
<section class="container"> <section class="container">

View File

@ -111,7 +111,7 @@ export class InterlangTable {
*/ */
render(id: string, network: InterlangNetwork): HTMLElement { render(id: string, network: InterlangNetwork): HTMLElement {
const table = stringToHtml( const table = stringToHtml(
`<table id="${id}">` + `<table id="${id}" role="grid">` +
/**/this.generateTableHead(network) + /**/this.generateTableHead(network) +
/**/this.generateTableBody(network) + /**/this.generateTableBody(network) +
`</table>`, `</table>`,