fix: keep text dark on form controls given a white background

sanitize.css forms.css makes form controls inherit the text color, so
the rules that put them back on white left white text wherever the
surrounding panel sets it, as in the nimgsearch search panel and the
open.neuroinf.jp advanced search.

- set the text to black next to each white control background,
  matching how the browser drew the controls before sanitize.css
This commit is contained in:
2026-09-15 20:02:11 +09:00
parent b8e1e71547
commit 99de09f6f9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -77,4 +77,5 @@
.database :global(.fieldDate input),
.database :global(.listTable select) {
background-color: #ffffff;
color: #000000;
}
+1
View File
@@ -18,6 +18,7 @@
margin: 3px 3px 10px;
/* sanitize.css forms.css leaves buttons transparent */
background-color: #ffffff;
color: #000000;
}
.indexTree div span {