From b99fb87571d9732f57aaf46758ad435bc1442806 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sat, 16 Jun 2018 09:28:01 +0200 Subject: [PATCH] Use pull request #11057 from ncoden/docs/simplify-tooltip-docs for v6.5.0 979de1414 docs: remove useless attributes in Tooltip docs 6b83ddf82 docs: simplify and improve Tooltip examples Signed-off-by: Nicolas Coden --- docs/pages/tooltip.md | 82 ++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 43 deletions(-) diff --git a/docs/pages/tooltip.md b/docs/pages/tooltip.md index 2bd8298cb..01408594f 100644 --- a/docs/pages/tooltip.md +++ b/docs/pages/tooltip.md @@ -19,9 +19,8 @@ By default, a tooltip appears below the defined term on hover. ```html_example -

-The scarabaeus hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree. -

+The scarabaeus hung quite +clear of any branches, and, if allowed to fall, would have fallen at our feet. ``` --- @@ -38,11 +37,8 @@ To get a tip-top top tooltip (lol), just add the class `.top` to the `` el ```html_example -

-...clearing away the brambles with the -scythe. -At the spot thus attained a second peg was driven, and about this, as a centre, a rude circle, about four feet in diameter, described. Taking now a spade himself, and giving one to Jupiter and one to me, Legrand begged us to set about one to digging as quickly as possible. -

+The scarabaeus +hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. ``` --- @@ -60,13 +56,14 @@ By default, clicking on a tooltip will leave it open until you click somewhere e ```html_example -

this -tooltip will stay open - + + tooltip will stay open + while -this one will only be open when hovered -

+ + this one will only be open when hovered + ``` --- @@ -88,12 +85,11 @@ You can also position the tooltips to the right and left of the word by adding t ```html_example -

-To speak the truth, I had no especial relish for such amusement at any time, and, at that particular moment, would most willingly have declined it; for the night was coming on, and I felt much fatigued with the exercise already taken; but I saw no mode of escape, and was fearful of disturbing my poor friend's equanimity by a refusal. Could I have depended, indeed, upon Jupiter's aid, I would have had no hesitation in attempting to get the -lunatic -home by force; but I was too well assured of the old negro's disposition, to hope that he would assist me, under any circumstances, in a personal contest with his master. I made no doubt that the latter had been infected with some of the innumerable Southern superstitions about money buried, and that his phantasy had received confirmation by the finding of the scarabaeus, or, perhaps, by Jupiter's obstinacy in maintaining it to be "a bug of real gold." A mind disposed to lunacy would readily be led away by such suggestions -especially if chiming in with favorite preconceived ideas -and then I called to mind the poor fellow's speech about the beetle's being "the -index -of his fortune." Upon the whole, I was sadly vexed and puzzled, but, at length, I concluded to make a virtue of necessity -to dig with a good will, and thus the sooner to convince the visionary, by ocular demonstration, of the fallacy of the opinions he entertained.

+When he was dressed he went down the hall into the +kitchen. +The table was almost hidden beneath all Dudley's birthday presents. It looked as though +Dudley +had gotten the new computer he wanted, not to mention the second television and the racing bike. ``` --- @@ -111,64 +107,64 @@ These dropdowns sets various positioning and alignments. Valid positions are lef #### Top and Bottom positioned ```html - - - - - - ```
-
-
-
-
-
-
@@ -179,61 +175,61 @@ These dropdowns sets various positioning and alignments. Valid positions are lef #### Left and Right Positioned ```html - - - - - - ```
-
-
-
-
-
-
-- 2.47.2