Debugged development test and prerelease v2.6.0d5, Stable Tag 2.5.10.
Tooltip fade-in/fade-out now works in AMP and everything is functional, except scroll animation because animated scrolling in AMP has only 3 positions. git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2498089 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
12301035ab
commit
93d1c06373
14 changed files with 108 additions and 69 deletions
|
@ -4,17 +4,18 @@
|
|||
*
|
||||
* @since 2.5.5
|
||||
* @version 2.6.0
|
||||
* @lastmodified 2021-03-16T1531+0100
|
||||
* @lastmodified 2021-03-17T1552+0100
|
||||
*
|
||||
* System of unified minified style sheets tailored to the instance.
|
||||
*
|
||||
* @see full header in dev-common.css.
|
||||
* @see dev-common.css.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Alternative tooltips
|
||||
* Position.
|
||||
*
|
||||
* These default position values may be overridden by internal CSS.
|
||||
* Values are defined by internal CSS.
|
||||
* @see class/task.php
|
||||
*/
|
||||
|
||||
.footnote_referrer.relative {
|
||||
|
@ -24,13 +25,19 @@
|
|||
.footnote_tooltip.position {
|
||||
display: unset;
|
||||
position: absolute;
|
||||
/*
|
||||
bottom: 24px;
|
||||
left: -50px;
|
||||
width: 400px;
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
fade-in parameters
|
||||
/**
|
||||
* Timing; fade-in/fade-out parameters.
|
||||
*
|
||||
* To streamline internal CSS, immutable rules are in external stylesheet.
|
||||
* Property values of settings are internal CSS.
|
||||
* @see class/task.php
|
||||
*/
|
||||
|
||||
.footnote_tooltip.shown {
|
||||
|
@ -39,23 +46,17 @@ fade-in parameters
|
|||
transition-property: visibility opacity;
|
||||
transition-timing-function: linear;
|
||||
/*
|
||||
Property values of settings are internal CSS.
|
||||
transition-delay: 0ms;
|
||||
transition-duration: 200ms;
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
fade-out parameters
|
||||
*/
|
||||
|
||||
.footnote_tooltip.hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition-property: visibility opacity;
|
||||
transition-timing-function: linear;
|
||||
/*
|
||||
property values of settings are inline CSS
|
||||
transition-delay: 400ms;
|
||||
transition-duration: 200ms;
|
||||
*/
|
||||
|
|
Reference in a new issue