Make WordPress Core

Changeset 9943


Ignore:
Timestamp:
11/28/2008 10:14:43 AM (18 years ago)
Author:
azaozz
Message:

Styling for Tools screen

Location:
trunk/wp-admin
Files:
4 edited

Legend:

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

    r9942 r9943  
    113113        color: #fff;
    114114}
    115 
     115/*
    116116li.widget-list-control-item,
    117117div.nav,
     
    123123        background-color: #eaf3fa;
    124124}
    125 
     125*/
    126126#poststuff h3,
    127127.metabox-holder h3 {
  • trunk/wp-admin/js/wp-gears.js

    r8815 r9943  
    6161                        }
    6262                }
    63 
    64                 if ( show ) t.I('gears-info-box').style.display = 'block';
    65                 else t.I('gears-info-box').style.display = 'none';
    6663        },
    6764
  • trunk/wp-admin/tools.php

    r9929 r9943  
    1717screen_icon();
    1818?>
    19 <h2><?php echo wp_specialchars( $title ); ?></h2>
     19<div class="wrap">
     20<h2><?php echo wp_specialchars( $title ); ?></h2>
     21
     22<div class="tool-box">
    2023<?php
    2124if ( ! $is_opera ) {
    2225?>
    23         <div id="gears-info-box" class="wrap">
    24         <h3><?php _e('Turbo'); ?></h3>
    25 
    26         <img src="images/gear.png" title="Gear" alt="" class="gears-img" />
    2726        <div id="gears-msg1">
    28         <h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3>
     27        <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3>
    2928        <p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
    3029        <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
     
    3534
    3635        <div id="gears-msg2" style="display:none;">
    37         <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
     36        <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
    3837        <p><?php _e('Gears is installed on this computer, but is not enabled for use with WordPress.'); ?></p>
    3938        <p><?php _e('To enable it click the button below.'); ?></p>
     
    4342
    4443        <div id="gears-msg3" style="display:none;">
    45         <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
     44        <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
    4645        <p><?php
    4746
     
    5958
    6059        <div id="gears-msg4" style="display:none;">
    61         <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
     60        <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
    6261        <p><?php _e('This web site is denied to use Gears.'); ?></p>
    6362        <p><?php
     
    7372        <p><strong><?php _e('However, Gears should not be enabled if this is a public or shared computer.'); ?></strong></p>
    7473        </div>
    75        
    76         </div>
    77 
    78         <script type="text/javascript">
    79                 wpGears.message(1);
    80         </script>
     74        <script type="text/javascript">wpGears.message();</script>
    8175<?php } else {
    8276        _e('Turbo is not available for your browser.');
    83 }
    84 ?>
    85 <h3><?php _e('Press This') ?></h3>
    86 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?>  <a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
     77} ?>
     78</div>
    8779
     80<div class="tool-box">
     81        <h3 class="title"><?php _e('Press This') ?></h3>
     82        <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
     83        <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
     84</div>
     85
     86</div>
    8887<?php
    8988include('admin-footer.php');
  • trunk/wp-admin/wp-admin.css

    r9942 r9943  
    21572157}
    21582158
    2159 #gears-info-box {
    2160         max-width: 700px;
    2161 }
    2162 
    2163 #gears-info-box .gears-img {
    2164         float: right;
    2165         margin: 10px;
    2166 }
    2167 
    2168 #gears-info-box .buttons {
    2169         margin: 10px 0 0;
    2170         padding: 1.5em 0 0;
    2171 }
    2172 
    2173 .info-box-title {
    2174         line-height: 2;
    2175         margin: 0;
    2176         padding: 4px 8px;
    2177         font: 18px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
     2159.tool-box {
     2160        margin: 15px 0 35px;
     2161}
     2162
     2163.tool-box .buttons {
     2164        margin: 15px 0;
     2165}
     2166
     2167.tool-box .title {
     2168        margin: 8px 0;
     2169        font: 18px/24px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
     2170}
     2171
     2172.pressthis a {
     2173        font-size: 1.2em;
    21782174}
    21792175
Note: See TracChangeset for help on using the changeset viewer.