Revisions: more graceful tooltips

* Use hoverIntent to prevent inadvertent display and provide more forgiving exploration.
* Nice interruptable fading animation.
* Subtle CSS transition when moving the tooltip side-to-side.

Fixes #24734. See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2013-07-12 20:34:14 +00:00
parent 694a03be6a
commit b10a51b03e
3 changed files with 20 additions and 17 deletions
+6
View File
@@ -3710,6 +3710,12 @@ table.diff .diff-addedline ins {
min-width: 130px;
padding: 4px;
display: none;
opacity: 0;
-webkit-transition: left 15ms;
-moz-transition: left 15ms;
-ms-transition: left 15ms;
-o-transition: left 15ms;
transition: left 15ms;
}
.comparing-two-revisions .revisions-tooltip {