element,
+at the condition that the page is not built with Elementor:
+ body:not([class*="elementor-page-"])
+Therefore, in pages built with Elementor, proper layout is
+applied only to features managed by Elementor, not others.
+
+The Footnotes references container is near the end of main.
+This style sheet lets Footnotes’ reference container come
+into the benefit of the basic responsive layout style rules
+that would apply if the page were not built with Elementor.
+
+This is mainly useful with Hello Elementor, but it might be
+used also with another theme depriving the features from
+other plugins of basic layout rules as applied to content.
+
+The enqueuing of this style sheet is optional. The setting
+is in the dashboard under Settings > Reference container.
+*/
+
+div.page-content {
+ margin-right: auto;
+ margin-left: auto;
+}
+
+@media (max-width: 575px) {
+
+ div.page-content {
+ padding-right: 10px;
+ padding-left: 10px;
+ }
+}
+
+@media (min-width: 576px) {
+
+ div.page-content {
+ max-width: 500px;
+ }
+}
+
+@media (min-width: 768px) {
+
+ div.page-content {
+ max-width: 600px;
+ }
+}
+
+@media (min-width: 992px) {
+
+ div.page-content {
+ max-width: 800px;
+ }
+}
+
+@media (min-width: 1200px) {
+
+ div.page-content {
+ max-width: 960px;
+ }
+}
diff --git a/css/public-container.css b/css/layout-reference-container.css
similarity index 96%
rename from css/public-container.css
rename to css/layout-reference-container.css
index 584f02f..7b5d2c2 100644
--- a/css/public-container.css
+++ b/css/layout-reference-container.css
@@ -5,10 +5,10 @@
* licensed under GNU General Public License v3 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
- * Since 2.1.4
- * Version: 2.1.4d10
+ * Since 2.2.0
+ * Version: 2.2.0d0
*
- * Last modified: 2020-12-04T1843+0100
+ * Last modified: 2020-12-05T1413+0100
*/
diff --git a/css/public.css b/css/public.css
index de45e70..8eb5fe6 100755
--- a/css/public.css
+++ b/css/public.css
@@ -5,9 +5,9 @@
* Created-Time: 16:21
* Since: 1.0
*
- * Version: 2.2.0d0
+ * Version: 2.2.0d2
*
- * Last modified: 2020-12-05T0357+0100
+ * Last modified: 2020-12-06T1326+0100
*/
@@ -194,7 +194,7 @@ fully clickable, not sign only
*/
.footnote_reference_container_collapse_button {
cursor: pointer;
- padding-left: .5em;
+ padding: 0 0.5em;
font-size: 1.3em !important;
vertical-align: 2px;
}
diff --git a/css/settings.css b/css/settings.css
index e68d291..9674c89 100755
--- a/css/settings.css
+++ b/css/settings.css
@@ -5,9 +5,9 @@
* Created-Time: 16:21
* Since: 1.0
*
- * Version: 2.2.0d0
+ * Version: 2.2.0d2
*
- * Last modified: 2020-12-05T0358+0100
+ * Last modified: 2020-12-06T1325+0100
*/
@@ -45,8 +45,6 @@ On User Request: limited to a number of IDs to not affect all dashboards
*/
/*input[type=text], input[type=password], textarea, select*/
-#footnote_inputfield_placeholder_start_user_defined,
-#footnote_inputfield_placeholder_end_user_defined,
#footnote_inputfield_readon_label,
#footnote_inputfield_references_label,
#footnote_inputfield_custom_css,
@@ -56,6 +54,30 @@ On User Request: limited to a number of IDs to not affect all dashboards
width: 80% !important;
}
+#footnote_inputfield_reference_container_place {
+ width: 310px;
+}
+
+#footnote_inputfield_counter_style,
+#footnotes_inputfield_page_layout_support {
+ width: 505px;
+}
+
+#footnote_inputfield_placeholder_start,
+#footnote_inputfield_placeholder_end {
+ width: 180px;
+}
+#footnote_inputfield_placeholder_start_user_defined,
+#footnote_inputfield_placeholder_end_user_defined {
+ width: 320px;
+}
+
+#footnote_inputfield_combine_identical,
+#footnotes_inputfield_scroll_offset,
+#footnotes_inputfield_scroll_duration {
+ width: 80px;
+}
+
#footnote_inputfield_custom_hyperlink_symbol,
#footnotes_inputfield_backlinks_terminator_option,
#footnotes_inputfield_backlinks_separator_option {
@@ -148,7 +170,9 @@ IE doesn’t support nth child, but these are not critical
#settings-other tr td:nth-child(2) {
width: 30%;
}
-
+/*
+fullwidth div above or below settings tables:
+*/
.footnotes_description {
padding: 0 10%;
}
@@ -156,3 +180,12 @@ IE doesn’t support nth child, but these are not critical
font-size: 1.4em;
font-style: italic;
}
+/*
+span previously formatted as em element
+but emphasis is not the correct semantics,
+as it is rendered as bold in other scripts
+so we need an explicit italic style:
+*/
+.footnotes_notice {
+ font-style: italic;
+}
diff --git a/footnotes.php b/footnotes.php
index a32b9b3..f1ba423 100755
--- a/footnotes.php
+++ b/footnotes.php
@@ -4,12 +4,12 @@
Plugin URI: https://wordpress.org/plugins/footnotes/
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
Author: Mark Cheret
- Version: 2.2.0d0
+ Version: 2.2.0d2
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
*/
-define( 'FOOTNOTES_VERSION', '2.2.0d0' );
+define( 'FOOTNOTES_VERSION', '2.2.0d2' );
/*
Copyright 2020 Mark Cheret (email: mark@cheret.de)
diff --git a/readme.txt b/readme.txt
index b832ebd..4d1aa65 100755
--- a/readme.txt
+++ b/readme.txt
@@ -80,25 +80,29 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
-= 2.2.0d0 =
-- Add: UX: settings for scroll offset and duration
+= 2.2.0d2 =
+- Add: Dashboard: Main settings: add settings for scroll offset and duration
+- Add: Dashboard: Tooltip settings: add settings for display delays and fade durations
+- Add: Styling: Tooltips: fix font size issue by adding font size to settings with legacy as default
- Add: Reference container: fix theme-dependent layout issues by optionally enqueuing additional style sheet
- Add: Reference container: fix layout issues by moving backlink column width to settings
- Add: Reference container: separating and terminating punctuation optional and customizable
-- Add: Styling: Tooltips: fix font size issue by adding font size to settings with legacy as default
- Add: Reference container: Backlinks: optional line breaks to stack enumerations
-- Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording
-- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top
-- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box
- Bugfix: Layout: Tooltips: prevent line break in Read-on link label
+- Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues
+- Bugfix: Styling: Referrers: disable hover underline
- Bugfix: Reference container, tooltips: fix line wrapping of URLs based on pattern, not link element
- Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on
- Bugfix: Reference container: Backlinks: deprioritize hover underline to ease customization
- Bugfix: Reference container: Backlinks: fix line breaking with respect to separators and terminators
- Bugfix: Reference container: Label: delete overflow hidden rule
+- Bugfix: Reference container: Expand/collapse button: same padding to the right for right-to-left
- Bugfix: Reference container: Styles: re-add the class dedicated to combined footnotes indices
-- Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues
-- Bugfix: Styling: Referrers: disable hover underline
+- Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording
+- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top
+- Bugfix: Dashboard: Tooltip settings: Truncation length: change input box type from text to numeric
+- Update: Dashboard: Notices: use explicit italic style
+- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box
- Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard
- Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels
diff --git a/templates/dashboard/customize-mouse-over-box.html b/templates/dashboard/customize-mouse-over-box.html
index feab530..a2951f7 100644
--- a/templates/dashboard/customize-mouse-over-box.html
+++ b/templates/dashboard/customize-mouse-over-box.html
@@ -26,43 +26,59 @@
[[label-offset-x]] |
- [[offset-x]] [[notice-offset-x]] |
+ [[offset-x]] |
[[label-offset-y]] |
- [[offset-y]] [[notice-offset-y]] |
+ [[offset-y]] |
[[label-max-width]] |
- [[max-width]] [[notice-max-width]] |
+ [[max-width]] |
+
+
+ [[label-fade-in-delay]] |
+ [[fade-in-delay]] |
+
+
+ [[label-fade-in-duration]] |
+ [[fade-in-duration]] |
+
+
+ [[label-fade-out-delay]] |
+ [[fade-out-delay]] |
+
+
+ [[label-fade-out-duration]] |
+ [[fade-out-duration]] |
[[label-font-size]] |
- [[font-size-enable]][[font-size-scalar]][[font-size-unit]] [[font-size-comment]] |
+ [[font-size-enable]][[font-size-scalar]][[font-size-unit]] |
[[label-color]] |
- [[color]] [[notice-color]] |
+ [[color]] |
[[label-background]] |
- [[background]] [[notice-background]] |
+ [[background]] |
[[label-border-width]] |
- [[border-width]] [[notice-border-width]] |
+ [[border-width]] |
[[label-border-color]] |
- [[border-color]] [[notice-border-color]] |
+ [[border-color]] |
[[label-border-radius]] |
- [[border-radius]] [[notice-border-radius]] |
+ [[border-radius]] |
[[label-box-shadow-color]] |
- [[box-shadow-color]] [[notice-box-shadow-color]] |
+ [[box-shadow-color]] |
diff --git a/templates/dashboard/settings-other.html b/templates/dashboard/settings-other.html
index b141e47..3faa27f 100644
--- a/templates/dashboard/settings-other.html
+++ b/templates/dashboard/settings-other.html
@@ -6,8 +6,8 @@
[[label-excerpt]] |
- [[excerpt]][[excerpt-comment1]] |
- [[excerpt-comment2]] [[excerpt-comment3]] |
+ [[excerpt]] |
+ |
[[label-expert-mode]] |
diff --git a/templates/dashboard/settings-reference-container.html b/templates/dashboard/settings-reference-container.html
index 0c44e3c..a6b0723 100644
--- a/templates/dashboard/settings-reference-container.html
+++ b/templates/dashboard/settings-reference-container.html
@@ -14,7 +14,7 @@
[[label-page-layout]] |
- [[page-layout]] [[page-layout-comment]] |
+ [[page-layout]] |
[[label-startpage]] |
@@ -26,7 +26,7 @@
[[symbol-enable]]
[[symbol-options]]
[[symbol-custom]]
- [[symbol-comment]]
+
@@ -37,7 +37,7 @@
[[label-3column]] |
[[3column]]
- [[3column-comment]]
+
|
@@ -46,7 +46,7 @@
[[separator-enable]]
[[separator-options]]
[[separator-custom]]
- [[separator-comment]]
+
@@ -55,7 +55,7 @@
[[terminator-enable]]
[[terminator-options]]
[[terminator-custom]]
- [[terminator-comment]]
+
@@ -64,6 +64,7 @@
[[width-enable]]
[[width-scalar]]
[[width-unit]]
+
@@ -72,6 +73,7 @@
[[max-width-enable]]
[[max-width-scalar]]
[[max-width-unit]]
+
diff --git a/templates/dashboard/settings-styling.html b/templates/dashboard/settings-styling.html
index f0ce226..493e202 100644
--- a/templates/dashboard/settings-styling.html
+++ b/templates/dashboard/settings-styling.html
@@ -24,11 +24,11 @@
[[label-scroll-offset]] |
- [[scroll-offset]] [[notice-scroll-offset]] |
+ [[scroll-offset]] |
[[label-scroll-duration]] |
- [[scroll-duration]] [[notice-scroll-duration]] |
+ [[scroll-duration]] |
diff --git a/templates/public/tooltip.html b/templates/public/tooltip.html
index f53ad57..b296282 100644
--- a/templates/public/tooltip.html
+++ b/templates/public/tooltip.html
@@ -3,10 +3,10 @@
tip: '#footnote_plugin_tooltip_text_[[post_id]]_[[id]]',
tipClass: 'footnote_tooltip',
effect: 'fade',
- predelay: 0,
- fadeInSpeed: 200,
- delay: 400,
- fadeOutSpeed: 200,
+ predelay: [[fade-in-delay]],
+ fadeInSpeed: [[fade-in-duration]],
+ delay: [[fade-out-delay]],
+ fadeOutSpeed: [[fade-out-duration]],
position: '[[position]]',
relative: true,
offset: [[[offset-y]], [[offset-x]]],