WordPress.org

Make WordPress Core

Changeset 6950


Ignore:
Timestamp:
02/21/2008 12:27:23 AM (14 years ago)
Author:
ryan
Message:

Admin styling updates from mt. fixes #5940

Location:
trunk
Files:
26 edited

Legend:

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

    r6857 r6950  
    4747<div id="wpcontent">
    4848<div id="wphead">
    49 <h1><?php bloginfo('name'); ?> <span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>
     49<h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>
    5050</div>
    5151<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php printf(__('<a href="%s">Help</a>'), 'http://codex.wordpress.org/') ?> | <?php printf(__('<a href="%s">Forums</a>'), 'http://wordpress.org/support/') ?></p></div>
  • trunk/wp-admin/categories.php

    r6936 r6950  
    135135
    136136<div style="float: left">
    137 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     137<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    138138<?php wp_nonce_field('bulk-categories'); ?>
    139139</div>
  • trunk/wp-admin/css/global.css

    r6937 r6950  
    44
    55a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
     6
     7a:focus, a:active {
     8    border: none;
     9    -moz-outline: none;
     10    outline: none;
     11}
    612
    713body    {
     
    94100    color: #666666;
    95101    font: 24px Georgia, "Times New Roman", Times, serif;
    96     margin: 0 0 0 -5px;
     102    margin: 5px 0 0 -4px;
    97103    padding: 0;
    98     padding-bottom: 5px;
     104    padding-bottom: 7px;
    99105}
  • trunk/wp-admin/edit-category-form.php

    r6943 r6950  
    4444        </tr>
    4545    </table>
    46 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>
     46<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
    4747<?php do_action('edit_category_form', $category); ?>
    4848</form>
  • trunk/wp-admin/edit-form-advanced.php

    r6949 r6950  
    4646}
    4747
    48 $saveasdraft = '<input name="save" type="submit" id="save" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />';
     48$saveasdraft = '<input name="save" type="submit" id="save" class="button" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />';
    4949
    5050?>
     
    155155
    156156<p class="submit">
    157 <input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
     157<input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" class="button" />
    158158<?php
    159159if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
    160160?>
    161161<?php if ( current_user_can('publish_posts') ) : ?>
    162     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
     162    <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
    163163<?php else : ?>
    164     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
     164    <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
    165165<?php endif; ?>
    166166<?php
  • trunk/wp-admin/edit-link-categories.php

    r6936 r6950  
    8383
    8484<div style="float: left">
    85 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     85<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    8686<?php wp_nonce_field('bulk-link-categories'); ?>
    8787</div>
  • trunk/wp-admin/edit-link-category-form.php

    r6944 r6950  
    3838        </tr>
    3939    </table>
    40 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>
     40<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
    4141<?php do_action('edit_link_category_form', $category); ?>
    4242</form>
  • trunk/wp-admin/edit-link-form.php

    r6949 r6950  
    7474
    7575<p class="submit">
    76 <input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
     76<input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
    7777</p>
    7878
  • trunk/wp-admin/edit-page-form.php

    r6949 r6950  
    120120
    121121<p class="submit">
    122 <input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
     122<input type="submit" name="save" class="button" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
    123123<?php
    124124if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
    125125?>
    126126<?php if ( current_user_can('publish_pages') ) : ?>
    127     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
     127    <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
    128128<?php else : ?>
    129     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
     129    <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
    130130<?php endif; ?>
    131131<?php
  • trunk/wp-admin/edit-pages.php

    r6918 r6950  
    108108
    109109<div style="float: left">
    110 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     110<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    111111<?php wp_nonce_field('bulk-pages'); ?>
    112112</div>
  • trunk/wp-admin/edit-tag-form.php

    r6944 r6950  
    3434        </tr>
    3535    </table>
    36 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>
     36<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
    3737<?php do_action('edit_tag_form', $tag); ?>
    3838</form>
  • trunk/wp-admin/edit-tags.php

    r6937 r6950  
    145145
    146146<div style="float: left">
    147 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     147<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    148148<?php wp_nonce_field('bulk-tags'); ?>
    149149</div>
  • trunk/wp-admin/edit.php

    r6918 r6950  
    136136
    137137<div style="float: left">
    138 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     138<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    139139<?php wp_nonce_field('bulk-posts'); ?>
    140140<?php
     
    169169
    170170<?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
    171 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button" />
     171<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
    172172
    173173</div>
  • trunk/wp-admin/import/blogger.php

    r6943 r6950  
    2121            <form action='$auth_url' method='get'>
    2222                <p class='submit' style='text-align:left;'>
    23                     <input type='submit' value='$auth' />
     23                    <input type='submit' class='button' value='$auth' />
    2424                    <input type='hidden' name='scope' value='http://www.blogger.com/feeds/' />
    2525                    <input type='hidden' name='session' value='1' />
     
    179179            $pstat = "<div class='ind' id='pind$i'>&nbsp;</div><div id='pstat$i' class='stat'>$pdone/{$blog['total_posts']}</div>";
    180180            $cstat = "<div class='ind' id='cind$i'>&nbsp;</div><div id='cstat$i' class='stat'>$cdone/{$blog['total_comments']}</div>";
    181             $rows .= "<tr id='blog$i'><td class='blogtitle'>$blogtitle</td><td class='bloghost'>{$blog['host']}</td><td class='bar'>$pstat</td><td class='bar'>$cstat</td><td class='submit'><input type='submit' id='submit$i' value='$value' /><input type='hidden' name='blog' value='$i' /></td></tr>\n";
     181            $rows .= "<tr id='blog$i'><td class='blogtitle'>$blogtitle</td><td class='bloghost'>{$blog['host']}</td><td class='bar'>$pstat</td><td class='bar'>$cstat</td><td class='submit'><input type='submit' class='button' id='submit$i' value='$value' /><input type='hidden' name='blog' value='$i' /></td></tr>\n";
    182182        }
    183183
     
    619619            $rows .= "<tr><td><label for='authors[$i]'>{$author[0]}</label></td><td><select name='authors[$i]' id='authors[$i]'>" . $this->get_user_options($author[1]) . "</select></td></tr>";
    620620
    621         return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class='authorsubmit' value='$submit' /></td></tr></table></form></div>";
     621        return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class='button authorsubmit' value='$submit' /></td></tr></table></form></div>";
    622622    }
    623623
     
    789789            $message = __('We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped.');
    790790            $submit = __('Clear account information');
    791             echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' value='$submit' name='restart' /></p></form></div>";
     791            echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' class='button' value='$submit' name='restart' /></p></form></div>";
    792792        }
    793793    }
     
    822822    text-align: center;
    823823}
    824 .submit {
    825     text-align: center !important;
    826 }
    827824</style>
    828825<?php
  • trunk/wp-admin/import/dotclear.php

    r6943 r6950  
    641641    function db_form()
    642642    {
    643         echo '<table class="editform">';
     643        echo '<table class="niceblue">';
    644644        printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:'));
    645645        printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:'));
  • trunk/wp-admin/import/greymatter.php

    r6472 r6950  
    3737<?php wp_nonce_field('import-greymatter'); ?>
    3838<h3><?php _e('Second step: GreyMatter details:') ?></h3>
    39 <p><table cellpadding="0">
     39<table class="niceblue">
    4040<tr>
    4141<td><?php _e('Path to GM files:') ?></td>
     
    4747</tr>
    4848<tr>
    49 <td colspan="2"><br /><?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>
    50 </tr>
    51 <tr>
    5249<td><?php _e("Last entry's number:") ?></td>
    53 <td><input type="text" name="lastentry" value="00000001" /></td>
     50<td><input type="text" name="lastentry" value="00000001" /><br />
     51    <?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>
    5452</tr>
    5553</table>
    5654</p>
    57 <p><?php _e("When you're ready, click OK to start importing: ") ?><input type="submit" name="submit" value="<?php _e('OK') ?>" class="search" /></p>
     55<p><input type="submit" name="submit" value="<?php _e('Start Importing') ?>" class="button" /></p>
    5856</form>
    59 <p>&nbsp</p>
    6057<?php
    6158        $this->footer();
  • trunk/wp-admin/import/jkw.php

    r6943 r6950  
    2121        echo '<form action="admin.php?import=jkw&amp;step=1" method="post">';
    2222        wp_nonce_field('import-jkw');
    23         echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Version 1.x').'" /></p>';
     23        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 1.x').'" /></p>';
    2424        echo '</form>';
    2525        echo '<form action="admin.php?import=jkw&amp;step=3" method="post">';
    2626        wp_nonce_field('import-jkw');
    27         echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Version 2.0a').'" /></p>';
     27        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 2.0a').'" /></p>';
    2828        echo '</form>';
    2929        echo '</div>';
  • trunk/wp-admin/import/textpattern.php

    r6943 r6950  
    4747        wp_nonce_field('import-textpattern');
    4848        $this->db_form();
    49         echo '<p class="submit"><input type="submit" name="submit" value="'.attribute_escape(__('Import Categories')).'" /></p>';
     49        echo '<p class="submit"><input type="submit" class="button" name="submit" value="'.attribute_escape(__('Import')).'" /></p>';
    5050        echo '</form>';
    5151        echo '</div>';
     
    482482        echo '<form action="admin.php?import=textpattern&amp;step=2" method="post">';
    483483        wp_nonce_field('import-textpattern');
    484         printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Users')));
     484        printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Users')));
    485485        echo '</form>';
    486486
     
    495495        echo '<form action="admin.php?import=textpattern&amp;step=3" method="post">';
    496496        wp_nonce_field('import-textpattern');
    497         printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Posts')));
     497        printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Posts')));
    498498        echo '</form>';
    499499    }
     
    509509        echo '<form action="admin.php?import=textpattern&amp;step=4" method="post">';
    510510        wp_nonce_field('import-textpattern');
    511         printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Comments')));
     511        printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Comments')));
    512512        echo '</form>';
    513513    }
     
    521521        echo '<form action="admin.php?import=textpattern&amp;step=5" method="post">';
    522522        wp_nonce_field('import-textpattern');
    523         printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Links')));
     523        printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Links')));
    524524        echo '</form>';
    525525    }
     
    534534        echo '<form action="admin.php?import=textpattern&amp;step=6" method="post">';
    535535        wp_nonce_field('import-textpattern');
    536         printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Finish')));
     536        printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Finish')));
    537537        echo '</form>';
    538538    }
     
    576576    function db_form()
    577577    {
    578         echo '<table class="editform">';
     578        echo '<table class="niceblue">';
    579579        printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:'));
    580580        printf('<tr><th scope="row"><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Textpattern Database Password:'));
  • trunk/wp-admin/import/wp-cat2tag.php

    r6943 r6950  
    6969<?php
    7070        echo '<form name="formlist" id="formlist" action="admin.php?import=wp-cat2tag&amp;step=2" method="post">
    71         <p><input type="button" value="' . __('Check All') . '"' . ' onClick="this.value=check_all_rows()"></p>';
     71        <p><input type="button" class="button-secondary" value="' . __('Check All') . '"' . ' onClick="this.value=check_all_rows()"></p>';
    7272        wp_nonce_field('import-cat2tag');
    7373        echo '<ul style="list-style:none">';
     
    9191        echo '</ul>';
    9292
    93         echo '<p class="submit"><input type="submit" name="submit" value="' . __('Convert Tags') . '" /></p>';
     93        echo '<p class="submit"><input type="submit" name="submit" class="button" value="' . __('Convert Tags') . '" /></p>';
    9494
    9595        echo '</form>';
  • trunk/wp-admin/includes/template.php

    r6943 r6950  
    946946</p>
    947947<p class="submit">
    948 <input type="submit" value="<?php _e( 'Upload file and import' ); ?>" />
     948<input type="submit" class="button" value="<?php _e( 'Upload file and import' ); ?>" />
    949949</p>
    950950</form>
  • trunk/wp-admin/link-manager.php

    r6936 r6950  
    9090
    9191<div style="float: left">
    92 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     92<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    9393<?php
    9494$categories = get_terms('link_category', "hide_empty=1");
     
    110110
    111111?>
    112 <input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
     112<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
    113113
    114114</div>
  • trunk/wp-admin/upload.php

    r6941 r6950  
    139139
    140140<div style="float: left">
    141 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     141<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    142142<?php wp_nonce_field('bulk-media'); ?>
    143143<?php
     
    171171<?php } ?>
    172172
    173 <input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
     173<input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button-secondary" />
    174174
    175175</div>
  • trunk/wp-admin/users.php

    r6936 r6950  
    150150    </ul>
    151151    <input type="hidden" name="action" value="dodelete" />
    152     <p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button" /></p>
     152    <p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button-secondary" /></p>
    153153<?php else : ?>
    154154    <p><?php _e('There are no valid users selected for deletion.'); ?></p>
     
    294294
    295295<div style="float: left">
    296 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
     296<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
    297297<?php wp_nonce_field('bulk-users'); ?>
    298298</div>
  • trunk/wp-admin/widgets.php

    r6918 r6950  
    194194<?php endforeach; ?>
    195195            </select>
    196             <input type="submit" value="<?php _e('Show' ); ?>" class="button" />
     196            <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" />
    197197            <p class="pagenav">
    198198                <?php echo $page_links; ?>
     
    211211<?php endforeach; ?>
    212212            </select>
    213             <input type="submit" value="<?php _e('Go' ); ?>" class="button" />
     213            <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" />
    214214        </div>
    215215
  • trunk/wp-admin/wp-admin.css

    r6948 r6950  
    1616.import-system {
    1717    font-size: 16px;
    18 }
    19 
    20 #import-upload-form {
    21     margin: auto;
    22     background: #eee;
    23     padding: 1em;
    2418}
    2519
     
    132126}
    133127
    134 .submit input, .submit input:focus, .button, .button:focus {
     128.submit input, .button, .button-secondary {
    135129    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    136     color: #246;
    137130    padding: 4px 6px;
    138     background: #e5e5e5;
    139131    border: none;
     132    font-size: 13px;
    140133    -moz-border-radius: 2px;
    141134    -khtml-border-radius: 2px; 
    142135    -webkit-border-radius: 2px;
    143136    border-radius: 2px;
    144 }
    145 
    146 .submit input:hover, .button:hover {
     137    color: #246;
     138    background: #e5e5e5;
     139}
     140
     141.button-secondary {
     142    background: #cee1ef;
     143}
     144
     145.submit input:hover, .button:hover, .button-secondary:hover {
    147146    color: #d54e21;
    148147}
     
    153152    font: 12px/14px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    154153    padding: none;
    155 }
    156 
    157 .editform th, #postcustomsubmit {
    158     text-align: right;
    159154}
    160155
     
    514509    font-weight: bold;
    515510    margin: 0 6px;
    516 }
    517 
    518 .tablenav .button,
    519 div.nav .button,
    520 .niceblue tr .button {
    521     padding: 4px 6px;
    522     background: #cee1ef;
    523511}
    524512
     
    609597    position: absolute;
    610598    right: 15%;
    611     top: 9px;
     599    top: 11px;
    612600    color: #ccc;
    613     font-size: 12px;
     601    font-size: 11px;
    614602}
    615603
     
    621609#user_info a {
    622610    color: #fff;
     611}
     612
     613#user_info a:hover {
     614    text-decoration: underline;
    623615}
    624616
     
    651643    font: normal 36px Georgia, "Times New Roman", Times, serif;
    652644    color: #555;
    653     padding: 15px 170px 18px 15px;
     645    padding: 11px 170px 16px 12px;
    654646    margin: 0;
    655647    margin-right: 15%;
     
    662654    list-style: none;
    663655    position: absolute;
    664     top: 5px;
     656    top: 7px;
    665657    left: 0;
    666     font-size: 12px;
    667     padding-left: 12px;
     658    font-size: 11px;
     659    padding-left: 9px;
    668660}
    669661
     
    675667}
    676668
    677 #dashmenu a:hover, #dashmenu a.current, #dashmenu a.current:hover {
     669#dashmenu a.current {
    678670    background: #e4f2fd;
    679671    color: #555;
     
    688680}
    689681
     682#dashmenu a:hover {
     683    color: #fff;
     684}
     685
     686#dashmenu a.current:hover {
     687    color: #555;
     688}
     689
    690690#adminmenu {
    691691    margin: 0;
     
    693693        background-color: #e4f2fd;
    694694    border-bottom: 1px solid #c6d9e9;
    695     padding-left: 15px;
     695    padding-left: 11px;
    696696}
    697697
     
    703703#adminmenu a {
    704704    font-size: 16px;
    705     padding: 6px 7px 6px 7px;
    706     line-height: 200%;
    707 }
    708 
    709 #adminmenu a:hover, #adminmenu a.current, #adminmenu a.current:hover {
     705    padding: 6px 7px;
     706    line-height: 195%;
     707}
     708
     709#adminmenu a.current {
    710710    background: #fff;
    711711    color: #d54e21;
    712712    border: 1px solid #c6d9e9;
    713     font-weight: bold;
     713    border-bottom: 2px solid #fff;
     714    font-weight: normal;
    714715    padding: 6px;
    715716    -moz-border-radius-topleft: 4px;
     
    724725
    725726#adminmenu a:hover {
    726     border-bottom: 0;
    727     font-weight: normal;
    728 }
    729 
    730 #adminmenu a.current, #adminmenu a.current:hover {
    731     border-bottom: 2px solid #fff;
     727    color: #d54e21;
    732728}
    733729
    734730#sidemenu {
    735     margin: 0;
     731    margin: 0 -3px 0 0;
    736732    color: #999;
    737733    list-style: none;
     
    763759#adminmenu li a #awaiting-mod {
    764760    position: absolute;
    765     margin-left: -1.2em;
    766     margin-top: -0.2em;
     761    margin-left: -0.2em;
    767762    font-size: 0.7em;
    768763    background-image: url(images/comment-stalk.gif);
     
    844839    margin: 0;
    845840    list-style: none;
    846     padding: 12px 0 15px 0;
     841    padding: 7px 0 15px 0;
    847842}
    848843
     
    872867}
    873868#wpcontent{
    874     padding-bottom: 65px;
     869    padding-bottom: 95px;
    875870}
    876871#footer {
     
    882877    color: #999;
    883878    position: relative;
    884 //  margin-top: -75px;
     879    margin-top: -75px;
    885880}
    886881
     
    10071002    padding: 2px;
    10081003    margin-bottom: 10px;
    1009 }
    1010 
    1011 #poststuff .postarea {
    10121004    margin-right: 8px;
    10131005}
  • trunk/wp-content/themes/default/functions.php

    r6519 r6950  
    158158    }
    159159    function PopupWindow_populate(contents) {
    160         contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
     160        contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
    161161        this.contents = contents;
    162162        this.populated = false;
     
    387387            <form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>">
    388388                <?php wp_nonce_field('kubrick-header'); ?>
    389     <input type="button" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input>
    390         <input type="button" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input>
    391         <input type="button" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input>
    392                 <input type="button" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" />
    393                 <input type="button" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" />
     389    <input type="button"  class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input>
     390        <input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input>
     391        <input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input>
     392                <input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" />
     393                <input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" />
    394394                <input type="hidden" name="action" value="save" />
    395395                <input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(kubrick_header_display()); ?>" />
     
    398398                <input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(kubrick_lower_color()); ?>" />
    399399                <input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(kubrick_header_image()); ?>" />
    400                 <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header &raquo;')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
     400                <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
    401401            </form>
    402402            <div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
     
    407407                    <label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(kubrick_upper_color()); ?>" /><br />
    408408                    <label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(kubrick_lower_color()); ?>" /><br />
    409                     <input type="button" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br />
    410                     <input type="button" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br />
     409                    <input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br />
     410                    <input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br />
    411411                </form>
    412412            </div>
Note: See TracChangeset for help on using the changeset viewer.