stable tag remains 2.0.4, this update as RC0 for user support and testing
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2412893 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
8eeb6b7c35
commit
75885b77cf
14 changed files with 599 additions and 510 deletions
|
@ -4,8 +4,9 @@
|
|||
* Created-Date: 15.05.14
|
||||
* Created-Time: 16:21
|
||||
* Since: 1.0
|
||||
* Version: 2.0.4
|
||||
* Last modified: 2020-11-01T0536+0100
|
||||
* Version: 2.0.6
|
||||
*
|
||||
* Last modified: 2020-11-04T2131+0100
|
||||
*/
|
||||
|
||||
|
||||
|
@ -37,9 +38,6 @@
|
|||
*/
|
||||
|
||||
.footnote_plugin_tooltip_text {
|
||||
vertical-align: top !important;
|
||||
position: relative !important;
|
||||
top: 0.6em !important;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
|
@ -63,6 +61,7 @@ span.footnote_tooltip {
|
|||
font-style: italic;
|
||||
color: green;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
.continue:hover {
|
||||
color: blue;
|
||||
|
@ -72,11 +71,6 @@ span.footnote_tooltip {
|
|||
/* Footnotes reference container
|
||||
*/
|
||||
|
||||
.footnote-reference-container {
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* label */
|
||||
.footnote_container_prepare {
|
||||
display: block !important;
|
||||
|
@ -105,30 +99,41 @@ span.footnote_tooltip {
|
|||
}
|
||||
|
||||
/* collapse button */
|
||||
#footnote_reference_container_collapse_button {
|
||||
/* fully clickable, not sign only */
|
||||
.footnote_reference_container_collapse_button {
|
||||
cursor: pointer;
|
||||
}
|
||||
.footnote_container_prepare > p > span:last-child a {
|
||||
text-decoration: none;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.footnote_container_prepare > p > span:last-child a:hover {
|
||||
text-decoration: underline;
|
||||
color: #008800;
|
||||
}
|
||||
|
||||
/* footnotes */
|
||||
/* 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, */
|
||||
.footnote_plugin_index,
|
||||
.footnote_plugin_text {
|
||||
border:none !important;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: 10px 3px 5px 0;
|
||||
text-align: left !important;
|
||||
vertical-align: top !important;
|
||||
padding: 10px 5px 5px 0 !important;
|
||||
}
|
||||
.footnote_plugin_index a,
|
||||
.footnote_plugin_text a {
|
||||
text-decoration: none;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.footnote_plugin_index a:hover,
|
||||
.footnote_plugin_index:hover,
|
||||
.footnote_plugin_text a:hover {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
@ -139,10 +144,16 @@ span.footnote_tooltip {
|
|||
word-wrap: normal !important;
|
||||
word-break: unset;
|
||||
word-break: keep-all !important;
|
||||
white-space: nowrap;
|
||||
max-width: 140px;
|
||||
width: 1px; /*auto-extending column to fit widest*/
|
||||
white-space: nowrap;
|
||||
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;
|
||||
|
@ -152,28 +163,18 @@ span.footnote_tooltip {
|
|||
/* 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
|
||||
* but it takes a wrapper to avoid a page break before the table.
|
||||
*
|
||||
* UI elements (button, arrows) and link styling are removed.
|
||||
*/
|
||||
|
||||
.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_outfit,
|
||||
.footnote_reference_container_collapse_button,
|
||||
.footnote_plugin_index_arrow {
|
||||
display: none;
|
||||
}
|
||||
|
@ -184,7 +185,7 @@ table.footnote_reference_container tr {
|
|||
color: inherit;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
|
||||
div.post-meta-edit-link-wrapper { /* Edit button in WP2020*/
|
||||
display: none; /*(added as a service)*/
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue