Administration: CSS coding standards

- properties should be followed by a colon and a space
- media queries shouldn't use spaces within parenthesis
- indentation should use tabs instead of spaces or mixed spaces / tabs
- the content property should use double quotes
- no double spaces

Props nadim0988, afercia.
Fixes #45185.


git-svn-id: https://develop.svn.wordpress.org/trunk@44637 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2019-01-17 07:40:40 +00:00
parent 15f4df2af6
commit fb37359865
28 changed files with 157 additions and 152 deletions

View File

@ -533,7 +533,8 @@ body.trashing #publish-settings {
background-color: #fff;
border-bottom: 1px solid #ddd;
border-left: 4px solid #fff;
transition: .15s color ease-in-out,
transition:
.15s color ease-in-out,
.15s background-color ease-in-out,
.15s border-color ease-in-out;
}
@ -785,7 +786,8 @@ h3.customize-section-title {
color: #444;
text-align: left;
cursor: pointer;
transition: color .15s ease-in-out,
transition:
color .15s ease-in-out,
border-color .15s ease-in-out,
background .15s ease-in-out;
box-sizing: content-box;
@ -805,7 +807,8 @@ h3.customize-section-title {
border-left: 4px solid #fff;
box-shadow: none;
cursor: pointer;
transition: color .15s ease-in-out,
transition:
color .15s ease-in-out,
border-color .15s ease-in-out,
background .15s ease-in-out;
}
@ -2692,7 +2695,8 @@ body.adding-widget .add-new-widget:before,
background: #fff;
border-bottom: 1px solid #ddd;
border-left: 4px solid #fff;
transition: .15s color ease-in-out,
transition:
.15s color ease-in-out,
.15s background-color ease-in-out,
.15s border-color ease-in-out;
cursor: pointer;

View File

@ -474,7 +474,6 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
transform: translateY(1px);
}
.wp-slider .ui-slider-handle:before {
background: none;
position: absolute;

View File

@ -1617,7 +1617,8 @@ body.full-overlay-active {
box-shadow: none;
border-top: 1px solid transparent;
border-bottom: 4px solid transparent;
transition: .15s color ease-in-out,
transition:
.15s color ease-in-out,
.15s background-color ease-in-out,
.15s border-color ease-in-out;
}

View File

@ -56,7 +56,8 @@
animation-duration: .4s;
opacity: 0;
pointer-events: none;
text-shadow: 0 -1px 1px #006799,
text-shadow:
0 -1px 1px #006799,
1px 0 1px #006799,
0 1px 1px #006799,
-1px 0 1px #006799;

View File

@ -301,7 +301,7 @@
line-height: 36px;
width: 36px;
height: 36px;
content: '\f158';
content: "\f158";
}
.ui-button.ui-dialog-titlebar-close:hover {