From c8e93a3e1602158e015d9b847303745e6cb35e5c Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Wed, 20 Nov 2013 23:32:36 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/colors-fresh.css | 8 +++++++- src/wp-admin/css/wp-admin.css | 6 ------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/css/colors-fresh.css b/src/wp-admin/css/colors-fresh.css index b3962e7a3c..e17636809f 100644 --- a/src/wp-admin/css/colors-fresh.css +++ b/src/wp-admin/css/colors-fresh.css @@ -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; diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 4d03f49ea1..635b8f95cd 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -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 {