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