2014-07-31 10:17:38 +00:00
|
|
|
/**
|
|
|
|
* Created by Stefan Herndler.
|
|
|
|
* User: Stefan
|
2020-10-29 13:17:36 +00:00
|
|
|
* Created-Date: 15.05.14
|
|
|
|
* Created-Time: 16:21
|
2014-10-01 20:57:16 +00:00
|
|
|
* Since: 1.0
|
2020-11-24 11:01:34 +00:00
|
|
|
* Version: 2.1.3
|
2020-11-05 02:34:35 +00:00
|
|
|
*
|
2020-11-24 11:01:34 +00:00
|
|
|
* Last modified: 2020-11-24T0958+0100
|
2014-07-31 10:17:38 +00:00
|
|
|
*/
|
2020-11-24 11:01:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************
|
2020-11-09 19:09:54 +00:00
|
|
|
MCI Footnotes logo
|
|
|
|
The classes with 'heading' fix display in dashboard
|
2020-11-11 20:49:44 +00:00
|
|
|
|
|
|
|
class/config.php
|
|
|
|
css/settings.css
|
2020-11-09 19:09:54 +00:00
|
|
|
*/
|
2020-10-28 01:25:08 +00:00
|
|
|
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnotes_logo,
|
|
|
|
.footnotes_logo:hover,
|
|
|
|
.footnotes_logo_heading {
|
2014-10-01 20:57:16 +00:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnotes_logo_part1,
|
|
|
|
.footnotes_logo_part1_heading {
|
2014-10-01 20:57:16 +00:00
|
|
|
color: #2bb975;
|
|
|
|
}
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnotes_logo_part2,
|
|
|
|
.footnotes_logo_part2_heading {
|
2014-10-01 20:57:16 +00:00
|
|
|
color: #545f5a;
|
|
|
|
}
|
|
|
|
|
2020-11-24 11:01:34 +00:00
|
|
|
/*****************************************************
|
2020-11-11 20:49:44 +00:00
|
|
|
Footnote referrers and tooltips
|
2020-11-09 19:09:54 +00:00
|
|
|
|
2020-11-11 20:49:44 +00:00
|
|
|
templates/public/footnote.html
|
|
|
|
templates/public/footnote-alternative.html
|
|
|
|
|
|
|
|
.footnote_referrer = enclosing <span>
|
|
|
|
.footnote_plugin_tooltip_text = inner <sup>
|
|
|
|
.footnote_tooltip = inner <span>
|
|
|
|
*/
|
2020-10-28 01:25:08 +00:00
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
.footnote_referrer,
|
2020-11-11 20:49:44 +00:00
|
|
|
.footnote_referrer a,
|
2020-11-09 19:09:54 +00:00
|
|
|
.footnote_referrer:link,
|
2020-11-11 20:49:44 +00:00
|
|
|
.footnote_referrer a:link,
|
2020-11-09 19:09:54 +00:00
|
|
|
.main-content .footnote_referrer,
|
2020-11-11 20:49:44 +00:00
|
|
|
.main-content .footnote_referrer a,
|
2020-11-09 19:09:54 +00:00
|
|
|
.main-content .footnote_referrer:link,
|
2020-11-11 20:49:44 +00:00
|
|
|
.main-content .footnote_referrer a:link,
|
2020-11-09 19:09:54 +00:00
|
|
|
.footnote_plugin_tooltip_text {
|
|
|
|
text-decoration: none !important;
|
2020-11-24 11:01:34 +00:00
|
|
|
border-bottom: none !important;
|
|
|
|
line-height: 0;
|
2020-11-09 19:09:54 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.footnote_referrer:hover,
|
2020-11-11 20:49:44 +00:00
|
|
|
.footnote_referrer a:hover,
|
2020-10-28 16:54:45 +00:00
|
|
|
.footnote_plugin_tooltip_text:hover {
|
2020-11-01 05:41:22 +00:00
|
|
|
text-decoration: underline;
|
2020-11-07 13:31:49 +00:00
|
|
|
font-weight: inherit;
|
2020-10-28 15:58:58 +00:00
|
|
|
}
|
2014-10-01 20:57:16 +00:00
|
|
|
|
2020-11-11 20:49:44 +00:00
|
|
|
.footnote_tooltip {
|
|
|
|
display: none;
|
|
|
|
z-index: 999;
|
2020-11-12 18:17:28 +00:00
|
|
|
cursor: auto;
|
2020-11-01 05:41:22 +00:00
|
|
|
text-align: left;
|
2020-11-11 20:49:44 +00:00
|
|
|
padding: 12px;
|
2020-11-01 05:41:22 +00:00
|
|
|
line-height: 1.2em;
|
2020-11-11 20:49:44 +00:00
|
|
|
font-size: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
2020-10-28 01:25:08 +00:00
|
|
|
}
|
2020-11-13 16:54:31 +00:00
|
|
|
.footnote_tooltip a {
|
|
|
|
word-wrap: anywhere;
|
|
|
|
}
|
2020-11-11 20:49:44 +00:00
|
|
|
|
2020-11-12 18:17:28 +00:00
|
|
|
/*
|
|
|
|
alternative tooltip implementation
|
|
|
|
*/
|
|
|
|
.footnote_referrer.relative {
|
|
|
|
position: relative;
|
2020-11-11 20:49:44 +00:00
|
|
|
}
|
2020-11-12 18:17:28 +00:00
|
|
|
.footnote_tooltip.position {
|
2020-11-13 16:54:31 +00:00
|
|
|
display: unset;
|
2020-11-12 18:17:28 +00:00
|
|
|
position: absolute;
|
2020-11-11 20:49:44 +00:00
|
|
|
bottom: 24px;
|
2020-11-13 16:54:31 +00:00
|
|
|
left: -50px;
|
|
|
|
width: 400px;
|
2020-11-12 18:17:28 +00:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
fade-in parameters
|
|
|
|
*/
|
|
|
|
.footnote_tooltip.shown {
|
2020-11-13 16:54:31 +00:00
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transition-property: visibility opacity;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: linear;
|
|
|
|
transition-delay: 0ms;
|
2020-11-12 18:17:28 +00:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
fade-out parameters
|
|
|
|
*/
|
|
|
|
.footnote_tooltip.hidden {
|
2020-11-13 16:54:31 +00:00
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
transition-property: visibility opacity;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: linear;
|
|
|
|
transition-delay: 400ms;
|
2020-11-11 20:49:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Read-on button
|
|
|
|
*/
|
|
|
|
.footnote_tooltip_continue {
|
2020-11-01 05:41:22 +00:00
|
|
|
font-style: italic;
|
|
|
|
color: green;
|
|
|
|
text-decoration: none !important;
|
2020-11-05 02:34:35 +00:00
|
|
|
cursor: pointer;
|
2020-10-28 01:25:08 +00:00
|
|
|
}
|
2020-11-11 20:49:44 +00:00
|
|
|
.footnote_tooltip_continue:hover {
|
2020-11-01 05:41:22 +00:00
|
|
|
color: blue;
|
|
|
|
text-decoration: underline !important;
|
2020-10-28 01:25:08 +00:00
|
|
|
}
|
|
|
|
|
2020-11-11 20:49:44 +00:00
|
|
|
|
2020-11-24 11:01:34 +00:00
|
|
|
/*****************************************************
|
2020-11-09 19:09:54 +00:00
|
|
|
Footnote references container
|
2020-11-11 20:49:44 +00:00
|
|
|
|
|
|
|
templates/public/reference-container.html
|
2020-11-09 19:09:54 +00:00
|
|
|
*/
|
2020-10-28 01:25:08 +00:00
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
/*
|
|
|
|
label
|
|
|
|
*/
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnote_container_prepare {
|
|
|
|
display: block !important;
|
|
|
|
padding-top: 24px !important;
|
|
|
|
}
|
2014-07-31 10:17:38 +00:00
|
|
|
.footnote_container_prepare > p {
|
2020-11-01 05:41:22 +00:00
|
|
|
line-height: 1.3 !important;
|
|
|
|
margin-top: 1em !important;
|
|
|
|
margin-bottom: 0.25em !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
font-weight: normal !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
border-bottom: 1px solid #aaaaaa !important;
|
|
|
|
display: block !important;
|
|
|
|
-webkit-margin-before: 0.83em !important;
|
|
|
|
-webkit-margin-after: 0.83em !important;
|
|
|
|
-webkit-margin-start: 0px !important;
|
|
|
|
-webkit-margin-end: 0px !important;
|
|
|
|
text-align: left !important;
|
|
|
|
vertical-align: middle;
|
2014-07-31 10:17:38 +00:00
|
|
|
}
|
|
|
|
.footnote_container_prepare > p > span:first-child {
|
2020-11-01 05:41:22 +00:00
|
|
|
text-align: left !important;
|
|
|
|
font-size: 1.5em !important;
|
2014-07-31 10:17:38 +00:00
|
|
|
}
|
2020-10-29 13:17:36 +00:00
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
/*
|
|
|
|
collapse button
|
|
|
|
fully clickable, not sign only
|
|
|
|
*/
|
2020-11-05 02:34:35 +00:00
|
|
|
.footnote_reference_container_collapse_button {
|
2020-11-01 05:41:22 +00:00
|
|
|
cursor: pointer;
|
2020-11-07 13:31:49 +00:00
|
|
|
padding-left: .5em;
|
2020-11-09 19:09:54 +00:00
|
|
|
font-size: 1.3em !important;
|
|
|
|
vertical-align: 2px;
|
2020-10-29 13:17:36 +00:00
|
|
|
}
|
2020-10-28 01:25:08 +00:00
|
|
|
.footnote_container_prepare > p > span:last-child a {
|
2020-11-05 02:34:35 +00:00
|
|
|
text-decoration: none !important;
|
2020-10-28 01:25:08 +00:00
|
|
|
}
|
2014-07-31 10:17:38 +00:00
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
/*
|
|
|
|
table
|
|
|
|
*/
|
2020-11-05 02:34:35 +00:00
|
|
|
.footnote-reference-container {
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
/*
|
|
|
|
footnotes
|
|
|
|
reference-container-body.html
|
|
|
|
*/
|
2020-10-28 01:25:08 +00:00
|
|
|
.footnote_plugin_index,
|
2020-11-16 20:57:15 +00:00
|
|
|
.footnote_plugin_link,
|
2020-10-28 01:25:08 +00:00
|
|
|
.footnote_plugin_text {
|
2020-11-01 05:41:22 +00:00
|
|
|
border:none !important;
|
2020-11-05 02:34:35 +00:00
|
|
|
text-align: left !important;
|
|
|
|
vertical-align: top !important;
|
2020-11-16 20:57:15 +00:00
|
|
|
padding: 5px 6px 10px 0 !important;
|
2014-07-31 10:17:38 +00:00
|
|
|
}
|
2020-11-14 21:40:09 +00:00
|
|
|
.footnote_backlink,
|
|
|
|
.footnote_backlink:link,
|
2020-11-09 19:09:54 +00:00
|
|
|
.footnote_plugin_link,
|
|
|
|
.footnote_plugin_link:link,
|
2020-11-14 21:40:09 +00:00
|
|
|
.main-content .footnote_backlink,
|
|
|
|
.main-content .footnote_backlink:link,
|
2020-11-09 19:09:54 +00:00
|
|
|
.main-content .footnote_plugin_link,
|
|
|
|
.main-content .footnote_plugin_link:link {
|
2020-11-05 02:34:35 +00:00
|
|
|
text-decoration: none !important;
|
2020-11-09 19:09:54 +00:00
|
|
|
border-bottom: none !important;
|
2020-10-28 15:58:58 +00:00
|
|
|
}
|
2020-11-18 00:47:53 +00:00
|
|
|
/*
|
|
|
|
These rules when enabled cause the backlink to take an overline
|
|
|
|
when hovered in some themes, not in others:
|
2020-11-05 02:34:35 +00:00
|
|
|
.footnote_plugin_index:hover,
|
2020-11-18 00:47:53 +00:00
|
|
|
.footnote_plugin_index.pointer:hover,
|
|
|
|
*/
|
|
|
|
.footnote_backlink:hover,
|
|
|
|
.footnote_plugin_link:hover,
|
2020-10-28 15:58:58 +00:00
|
|
|
.footnote_plugin_text a:hover {
|
2020-11-24 11:01:34 +00:00
|
|
|
text-decoration: unset;
|
2020-11-01 05:41:22 +00:00
|
|
|
text-decoration: underline !important;
|
2020-10-29 13:17:36 +00:00
|
|
|
}
|
|
|
|
.footnote_plugin_index {
|
2020-11-04 05:49:46 +00:00
|
|
|
max-width: 140px;
|
2020-11-24 11:01:34 +00:00
|
|
|
width: 2em; /*auto-expanding column to fit widest*/
|
2020-10-29 13:17:36 +00:00
|
|
|
}
|
2020-11-14 21:40:09 +00:00
|
|
|
.footnote_backlink,
|
2020-11-16 20:57:15 +00:00
|
|
|
.footnote_plugin_link {
|
2020-11-07 13:31:49 +00:00
|
|
|
white-space: nowrap;
|
2020-11-05 18:00:18 +00:00
|
|
|
}
|
2020-11-14 21:40:09 +00:00
|
|
|
|
2020-11-16 20:57:15 +00:00
|
|
|
.footnote_index,
|
|
|
|
.footnote_backlink,
|
|
|
|
.footnote_plugin_index.pointer {
|
2020-11-14 21:40:09 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-11-05 02:34:35 +00:00
|
|
|
.footnote_plugin_text {
|
|
|
|
width: unset; /*unset width of text column to fix site issues*/
|
|
|
|
}
|
2020-11-24 11:01:34 +00:00
|
|
|
/*
|
|
|
|
prevent long URLs from expanding the reference container in mobile view:
|
|
|
|
*/
|
|
|
|
.footnote_plugin_text a {
|
|
|
|
word-wrap: anywhere;
|
|
|
|
}
|
2020-11-05 02:34:35 +00:00
|
|
|
|
2020-11-09 19:09:54 +00:00
|
|
|
/*
|
|
|
|
Responsive
|
|
|
|
*/
|
2020-10-29 13:17:36 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnote_plugin_index {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
2020-10-27 11:56:49 +00:00
|
|
|
}
|
|
|
|
|
2020-11-24 11:01:34 +00:00
|
|
|
/****************************************************************
|
2020-11-09 19:09:54 +00:00
|
|
|
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 - expand button, arrows - are hidden in print;
|
|
|
|
link styling is reverted so as to not gray out referrers/numbers.
|
2020-11-01 05:41:22 +00:00
|
|
|
*/
|
2020-10-28 15:58:58 +00:00
|
|
|
|
2020-11-16 20:57:15 +00:00
|
|
|
.footnotes_reference_container {
|
2020-11-01 05:41:22 +00:00
|
|
|
page-break-inside: avoid;
|
2020-10-29 13:17:36 +00:00
|
|
|
}
|
2020-11-05 02:34:35 +00:00
|
|
|
|
2020-10-28 15:58:58 +00:00
|
|
|
@media print {
|
2020-11-01 05:41:22 +00:00
|
|
|
.footnote_tooltip,
|
2020-11-05 02:34:35 +00:00
|
|
|
.footnote_reference_container_collapse_button,
|
2020-11-05 18:00:18 +00:00
|
|
|
.footnote_index_arrow {
|
2020-11-01 05:41:22 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.footnote_plugin_tooltip_text {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.footnote_plugin_index a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
2020-11-09 19:09:54 +00:00
|
|
|
div.post-meta-edit-link-wrapper { /*Edit button in WP2020*/
|
2020-11-01 05:41:22 +00:00
|
|
|
display: none; /*(added as a service)*/
|
|
|
|
}
|
2020-10-27 11:56:49 +00:00
|
|
|
}
|