From ea658177eea72175ab23d08f3064b4f346133c46 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Thu, 10 Jan 2019 05:50:02 +0100 Subject: monfront - add hover background color With some monitors, the view may be too wide to make out, which line belongs to what. For that purpose, add a background color when the mouse is hovering over a line. --- cmd/monfront/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/monfront/main.go') diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go index ec35925..9cb906a 100644 --- a/cmd/monfront/main.go +++ b/cmd/monfront/main.go @@ -544,6 +544,7 @@ var ( } .mute { background-image: url(/static/icon-mute); } .detail > div { display: grid; grid-template-columns: 25% auto; } + .detail > div:hover { background: #dfdfdf; } /* state background colors */ {{ range $mapId, $mapping := .Mappings -}} {{ range $target, $val := $mapping -}} -- cgit v1.2.3-70-g09d2