From 7d9b595dfa7fa07000e4f8de2a07f604a0da173a Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Mon, 17 Feb 2014 15:42:23 +0400 Subject: [PATCH] Added tooltips to main filters Closes bug 1216951 Change-Id: I17bee9024ccbaa21ddaad3ffdadd6dd99ebf52c6 --- dashboard/static/css/style.css | 13 +++++++++++++ dashboard/templates/layout.html | 16 ++++++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/dashboard/static/css/style.css b/dashboard/static/css/style.css index c617605e9..5c9a2151b 100644 --- a/dashboard/static/css/style.css +++ b/dashboard/static/css/style.css @@ -385,3 +385,16 @@ a[href^="https://launchpad"]:after { .select2-results { max-height: 300px; } + +.ui-tooltip { + box-shadow: 0 0 5px #AAAAAA; + max-width: 300px; + padding: 8px; + position: absolute; + z-index: 9999; +} +body .ui-tooltip { + border-width: 2px; + background-color: white; + opacity: 0.8; +} diff --git a/dashboard/templates/layout.html b/dashboard/templates/layout.html index c4e45850b..71c429d13 100644 --- a/dashboard/templates/layout.html +++ b/dashboard/templates/layout.html @@ -25,6 +25,7 @@ + @@ -44,6 +45,9 @@ $(document).ready(function () { init_selectors(""); }); + $(function () { + $(document).tooltip(); + }); @@ -66,32 +70,32 @@
- +
- +
- +
- +
- +
- +