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.

Built from https://develop.svn.wordpress.org/trunk@44637


git-svn-id: http://core.svn.wordpress.org/trunk@44468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia
2019-01-17 07:41:52 +00:00
parent e42dddb5ba
commit 173e0f9ee7
58 changed files with 315 additions and 305 deletions

View File

@@ -470,11 +470,10 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
.wp-slider .ui-slider-handle.ui-state-active {
background: #eee;
border-color: #999;
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
transform: translateY(1px);
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
transform: translateY(1px);
}
.wp-slider .ui-slider-handle:before {
background: none;
position: absolute;
@@ -561,7 +560,7 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
}
}
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 782px) {
#diff-next-revision,
#diff-previous-revision {
margin-top: -1em;