Home > Forum > General > Coloring even rows (plus edges)

Coloring even rows (plus edges)
0

Hello,
is it possible to color every other (even) row in the reports so that the rows are more visible.
In addition, is it possible to add edges in the rows to make the reports more readable.
Example attached.

In reply to: Martin Meze (Freelancer)

Hi Radek,

You can add the following CSS to System Settings > Appearance > Global CSS Styles:

tr.report-row {
border-top: 1px solid rgba(0,0,0,0.3);
border-bottom: 1px solid rgba(0,0,0,0.3);
}

tr.report-row:nth-of-type(odd) {
background-color: rgba(0,0,0,0.1);
}

and fix the colors as you see fit.

Cheers,
Martin

It works, simple and effective, thanks!