Commits

Seb Ruiz  committed 084d2c7

AUI-1173: Update docs

* Re-enable tooltip docs
* Add css overrides to align to PDL
* Add demo for hoverable and link in the tooltip

  • Participants
  • Parent commits c01d623

Comments (0)

Files changed (4)

File auiplugin/src/demo/aui.js

         "atlassian/jquery/jquery.hotkeys.js",
         "atlassian/jquery/jquery.getdocheight.js",
         "atlassian/jquery/jquery.stalker.js",
-        "atlassian/jquery/jquery.throbber.js"
+        "atlassian/jquery/jquery.throbber.js",
 
         "experimental/external/jquery/jquery.tipsy.js"
     ];

File auiplugin/src/demo/index.html

             <li><a href="tabs/tabs-demo.html">Tabs</a></li>
             <li><a href="tables/tables-demo.html">Tables</a></li>
             <li><a href="toolbar/toolbar-demo.html">Toolbar</a></li>
-            <!-- <li><a href="tooltips/tooltips-demo.html">Tooltips</a></li> -->
+             <li><a href="tooltips/tooltips-demo.html">Tooltips</a></li>
         </ol>
         <p>CSS and JS helpers:</p>
         <ol>

File auiplugin/src/demo/tooltips/tooltips-demo.html

             AJS.$('#full-docs').tipsy({
                 fade: true,
                 html: true,
+                hoverable: true,
                 title: function () {
-                    return "The docs are <i style='color: red'>pretty good</i>. Inline styles are <b>bad</b>, ok?";
+                    return "The docs are <i style='color: #3b73af'>pretty good</i>. <a href='http://onehackoranother.com/projects/jquery/tipsy/'>read the docs</a>, ok?";
                 }
             });
         });

File auiplugin/src/main/resources/experimental/css/atlassian/jquery/jquery.tipsy.overrides.css

 .tipsy {
     font-size: 12px;
     font-family: sans-serif;
-    word-wrap: break-word;
+}
+
+.tipsy a,
+.tipsy a:visited {
+    color: white;
+    text-decoration: underline;
 }