From: MORIOKA Tomohiko Date: Tue, 7 Jun 2016 05:31:29 +0000 (+0900) Subject: (www-display-object-desc): Add styles for tooltips. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7b98e7a1ffdc9c8c33716415dbd7cd890bdba85e;p=chise%2Fest.git (www-display-object-desc): Add styles for tooltips. --- diff --git a/cwiki-view.el b/cwiki-view.el index ae852ba..82fe7c6 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -102,6 +102,32 @@ ul { margin: 0 0; color: black; } li { margin: 0 0 0 2em; } .feature-name { font-family: sans-serif; font-weight: bold; } .feature-name a { color: black; } + +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; +} + +.tooltip .tooltiptext { + visibility: hidden; + width: 120px; + top: 100%%; + left: 50%%; + margin-left: -60px; + background-color: black; + color: #fff; + text-align: center; + padding: 5px 0; + border-radius: 6px; + + position: absolute; + z-index: 1; +} + +.list .tooltip:hover .tooltiptext { + visibility: visible; +} -->