diff --git a/webui/src/main/css/muwire.css b/webui/src/main/css/muwire.css index 815df86b..bf824ef8 100644 --- a/webui/src/main/css/muwire.css +++ b/webui/src/main/css/muwire.css @@ -592,3 +592,26 @@ textarea.copypaste { z-index: -9999; pointer-events: none; } + +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; +} + +.tooltip .tooltiptext { + visibility: hidden; + width: 240px; + text-align: center; + border-radius: 6px; + padding: 5px 0; + background : #d8f0ff; + + /* Position the tooltip */ + position: absolute; + z-index: 1; +} + +.tooltip:hover .tooltiptext { + visibility: visible; +} \ No newline at end of file diff --git a/webui/src/main/webapp/SharedFiles.jsp b/webui/src/main/webapp/SharedFiles.jsp index 47ec266c..467c8b9c 100644 --- a/webui/src/main/webapp/SharedFiles.jsp +++ b/webui/src/main/webapp/SharedFiles.jsp @@ -39,6 +39,13 @@ if (viewAs == null) <% if (viewAs.equals("tree")) { %> diff --git a/webui/src/main/webapp/searchbox.jsi b/webui/src/main/webapp/searchbox.jsi index 8018976a..33dca372 100644 --- a/webui/src/main/webapp/searchbox.jsi +++ b/webui/src/main/webapp/searchbox.jsi @@ -8,6 +8,10 @@