development version 2.1.1d5: added CSS animation to alternative tooltip implementation IN RESPONSE TO USER ON THE SUPPORT FORUM
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2417401 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
9d0044a35a
commit
a9143a34b7
7 changed files with 81 additions and 43 deletions
|
@ -4,9 +4,9 @@
|
|||
* Created-Date: 15.05.14
|
||||
* Created-Time: 16:21
|
||||
* Since: 1.0
|
||||
* Version: 2.1.1d4
|
||||
* Version: 2.1.1d5
|
||||
*
|
||||
* Last modified: 2020-11-12T0539+0100
|
||||
* Last modified: 2020-11-12T1846+0100
|
||||
*/
|
||||
|
||||
|
||||
|
@ -67,6 +67,7 @@ templates/public/footnote-alternative.html
|
|||
.footnote_tooltip {
|
||||
display: none;
|
||||
z-index: 999;
|
||||
cursor: auto;
|
||||
text-align: left;
|
||||
padding: 12px;
|
||||
line-height: 1.2em;
|
||||
|
@ -75,14 +76,40 @@ templates/public/footnote-alternative.html
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.footnote_relative {
|
||||
position: relative;
|
||||
/*
|
||||
alternative tooltip implementation
|
||||
*/
|
||||
.footnote_referrer.relative {
|
||||
position: relative;
|
||||
}
|
||||
.footnote_tooltip_alternative {
|
||||
position: absolute;
|
||||
.footnote_tooltip.position {
|
||||
display: unset;
|
||||
position: absolute;
|
||||
bottom: 24px;
|
||||
left: -50px;
|
||||
width: 400px;
|
||||
left: -50px;
|
||||
width: 400px;
|
||||
}
|
||||
/*
|
||||
fade-in parameters
|
||||
*/
|
||||
.footnote_tooltip.shown {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition-property: visibility opacity;
|
||||
transition-duration: 200ms;
|
||||
transition-timing-function: linear;
|
||||
transition-delay: 0ms;
|
||||
}
|
||||
/*
|
||||
fade-out parameters
|
||||
*/
|
||||
.footnote_tooltip.hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition-property: visibility opacity;
|
||||
transition-duration: 200ms;
|
||||
transition-timing-function: linear;
|
||||
transition-delay: 400ms;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* Created-Date: 15.05.14
|
||||
* Created-Time: 16:21
|
||||
* Since: 1.0
|
||||
* Version: 2.1.1d4
|
||||
* Version: 2.1.1d5
|
||||
*
|
||||
* Last modified: 2020-11-12T0539+0100
|
||||
* Last modified: 2020-11-12T1846+0100
|
||||
*/
|
||||
|
||||
|
||||
|
|
Reference in a new issue