Make WordPress Core

Changeset 7066


Ignore:
Timestamp:
02/27/2008 07:18:21 PM (17 years ago)
Author:
ryan
Message:

Style updates to plugins, export, and sidemenu from mt. fixes #6019

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/global.css

    r7031 r7066  
    6666.widefat td, .widefat th {
    6767    border-bottom: 1px solid #ccc;
    68     font-size: 10px;
    69     padding: 10px 6px 20px 6px;
     68    font-size: 12px;
     69    padding: 10px 10px 20px;
    7070    vertical-align: text-top;
    7171}
     
    8888    margin: 0;
    8989    margin-left: 15px;
    90     margin-right: 25px;
     90    margin-right: 15px;
    9191    padding: 0;
    9292}
  • trunk/wp-admin/export.php

    r6997 r7066  
    1515<div class="wrap">
    1616<h2><?php _e('Export'); ?></h2>
    17 <div class="narrow">
    1817<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
    1918<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
    2019<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
    2120<form action="" method="get">
    22 <h3><?php _e('Optional options'); ?></h3>
     21<h3><?php _e('Options'); ?></h3>
    2322
    24 <table class="niceblue">
     23<table class="form-table">
    2524<tr>
    26 <th><?php _e('Restrict Author:'); ?></th>
     25<th><?php _e('Restrict Author'); ?></th>
    2726<td>
    2827<select name="author">
     
    4443</form>
    4544</div>
    46 </div>
    4745
    4846<?php
  • trunk/wp-admin/plugins.php

    r6980 r7066  
    8282} else {
    8383?>
    84 <table class="widefat plugins">
     84
     85<div class="tablenav">
     86    <div style="float: left">
     87    <?php
     88    $active = get_option('active_plugins');
     89    $inactive = get_option('deactivated_plugins');
     90    if ( !empty($active) ) {
     91    ?>
     92    <a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
     93    <?php
     94    } elseif ( empty($active) && !empty($inactive) ) {
     95    ?>
     96    <a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
     97    <?php
     98    } // endif active/inactive plugin check
     99    ?>
     100    </div>
     101    <br style="clear:both;">
     102</div>
     103
     104<br style="clear:both;">
     105
     106<table class="widefat">
    85107    <thead>
    86108    <tr>
     
    88110        <th style="text-align: center"><?php _e('Version'); ?></th>
    89111        <th><?php _e('Description'); ?></th>
    90         <th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
     112        <th <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
    91113    </tr>
    92114    </thead>
     115    <tbody id="plugins">
    93116<?php
    94117    $style = '';
     
    127150        <td class='vers'>{$plugin_data['Version']}</td>
    128151        <td class='desc'><p>{$plugin_data['Description']}$author</p></td>
    129         <td class='togl'>$toggle</td>";
    130         if ( current_user_can('edit_plugins') )
    131         echo "
    132         <td>$edit</td>";
     152        <td class='togl'>$toggle"; if ( current_user_can('edit_plugins') ) echo " | $edit</td>";
    133153        echo"
    134154    </tr>";
     
    136156    }
    137157?>
     158    </tbody>
     159</table>
    138160
    139 <tr>
    140     <td colspan="3">&nbsp;</td>
    141     <td colspan="2" style="width:12em;">
    142     <?php
    143     $active = get_option('active_plugins');
    144     $inactive = get_option('deactivated_plugins');
    145     if ( !empty($active) ) {
    146     ?>
    147     <a href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
    148     <?php
    149     } elseif ( empty($active) && !empty($inactive) ) {
    150     ?>
    151     <a href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
    152     <?php
    153     } // endif active/inactive plugin check
    154     ?>
    155     </td>
    156 </tr>
    157 
    158 </table>
    159161<?php
    160162}
  • trunk/wp-admin/wp-admin.css

    r7040 r7066  
    1 .plugins p {
    2     margin: 4px;
    3     padding: 0;
    4 }
    5 
    6 .plugins .name {
    7     font-size: 16px;
     1#plugins .active td {
     2    opacity:1;
     3    filter:alpha(opacity=100)
     4}
     5
     6#plugins .active td.name {
     7    font-weight: bold;
     8}
     9
     10#plugins td {
     11    opacity:0.70;
     12    filter:alpha(opacity=70)
     13}
     14
     15#plugins p {
     16    margin: 0 4px;
     17    padding: 0;
     18}
     19
     20#plugins .togl {
     21    width: 150px;
    822}
    923
     
    117131
    118132.submit {
    119     margin: 1.5em 0 0 0;
     133    border-top: 1px solid #ccc;
     134    padding: 1.5em 0 0 0;
     135    margin: 10px 0 0 0;
    120136    -moz-border-radius-bottomleft: 3px;
    121137    -khtml-border-bottom-left-radius: 3px;
     
    198214    padding: 0 15px;
    199215    margin-bottom: 20px;
    200     margin-right: 15%;
     216    margin-right: 15px;
    201217}
    202218
     
    396412}
    397413
    398 .active td {
    399     background: #BEB;
    400 }
    401 .active .name {
    402     background: #9C9;
    403 }
    404 .alternate.active td {
    405     background: #ADA;
    406 }
    407 .alternate.active .name {
    408     background: #8B8;
    409 }
    410 
    411414#ajax-response {
    412415    padding: .5em;
     
    521524    background-color: #e4f2fd;
    522525    border-color: #e4f2fd;
     526}
     527
     528.tablenav a.button-secondary {
     529    display: inline-block;
     530    margin-right: 8px;
    523531}
    524532
     
    604612#user_info {
    605613    position: absolute;
    606     right: 25px;
     614    right: 15px;
    607615    top: 11px;
    608616    color: #ccc;
     
    743751
    744752#sidemenu {
    745     margin: -30px 15% 0 315px;
     753    margin: -30px 15px 0 315px;
    746754    color: #999;
    747755    list-style: none;
     
    913921    margin-top: 1em;
    914922    width: 100%;
     923    margin-bottom: -8px;
    915924}
    916925
     
    926935    padding: 10px;
    927936    border-bottom: 8px solid #fff;
     937    width: 150px;
    928938}
    929939
     
    11351145    background-color: #eaf3fa;
    11361146    width: 200px;
    1137     right: 25px;
     1147    right: 15px;
    11381148}
    11391149
     
    13871397#the-comment-list td {
    13881398    vertical-align: top;
    1389     font-size: 11px;
     1399    font-size: 12px;
    13901400}
    13911401
Note: See TracChangeset for help on using the changeset viewer.