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

@@ -1145,7 +1145,7 @@ i.mce-i-wp_code:before {
}
.tmce-active .quicktags-toolbar {
display: none;
display: none;
}
.tmce-active .switch-tmce,
@@ -1257,7 +1257,7 @@ i.mce-i-wp_code:before {
margin: 2px;
}
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 782px) {
.mce-toolbar .mce-btn button,
.qt-dfw {
padding: 6px 7px;
@@ -1296,7 +1296,7 @@ i.mce-i-wp_code:before {
}
}
@media screen and ( min-width: 782px ) {
@media screen and (min-width: 782px) {
.wp-core-ui .quicktags-toolbar input.button.button-small {
/* .button-small is normally 11px, but a bit too small for these buttons. */
font-size: 12px;
@@ -1644,7 +1644,7 @@ i.mce-i-wp_code:before {
float: left;
}
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 782px) {
#wp-link-wrap {
margin-top: -140px;
}
@@ -1678,7 +1678,7 @@ i.mce-i-wp_code:before {
}
}
@media screen and ( max-width: 520px ) {
@media screen and (max-width: 520px) {
#wp-link-wrap {
width: auto;
margin-right: 0;
@@ -1688,7 +1688,7 @@ i.mce-i-wp_code:before {
}
}
@media screen and ( max-height: 520px ) {
@media screen and (max-height: 520px) {
#wp-link-wrap {
transition: none;
height: auto;
@@ -1706,7 +1706,7 @@ i.mce-i-wp_code:before {
}
}
@media screen and ( max-height: 290px ) {
@media screen and (max-height: 290px) {
#wp-link-wrap {
height: auto;
margin-top: 0;
@@ -1797,7 +1797,7 @@ div.wp-link-input input {
cursor: pointer;
}
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 782px) {
div.wp-link-preview,
div.wp-link-input {
max-width: 70%;
@@ -1845,7 +1845,7 @@ div.wp-link-input input {
html:lang(he-il) .rtl .wp-switch-editor,
html:lang(he-il) .rtl .quicktags-toolbar input {
font-family: Arial, sans-serif;
font-family: Arial, sans-serif;
}
/* HiDPI */