WordPress.org

Make WordPress Core

Changeset 7207


Ignore:
Timestamp:
03/10/08 08:24:45 (7 years ago)
Author:
ryan
Message:

Fix comment bubble alignment. Props azaozz. fixes #6115

Location:
trunk/wp-admin
Files:
1 added
3 edited

Legend:

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

    r7201 r7207  
    157157 
    158158.post-com-count { 
    159     background-image: url(../images/comment-stalk.gif); 
     159    background-image: url(../images/bubble_bg.gif); 
    160160    color: #fff; 
    161161} 
  • trunk/wp-admin/includes/template.php

    r7180 r7207  
    289289    $posts_columns['tags'] = __('Tags'); 
    290290    if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) ) 
    291         $posts_columns['comments'] = '<img class="comment-column" alt="Comments" src="images/comment-grey-bubble.png" /></div>'; 
     291        $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>'; 
    292292    $posts_columns['status'] = __('Status'); 
    293293    $posts_columns = apply_filters('manage_posts_columns', $posts_columns); 
     
    323323    $posts_columns['author'] = __('Author'); 
    324324    if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) ) 
    325         $posts_columns['comments'] = '<div style="text-align: center"><img alt="" src="images/comment-grey-bubble.png" /></div>'; 
     325        $posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>'; 
    326326    $posts_columns['status'] = __('Status'); 
    327327    $posts_columns = apply_filters('manage_pages_columns', $posts_columns); 
  • trunk/wp-admin/wp-admin.css

    r7200 r7207  
    455455 
    456456.comment-column { 
    457     margin-left: -5px; 
     457    margin-left: 5px; 
    458458} 
    459459 
     
    687687 
    688688.post-com-count { 
     689    height: 1.3em; 
     690    display: block; 
     691    text-decoration: none; 
     692    overflow: hidden; 
     693    padding: 0 0 5px; 
     694    cursor: pointer; 
     695    background-position: center -80px; 
    689696    background-repeat: no-repeat; 
    690     background-position: -240px bottom; 
    691     height: 0.9em; 
    692     margin-top: 7px; 
    693     width: 1em; 
    694     display: block; 
    695     position: absolute; 
    696     text-decoration: none; 
    697697} 
    698698 
    699699.post-com-count span { 
    700     top: -0.7em; 
    701     right: 0; 
    702     position: absolute; 
    703     display: block; 
    704700    height: 1.3em; 
    705701    line-height: 1.3em; 
    706702    padding: 0 0.6em; 
     703    background-color: #bbb; 
     704    cursor: pointer; 
    707705    -moz-border-radius: 3px; 
    708706    -khtml-border-radius: 3px; 
     
    712710 
    713711strong .post-com-count { 
    714     background-position: -160px bottom; 
     712    background-position: center -55px; 
    715713} 
    716714 
    717715.post-com-count:hover { 
    718     background-position: 0 bottom; 
     716    background-position: center -3px; 
    719717} 
    720718 
Note: See TracChangeset for help on using the changeset viewer.