From 0761480db9c0a83662ca31662ddb88214750cece Mon Sep 17 00:00:00 2001 From: raylu Date: Mon, 21 Oct 2013 23:35:53 -0700 Subject: fitting tooltips --- web/static/css/kill.ccss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'web/static/css/kill.ccss') diff --git a/web/static/css/kill.ccss b/web/static/css/kill.ccss index 3e09ba7..6ef779c 100644 --- a/web/static/css/kill.ccss +++ b/web/static/css/kill.ccss @@ -38,6 +38,22 @@ display: inline-block width: 32px height: 32px + position: relative // for .tooltip + + .tooltip: + display: none + position: absolute + top: 32px + left: 8px + line-height: 1em + padding: 8px 10px + background-color: rgba(40, 40, 40, 0.9) + white-space: nowrap + text-align: center + z-index: 1 + pointer-events: none + &:hover .tooltip: + display: block .avail: border: 1px solid #888 -- cgit v1.2.3