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

@@ -56,10 +56,11 @@
animation-duration: .4s;
opacity: 0;
pointer-events: none;
text-shadow: 0 -1px 1px #006799,
1px 0 1px #006799,
0 1px 1px #006799,
-1px 0 1px #006799;
text-shadow:
0 -1px 1px #006799,
1px 0 1px #006799,
0 1px 1px #006799,
-1px 0 1px #006799;
}
.wp-custom-header .customize-partial-edit-shortcut button {
left: 2px
@@ -150,14 +151,14 @@ body.customize-partial-edit-shortcuts-hidden .customize-partial-edit-shortcut bu
}
}
@media screen and (max-width:800px) {
@media screen and (max-width: 800px) {
.widget .customize-partial-edit-shortcut button,
.customize-partial-edit-shortcut button {
left: -32px;
}
}
@media screen and (max-width:320px) {
@media screen and (max-width: 320px) {
.widget .customize-partial-edit-shortcut button,
.customize-partial-edit-shortcut button {
left: -30px;