WordPress.org

Make WordPress Core

Changeset 26297


Ignore:
Timestamp:
11/20/2013 11:32:36 PM (8 years ago)
Author:
iammattthomas
Message:

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.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors-fresh.css

    r26293 r26297  
    858858.plugins .active.update td,
    859859.plugins .active.update th,
    860 tr.active.update + tr.plugin-update-tr .plugin-update {
     860tr.active.update + tr.plugin-update-tr .plugin-update,
     861#activity-widget #the-comment-list .unapproved {
    861862    background-color: #fefaf7;
    862863}
     
    937938    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    938939    box-shadow:         inset 0 -1px 0 rgba(0, 0, 0, 0.1);
     940}
     941
     942#activity-widget #the-comment-list .comment {
     943    -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
     944    box-shadow:         inset 0 1px 0 rgba(0, 0, 0, 0.06);
    939945}
    940946
  • trunk/src/wp-admin/css/wp-admin.css

    r26296 r26297  
    32533253    padding: 12px;
    32543254    position: relative;
    3255     border-top: 1px solid #eeeeee;
    32563255}
    32573256
     
    32813280#activity-widget #the-comment-list .comment-item:first-child {
    32823281    border-top: 1px solid #eeeeee;
    3283 }
    3284 
    3285 #activity-widget #the-comment-list .unapproved {
    3286     background: #f7fcfe;
    32873282}
    32883283
     
    82378232#activity-widget #latest-comments #the-comment-list .comment-item {
    82388233    padding: 1em 12px;
    8239     border-top: 1px solid #eee;
    82408234}
    82418235
Note: See TracChangeset for help on using the changeset viewer.