From 7f613be5000e753e99ce5b829748fb43fca78754 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 18 Oct 2018 16:14:35 +0200 Subject: luci-base, themes: add tooltip helpers & styles Add the required JS and CSS infrastructure to support rich hover/focus tooltips for element. Signed-off-by: Jo-Philipp Wich --- themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'themes/luci-theme-material/htdocs/luci-static') diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 6961bfe2d7..a4d71eeb67 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -291,7 +291,7 @@ header { } header > .fill > .container { - padding-top: 0.25rem; + padding-top: 0.25rem; padding-right: 1rem; padding-bottom: 0.25rem; display: flex; @@ -1481,6 +1481,10 @@ small { position: absolute; z-index: 1000; left: -1000px; + border-radius: 3px; + background: #fff; + padding: 2px 5px; + white-space: pre; opacity: 0; transition: opacity .25s ease-out; pointer-events: none; -- cgit v1.2.3