aboutsummaryrefslogtreecommitdiff
path: root/cmd/monfront/main.go
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2019-01-10 05:50:02 +0100
committerGibheer <gibheer+git@zero-knowledge.org>2019-01-10 05:50:02 +0100
commitea658177eea72175ab23d08f3064b4f346133c46 (patch)
tree42c91fbaf7ee4ff170de732f8ace7e517f685aaf /cmd/monfront/main.go
parentbfe455d93627bc9ec8df59be4ec2e80b24f7e0c6 (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.
Diffstat (limited to 'cmd/monfront/main.go')
-rw-r--r--cmd/monfront/main.go1
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 -}}