in the provider search page when I hover the mouse over one of the results, the font’s color becomes white and disappears into the white background…How can I stop it from doing that?
Generally this behavior comes from
table tr:hover as defined here:
And this is supposed to set the font to white, but the background color to blue. I’m not sure why you aren’t getting the blue background – maybe you can try debugging the css in the browser to see what is happening?
how to debug CSS in the browser? How do I edit the .highlighted CSS class? Can I Edit the_base.CSS file? When I edit it and restart tomcat it goes back to default
You can edit just about anything in the browser’s inspector by clicking on it.
If you manually add the
highlighted class to the
tr (and avoid moving your mouse over the row, which would remove it), you can see the background color is not being used for some reason:
table tr:nth-child(even) style is overriding it?
When I remove the line “color: white;” the problem disappears…can’t I just do this? how can I make this permanent for the server computer and all devices connected to the system? are these CSS files embedded in the WAR file deployed in Tomcat?
What do I do? someone please help? lol this is how it looks with the font color blue can someone please make a screenshot of how it is supposed to look like?
@darius, this provider page on demo looks like it’s messed up to begin with (missing some of the default page styling). And, in fact, providers disappear by turning white, when you hover over them. Is this just a bug on the demo server?
This is a bug everywhere, not just on the demo server.
However: this is a bug in providermanagement module, which is not really a community-supported module, so I don’t see us prioritizing a fix for this. (That module is included in the reference application, but only so we can support different Provider Types, until TRUNK is fixed. This screen isn’t linked to from the Reference Application’s admin pages, though I think you can do the equivalent management of providers from the Manage Accounts page.)
The actual fix to this might be as trivial as replacing this line of code to instead include the standard includes from uicommons instead of uilibrary:
(The history of this module is that @mogoodrich wrote the bulk of this module for PIH Rwanda, though I don’t think it was ever deployed, before any work was ever started on Mirebalais or the Reference Application. This module was then included in Mirebalais and the Refapp for one specific feature. It has more functionality, but this is not intentionally exposed in the Refapp, and won’t be supported in future OpenMRS releases.)