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;
opacity: 0;
transition-property: visibility, opacity;
/*
/*
transition-delay: 500ms;
transition-duration: 1s;
*/
@ -37,7 +38,8 @@ span.footnote_referrer:hover > span.footnote_tooltip {
visibility: visible;
opacity: 1;
transition-property: visibility, opacity;
/*
/*
transition-delay: 0;
transition-duration: 200ms;
*/
@ -57,7 +59,8 @@ span.footnote_referrer:hover > span.footnote_tooltip {
.footnote_tooltip.position {
display: unset;
position: absolute;
/*
/*
bottom: 24px;
left: -50px;
width: 400px;

View file

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

View file

@ -23,7 +23,8 @@
.footnote_tooltip.position {
display: unset;
position: absolute;
/*
/*
bottom: 24px;
left: -50px;
width: 400px;
@ -43,7 +44,8 @@
opacity: 1;
transition-property: visibility, opacity;
transition-timing-function: linear;
/*
/*
transition-delay: 0ms;
transition-duration: 200ms;
*/
@ -54,7 +56,8 @@
opacity: 0;
transition-property: visibility, opacity;
transition-timing-function: linear;
/*
/*
transition-delay: 400ms;
transition-duration: 200ms;
*/

View file

@ -28,17 +28,20 @@
text-decoration: none;
font-weight: normal;
}
.footnotes_logo_part1_heading {
left: 20px;
color: #2bb975;
}
.footnotes_logo_part2_heading {
left: 51px;
color: #545f5a;
}
.footnotes_heart_heading {
color:#ff6d3b;
font-weight:bold;
color: #ff6d3b;
font-weight: bold;
position: absolute;
left: 96px;
}
@ -59,6 +62,7 @@ On User Request:
Limited to a number of IDs to not affect all dashboards
<https://wordpress.org/support/topic/all-input-have-width-80/>
*/
/*input[type=text], input[type=password], textarea, select*/
#footnote_inputfield_readon_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 {
width: 180px;
}
#footnote_inputfield_placeholder_start_user_defined,
#footnote_inputfield_placeholder_end_user_defined {
width: 320px;
@ -147,7 +152,7 @@ label {
border: none !important;
}
.postbox > .inside >table > tbody > tr > td:first-child {
.postbox > .inside > table > tbody > tr > td:first-child {
width: 15% !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 {
width: 170px !important;
}
.expert_lookup tr th:nth-child(2),
.expert_lookup tr td:nth-child(2) {
width: 65px !important;
}
.expert_lookup tr th:nth-child(3),
.expert_lookup tr td:nth-child(3) {
width: 200px !important;
}
.expert_lookup tr td:nth-child(3) input {
width: 190px;
}
.expert_lookup tr th:last-child,
.expert_lookup tr td:last-child {
white-space: nowrap;
@ -219,22 +228,26 @@ helping edit CSS, like tab support and syntactic colors.
width: 38% !important;
font-weight: normal !important;
}
.customize_css_new tr td:first-child span:first-child {
font-weight: bold !important;
}
.customize_css_new .list {
padding-top: 10px;
}
.customize_css_new .list p {
font-family: monospace;
padding: 0 10px;
text-indent: -10px;
margin: .5em 0;
margin: 0.5em 0;
}
#footnote_inputfield_custom_css_new {
height: 500px;
}
#footnote_inputfield_custom_css,
#footnote_inputfield_custom_css_new {
width: 96%;
@ -276,6 +289,7 @@ notice after the end of the settings box.
.footnotes_description {
padding: 0 4%;
}
.footnotes_description p {
font-size: 1.06em;
font-style: italic;