sunc trunk with stable tag
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2412193 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
ba4338221d
commit
969b4c0946
10 changed files with 496 additions and 575 deletions
|
@ -4,9 +4,8 @@
|
|||
* Created-Date: 15.05.14
|
||||
* Created-Time: 16:21
|
||||
* Since: 1.0
|
||||
* Version: 2.0.6
|
||||
*
|
||||
* Last modified: 2020-11-04T0437+0100
|
||||
* Version: 2.0.4
|
||||
* Last modified: 2020-11-01T0536+0100
|
||||
*/
|
||||
|
||||
|
||||
|
@ -38,6 +37,9 @@
|
|||
*/
|
||||
|
||||
.footnote_plugin_tooltip_text {
|
||||
vertical-align: top !important;
|
||||
position: relative !important;
|
||||
top: 0.6em !important;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
|
@ -61,7 +63,6 @@ span.footnote_tooltip {
|
|||
font-style: italic;
|
||||
color: green;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
.continue:hover {
|
||||
color: blue;
|
||||
|
@ -71,6 +72,11 @@ span.footnote_tooltip {
|
|||
/* Footnotes reference container
|
||||
*/
|
||||
|
||||
.footnote-reference-container {
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* label */
|
||||
.footnote_container_prepare {
|
||||
display: block !important;
|
||||
|
@ -110,29 +116,19 @@ span.footnote_tooltip {
|
|||
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;
|
||||
}
|
||||
|
@ -143,16 +139,10 @@ 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;
|
||||
|
@ -162,15 +152,25 @@ 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.
|
||||
*
|
||||
* 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_outfit,
|
||||
|
@ -184,7 +184,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)*/
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue