Releasing v2.0.6 only obvious and direly needed edits cannot wait with respect to users, cannot keep responding to users without providing this. May we please do the more extensive testing when bigger edits are at stake. Thank you. — For consistency, tags/2.0.5 is included as-is because it was actually delivered to our users only because the readme.txt was up-to-date too soon. So, that code is actually still on part of our users machines and I cannot hide away the priority level changes. See Changelog section. Sorry for that!

git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.0.5@2413466 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-11-05 18:05:49 +00:00
parent 362d9e60c6
commit fa5b3536b0
14 changed files with 510 additions and 570 deletions

View file

@ -4,9 +4,9 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.0.6
* Version: 2.0.5
*
* Last modified: 2020-11-04T2131+0100
* Last modified: 2020-11-02T2050+0100
*/
@ -38,6 +38,9 @@
*/
.footnote_plugin_tooltip_text {
vertical-align: top !important;
position: relative !important;
top: 0.6em !important;
cursor: pointer;
z-index: 1;
}
@ -71,6 +74,11 @@ span.footnote_tooltip {
/* Footnotes reference container
*/
.footnote-reference-container {
width: 100%;
border: none;
}
/* label */
.footnote_container_prepare {
display: block !important;
@ -99,41 +107,30 @@ span.footnote_tooltip {
}
/* collapse button */
/* fully clickable, not sign only */
.footnote_reference_container_collapse_button {
#footnote_reference_container_collapse_button {
cursor: pointer;
}
.footnote_container_prepare > p > span:last-child a {
text-decoration: none !important;
text-decoration: none;
}
.footnote_container_prepare > p > span:last-child a:hover {
text-decoration: underline;
color: #008800;
}
/* Table starts here */
.footnote-reference-container {
width: 100%;
border: none;
}
/* footnotes
* class footnote_plugin_link is for backcompat.
* Used in reference-container-body.html
* See <https://wordpress.org/support/topic/change-the-position-5/#post-13617988>
.footnote_plugin_link, */
/* footnotes */
.footnote_plugin_index,
.footnote_plugin_text {
border:none !important;
text-align: left !important;
vertical-align: top !important;
padding: 10px 5px 5px 0 !important;
text-align: left;
vertical-align: top;
padding: 10px 3px 5px 0;
}
.footnote_plugin_index a,
.footnote_plugin_text a {
text-decoration: none !important;
text-decoration: none;
}
.footnote_plugin_index:hover,
.footnote_plugin_index a:hover,
.footnote_plugin_text a:hover {
text-decoration: underline !important;
}
@ -144,37 +141,44 @@ span.footnote_tooltip {
word-wrap: normal !important;
word-break: unset;
word-break: keep-all !important;
max-width: 140px;
width: 1px; /*auto-extending column to fit widest*/
white-space: nowrap;
max-width: 140px;
overflow: hidden;
}
.footnote_plugin_text {
width: unset; /*unset width of text column to fix site issues*/
}
/* Responsive*/
@media only screen and (max-width: 768px) {
.footnote_plugin_index {
max-width: 100px;
}
}
.footnote_plugin_text {
width: unset; /*unset width of text column to fix site issues*/
}
/* Footnotes printing style rules
*
* Printing a table, browsers tend to avoid page breaks,
* but it takes a wrapper to avoid a page break before the table.
*
* UI elements (button, arrows) and link styling are removed.
* but it takes a wrapper to avoid a page break before the table
*/
.footnote_container_overall_wrapper {
page-break-inside: avoid;
}
.footnote_container_prepare {
page-break-after: avoid;
}
table.footnote_reference_container td {
display: block;
}
table.footnote_reference_container {
page-break-before: avoid;
page-break-inside: auto;
}
table.footnote_reference_container tr {
page-break-before: auto;
}
@media print {
.footnote_tooltip,
.footnote_reference_container_collapse_button,
.footnote_reference_container_collapse_button_outfit,
.footnote_plugin_index_arrow {
display: none;
}
@ -185,7 +189,7 @@ span.footnote_tooltip {
color: inherit;
text-decoration: none !important;
}
div.post-meta-edit-link-wrapper { /* Edit button in WP2020*/
div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
display: none; /*(added as a service)*/
}
}