mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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:
@@ -243,12 +243,12 @@
|
||||
|
||||
#the-comment-list tr:last-child th,
|
||||
#the-comment-list tr:last-child td {
|
||||
box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#the-comment-list tr.unapproved + tr.approved th,
|
||||
#the-comment-list tr.unapproved + tr.approved td {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.03);
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
/* table vim shortcuts */
|
||||
@@ -351,7 +351,7 @@ td.plugin-title p {
|
||||
table.media .column-title .media-icon {
|
||||
float: left;
|
||||
min-height: 60px;
|
||||
margin: 0 9px 0 0;
|
||||
margin: 0 9px 0 0;
|
||||
}
|
||||
|
||||
table.media .column-title .media-icon img {
|
||||
@@ -393,7 +393,7 @@ table.media .column-title .filename {
|
||||
}
|
||||
|
||||
#commentsdiv .inside .row-actions {
|
||||
line-height:18px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
#commentsdiv .inside .column-author {
|
||||
@@ -495,8 +495,8 @@ th.asc a:focus span.sorting-indicator:before {
|
||||
}
|
||||
|
||||
.wp-list-table .toggle-row:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
@@ -1398,7 +1398,7 @@ ul.cat-checklist {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@media screen and ( min-width: 1600px ) {
|
||||
@media screen and (min-width: 1600px) {
|
||||
.plugin-card {
|
||||
width: 30%;
|
||||
width: calc( 33.1% - 8px );
|
||||
@@ -1423,7 +1423,7 @@ ul.cat-checklist {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( min-width: 2300px ) {
|
||||
@media screen and (min-width: 2300px) {
|
||||
.plugin-card {
|
||||
width: 25%;
|
||||
width: calc( 25% - 12px );
|
||||
@@ -1619,7 +1619,7 @@ div.action-links,
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@media screen and ( max-width: 1100px ) and ( min-width: 782px ), ( max-width: 480px ) {
|
||||
@media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) {
|
||||
.plugin-card .action-links {
|
||||
position: static;
|
||||
margin-left: 148px;
|
||||
@@ -1655,7 +1655,7 @@ div.action-links,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
@media screen and (max-width: 782px) {
|
||||
/* WP List Table Options & Filters */
|
||||
.tablenav {
|
||||
height: auto;
|
||||
@@ -2148,7 +2148,7 @@ div.action-links,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 480px ) {
|
||||
@media screen and (max-width: 480px) {
|
||||
.tablenav-pages .current-page {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user