mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Coding Standards: Apply coding standards on CSS.
Remove units when the value is zero. Combine redundant values in shorthand declarations. This was generated with `stylelint --fix` and a custom config (see #53866). Props ankitmaru, audrasjb, pbiron, ayeshrajans, hareesh-pillai, netweb, mukesh27. Fixes #53866. git-svn-id: https://develop.svn.wordpress.org/trunk@51727 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+11
-11
@@ -417,7 +417,7 @@ code {
|
||||
|
||||
kbd,
|
||||
code {
|
||||
padding: 3px 5px 2px 5px;
|
||||
padding: 3px 5px 2px;
|
||||
margin: 0 1px;
|
||||
background: #f0f0f1;
|
||||
background: rgba(0, 0, 0, 0.07);
|
||||
@@ -582,7 +582,7 @@ code {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 9px 0 4px 0;
|
||||
padding: 9px 0 4px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
@@ -957,7 +957,7 @@ a#remove-post-thumbnail:hover {
|
||||
}
|
||||
|
||||
#minor-publishing-actions {
|
||||
padding: 10px 10px 0 10px;
|
||||
padding: 10px 10px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -1232,7 +1232,7 @@ th.action-links {
|
||||
|
||||
.filter-group .filter-group-feature label {
|
||||
display: block;
|
||||
margin: 14px 0px 14px 23px;
|
||||
margin: 14px 0 14px 23px;
|
||||
}
|
||||
|
||||
.filter-drawer .buttons {
|
||||
@@ -1609,7 +1609,7 @@ form.upgrade {
|
||||
form.upgrade .hint {
|
||||
font-style: italic;
|
||||
font-size: 85%;
|
||||
margin: -0.5em 0 2em 0;
|
||||
margin: -0.5em 0 2em;
|
||||
}
|
||||
|
||||
.update-php .spinner {
|
||||
@@ -1707,7 +1707,7 @@ p.auto-update-status {
|
||||
/* screen options and help tabs revert */
|
||||
#screen-meta {
|
||||
display: none;
|
||||
margin: 0 20px -1px 0px;
|
||||
margin: 0 20px -1px 0;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border: 1px solid #c3c4c7;
|
||||
@@ -3285,7 +3285,7 @@ img {
|
||||
.tree-folder > .current-file::before {
|
||||
left: 4px;
|
||||
height: 15px;
|
||||
width: 0px;
|
||||
width: 0;
|
||||
border-left: none;
|
||||
top: 3px;
|
||||
}
|
||||
@@ -3380,7 +3380,7 @@ img {
|
||||
}
|
||||
|
||||
#templateside li.howto {
|
||||
padding: 6px 12px 12px 12px;
|
||||
padding: 6px 12px 12px;
|
||||
}
|
||||
|
||||
.theme-editor-php .highlight {
|
||||
@@ -3432,7 +3432,7 @@ img {
|
||||
}
|
||||
|
||||
.widget-top .widget-action .toggle-indicator:before {
|
||||
padding: 1px 2px 1px 0px;
|
||||
padding: 1px 2px 1px 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
@@ -3827,7 +3827,7 @@ img {
|
||||
.wrap div.updated,
|
||||
.wrap div.error,
|
||||
.media-upload-form div.error {
|
||||
margin: 20px 0 10px 0;
|
||||
margin: 20px 0 10px;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 175%;
|
||||
@@ -3937,7 +3937,7 @@ img {
|
||||
left: -8px;
|
||||
}
|
||||
.tree-folder > li::before {
|
||||
top: 0px;
|
||||
top: 0;
|
||||
height: 13px;
|
||||
}
|
||||
.tree-folder > .current-file::before {
|
||||
|
||||
Reference in New Issue
Block a user