[feature request] increase the contrast of entries found (bold or highlight)
Currently when I select a tag or search something, I don't see the difference between the entries found and the the other one. For instance, I don't see the difference when it found an entry in a list a child item. I need to dim in the screen light to see which one is selected.
Slightly changing the selected item's font from gray to black isn't enough because on some screen it isn't possible to see the difference between gray and black, since the dimmer fonction doesn't actually dim the light but darken (or whiten) the pixels. Highlighting or bolding the entries matched,would solve this issue.
ps: if you can't change this, could you please tell me what file/line I should modify to solve this?
Thanks!
Slightly changing the selected item's font from gray to black isn't enough because on some screen it isn't possible to see the difference between gray and black, since the dimmer fonction doesn't actually dim the light but darken (or whiten) the pixels. Highlighting or bolding the entries matched,would solve this issue.
ps: if you can't change this, could you please tell me what file/line I should modify to solve this?
Thanks!
If you're still having trouble seeing the difference, you can (create and) add a line to chrome/userChrome.css in your Zotero profile directory, but only the non-matches are tagged, so you can't change the matches. You can try to set the context rows to a lighter gray:
#zotero-items-tree treechildren::-moz-tree-cell-text(contextRow) {
color: lightgray !important;
}
To change the
background
of the non-matches, you'd have to use-moz-tree-cell
instead of-moz-tree-cell-text
.ps: I forget to join a print screen : https://i.imgur.com/1a7vXZ5.png (the print screen is not accurate at all: it shows a much darker picture that what it really looks like, and it shows also more contrast: it's actually possible to see the difference, which in reality isn't)
(some (old) screen are just too bright even when we dim them at the lowest, so we need to use an extra dimmer that darken the pixels).
C:\Documents and Settings\<username>\Application Data\Zotero\Zotero\Profiles\<randomstring>
I only find one in
C:\Program Files (x86)\Zotero\chrome
(which only contains\icons\default
)http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes
Just to be sure, when I'll update zotero, userChrome.css won't be override, right?
#zotero-items-tree treechildren::-moz-tree-cell-text(contextRow) {
color: red; }
doesn't do anything (the red color to be sure to don't miss it). But the userChrome.css is recognised.
For instance, this works :
treechildren,
tabpanel * {
background: rgb(255, 12, 12) !important;
color: rgb(48, 79, 253) !important;
}
!important
. Edited above.It's great!
Thanks a lot for your patience
[solved]