Backport upcoming bugfix release 2.5.8

Will be released in response to Forum and as agreed.
= 2.5.8 =
- Bugfix: Layout: support right-to-left writing direction by replacing remaining CSS values 'left' with 'start', thanks to @arahmanshaalan bug report.
- Bugfix: Layout: support right-to-left writing direction by enabling mirrored paddings on HTML dir=rtl pages, thanks to @arahmanshaalan bug report.
This commit is contained in:
pewgeuges 2021-02-28 14:24:57 +01:00
parent 8a01584196
commit ef8050477b
18 changed files with 1582 additions and 1634 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,63 +1,63 @@
/*<?php for docblocks /*<?php for docblocks
/** /**
* Additional stylesheet for alternative tooltips. * Additional stylesheet for alternative tooltips.
* *
* @since 2.5.5 * @since 2.5.5
* @version 2.5.5 * @version 2.5.5
* @lastmodified 2021-02-18T2029+0100 * @lastmodified 2021-02-18T2029+0100
* *
* System of unified minified style sheets tailored to the instance. * System of unified minified style sheets tailored to the instance.
* *
* @see full header in dev-common.css. * @see full header in dev-common.css.
*/ */
/** /**
* Alternative tooltips * Alternative tooltips
* *
* These default position values may be overridden by internal CSS. * These default position values may be overridden by internal CSS.
*/ */
.footnote_referrer.relative { .footnote_referrer.relative {
position: relative; position: relative;
} }
.footnote_tooltip.position { .footnote_tooltip.position {
display: unset; display: unset;
position: absolute; position: absolute;
bottom: 24px; bottom: 24px;
left: -50px; left: -50px;
width: 400px; width: 400px;
} }
/* /*
fade-in parameters fade-in parameters
*/ */
.footnote_tooltip.shown { .footnote_tooltip.shown {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transition-property: visibility opacity; transition-property: visibility opacity;
transition-timing-function: linear; transition-timing-function: linear;
/* /*
property values of settings are inline CSS property values of settings are inline CSS
transition-delay: 0ms; transition-delay: 0ms;
transition-duration: 200ms; transition-duration: 200ms;
*/ */
} }
/* /*
fade-out parameters fade-out parameters
*/ */
.footnote_tooltip.hidden { .footnote_tooltip.hidden {
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
transition-property: visibility opacity; transition-property: visibility opacity;
transition-timing-function: linear; transition-timing-function: linear;
/* /*
property values of settings are inline CSS property values of settings are inline CSS
transition-delay: 400ms; transition-delay: 400ms;
transition-duration: 200ms; transition-duration: 200ms;
*/ */
} }

View file

