From 41a8b01c6dfb5e5660a7d0029338777d01019feb Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 22 Jun 2013 12:55:06 +0200 Subject: overview: add color to load averages The load average number turns: * orange When the load is higher than the number of cpu cores. * red When the load is more than twice as high as the number of cpu cores. --- layout/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'layout') diff --git a/layout/style.css b/layout/style.css index a828a8d..3d5c94b 100644 --- a/layout/style.css +++ b/layout/style.css @@ -138,3 +138,14 @@ legend { font-size: 1.4em; font-weight: normal; } + +.warn { + color: darkorange; + font-weight: normal; + text-shadow: 0 0 1px darkorange; +} +.crit { + color: red; + font-weight: normal; + text-shadow: 0 0 1px red; +} -- cgit v1.1