Current Fixed Leases "Error" Color

Hi,

Could you please add !important to the background-color .orange and .red in header.pl, lines 61 and 64? ( eg. background-color: orange !important; )

The inline css is overwritten by style.css and the explanation for ‘outside’ or ‘in dynamic range’ then works again…

Thanks, Michel.

I have tried that and it does work. However, it works by overriding the class definitions that have been used and is fixing the problem by bypassing the problem.

However, your input has given me some clues as to what the problem is. I have variables that are creating the class for the orange or red background but they are being applied together with the variable for the alternating line colours in the section.

It looks like the html code used to allow this to occur but an update has now made it such that the last class definition used is the one that applies. What I need to do is find out how to add the required background-color to the class rather than specifying a new class each time, which then overwrites the required colour and ends up only with the color20/color22 alternating rows effect.

The same thing also applies to the Yellow highlight for an entry being updated. The updated line is shown at the top of the Fixed Leases table but not with the yellow background colour.

Hopefully I have enough now to figure out how to get the table to correctly show the expected background colour without needing to use the !important tag to force the code to be overwritten.

Thanks very much for your input.

Hi Adolf,

I did notice the double class definition, but it got ignored on all browsers I tried, so I ‘risked’ the proposal. I was not sure as to where the row definition was defined I found more than one place… in a CGI and a PL file if I remember correctly.

Maybe putting the ‘error’ and ‘warning’ text in bold red and orange, not using the background-color is an alternative? Yellow would be difficult as foreground color…

Have a great evening, Michel.