@ -1,58 +1,61 @@
/*<?php for docblocks /*<?php for docblocks
/** /**
* Created by Stefan Herndler. * Created by Stefan Herndler.
* User: Stefan * User: Stefan
* Created-Date: 15.05.14 * Created-Date: 15.05.14
* Created-Time: 16:21 * Created-Time: 16:21
* Since: 1.0 * Since: 1.0
* *
* Additional stylesheet needed when tooltips are enabled. * Additional stylesheet needed when tooltips (jQuery or alternative) are enabled.
* *
* It doesnt matter if the tooltips are jQuery based or alternative. * @version 2.5.8
* @since 2.5.5 * @lastmodified 2021-02-28T1302+0100
* @version 2.5.5 *
* @lastmodified 2021-02-18T2030+0100 * System of unified minified style sheets tailored to the instance.
* * @since 2.5.5
* System of unified minified style sheets tailored to the instance. * @see full header in dev-common.css.
* */
* @see full header in dev-common.css.
*/ /**
* Tooltips.
*
/** * - Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report.
* Tooltips *
* * @since 2.1.6
* - Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report. * @reporter @russianicons
* * @link https://wordpress.org/support/topic/counter-styles-not-working/#post-13767299
* @since 2.1.6 *
* @reporter @russianicons * - Bugfix: Layout: support right-to-left writing direction by replacing remaining CSS values 'left' with 'start', thanks to @arahmanshaalan bug report.
* @link https://wordpress.org/support/topic/counter-styles-not-working/#post-13767299 *
*/ * @since 2.5.8
* @reporter @arahmanshaalan
.footnote_tooltip { * @link https://wordpress.org/support/topic/right-to-left-text-problem/
display: none; */
z-index: 2147483647 !important;
cursor: auto; .footnote_tooltip {
text-align: left; display: none;
padding: 12px; z-index: 2147483647 !important;
line-height: 1.2; cursor: auto;
font-weight: normal; text-align: start !important;
font-style: normal; padding: 12px;
} line-height: 1.2;
font-weight: normal;
/* font-style: normal;
Read-on button }
*/
/*
.footnote_tooltip_continue { Read-on button
font-style: italic; */
color: green;
text-decoration: none !important; .footnote_tooltip_continue {
cursor: pointer; font-style: italic;
white-space: nowrap; color: green;
} text-decoration: none !important;
cursor: pointer;
.footnote_tooltip_continue:hover { white-space: nowrap;
color: blue; }
text-decoration: underline !important;
} .footnote_tooltip_continue:hover {
color: blue;
text-decoration: underline !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
.footnotes_validation_error{border:4px solid red;padding:20px 40px;margin:20px 0;background:#ff000055;text-align:start}.footnotes_validation_error p:first-child{font-size:20px;font-weight:700;text-align:center}.footnotes_validation_error p:nth-child(2){font-size:16px;font-style:italic}.footnotes_validation_error p:nth-child(3){font-size:14px;font-weight:700}.footnotes_validation_error p:last-child{font-size:12px}.footnote_url_wrap{word-wrap:anywhere;overflow-wrap:anywhere;word-break:break-all}.footnote_item_base,.footnote_referrer_base{position:absolute}.footnote_item_anchor,.footnote_referrer_anchor{position:relative}.footnote_plugin_tooltip_text,.footnote_plugin_tooltip_text:hover,.footnote_referrer,.footnote_referrer:hover,.footnote_referrer:link,.footnote_referrer>a,.footnote_referrer>a:hover,.footnote_referrer>a:link,.main-content .footnote_plugin_tooltip_text,.main-content .footnote_plugin_tooltip_text:hover,.main-content .footnote_referrer,.main-content .footnote_referrer:hover,.main-content .footnote_referrer:link,.main-content .footnote_referrer>a,.main-content .footnote_referrer>a:hover,.main-content .footnote_referrer>a:link{text-decoration:none!important;border-bottom:none!important;box-shadow:none!important}.footnote_plugin_tooltip_text{line-height:0;position:relative!important;cursor:pointer}.footnote_tooltip{display:none;z-index:2147483647!important;cursor:auto;text-align:left;padding:12px;line-height:1.2;font-weight:400;font-style:normal}.footnote_referrer.relative{position:relative}.footnote_tooltip.position{display:unset;position:absolute;bottom:24px;left:-50px;width:400px}.footnote_tooltip.shown{visibility:visible;opacity:1;transition-property:visibility opacity;transition-timing-function:linear}.footnote_tooltip.hidden{visibility:hidden;opacity:0;transition-property:visibility opacity;transition-timing-function:linear}.footnote_tooltip_continue{font-style:italic;color:green;text-decoration:none!important;cursor:pointer;white-space:nowrap}.footnote_tooltip_continue:hover{color:#00f;text-decoration:underline!important}.footnotes_reference_container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.footnote_container_prepare{display:block!important;padding-top:24px!important}.footnote_container_prepare>p{line-height:1.3!important;margin-top:1em!important;margin-bottom:.25em!important;padding:0!important;font-weight:400!important;display:block!important;-webkit-margin-before:.83em!important;-webkit-margin-after:.83em!important;-webkit-margin-start:0!important;-webkit-margin-end:0!important;text-align:left!important;vertical-align:middle}.footnote_container_prepare>p>span:first-child,.footnote_container_prepare>p>span:nth-child(3){text-align:start!important;font-size:1.5em!important}.footnote_reference_container_collapse_button{cursor:pointer;padding:0 .5em;font-size:1.3em!important;vertical-align:2px;text-decoration:none!important}h2>.footnote_reference_container_collapse_button,h3>.footnote_reference_container_collapse_button,h4>.footnote_reference_container_collapse_button,h5>.footnote_reference_container_collapse_button,h6>.footnote_reference_container_collapse_button{font-size:inherit!important}.footnote_container_prepare>p>span:last-child a,.footnote_reference_container_collapse_button a{text-decoration:none!important}.footnote-reference-container,.footnotes_table{width:100%;border:none}.footnote_plugin_index,.footnote_plugin_index_combi,.footnote_plugin_symbol,.footnote_plugin_text{border:none!important;text-align:left!important;vertical-align:top!important;padding:5px 6px 10px 0!important}.footnote_backlink,.footnote_backlink:link,.footnote_plugin_link,.footnote_plugin_link:link,.main-content .footnote_backlink,.main-content .footnote_backlink:link,.main-content .footnote_plugin_link,.main-content .footnote_plugin_link:link{text-decoration:none!important;border-bottom:none!important}.footnote_backlink,.footnote_plugin_link{white-space:nowrap}.footnote_backlink,.footnote_index,.pointer{cursor:pointer}.footnote_backlink:hover,.footnote_plugin_link:hover,.footnote_plugin_text a:hover{text-decoration:unset;text-decoration:underline}.footnote_plugin_text{width:unset}.footnote_plugin_index,.footnote_plugin_index_combi{max-width:100px;width:2.5em}@media only screen and (max-width:768px){.footnote_plugin_index,.footnote_plugin_index_combi{max-width:80px}}.footnotes_reference_container{page-break-inside:avoid}@media print{.footnote_index_arrow,.footnote_reference_container_collapse_button,.footnote_tooltip{display:none}.footnote_plugin_tooltip_text{color:inherit}.footnote_plugin_index a,.footnote_plugin_index_combi a{color:inherit;text-decoration:none!important}div.post-meta-edit-link-wrapper{display:none}}.footnotes_logo,.footnotes_logo:hover{text-decoration:none;font-weight:400}.footnotes_logo_part1{color:#2bb975}.footnotes_logo_part2{color:#545f5a} .footnotes_validation_error{border:4px solid red;padding:20px 40px;margin:20px 0;background:#ff000055;text-align:start}.footnotes_validation_error p:first-child{font-size:20px;font-weight:700;text-align:center}.footnotes_validation_error p:nth-child(2){font-size:16px;font-style:italic}.footnotes_validation_error p:nth-child(3){font-size:14px;font-weight:700}.footnotes_validation_error p:last-child{font-size:12px}.footnote_url_wrap{word-wrap:anywhere;overflow-wrap:anywhere;word-break:break-all}.footnote_item_base,.footnote_referrer_base{position:absolute}.footnote_item_anchor,.footnote_referrer_anchor{position:relative}.footnote_plugin_tooltip_text,.footnote_plugin_tooltip_text:hover,.footnote_referrer,.footnote_referrer:hover,.footnote_referrer:link,.footnote_referrer>a,.footnote_referrer>a:hover,.footnote_referrer>a:link,.main-content .footnote_plugin_tooltip_text,.main-content .footnote_plugin_tooltip_text:hover,.main-content .footnote_referrer,.main-content .footnote_referrer:hover,.main-content .footnote_referrer:link,.main-content .footnote_referrer>a,.main-content .footnote_referrer>a:hover,.main-content .footnote_referrer>a:link{text-decoration:none!important;border-bottom:none!important;box-shadow:none!important}.footnote_plugin_tooltip_text{line-height:0;position:relative!important;cursor:pointer}.footnotes_reference_container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.footnote_container_prepare{display:block!important;padding-top:24px!important}.footnote_container_prepare>p{line-height:1.3!important;margin-top:1em!important;margin-bottom:.25em!important;padding:0!important;font-weight:400!important;display:block!important;-webkit-margin-before:.83em!important;-webkit-margin-after:.83em!important;-webkit-margin-start:0!important;-webkit-margin-end:0!important;text-align:start!important;vertical-align:middle}.footnote_container_prepare>p>span:first-child,.footnote_container_prepare>p>span:nth-child(3){text-align:start!important;font-size:1.5em!important}.footnote_reference_container_collapse_button{cursor:pointer;padding:0 .5em;font-size:1.3em!important;vertical-align:2px;text-decoration:none!important}h2>.footnote_reference_container_collapse_button,h3>.footnote_reference_container_collapse_button,h4>.footnote_reference_container_collapse_button,h5>.footnote_reference_container_collapse_button,h6>.footnote_reference_container_collapse_button{font-size:inherit!important}.footnote_container_prepare>p>span:last-child a,.footnote_reference_container_collapse_button a{text-decoration:none!important}.footnote-reference-container,.footnotes_table{width:100%;border:none}.footnote_plugin_index,.footnote_plugin_index_combi,.footnote_plugin_symbol,.footnote_plugin_text{border:none!important;text-align:start!important;vertical-align:top!important;padding:5px 6px 10px 0!important}html[dir=rtl] .footnote_plugin_index,html[dir=rtl] .footnote_plugin_index_combi,html[dir=rtl] .footnote_plugin_symbol,html[dir=rtl] .footnote_plugin_text{padding:5px 0 10px 6px!important}.footnote_backlink,.footnote_backlink:link,.footnote_plugin_link,.footnote_plugin_link:link,.main-content .footnote_backlink,.main-content .footnote_backlink:link,.main-content .footnote_plugin_link,.main-content .footnote_plugin_link:link{text-decoration:none!important;border-bottom:none!important}.footnote_backlink,.footnote_plugin_link{white-space:nowrap}.footnote_backlink,.footnote_index,.pointer{cursor:pointer}.footnote_backlink:hover,.footnote_plugin_link:hover,.footnote_plugin_text a:hover{text-decoration:unset;text-decoration:underline}.footnote_plugin_text{width:unset}.footnote_plugin_index,.footnote_plugin_index_combi{max-width:100px;width:2.5em}@media only screen and (max-width:768px){.footnote_plugin_index,.footnote_plugin_index_combi{max-width:80px}}.footnotes_reference_container{page-break-inside:avoid}@media print{.footnote_index_arrow,.footnote_reference_container_collapse_button,.footnote_tooltip{display:none}.footnote_plugin_tooltip_text{color:inherit}.footnote_plugin_index a,.footnote_plugin_index_combi a{color:inherit;text-decoration:none!important}div.post-meta-edit-link-wrapper{display:none}}.footnotes_logo,.footnotes_logo:hover{text-decoration:none;font-weight:400}.footnotes_logo_part1{color:#2bb975}.footnotes_logo_part2{color:#545f5a}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

564
css/settings.css Executable file → Normal file
View file

@ -1,282 +1,282 @@
/*<?php for docblocks /*<?php for docblocks
/** /**
* Created by Stefan Herndler. * Created by Stefan Herndler.
* User: Stefan * User: Stefan
* Created-Date: 15.05.14 * Created-Date: 15.05.14
* Created-Time: 16:21 * Created-Time: 16:21
* Since: 1.0 * Since: 1.0
* *
* @version 2.5.5 * @version 2.5.5
* @lastmodified 2021-02-18T2026+0100 * @lastmodified 2021-02-18T2026+0100
*/ */
/** /**
* MCI Footnotes logo * MCI Footnotes logo
* *
* The classes with 'heading' fix display in dashboard, * The classes with 'heading' fix display in dashboard,
* where since WordPress 5.5 settings box labels with * where since WordPress 5.5 settings box labels with
* spans are displayed as justified not last line. * spans are displayed as justified not last line.
* *
* @see class/config.php * @see class/config.php
* @see css/dev-common.css * @see css/dev-common.css
*/ */
.footnotes_logo_heading { .footnotes_logo_heading {
display: inline-block; display: inline-block;
float: left; float: left;
position: absolute; position: absolute;
text-decoration: none; text-decoration: none;
font-weight: normal; font-weight: normal;
} }
.footnotes_logo_part1_heading { .footnotes_logo_part1_heading {
left: 20px; left: 20px;
color: #2bb975; color: #2bb975;
} }
.footnotes_logo_part2_heading { .footnotes_logo_part2_heading {
left: 51px; left: 51px;
color: #545f5a; color: #545f5a;
} }
.footnotes_heart_heading { .footnotes_heart_heading {
color:#ff6d3b; color:#ff6d3b;
font-weight:bold; font-weight:bold;
position: absolute; position: absolute;
left: 96px; left: 96px;
} }
/** /**
* Metabox headings * Metabox headings
*/ */
.postbox-header { .postbox-header {
position: relative; position: relative;
padding: 0 20px; padding: 0 20px;
} }
/************************************************************ /************************************************************
Input fields Input fields
On User Request: On User Request:
Limited to a number of IDs to not affect all dashboards Limited to a number of IDs to not affect all dashboards
<https://wordpress.org/support/topic/all-input-have-width-80/> <https://wordpress.org/support/topic/all-input-have-width-80/>
*/ */
/*input[type=text], input[type=password], textarea, select*/ /*input[type=text], input[type=password], textarea, select*/
#footnote_inputfield_readon_label, #footnote_inputfield_readon_label,
#footnote_inputfield_references_label, #footnote_inputfield_references_label,
#footnote_inputfield_love { #footnote_inputfield_love {
padding-left: 8px !important; padding-left: 8px !important;
padding-right: 8px !important; padding-right: 8px !important;
width: 80% !important; width: 80% !important;
} }
#footnote_inputfield_reference_container_place { #footnote_inputfield_reference_container_place {
width: 310px; width: 310px;
} }
#footnote_inputfield_counter_style, #footnote_inputfield_counter_style,
#footnotes_inputfield_page_layout_support { #footnotes_inputfield_page_layout_support {
width: 505px; width: 505px;
} }
#footnote_inputfield_placeholder_start, #footnote_inputfield_placeholder_start,
#footnote_inputfield_placeholder_end, #footnote_inputfield_placeholder_end,
#footnote_inputfield_custom_mouse_over_box_excerpt_length { #footnote_inputfield_custom_mouse_over_box_excerpt_length {
width: 180px; width: 180px;
} }
#footnote_inputfield_placeholder_start_user_defined, #footnote_inputfield_placeholder_start_user_defined,
#footnote_inputfield_placeholder_end_user_defined { #footnote_inputfield_placeholder_end_user_defined {
width: 320px; width: 320px;
} }
#footnote_inputfield_combine_identical, #footnote_inputfield_combine_identical,
#footnotes_inputfield_scroll_offset, #footnotes_inputfield_scroll_offset,
#footnotes_inputfield_scroll_duration, #footnotes_inputfield_scroll_duration,
#footnote_inputfield_custom_mouse_over_box_excerpt_enabled, #footnote_inputfield_custom_mouse_over_box_excerpt_enabled,
#footnote_inputfield_custom_mouse_over_box_offset_x, #footnote_inputfield_custom_mouse_over_box_offset_x,
#footnote_inputfield_custom_mouse_over_box_offset_y, #footnote_inputfield_custom_mouse_over_box_offset_y,
#footnote_inputfield_custom_mouse_over_box_max_width, #footnote_inputfield_custom_mouse_over_box_max_width,
#footnotes_inputfield_alternative_mouse_over_box_offset_x, #footnotes_inputfield_alternative_mouse_over_box_offset_x,
#footnotes_inputfield_alternative_mouse_over_box_offset_y, #footnotes_inputfield_alternative_mouse_over_box_offset_y,
#footnotes_inputfield_alternative_mouse_over_box_width, #footnotes_inputfield_alternative_mouse_over_box_width,
#footnotes_inputfield_mouse_over_box_fade_in_delay, #footnotes_inputfield_mouse_over_box_fade_in_delay,
#footnotes_inputfield_mouse_over_box_fade_in_duration, #footnotes_inputfield_mouse_over_box_fade_in_duration,
#footnotes_inputfield_mouse_over_box_fade_out_delay, #footnotes_inputfield_mouse_over_box_fade_out_delay,
#footnotes_inputfield_mouse_over_box_fade_out_duration, #footnotes_inputfield_mouse_over_box_fade_out_duration,
#footnote_inputfield_custom_mouse_over_box_border_width, #footnote_inputfield_custom_mouse_over_box_border_width,
#footnote_inputfield_custom_mouse_over_box_border_radius { #footnote_inputfield_custom_mouse_over_box_border_radius {
width: 80px; width: 80px;
} }
#footnote_inputfield_custom_hyperlink_symbol, #footnote_inputfield_custom_hyperlink_symbol,
#footnotes_inputfield_backlinks_terminator_option, #footnotes_inputfield_backlinks_terminator_option,
#footnotes_inputfield_backlinks_separator_option { #footnotes_inputfield_backlinks_separator_option {
width: 230px; width: 230px;
} }
#footnotes_inputfield_reference_container_top_margin, #footnotes_inputfield_reference_container_top_margin,
#footnotes_inputfield_reference_container_bottom_margin, #footnotes_inputfield_reference_container_bottom_margin,
#footnotes_inputfield_backlinks_column_width_scalar, #footnotes_inputfield_backlinks_column_width_scalar,
#footnotes_inputfield_backlinks_column_max_width_scalar, #footnotes_inputfield_backlinks_column_max_width_scalar,
#footnotes_inputfield_mouse_over_box_font_size_scalar { #footnotes_inputfield_mouse_over_box_font_size_scalar {
width: 85px; width: 85px;
} }
#footnotes_inputfield_backlinks_column_width_unit, #footnotes_inputfield_backlinks_column_width_unit,
#footnotes_inputfield_backlinks_column_max_width_unit, #footnotes_inputfield_backlinks_column_max_width_unit,
#footnotes_inputfield_mouse_over_box_font_size_unit { #footnotes_inputfield_mouse_over_box_font_size_unit {
width: 140px; width: 140px;
} }
/************************************************************ /************************************************************
Headings and labels Headings and labels
*/ */
label { label {
display: inline-block; display: inline-block;
} }
.postbox > h3 { .postbox > h3 {
height: 32px !important; height: 32px !important;
line-height: 32px !important; line-height: 32px !important;
} }
.postbox > h3 > span { .postbox > h3 > span {
padding: 0 10px; padding: 0 10px;
} }
.postbox > .inside > table { .postbox > .inside > table {
border: none !important; border: none !important;
} }
.postbox > .inside >table > tbody > tr > td:first-child { .postbox > .inside >table > tbody > tr > td:first-child {
width: 15% !important; width: 15% !important;
font-weight: bold !important; font-weight: bold !important;
} }
.footnote_placeholder_box_container { .footnote_placeholder_box_container {
text-align: center !important; text-align: center !important;
} }
span.footnote_highlight_placeholder { span.footnote_highlight_placeholder {
font-weight: bold !important; font-weight: bold !important;
padding: 0 8px !important; padding: 0 8px !important;
} }
.footnote_placeholder_box_example { .footnote_placeholder_box_example {
border: 2px solid #2bb975 !important; border: 2px solid #2bb975 !important;
border-radius: 4px !important; border-radius: 4px !important;
padding: 16px 0 !important; padding: 16px 0 !important;
width: 50% !important; width: 50% !important;
display: block !important; display: block !important;
margin: 20px auto !important; margin: 20px auto !important;
text-align: center !important; text-align: center !important;
} }
/************************************************************ /************************************************************
Special table layout Special table layout
Hooks and priority levels: Hooks and priority levels:
initialized from style attributes in templates initialized from style attributes in templates
IE doesnt support nth child, but these are not critical IE doesnt support nth child, but these are not critical
*/ */
.expert_lookup tr th:first-child, .expert_lookup tr th:first-child,
.expert_lookup tr td:first-child { .expert_lookup tr td:first-child {
width: 170px !important; width: 170px !important;
} }
.expert_lookup tr th:nth-child(2), .expert_lookup tr th:nth-child(2),
.expert_lookup tr td:nth-child(2) { .expert_lookup tr td:nth-child(2) {
width: 65px !important; width: 65px !important;
} }
.expert_lookup tr th:nth-child(3), .expert_lookup tr th:nth-child(3),
.expert_lookup tr td:nth-child(3) { .expert_lookup tr td:nth-child(3) {
width: 200px !important; width: 200px !important;
} }
.expert_lookup tr td:nth-child(3) input { .expert_lookup tr td:nth-child(3) input {
width: 190px; width: 190px;
} }
.expert_lookup tr th:last-child, .expert_lookup tr th:last-child,
.expert_lookup tr td:last-child { .expert_lookup tr td:last-child {
white-space: nowrap; white-space: nowrap;
} }
/* /*
Custom CSS Custom CSS
The number of CSS classes recommended for customization The number of CSS classes recommended for customization
significantly increased from 4 to 18 as of v2.4.0. significantly increased from 4 to 18 as of v2.4.0.
Localized notices are dropped to ease translators task. Localized notices are dropped to ease translators task.
CSS classes are listed directly in the template CSS classes are listed directly in the template
templates/dashboard/customize-css.html templates/dashboard/customize-css.html
For better maintainability and readability of the source For better maintainability and readability of the source
list, the </p> end tags are omitted per HTML5 standard: list, the </p> end tags are omitted per HTML5 standard:
<https://stackoverflow.com/questions/8460993/p-end-tag-p-is-not-needed-in-html> <https://stackoverflow.com/questions/8460993/p-end-tag-p-is-not-needed-in-html>
The textarea has monospace font, but no other features The textarea has monospace font, but no other features
helping edit CSS, like tab support and syntactic colors. helping edit CSS, like tab support and syntactic colors.
*/ */
#customize_css_new tr td:first-child { #customize_css_new tr td:first-child {
width: 38% !important; width: 38% !important;
font-weight: normal !important; font-weight: normal !important;
} }
.customize_css_new tr td:first-child span:first-child { .customize_css_new tr td:first-child span:first-child {
font-weight: bold !important; font-weight: bold !important;
} }
.customize_css_new .list { .customize_css_new .list {
padding-top: 10px; padding-top: 10px;
} }
.customize_css_new .list p { .customize_css_new .list p {
font-family: monospace; font-family: monospace;
padding: 0 10px; padding: 0 10px;
text-indent: -10px; text-indent: -10px;
margin: .5em 0; margin: .5em 0;
} }
#footnote_inputfield_custom_css_new { #footnote_inputfield_custom_css_new {
height: 500px; height: 500px;
} }
#footnote_inputfield_custom_css, #footnote_inputfield_custom_css,
#footnote_inputfield_custom_css_new { #footnote_inputfield_custom_css_new {
width: 96%; width: 96%;
resize: both; resize: both;
overflow: scroll; overflow: scroll;
font-family: monospace; font-family: monospace;
} }
/************************************************************ /************************************************************
Notices Notices
These spans were previously formatted using the em element. These spans were previously formatted using the em element.
But the intended semantics was not emphasis. But the intended semantics was not emphasis.
In locales using boldface to emphasize, the effect is the In locales using boldface to emphasize, the effect is the
exact opposite of the intention. exact opposite of the intention.
So we must use spans with explicit italic font style. So we must use spans with explicit italic font style.
Scripts not featuring italic fonts fall back to normal, Scripts not featuring italic fonts fall back to normal,
and that is just fine, as italic is only needed here for and that is just fine, as italic is only needed here for
scripts that do have italic, and failing to use it would scripts that do have italic, and failing to use it would
look weird. look weird.
since 2.1.4 since 2.1.4
*/ */
.footnotes_notice { .footnotes_notice {
font-style: italic; font-style: italic;
display: inline-block; display: inline-block;
text-align: end; text-align: end;
} }
/************************************************************ /************************************************************
Descriptions Descriptions
padded div above or below a settings table padded div above or below a settings table
Use case: more extensive information not fitting into a brief Use case: more extensive information not fitting into a brief
notice after the end of the settings box. notice after the end of the settings box.
*/ */
.footnotes_description { .footnotes_description {
padding: 0 4%; padding: 0 4%;
} }
.footnotes_description p { .footnotes_description p {
font-size: 1.06em; font-size: 1.06em;
font-style: italic; font-style: italic;
} }

View file

@ -4,7 +4,7 @@
* Plugin URI: https://wordpress.org/plugins/footnotes/ * 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. * 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 * Author: Mark Cheret
* Version: 2.5.7 * Version: 2.5.8
* Author URI: http://cheret.de/plugins/footnotes-2/ * Author URI: http://cheret.de/plugins/footnotes-2/
* Text Domain: footnotes * Text Domain: footnotes
* Domain Path: /languages * Domain Path: /languages
@ -19,9 +19,9 @@
* @since 2.1.4 * @since 2.1.4
* @since 2.5.3 (Hungarian) * @since 2.5.3 (Hungarian)
* @var str * @var str
* @lastmodified 2021-02-23T2304+0100 * @lastmodified 2021-02-28T1345+0100
*/ */
define( 'C_STR_FOOTNOTES_VERSION', '2.5.6' ); define( 'C_STR_FOOTNOTES_VERSION', '2.5.8' );
/* /*
LICENSE NOTICE LICENSE NOTICE

1254
readme.txt Executable file → Normal file

File diff suppressed because it is too large Load diff