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:
parent
d8bb767806
commit
d52de71726
5 changed files with 51 additions and 30 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/*<?php for docblocks
|
/*<?php for docblocks
|
||||||
/**
|
/**
|
||||||
* Additional stylesheet for alternative tooltips.
|
* Additional stylesheet for alternative tooltips.
|
||||||
*
|
*
|
||||||
* @since 2.5.5
|
* @since 2.5.5
|
||||||
|
|
||||||
* 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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Timing; fade-in/fade-out parameters.
|
* Timing; fade-in/fade-out parameters.
|
||||||
*
|
*
|
||||||
* To streamline internal CSS, immutable rules are in external stylesheet.
|
* To streamline internal CSS, immutable rules are in external stylesheet.
|
||||||
* Property values of settings are internal CSS.
|
* Property values of settings are internal CSS.
|
||||||
* @see class/task.php
|
* @see class/task.php
|
||||||
|
@ -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;
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
* 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 (jQuery or alternative) are enabled.
|
* Additional stylesheet needed when tooltips (jQuery or alternative) are enabled.
|
||||||
*
|
*
|
||||||
* @version 2.5.8
|
* @version 2.5.8
|
||||||
* @lastmodified 2021-02-28T1302+0100
|
* @lastmodified 2021-02-28T1302+0100
|
||||||
*
|
*
|
||||||
* System of unified minified style sheets tailored to the instance.
|
* System of unified minified style sheets tailored to the instance.
|
||||||
* @since 2.5.5
|
* @since 2.5.5
|
||||||
* @see full header in dev-common.css.
|
* @see full header in dev-common.css.
|
||||||
|
@ -18,15 +18,15 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tooltips.
|
* Tooltips.
|
||||||
*
|
*
|
||||||
* - Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report.
|
* - Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report.
|
||||||
*
|
*
|
||||||
* @since 2.1.6
|
* @since 2.1.6
|
||||||
* @reporter @russianicons
|
* @reporter @russianicons
|
||||||
* @link https://wordpress.org/support/topic/counter-styles-not-working/#post-13767299
|
* @link https://wordpress.org/support/topic/counter-styles-not-working/#post-13767299
|
||||||
*
|
*
|
||||||
* - 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 replacing remaining CSS values 'left' with 'start', thanks to @arahmanshaalan bug report.
|
||||||
*
|
*
|
||||||
* @since 2.5.8
|
* @since 2.5.8
|
||||||
* @reporter @arahmanshaalan
|
* @reporter @arahmanshaalan
|
||||||
* @link https://wordpress.org/support/topic/right-to-left-text-problem/
|
* @link https://wordpress.org/support/topic/right-to-left-text-problem/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Created-Date: 15.05.14
|
* Created-Date: 15.05.14
|
||||||
* Created-Time: 16:21
|
* Created-Time: 16:21
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*
|
*
|
||||||
* This dashboard stylesheet is minified as-is.
|
* This dashboard stylesheet is minified as-is.
|
||||||
* @see class/dashboard/layout.php
|
* @see class/dashboard/layout.php
|
||||||
*/
|
*/
|
||||||
|
@ -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 doesn’t 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;
|
||||||
|
@ -212,29 +221,33 @@ 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: 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;
|
||||||
|
|
Reference in a new issue