Make WordPress Core

Changeset 9733


Ignore:
Timestamp:
11/17/2008 06:01:00 PM (16 years ago)
Author:
azaozz
Message:

CSS fixes and improvements, also IE7 and some IE6 fixes

Location:
trunk
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r9631 r9733  
    190190<div class="clear"></div>
    191191
    192 <table class="widefat">
     192<table class="widefat fixed" cellspacing="0">
    193193    <thead>
    194194    <tr>
  • trunk/wp-admin/css/colors-fresh.css

    r9713 r9733  
    4444}
    4545
    46 #poststuff .inside .spam {
     46#poststuff .inside label.spam {
    4747    color: red;
    4848}
    4949
    50 #poststuff .inside .waiting {
     50#poststuff .inside label.waiting {
    5151    color: orange;
    5252}
    5353
    54 #poststuff .inside .approved {
     54#poststuff .inside label.approved {
    5555    color: green;
    5656}
     
    130130}
    131131
    132 .metabox-holder {
    133     color: #777;
    134 }
    135 
    136132.form-table tr,
    137133.form-wrap .form-field {
     
    331327}
    332328
     329a:active,
     330a:focus {
     331    color: #d54e21 !important;
     332}
     333
     334a:hover,
    333335.button:hover,
    334336#wphead #viewsite a:hover,
     
    337339#the-comment-list .comment a:hover,
    338340#rightnow a:hover,
    339 a:hover,
    340341.subsubsub a:hover,
    341342.subsubsub a.current:hover,
     
    433434}
    434435
    435 .widefat thead,
    436 .widefat tfoot,
     436.widefat thead tr,
     437.widefat tfoot tr,
    437438.thead,
    438439.tfoot,
     
    914915}
    915916
    916 .wp_themeSkin tr.mceFirst {
     917.wp_themeSkin tr.mceFirst td.mceToolbar {
    917918    background-color: #dfdfdf;
    918919    border-color: #dfdfdf;
  • trunk/wp-admin/css/dashboard.css

    r9706 r9733  
    1717    border: 0 none;
    1818    outline: none;
     19    margin: 0;
    1920    padding: 0;
    2021    width: 99%;
     
    6768
    6869div.postbox div.inside {
    69     margin: 0 10px 10px;
     70    margin: 10px;
    7071    position: relative;
    7172}
     
    294295
    295296#dashboard-widgets #dashboard_quick_press form p.submit {
    296     padding: .8em .8em .8em 5.3em;
    297     margin: 0 -10px -10px;
     297    margin-left: 4.6em;
    298298}
    299299
  • trunk/wp-admin/css/global.css

    r9604 r9733  
    6767#wpcontent {
    6868    height: 100%;
    69     margin-bottom: 50px;
     69    padding-bottom: 50px;
    7070}
    7171
     
    292292}
    293293
     294.widefat * {
     295    word-wrap: break-word;
     296}
     297
    294298.widefat a {
    295299    text-decoration: none;
    296 }
    297 
    298 .widefat abbr {
    299     white-space: nowrap;
    300300}
    301301
     
    310310
    311311.widefat td {
    312     padding: 7px 15px 9px 10px;
     312    padding: 5px 7px;
    313313    vertical-align: top;
    314314}
    315315
    316316.widefat th {
    317     padding: 7px 15px 8px 10px;
     317    padding: 7px 7px 8px;
    318318    text-align: left;
    319319    line-height: 1.3em;
     
    327327
    328328.widefat .check-column {
    329     text-align: right;
    330     width: 1.5em;
     329    width: 2.2em;
    331330    padding: 0;
    332331
     
    334333
    335334.widefat tbody th.check-column {
    336     padding: 10px 0 22px;
     335    padding: 7px 0 22px;
    337336}
    338337
    339338.widefat .num,
    340 .widefat .column-comments {
     339.column-comments,
     340.column-links,
     341.column-posts,
     342.column-parent {
    341343    text-align: center;
    342344}
  • trunk/wp-admin/css/ie.css

    r9653 r9733  
    3939}
    4040
     41#wpbody-content .postbox {
     42    border: 1px solid #dfdfdf;
     43}
     44
     45#wpbody-content .postbox h3 {
     46    margin-bottom: -1px;
     47}
     48
     49#wpbody-content .postbox .inside {
     50   
     51}
     52
    4153#wphead-info {
    4254    float: right;
     
    6476}
    6577*/
     78ul#adminmenu {
     79    z-index: 99;
     80}
    6681
    6782* html #adminmenu {
    68     z-index: 1;
    6983    width: 145px;
    7084    margin: 12px;
     
    183197/* end Inline Editor */
    184198
     199#titlediv #title {
     200    width: 98%;
     201}
     202
     203a.button {
     204    line-height: 1.4em;
     205    margin: 1px;
     206}
     207
     208.widefat thead tr th,
     209.widefat tfoot tr th {
     210    background: #DFDFDF url(../images/gray-grad.png) repeat-x scroll left top;
     211    color: #333333;
     212}
     213
    185214* html div.widget-liquid-left-holder,
    186215* html div.widget-liquid-right {
     
    197226}
    198227
     228#post-status-info,
    199229#wpwrap,
    200230#wpcontent,
     
    303333}
    304334
    305 .tablenav-pages .page-numbers {
    306     display: inline-block;
    307 }
    308 
    309 .tablenav-pages {
    310     display: block;
    311     margin-top: -3px;
    312 }
    313 
    314335table.ie-fixed {
    315336    table-layout: fixed;
  • trunk/wp-admin/edit-attachment-rows.php

    r9714 r9733  
    99if ( ! defined('ABSPATH') ) die();
    1010?>
    11 <table class="widefat">
     11<table class="widefat fixed" cellspacing="0">
    1212    <thead>
    1313    <tr>
  • trunk/wp-admin/edit-comments.php

    r9720 r9733  
    249249
    250250<?php if ( $comments ) { ?>
    251 <table class="widefat">
     251<table class="widefat comments fixed" cellspacing="0">
    252252<thead>
    253253    <tr>
  • trunk/wp-admin/edit-form-advanced.php

    r9723 r9733  
    429429?>
    430430
    431 <table class="widefat comments-box" style="display:none;">
     431<table class="widefat comments-box fixed" cellspacing="0" style="display:none;">
    432432<thead>
    433433    <tr>
    434         <th scope="col"><?php _e('Comments') ?></th>
    435         <th scope="col"><?php _e('Author') ?></th>
    436         <th scope="col"><?php _e('Submitted') ?></th>
    437     </tr>
     434    <th scope="col" class="column-comment"><?php _e('Comment') ?></th>
     435    <th scope="col" class="column-author"><?php _e('Author') ?></th>
     436    <th scope="col" class="column-date"><?php _e('Submitted') ?></th>
     437  </tr>
    438438</thead>
    439439<tbody id="the-comment-list" class="list:comment">
  • trunk/wp-admin/edit-link-categories.php

    r9631 r9733  
    118118<div class="clear"></div>
    119119
    120 <table class="widefat">
     120<table class="widefat fixed" cellspacing="0">
    121121    <thead>
    122122    <tr>
  • trunk/wp-admin/edit-pages.php

    r9631 r9733  
    214214if ($posts) {
    215215?>
    216 <table class="widefat page">
     216<table class="widefat page fixed" cellspacing="0">
    217217  <thead>
    218218  <tr>
     
    280280<br class="clear" />
    281281
    282 <table class="widefat" style="margin-top: .5em">
     282<table class="widefat" cellspacing="0">
    283283<thead>
    284284  <tr>
    285     <th scope="col"><?php _e('Comment') ?></th>
    286     <th scope="col"><?php _e('Date') ?></th>
    287     <th scope="col"><?php _e('Actions') ?></th>
     285    <th scope="col" class="column-comment"><?php _e('Comment') ?></th>
     286    <th scope="col" class="column-author"><?php _e('Author') ?></th>
     287    <th scope="col" class="column-date"><?php _e('Submitted') ?></th>
    288288  </tr>
    289289</thead>
     
    291291<?php
    292292    foreach ($comments as $comment)
    293         _wp_comment_row( $comment->comment_ID, 'detail', false, false );
     293        _wp_comment_row( $comment->comment_ID, 'single', false, false );
    294294?>
    295295</tbody>
  • trunk/wp-admin/edit-post-rows.php

    r9028 r9733  
    99if ( ! defined('ABSPATH') ) die();
    1010?>
    11 <table class="widefat post">
     11<table class="widefat post fixed" cellspacing="0">
    1212    <thead>
    1313    <tr>
  • trunk/wp-admin/edit-tags.php

    r9631 r9733  
    186186<div class="clear"></div>
    187187
    188 <table class="widefat tag">
     188<table class="widefat tag fixed" cellspacing="0">
    189189    <thead>
    190190    <tr>
  • trunk/wp-admin/edit.php

    r9631 r9733  
    285285<br class="clear" />
    286286
    287 <table class="widefat" style="margin-top: .5em">
     287<table class="widefat fixed" cellspacing="0">
    288288<thead>
    289289  <tr>
    290     <th scope="col"><?php _e('Comment') ?></th>
    291     <th scope="col"><?php _e('Author') ?></th>
    292     <th scope="col"><?php _e('Submitted') ?></th>
     290    <th scope="col" class="column-comment"><?php _e('Comment') ?></th>
     291    <th scope="col" class="column-author"><?php _e('Author') ?></th>
     292    <th scope="col" class="column-date"><?php _e('Submitted') ?></th>
    293293  </tr>
    294294</thead>
     
    296296<tfoot>
    297297  <tr>
    298     <th scope="col"><?php _e('Comment') ?></th>
    299     <th scope="col"><?php _e('Author') ?></th>
    300     <th scope="col"><?php _e('Submitted') ?></th>
     298    <th scope="col" class="column-comment"><?php _e('Comment') ?></th>
     299    <th scope="col" class="column-author"><?php _e('Author') ?></th>
     300    <th scope="col" class="column-date"><?php _e('Submitted') ?></th>
    301301  </tr>
    302302</tfoot>
  • trunk/wp-admin/import.php

    r9233 r9733  
    4040} else {
    4141?>
    42 <table class="widefat">
     42<table class="widefat" cellspacing="0">
    4343
    4444<?php
  • trunk/wp-admin/includes/media.php

    r9716 r9733  
    14531453<?php wp_nonce_field('media-form'); ?>
    14541454<?php //media_upload_form( $errors ); ?>
    1455 <table class="widefat">
     1455<table class="widefat" cellspacing="0">
    14561456<thead><tr>
    14571457<th><?php _e('Media'); ?></th>
  • trunk/wp-admin/includes/plugin-install.php

    r9716 r9733  
    280280        <br class="clear" />
    281281    </div>
    282     <table class="widefat" id="install-plugins">
     282    <table class="widefat" id="install-plugins" cellspacing="0">
    283283        <thead>
    284284            <tr>
  • trunk/wp-admin/includes/template.php

    r9716 r9733  
    709709    $posts_columns['tags'] = _c('Tags|media column header');
    710710    $posts_columns['parent'] = _c('Attached to|media column header');
    711     //$posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>';
    712     $posts_columns['comments'] = __('Comments');
     711    $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>';
     712    //$posts_columns['comments'] = __('Comments');
    713713    $posts_columns['date'] = _c('Date|media column header');
    714714    $posts_columns = apply_filters('manage_media_columns', $posts_columns);
     
    832832    $hidden = (array) get_user_option( "manage-$type-columns-hidden" );
    833833    $styles = array();
    834     $styles['tag']['posts'] = 'width: 90px;';
    835     $styles['link-category']['links'] = 'width: 90px;';
    836     $styles['category']['posts'] = 'width: 90px;';
    837     $styles['link']['visible'] = 'text-align: center;';
     834//  $styles['tag']['posts'] = 'width: 90px;';
     835//  $styles['link-category']['links'] = 'width: 90px;';
     836//  $styles['category']['posts'] = 'width: 90px;';
     837//  $styles['link']['visible'] = 'text-align: center;';
    838838
    839839    foreach ( $columns as $column_key => $column_display_name ) {
     
    19781978                echo "<td $attributes><strong>"; comment_author(); echo '</strong><br />';
    19791979                if ( !empty($author_url) )
    1980                     echo "<a href='$author_url'>$author_url_display</a><br />";
     1980                    echo "<a title='$author_url' href='$author_url'>$author_url_display</a><br />";
    19811981                if ( current_user_can( 'edit_post', $post->ID ) ) {
    19821982                    if ( !empty($comment->comment_author_email) ) {
     
    20392039
    20402040    <div id="edithead" style="display:none;">
    2041         <div id="edittitle"><?php _e('Edit Comment'); ?></div>
    2042 
    20432041        <div class="inside">
    20442042        <label for="author"><?php _e('Name') ?></label>
  • trunk/wp-admin/js/inline-edit-post.js

    r9726 r9733  
    8888            if ( $(this).attr('checked') ) {
    8989                var id = $(this).val();
    90                 te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton">X</a>'+$('#inline_'+id+' .post_title').text()+'</div>';
     90                te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton">X</a>'+$('tr#post_'+id+' .post_title strong').text()+'</div>';
    9191            }
    9292        });
  • trunk/wp-admin/link-manager.php

    r9668 r9733  
    145145
    146146<?php wp_nonce_field('bulk-bookmarks') ?>
    147 <table class="widefat">
     147<table class="widefat fixed" cellspacing="0">
    148148    <thead>
    149149    <tr>
  • trunk/wp-admin/plugins.php

    r9631 r9733  
    247247function print_plugins_table($plugins, $context = '') {
    248248?>
    249 <table class="widefat" id="<?php echo $context ?>-plugins-table">
     249<table class="widefat" cellspacing="0" id="<?php echo $context ?>-plugins-table">
    250250    <thead>
    251251    <tr>
  • trunk/wp-admin/rtl.css

    r9713 r9733  
    428428/* 2300 - 2500
    429429=================================== */
    430 #edithead #edittitle {
    431     float: right;
    432     margin: 0 0 0 4px;
    433 }
    434430#edithead .inside {
    435431    float: right;
  • trunk/wp-admin/upload.php

    r9686 r9733  
    298298
    299299<?php if ( isset($orphans) ) { ?>
    300 <table class="widefat">
     300<table class="widefat" cellspacing="0">
    301301<thead>
    302302<tr>
     
    424424<br class="clear" />
    425425
    426 <table class="widefat" style="margin-top: .5em">
     426<table class="widefat" cellspacing="0">
    427427<thead>
    428428    <tr>
    429         <th scope="col"><?php _e('Comment') ?></th>
    430         <th scope="col"><?php _e('Date') ?></th>
    431         <th scope="col"><?php _e('Actions') ?></th>
    432     </tr>
     429    <th scope="col" class="column-comment"><?php _e('Comment') ?></th>
     430    <th scope="col" class="column-author"><?php _e('Author') ?></th>
     431    <th scope="col" class="column-date"><?php _e('Submitted') ?></th>
     432  </tr>
    433433</thead>
    434434<tbody id="the-comment-list" class="list:comment">
    435435<?php
    436436        foreach ($comments as $comment)
    437             _wp_comment_row( $comment->comment_ID, 'detail', false, false );
     437            _wp_comment_row( $comment->comment_ID, 'single', false, false );
    438438?>
    439439</tbody>
  • trunk/wp-admin/users.php

    r9631 r9733  
    329329    <?php endif; ?>
    330330
    331 <table class="widefat">
     331<table class="widefat fixed" cellspacing="0">
    332332<thead>
    333333<tr class="thead">
  • trunk/wp-admin/wp-admin.css

    r9723 r9733  
    503503    border-style: solid;
    504504    min-width: 26px;
    505     min-height: 1.9em;
    506505    padding: 2px 4px;
    507506    font-size: 13px;
     
    525524#ed_reply_toolbar #ed_reply_em {
    526525    font-style: italic;
    527 }
    528 
    529 #quicktags #ed_code,
    530 #ed_reply_toolbar #ed_reply_code {
    531     font-family: "Courier New", Courier, monospace;
    532     vertical-align: top;
    533526}
    534527
     
    715708}
    716709
    717 .page-numbers {
     710a.page-numbers {
    718711    border-bottom-style: solid;
    719712    border-bottom-width: 2px;
     
    759752.tablenav {
    760753    clear: both;
    761     height: 40px;
    762     margin: 6px 0;
     754    height: 30px;
     755    margin: 6px 6px 4px;
    763756    vertical-align: middle;
    764757}
     
    768761    display: block;
    769762    cursor: default;
    770     height: 40px;
    771     line-height: 40px;
     763    height: 30px;
     764    line-height: 30px;
    772765    font-size: 11px;
    773766    margin: 0 8px 0 0;
     
    784777
    785778.tablenav .actions {
    786     padding: 7px 8px 0;
     779    padding: 2px 8px 0 0;
    787780}
    788781
     
    12471240    word-spacing: .3em;
    12481241    font-size: 11px;
    1249     margin-top: -45px;
     1242    margin-top: -47px;
    12501243}
    12511244
     
    12871280#wpbody-content .describe td {
    12881281    margin-bottom: 9px;
    1289     padding: 10px;
     1282    padding: 4px 10px;
    12901283    line-height: 20px;
    12911284    border-bottom-width: 8px;
     
    14671460    float: none;
    14681461    margin: 0;
    1469     padding: 7px;
     1462    padding: 3px 7px;
    14701463}
    14711464
     
    16731666    font-weight: bold;
    16741667    padding: 7px 9px;
    1675     margin: 0 0 10px;
     1668    margin: 0;
    16761669    line-height: 1;
    16771670    text-shadow: #fff 0 1px 0;
     
    17141707#poststuff .inside p {
    17151708    font-size: 11px;
    1716     margin: 2px 6px 6px;
     1709    margin: 6px;
    17171710}
    17181711
    17191712#poststuff .inside .submitbox p {
    17201713    margin: 1em 0;
     1714}
     1715
     1716#post-visibility-select {
     1717    line-height: 1.5em;
     1718    margin-top: 3px;
    17211719}
    17221720
     
    18041802}
    18051803
    1806 .wp_themeSkin tr.mceFirst {
     1804.wp_themeSkin tr.mceFirst td.mceToolbar {
    18071805    background-image: url("images/ed-bg.gif");
    18081806    background-position: left top;
     
    18351833}
    18361834
    1837 #poststuff #editor-toolbar .active {
    1838     /*font-weight: bold;*/
    1839 }
    1840 
    18411835#media-buttons {
    18421836    cursor: default;
     
    19051899#post-status-select {
    19061900    line-height: 2.5em;
     1901    margin-top: 3px;
    19071902}
    19081903
     
    20902085.view-switch {
    20912086    float: right;
    2092     margin: 9px 8px 0;
     2087    margin: 5px 8px 0;
    20932088}
    20942089
     
    22872282
    22882283#timestampdiv {
    2289     padding-top: 3px;
     2284    padding-top: 5px;
    22902285    line-height: 23px;
    22912286}
     
    24452440#replysubmit {
    24462441    margin: 0;
    2447     padding: 7px;
    2448     border-top-width: 1px;
    2449     border-top-style: solid;
     2442    padding: 3px 7px;
    24502443}
    24512444
     
    24712464}
    24722465
    2473 #edithead #edittitle {
    2474     float: left;
    2475     font-size: 12px;
    2476     font-weight: bold;
    2477     height: 20px;
    2478     line-height: 19px;
    2479     margin: 0 4px 0 0;
    2480     padding: 4px 10px;
    2481 }
    2482 
    24832466#edithead .inside {
    24842467    float: left;
    2485     margin: 0 4px 2px 0;
    2486     padding: 3px 0 2px;
     2468    padding: 3px 0 2px 5px;
     2469    margin: 0;
    24872470    text-align: center;
    2488     width: 260px;
    24892471    font-size: 11px;
    24902472}
    24912473
    24922474#edithead .inside input {
    2493     width: 200px;
     2475    width: 180px;
    24942476    font-size: 11px;
    24952477}
    24962478
    24972479#edithead label {
    2498     padding: 2px;
     2480    padding: 2px 0;
    24992481}
    25002482
     
    31643146}
    31653147
    3166 
    3167 
     3148/* table.fixed column width */
     3149table.fixed {
     3150    table-layout: fixed;
     3151}
     3152
     3153.fixed .column-date,
     3154.fixed .column-parent,
     3155.fixed .column-visible,
     3156.fixed .column-links {
     3157    width: 10%;
     3158}
     3159
     3160.fixed .column-response,
     3161.fixed .column-author,
     3162.fixed .column-categories,
     3163.fixed .column-tags,
     3164.fixed .column-rel,
     3165.fixed .column-role {
     3166    width: 15%;
     3167}
     3168
     3169.fixed .column-comments {
     3170    width: 4em;
     3171}
     3172
     3173.fixed .column-slug {
     3174    width: 25%;
     3175}
     3176
     3177.fixed .column-posts {
     3178    width: 10%;
     3179}
     3180
     3181.fixed .column-icon {
     3182    width: 80px;
     3183}
     3184
     3185.fixed .comments .column-author,
     3186#commentstatusdiv .fixed .column-date,
     3187#commentstatusdiv .fixed .column-author {
     3188    width: 20%;
     3189}
     3190
     3191.widefat th,
     3192.widefat td {
     3193    overflow: hidden;
     3194}
     3195
     3196
  • trunk/wp-includes/post-template.php

    r9590 r9733  
    11371137<br class="clear" />
    11381138
    1139 <table class="widefat post-revisions">
     1139<table class="widefat post-revisions" cellspacing="0">
    11401140    <col />
    11411141    <col style="width: 33%" />
Note: See TracChangeset for help on using the changeset viewer.