diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-18 16:14:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:01:45 +0100 |
commit | 7f613be5000e753e99ce5b829748fb43fca78754 (patch) | |
tree | a9615767db020a857f4b71e25632c236f7248bfd /themes/luci-theme-material/htdocs/luci-static/material | |
parent | 31bce2455fdeacefbb837d6abb95584df66c36a2 (diff) |
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 <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 6 |
1 files changed, 5 insertions, 1 deletions
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; |