diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2019-01-10 05:50:02 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2019-01-10 05:50:02 +0100 |
commit | ea658177eea72175ab23d08f3064b4f346133c46 (patch) | |
tree | 42c91fbaf7ee4ff170de732f8ace7e517f685aaf | |
parent | bfe455d93627bc9ec8df59be4ec2e80b24f7e0c6 (diff) |
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.
-rw-r--r-- | cmd/monfront/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 -}} |