Changeset 6950
- Timestamp:
- 02/21/2008 12:27:23 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r6857 r6950 47 47 <div id="wpcontent"> 48 48 <div id="wphead"> 49 <h1><?php bloginfo('name'); ?> 49 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1> 50 50 </div> 51 51 <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 135 135 136 136 <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" /> 138 138 <?php wp_nonce_field('bulk-categories'); ?> 139 139 </div> -
trunk/wp-admin/css/global.css
r6937 r6950 4 4 5 5 a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; } 6 7 a:focus, a:active { 8 border: none; 9 -moz-outline: none; 10 outline: none; 11 } 6 12 7 13 body { … … 94 100 color: #666666; 95 101 font: 24px Georgia, "Times New Roman", Times, serif; 96 margin: 0 0 0 -5px;102 margin: 5px 0 0 -4px; 97 103 padding: 0; 98 padding-bottom: 5px;104 padding-bottom: 7px; 99 105 } -
trunk/wp-admin/edit-category-form.php
r6943 r6950 44 44 </tr> 45 45 </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> 47 47 <?php do_action('edit_category_form', $category); ?> 48 48 </form> -
trunk/wp-admin/edit-form-advanced.php
r6949 r6950 46 46 } 47 47 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') ) . '" />'; 49 49 50 50 ?> … … 155 155 156 156 <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" /> 158 158 <?php 159 159 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 160 160 ?> 161 161 <?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') ?>" /> 163 163 <?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') ?>" /> 165 165 <?php endif; ?> 166 166 <?php -
trunk/wp-admin/edit-link-categories.php
r6936 r6950 83 83 84 84 <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" /> 86 86 <?php wp_nonce_field('bulk-link-categories'); ?> 87 87 </div> -
trunk/wp-admin/edit-link-category-form.php
r6944 r6950 38 38 </tr> 39 39 </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> 41 41 <?php do_action('edit_link_category_form', $category); ?> 42 42 </form> -
trunk/wp-admin/edit-link-form.php
r6949 r6950 74 74 75 75 <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" /> 77 77 </p> 78 78 -
trunk/wp-admin/edit-page-form.php
r6949 r6950 120 120 121 121 <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" /> 123 123 <?php 124 124 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 125 125 ?> 126 126 <?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') ?>" /> 128 128 <?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') ?>" /> 130 130 <?php endif; ?> 131 131 <?php -
trunk/wp-admin/edit-pages.php
r6918 r6950 108 108 109 109 <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" /> 111 111 <?php wp_nonce_field('bulk-pages'); ?> 112 112 </div> -
trunk/wp-admin/edit-tag-form.php
r6944 r6950 34 34 </tr> 35 35 </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> 37 37 <?php do_action('edit_tag_form', $tag); ?> 38 38 </form> -
trunk/wp-admin/edit-tags.php
r6937 r6950 145 145 146 146 <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" /> 148 148 <?php wp_nonce_field('bulk-tags'); ?> 149 149 </div> -
trunk/wp-admin/edit.php
r6918 r6950 136 136 137 137 <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" /> 139 139 <?php wp_nonce_field('bulk-posts'); ?> 140 140 <?php … … 169 169 170 170 <?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" /> 172 172 173 173 </div> -
trunk/wp-admin/import/blogger.php
r6943 r6950 21 21 <form action='$auth_url' method='get'> 22 22 <p class='submit' style='text-align:left;'> 23 <input type='submit' value='$auth' />23 <input type='submit' class='button' value='$auth' /> 24 24 <input type='hidden' name='scope' value='http://www.blogger.com/feeds/' /> 25 25 <input type='hidden' name='session' value='1' /> … … 179 179 $pstat = "<div class='ind' id='pind$i'> </div><div id='pstat$i' class='stat'>$pdone/{$blog['total_posts']}</div>"; 180 180 $cstat = "<div class='ind' id='cind$i'> </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"; 182 182 } 183 183 … … 619 619 $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>"; 620 620 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>"; 622 622 } 623 623 … … 789 789 $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.'); 790 790 $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>"; 792 792 } 793 793 } … … 822 822 text-align: center; 823 823 } 824 .submit {825 text-align: center !important;826 }827 824 </style> 828 825 <?php -
trunk/wp-admin/import/dotclear.php
r6943 r6950 641 641 function db_form() 642 642 { 643 echo '<table class=" editform">';643 echo '<table class="niceblue">'; 644 644 printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:')); 645 645 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 37 37 <?php wp_nonce_field('import-greymatter'); ?> 38 38 <h3><?php _e('Second step: GreyMatter details:') ?></h3> 39 < p><table cellpadding="0">39 <table class="niceblue"> 40 40 <tr> 41 41 <td><?php _e('Path to GM files:') ?></td> … … 47 47 </tr> 48 48 <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>52 49 <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> 54 52 </tr> 55 53 </table> 56 54 </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> 58 56 </form> 59 <p> </p>60 57 <?php 61 58 $this->footer(); -
trunk/wp-admin/import/jkw.php
r6943 r6950 21 21 echo '<form action="admin.php?import=jkw&step=1" method="post">'; 22 22 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>'; 24 24 echo '</form>'; 25 25 echo '<form action="admin.php?import=jkw&step=3" method="post">'; 26 26 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>'; 28 28 echo '</form>'; 29 29 echo '</div>'; -
trunk/wp-admin/import/textpattern.php
r6943 r6950 47 47 wp_nonce_field('import-textpattern'); 48 48 $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>'; 50 50 echo '</form>'; 51 51 echo '</div>'; … … 482 482 echo '<form action="admin.php?import=textpattern&step=2" method="post">'; 483 483 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'))); 485 485 echo '</form>'; 486 486 … … 495 495 echo '<form action="admin.php?import=textpattern&step=3" method="post">'; 496 496 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'))); 498 498 echo '</form>'; 499 499 } … … 509 509 echo '<form action="admin.php?import=textpattern&step=4" method="post">'; 510 510 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'))); 512 512 echo '</form>'; 513 513 } … … 521 521 echo '<form action="admin.php?import=textpattern&step=5" method="post">'; 522 522 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'))); 524 524 echo '</form>'; 525 525 } … … 534 534 echo '<form action="admin.php?import=textpattern&step=6" method="post">'; 535 535 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'))); 537 537 echo '</form>'; 538 538 } … … 576 576 function db_form() 577 577 { 578 echo '<table class=" editform">';578 echo '<table class="niceblue">'; 579 579 printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:')); 580 580 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 69 69 <?php 70 70 echo '<form name="formlist" id="formlist" action="admin.php?import=wp-cat2tag&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>'; 72 72 wp_nonce_field('import-cat2tag'); 73 73 echo '<ul style="list-style:none">'; … … 91 91 echo '</ul>'; 92 92 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>'; 94 94 95 95 echo '</form>'; -
trunk/wp-admin/includes/template.php
r6943 r6950 946 946 </p> 947 947 <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' ); ?>" /> 949 949 </p> 950 950 </form> -
trunk/wp-admin/link-manager.php
r6936 r6950 90 90 91 91 <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" /> 93 93 <?php 94 94 $categories = get_terms('link_category', "hide_empty=1"); … … 110 110 111 111 ?> 112 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button" />112 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> 113 113 114 114 </div> -
trunk/wp-admin/upload.php
r6941 r6950 139 139 140 140 <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" /> 142 142 <?php wp_nonce_field('bulk-media'); ?> 143 143 <?php … … 171 171 <?php } ?> 172 172 173 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button " />173 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button-secondary" /> 174 174 175 175 </div> -
trunk/wp-admin/users.php
r6936 r6950 150 150 </ul> 151 151 <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> 153 153 <?php else : ?> 154 154 <p><?php _e('There are no valid users selected for deletion.'); ?></p> … … 294 294 295 295 <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" /> 297 297 <?php wp_nonce_field('bulk-users'); ?> 298 298 </div> -
trunk/wp-admin/widgets.php
r6918 r6950 194 194 <?php endforeach; ?> 195 195 </select> 196 <input type="submit" value="<?php _e('Show' ); ?>" class="button " />196 <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" /> 197 197 <p class="pagenav"> 198 198 <?php echo $page_links; ?> … … 211 211 <?php endforeach; ?> 212 212 </select> 213 <input type="submit" value="<?php _e(' Go' ); ?>" class="button" />213 <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" /> 214 214 </div> 215 215 -
trunk/wp-admin/wp-admin.css
r6948 r6950 16 16 .import-system { 17 17 font-size: 16px; 18 }19 20 #import-upload-form {21 margin: auto;22 background: #eee;23 padding: 1em;24 18 } 25 19 … … 132 126 } 133 127 134 .submit input, . submit input:focus, .button, .button:focus{128 .submit input, .button, .button-secondary { 135 129 font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 136 color: #246;137 130 padding: 4px 6px; 138 background: #e5e5e5;139 131 border: none; 132 font-size: 13px; 140 133 -moz-border-radius: 2px; 141 134 -khtml-border-radius: 2px; 142 135 -webkit-border-radius: 2px; 143 136 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 { 147 146 color: #d54e21; 148 147 } … … 153 152 font: 12px/14px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 154 153 padding: none; 155 }156 157 .editform th, #postcustomsubmit {158 text-align: right;159 154 } 160 155 … … 514 509 font-weight: bold; 515 510 margin: 0 6px; 516 }517 518 .tablenav .button,519 div.nav .button,520 .niceblue tr .button {521 padding: 4px 6px;522 background: #cee1ef;523 511 } 524 512 … … 609 597 position: absolute; 610 598 right: 15%; 611 top: 9px;599 top: 11px; 612 600 color: #ccc; 613 font-size: 1 2px;601 font-size: 11px; 614 602 } 615 603 … … 621 609 #user_info a { 622 610 color: #fff; 611 } 612 613 #user_info a:hover { 614 text-decoration: underline; 623 615 } 624 616 … … 651 643 font: normal 36px Georgia, "Times New Roman", Times, serif; 652 644 color: #555; 653 padding: 1 5px 170px 18px 15px;645 padding: 11px 170px 16px 12px; 654 646 margin: 0; 655 647 margin-right: 15%; … … 662 654 list-style: none; 663 655 position: absolute; 664 top: 5px;656 top: 7px; 665 657 left: 0; 666 font-size: 1 2px;667 padding-left: 12px;658 font-size: 11px; 659 padding-left: 9px; 668 660 } 669 661 … … 675 667 } 676 668 677 #dashmenu a :hover, #dashmenu a.current, #dashmenu a.current:hover{669 #dashmenu a.current { 678 670 background: #e4f2fd; 679 671 color: #555; … … 688 680 } 689 681 682 #dashmenu a:hover { 683 color: #fff; 684 } 685 686 #dashmenu a.current:hover { 687 color: #555; 688 } 689 690 690 #adminmenu { 691 691 margin: 0; … … 693 693 background-color: #e4f2fd; 694 694 border-bottom: 1px solid #c6d9e9; 695 padding-left: 1 5px;695 padding-left: 11px; 696 696 } 697 697 … … 703 703 #adminmenu a { 704 704 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 { 710 710 background: #fff; 711 711 color: #d54e21; 712 712 border: 1px solid #c6d9e9; 713 font-weight: bold; 713 border-bottom: 2px solid #fff; 714 font-weight: normal; 714 715 padding: 6px; 715 716 -moz-border-radius-topleft: 4px; … … 724 725 725 726 #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; 732 728 } 733 729 734 730 #sidemenu { 735 margin: 0 ;731 margin: 0 -3px 0 0; 736 732 color: #999; 737 733 list-style: none; … … 763 759 #adminmenu li a #awaiting-mod { 764 760 position: absolute; 765 margin-left: -1.2em; 766 margin-top: -0.2em; 761 margin-left: -0.2em; 767 762 font-size: 0.7em; 768 763 background-image: url(images/comment-stalk.gif); … … 844 839 margin: 0; 845 840 list-style: none; 846 padding: 12px 0 15px 0;841 padding: 7px 0 15px 0; 847 842 } 848 843 … … 872 867 } 873 868 #wpcontent{ 874 padding-bottom: 65px;869 padding-bottom: 95px; 875 870 } 876 871 #footer { … … 882 877 color: #999; 883 878 position: relative; 884 //margin-top: -75px;879 margin-top: -75px; 885 880 } 886 881 … … 1007 1002 padding: 2px; 1008 1003 margin-bottom: 10px; 1009 }1010 1011 #poststuff .postarea {1012 1004 margin-right: 8px; 1013 1005 } -
trunk/wp-content/themes/default/functions.php
r6519 r6950 158 158 } 159 159 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>'; 161 161 this.contents = contents; 162 162 this.populated = false; … … 387 387 <form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>"> 388 388 <?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()" /> 394 394 <input type="hidden" name="action" value="save" /> 395 395 <input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(kubrick_header_display()); ?>" /> … … 398 398 <input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(kubrick_lower_color()); ?>" /> 399 399 <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 »')); ?>" 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> 401 401 </form> 402 402 <div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div> … … 407 407 <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 /> 408 408 <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 /> 411 411 </form> 412 412 </div>
Note: See TracChangeset
for help on using the changeset viewer.