From 346331eeee3951f658adbdab3a2f303eeb2be8e9 Mon Sep 17 00:00:00 2001 From: Karen Date: Sun, 11 Nov 2012 19:34:11 +0530 Subject: [PATCH] tooltip --- itf/static/css/noel/main.css | 38 +++++++++++++++++++ .../individual-profiles.html | 21 +++++----- .../test_static_templates/scriptarchive.html | 9 ++++- 3 files changed, 55 insertions(+), 13 deletions(-) diff --git a/itf/static/css/noel/main.css b/itf/static/css/noel/main.css index f19c454..e8f461a 100755 --- a/itf/static/css/noel/main.css +++ b/itf/static/css/noel/main.css @@ -62,6 +62,44 @@ font-weight:bold; padding-bottom: 8px; } +.tooltipLink { + position: relative; +} + +.tooltip { + position: absolute; + left: 30px; + top: 15px; + background: #F7BD00; + padding: 6px; + border-radius: 8px; + color: #fff; + width: 156px; + opacity: 0; + visibility: hidden; + -o-transition: all 0.3s ease-in; + -moz-transition: all 0.3s ease-in; + -webkit-transition: all 0.3s ease-in; + transition: all 0.3s ease-in; +} + +.tooltip:after { + content:""; + display:block; /* reduce the damage in FF3.0 */ + position:absolute; + top:0px; + left:-15px; + width:0; + border-width:14px 0 0 22px; + border-style:solid; + border-color:#F7BD00 transparent; +} + +.tooltipLink:hover .tooltip { + opacity: 0.9; + visibility: visible; +} + .tabHeader {font-size:24px; color:#ffb400; diff --git a/itf/templates/test_static_templates/individual-profiles.html b/itf/templates/test_static_templates/individual-profiles.html index 2958044..d2b714e 100644 --- a/itf/templates/test_static_templates/individual-profiles.html +++ b/itf/templates/test_static_templates/individual-profiles.html @@ -81,8 +81,8 @@
-

A V Gopalakrishnan Theatre Enthusiast, Mumbai

-
+ +
Member of

@@ -92,7 +92,7 @@
-
Name of Group
+ Name of Group
Location
Relationship to Group
@@ -106,7 +106,7 @@
-
Name of Group
+ Name of Group
Location
Relationship to Group
@@ -120,7 +120,7 @@
-
Name of Group
+ Name of Group
Location
Relationship to Group
@@ -141,7 +141,7 @@
-
Name of Person
+ Name of Person
Occupation/one-line desc
Location
@@ -155,7 +155,7 @@
-
Name of Person
+ Name of Person
Occupation/one-line desc
Location
@@ -169,7 +169,7 @@
-
Name of Person
+ Name of Person
Occupation/one-line desc
Location
@@ -177,10 +177,7 @@ - More>> - - - + More>>
diff --git a/itf/templates/test_static_templates/scriptarchive.html b/itf/templates/test_static_templates/scriptarchive.html index 98969e6..9c3c3c2 100644 --- a/itf/templates/test_static_templates/scriptarchive.html +++ b/itf/templates/test_static_templates/scriptarchive.html @@ -79,7 +79,14 @@ $(function() {
- Name of Production (2010) + Name of Production (2010) + +
+ Some Title
+ Some text goes here +
+
+
Group: Group Name
Some copy here
No. of shows: 50