aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-04-21 20:00:45 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-04-21 20:00:45 +0200
commit19b76a14a85c000996e22a6377ff86dc931bbc1e (patch)
treecdb8707610db5b43e45c2581a76abe83170e9804
parent84e0ce168f109fbd5482c6c1ba09bbbb55592888 (diff)
downloadjquery-ui-19b76a14a85c000996e22a6377ff86dc931bbc1e.tar.gz
jquery-ui-19b76a14a85c000996e22a6377ff86dc931bbc1e.zip
Tooltip: Remove fixed with from tooltip theme, set in instead in CSS where actually necessary
-rw-r--r--demos/tooltip/forms.html4
-rw-r--r--demos/tooltip/index.html6
-rw-r--r--themes/base/jquery.ui.tooltip.css1
3 files changed, 5 insertions, 6 deletions
diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html
index 626161d6e..ac0529680 100644
--- a/demos/tooltip/forms.html
+++ b/demos/tooltip/forms.html
@@ -26,7 +26,7 @@
fieldset div {
margin-bottom: 2em;
}
- .ui-tooltip { width: 200px; }
+ .ui-tooltip { width: 210px; }
</style>
</head>
<body>
@@ -61,6 +61,8 @@
<p>Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.</p>
+<p>A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.</p>
+
</div><!-- End demo-description -->
diff --git a/demos/tooltip/index.html b/demos/tooltip/index.html
index ed5cd10e5..9b1efefe4 100644
--- a/demos/tooltip/index.html
+++ b/demos/tooltip/index.html
@@ -10,10 +10,8 @@
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
- <!--
- <li><a href="foo.html">Foo</a></li>
- <li><a href="bar.html">Bar</a></li>
- -->
+ <li><a href="forms.html">Forms with tooltips</a></li>
+ <li><a href="tracking.html">Track the mouse</a></li>
</ul>
</div>
diff --git a/themes/base/jquery.ui.tooltip.css b/themes/base/jquery.ui.tooltip.css
index 652bf3386..145b079d2 100644
--- a/themes/base/jquery.ui.tooltip.css
+++ b/themes/base/jquery.ui.tooltip.css
@@ -2,7 +2,6 @@
----------------------------------*/
.ui-tooltip {
padding:8px;
- width:125px;
position:absolute;
z-index:9999;
-o-box-shadow: 0 0 5px #aaa;