Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.

props mattheu.
see #26574 for trunk.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2014-01-22 16:52:11 +00:00
parent 74ace0517c
commit 06efe8130d
5 changed files with 29 additions and 13 deletions

View File

@@ -2965,7 +2965,8 @@ body #dashboard-widgets .postbox form .submit {
/* Dashboard right now - Colors */
#dashboard_right_now li a:before {
#dashboard_right_now li a:before,
#dashboard_right_now li span:before {
color: #888;
}
@@ -2984,12 +2985,14 @@ body #dashboard-widgets .postbox form .submit {
margin: 0 0 1em;
}
#dashboard_right_now .warning a:before {
#dashboard_right_now .warning a:before,
#dashboard_right_now .warning span:before {
color: #d54e21;
}
/* Dashboard right now - Icons */
#dashboard_right_now li a:before {
#dashboard_right_now li a:before,
#dashboard_right_now li span:before {
content: '\f159';
font: normal 20px/1 'dashicons';
speak: none;
@@ -3004,11 +3007,13 @@ body #dashboard-widgets .postbox form .submit {
text-decoration: none !important;
}
#dashboard_right_now .page-count a:before {
#dashboard_right_now .page-count a:before,
#dashboard_right_now .page-count span:before {
content: '\f105';
}
#dashboard_right_now .post-count a:before {
#dashboard_right_now .post-count a:before,
#dashboard_right_now .post-count span:before {
content: '\f109';
}