MINOR: stats: Add dark mode support for socket rows
authorMarno Krahmer <marno.krahmer@new-work.se>
Tue, 8 Mar 2022 12:45:09 +0000 (13:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Mar 2022 13:53:48 +0000 (14:53 +0100)
commit39527d7f6bcbbf82e78be7126767b5d8880d45c1
tree5458c69bc78d88c565b63465b361d157d76d5654
parent4bcff9ba47e1c8f78405a1d6686edda68f254b44
MINOR: stats: Add dark mode support for socket rows

In commit e9ed63e548 dark mode support was added to the stats page. The
initial commit does not include  dark mode color overwrites for the
.socket CSS class. This commit colors socket rows the same way as
backends that acre active but do not have a health check defined.

This fixes an issue where reading information from socket lines became
really hard in dark mode due to suboptimal coloring of the cell
background and the font in it.

(cherry picked from commit a690b73fba4d09ff32bc9c1e19c321ae0649a7cd)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/stats.c