Make WordPress Core

Ticket #5974: 5974.diff

File 5974.diff, 9.4 KB (added by iammattthomas, 18 years ago)

Patch for admin style issues in 5974

  • wp-admin/wp-admin.css

     
    539539        margin: 0 6px;
    540540}
    541541
     542.row-title {
     543        font-size: 12px !important;
     544        font-weight: bold;
     545}
     546
     547.comment-column {
     548        margin-left: -5px;
     549}
     550
    542551.tablenav .dots {
    543552        background-color: #e4f2fd;
    544553        border-color: #e4f2fd;
     
    559568}
    560569
    561570.tablenav {
    562         background-color: #e4f2fd;
    563         padding: 10px;
     571        background-color: #eaf3fa;
     572        padding: 10px 10px 8px;
    564573        clear: both;
     574        margin-bottom: -10px;
    565575}
    566576
    567577.tablenav .tablenav-pages {
     
    782792        padding: 0;
    783793}
    784794
     795#submenu li {
     796        padding: 0 0 8px 17px;
     797}
     798
    785799#adminmenu li a #awaiting-mod {
    786800        position: absolute;
    787801        margin-left: -0.2em;
     
    869883
    870884#submenu a {
    871885        font-size: 14px;
    872         padding: 0 0 8px 17px;
    873886}
    874887
    875888#submenu a.current, #submenu a:hover {
     
    10101023
    10111024#poststuff h3 {
    10121025        background: #eaf3fa;
    1013         font-size: 15px;
     1026        font-size: 14px;
    10141027        font-weight: bold;
    1015         padding: 10px 5px;
     1028        padding: 8px 5px;
    10161029        margin: 0 0 10px;
    10171030}
    10181031
     
    11041117#poststuff .togbox {
    11051118        background-color:#b2b2b2;
    11061119        background-image:url(images/toggle-arrow.gif);
    1107         background-position:-10px 18px;
     1120        background-position:-10px 16px;
    11081121        background-repeat:no-repeat;
    11091122        display:block;
    1110         height:44px;
     1123        height:39px;
    11111124        margin-left:-19px;
    1112         margin-top:-13px;
     1125        margin-top:-11px;
    11131126        overflow:hidden;
    11141127        position:absolute;
    11151128        text-indent:-9999px;
     
    11351148#poststuff .closed .togbox {
    11361149        background-color:#2583ad;
    11371150        background-image:url(images/toggle-arrow.gif);
    1138         background-position: 4px 18px;
     1151        background-position: 4px 16px;
    11391152}
    11401153
    11411154.submitbox {
  • wp-admin/includes/template.php

     
    4242
    4343        $pad = str_repeat( '— ', $level );
    4444        if ( current_user_can( 'manage_categories' ) ) {
    45                 $edit = "<a href='categories.php?action=edit&amp;cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
     45                $edit = "<a class='row-title' href='categories.php?action=edit&amp;cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
    4646                $default_cat_id = (int) get_option( 'default_category' );
    4747        } else {
    4848                $edit = ( $name_override ? $name_override : $pad . ' ' . $category->name );
     
    7070                return $category;
    7171
    7272        if ( current_user_can( 'manage_categories' ) ) {
    73                 $edit = "<a href='link-category.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>". ( $name_override ? $name_override : $category->name ) ."</a>";
     73                $edit = "<a class='row-title' href='link-category.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>". ( $name_override ? $name_override : $category->name ) ."</a>";
    7474                $default_cat_id = (int) get_option( 'default_link_category' );
    7575        } else {
    7676                $edit = ( $name_override ? $name_override : $category->name );
     
    235235                $out = '';
    236236                $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>';
    237237                $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>';
    238                 $out .= '<td><a href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' .
     238                $out .= '<td><strong><a class="row-title" href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' .
    239239                        apply_filters( 'term_name', $tag->name ) . '</a></td>';
    240240
    241241                $out .= "<td>$count</td>";
     
    299299        $posts_columns['categories'] = __('Categories');
    300300        $posts_columns['tags'] = __('Tags');
    301301        if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) )
    302                 $posts_columns['comments'] = '<div style="text-align: center"><img alt="" src="images/comment-grey-bubble.png" /></div>';
     302                $posts_columns['comments'] = '<img class="comment-column" alt="Comments" src="images/comment-grey-bubble.png" /></div>';
    303303        $posts_columns['status'] = __('Status');
    304304        $posts_columns = apply_filters('manage_posts_columns', $posts_columns);
    305305
     
    403403                if ( empty($title) )
    404404                        $title = __('(no title)');
    405405                ?>
    406                 <td><strong><a href="page.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
     406                <td><strong><a class="row-title" href="page.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
    407407                <?php if ('private' == $page->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
    408408                <?php
    409409                break;
  • wp-admin/includes/media.php

     
    145145        $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
    146146        $multimedia_upload_iframe_src = "media-upload.php?type=multimedia&amp;post_id=$uploading_iframe_ID";
    147147        $multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src);
    148         echo "<a href='$multimedia_upload_iframe_src&amp;TB_iframe=true&amp;height=500&amp;width=640' class='button thickbox'>" . __('Add media'). '</a>';
     148        echo "<a href='$multimedia_upload_iframe_src&amp;TB_iframe=true&amp;height=500&amp;width=640' class='button-secondary thickbox'>" . __('Add media'). '</a>';
    149149}
    150150add_action( 'media_buttons', 'media_buttons' );
    151151
  • wp-admin/edit-post-rows.php

     
    6868                if ( empty($title) )
    6969                        $title = __('(no title)');
    7070                ?>
    71                 <td><strong><a href="post.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
     71                <td><strong><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
    7272                <?php if ('private' == $post->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
    7373                <?php
    7474                break;
  • wp-admin/upload.php

     
    121121
    122122<?php do_action('restrict_manage_posts'); ?>
    123123
    124 <br style="clear:both;" />
    125 
    126124<div class="tablenav">
    127125
    128126<?php
  • wp-admin/edit.php

     
    118118
    119119<?php do_action('restrict_manage_posts'); ?>
    120120
    121 <br style="clear:both;" />
    122 
    123121<div class="tablenav">
    124122
    125123<?php
  • wp-admin/css/global.css

     
    44
    55a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
    66
    7 a:focus, a:active {
    8         border: none;
    9         -moz-outline: none;
    10         outline: none;
    11 }
    12 
    137body    {
    148        background: #ffffff;
    159        color: #333333;
     
    4842.hidden { display: none; }
    4943
    5044.subsubsub {
    51         color: #999999;
     45        color: #999;
    5246        list-style: none;
    5347        margin: 15px 0 10px 0;
    5448        padding: 0;
    5549        white-space: nowrap;
     50        font-size: 12px;
    5651}
    5752
    5853.subsubsub a { line-height: 200%; padding: 3px; }
    5954
    60 .subsubsub a.current { color: #000000; font-weight: bold; }
     55.subsubsub a.current { color: #000; font-weight: bold; }
    6156
    6257.subsubsub li { display: inline; margin: 0; padding: 0; }
    6358
    6459.widefat {
    65         border: 1px solid #cccccc;
     60        border: 1px solid #ccc;
    6661        border-collapse: collapse;
    6762        width: 100%;
     63        clear: both;
    6864}
    6965
    7066.widefat td, .widefat th {
    71         border-bottom: 1px solid #cccccc;
    72         font-size: 12px;
     67        border-bottom: 1px solid #ccc;
     68        font-size: 10px;
    7369        padding: 10px 6px 20px 6px;
    7470}
    7571
  • wp-admin/link-manager.php

     
    171171                        switch($column_name) {
    172172                                case 'name':
    173173                                       
    174                                         echo "<td><a href='link.php?link_id=$link->link_id&amp;action=edit' class='edit'>$link->link_name</a><br />";
     174                                        echo "<td><strong><a class='row-title' href='link.php?link_id=$link->link_id&amp;action=edit' class='edit'>$link->link_name</a></strong><br />";
    175175                                        echo $link->link_description . "</td>";
    176176                                        break;
    177177                                case 'url':
  • wp-admin/import.php

     
    4444                        $style = 'class="'.$style.'"';
    4545                echo "
    4646                        <tr $style>
    47                                 <td class='import-system'>$action</td>
     47                                <td class='import-system row-title'>$action</td>
    4848                                <td class='desc'>{$data[1]}</td>
    4949                        </tr>";
    5050        }
  • wp-admin/export.php

     
    2121<form action="" method="get">
    2222<h3><?php _e('Optional options'); ?></h3>
    2323
    24 <table>
     24<table class="niceblue">
    2525<tr>
    2626<th><?php _e('Restrict Author:'); ?></th>
    2727<td>
  • wp-admin/edit-pages.php

     
    102102        <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
    103103</p>
    104104
    105 <br style="clear:both;" />
    106 
    107105<div class="tablenav">
    108106
    109107<div style="float: left">