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.


Built from https://develop.svn.wordpress.org/trunk@26297


git-svn-id: http://core.svn.wordpress.org/trunk@26202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-20 23:33:11 +00:00
parent 93faad2403
commit 1fc3716b84
11 changed files with 21 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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;

File diff suppressed because one or more lines are too long

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;

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long