Some improvements to the dashboard activity widget:

* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-11-20 23:32:36 +00:00
parent d0a8ff70ec
commit c8e93a3e16
2 changed files with 7 additions and 7 deletions

View File

@ -857,7 +857,8 @@ tr.active + tr.plugin-update-tr .plugin-update {
.plugins .active.update td,
.plugins .active.update th,
tr.active.update + tr.plugin-update-tr .plugin-update {
tr.active.update + tr.plugin-update-tr .plugin-update,
#activity-widget #the-comment-list .unapproved {
background-color: #fefaf7;
}
@ -938,6 +939,11 @@ a.post-format-icon:hover:before {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#activity-widget #the-comment-list .comment {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}
#the-comment-list tr:last-child th,
#the-comment-list tr:last-child td {
-webkit-box-shadow: none;

View File

@ -3252,7 +3252,6 @@ form.initial-form.quickpress-open input#title {
background: #f5f5f5;
padding: 12px;
position: relative;
border-top: 1px solid #eeeeee;
}
#activity-widget #the-comment-list img {
@ -3282,10 +3281,6 @@ form.initial-form.quickpress-open input#title {
border-top: 1px solid #eeeeee;
}
#activity-widget #the-comment-list .unapproved {
background: #f7fcfe;
}
#activity-widget #the-comment-list .unapproved:before {
content: "";
display: block;
@ -8236,7 +8231,6 @@ h3:hover .edit-box {
#activity-widget #latest-comments #the-comment-list .comment-item {
padding: 1em 12px;
border-top: 1px solid #eee;
}
#latest-comments #the-comment-list .pingback {