chore: lint CSS files

The linter throws loads of errors - this commit only makes those
fixes that Stylelint can make automatically.
This commit is contained in:
Ben Goldsworthy 2021-04-15 03:12:37 +01:00
parent d8bb767806
commit d52de71726
5 changed files with 51 additions and 30 deletions

View file

@ -26,7 +26,8 @@ span.footnote_referrer > span.footnote_tooltip {
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
transition-property: visibility, opacity; transition-property: visibility, opacity;
/*
/*
transition-delay: 500ms; transition-delay: 500ms;
transition-duration: 1s; transition-duration: 1s;
*/ */
@ -37,7 +38,8 @@ span.footnote_referrer:hover > span.footnote_tooltip {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transition-property: visibility, opacity; transition-property: visibility, opacity;
/*
/*
transition-delay: 0; transition-delay: 0;
transition-duration: 200ms; transition-duration: 200ms;
*/ */
@ -57,7 +59,8 @@ span.footnote_referrer:hover > span.footnote_tooltip {
.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;

View file

@ -81,7 +81,7 @@
border: 4px solid red; border: 4px solid red;
padding: 20px 40px; padding: 20px 40px;
margin: 20px 0; margin: 20px 0;
background: #ff000055; background: #f005;
text-align: start; text-align: start;
} }
@ -307,18 +307,19 @@ Classes:
margin-bottom: 0.25em !important; margin-bottom: 0.25em !important;
padding: 0 !important; padding: 0 !important;
font-weight: normal !important; font-weight: normal !important;
/* bottom border optional since 2.2.5 */ /* bottom border optional since 2.2.5 */
display: block !important; display: block !important;
-webkit-margin-before: 0.83em !important; -webkit-margin-before: 0.83em !important;
-webkit-margin-after: 0.83em !important; -webkit-margin-after: 0.83em !important;
-webkit-margin-start: 0px !important; -webkit-margin-start: 0 !important;
-webkit-margin-end: 0px !important; -webkit-margin-end: 0 !important;
text-align: start !important; text-align: start !important;
vertical-align: middle; vertical-align: middle;
} }
.footnote_container_prepare > p > span:first-child, .footnote_container_prepare > p > span:first-child,
.footnote_container_prepare > p > span:nth-child(3) { .footnote_container_prepare > p > span:nth-child(3) {
text-align: start !important; text-align: start !important;
font-size: 1.5em !important; font-size: 1.5em !important;
} }
@ -380,8 +381,8 @@ table
width: 1px !important; width: 1px !important;
white-space: nowrap !important; white-space: nowrap !important;
overflow: hidden !important; overflow: hidden !important;
color: #ffffff00 !important; color: #fff0 !important;
background-color: #ffffff00 !important; background-color: #fff0 !important;
} }
/** /**

View file

@ -23,7 +23,8 @@
.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;
@ -43,7 +44,8 @@
opacity: 1; opacity: 1;
transition-property: visibility, opacity; transition-property: visibility, opacity;
transition-timing-function: linear; transition-timing-function: linear;
/*
/*
transition-delay: 0ms; transition-delay: 0ms;
transition-duration: 200ms; transition-duration: 200ms;
*/ */
@ -54,7 +56,8 @@
opacity: 0; opacity: 0;
transition-property: visibility, opacity; transition-property: visibility, opacity;
transition-timing-function: linear; transition-timing-function: linear;
/*
/*
transition-delay: 400ms; transition-delay: 400ms;
transition-duration: 200ms; transition-duration: 200ms;
*/ */

View file

@ -28,17 +28,20 @@
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;
} }
@ -59,6 +62,7 @@ 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,
@ -82,6 +86,7 @@ Limited to a number of IDs to not affect all dashboards
#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;
@ -147,7 +152,7 @@ label {
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;
} }
@ -182,17 +187,21 @@ IE doesnt support nth child, but these are not critical
.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;
@ -219,22 +228,26 @@ helping edit CSS, like tab support and syntactic colors.
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: 0.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%;
@ -276,6 +289,7 @@ 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;