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
+9 -9
View File
@@ -79,22 +79,22 @@ p {
}
.login .password-input-wrapper {
display: table;
display: table;
}
.login .input.password-input {
display: table-cell;
margin: 0;
display: table-cell;
margin: 0;
}
.login .pw-weak {
margin-bottom: 15px;
margin-bottom: 15px;
}
.login .button.button-secondary {
display: table-cell;
border-radius: 0;
vertical-align: middle;
display: table-cell;
border-radius: 0;
vertical-align: middle;
}
.login form {
@@ -263,13 +263,13 @@ body.interim-login {
width: device-width;
}
@media screen and ( max-height: 550px ) {
@media screen and (max-height: 550px) {
#login {
padding: 20px 0;
}
}
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 782px) {
.interim-login input[type=checkbox] {
height: 16px;
width: 16px;