Ticket #19616: customheader.diff
File customheader.diff, 2.0 KB (added by , 11 years ago) |
---|
-
wp-admin/custom-header.php
328 328 jQuery('#name').css('color', color); 329 329 jQuery('#desc').css('color', color); 330 330 jQuery('#text-color').val(color); 331 jQuery('#link-color-example').css('background-color', color); 331 332 farbtastic.setColor(color); 332 333 } 333 334 … … 360 361 jQuery('#pickcolor').click(function() { 361 362 jQuery('#color-picker').show(); 362 363 }); 364 jQuery('#link-color-example').click( function(e) { 365 jQuery('#color-picker').show(); 366 e.preventDefault(); 367 }); 363 368 364 369 jQuery('input[name="hidetext"]').click(function() { 365 370 toggle_text(this); … … 599 604 <p> 600 605 <input type="text" name="text-color" id="text-color" value="#<?php echo esc_attr( get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ) ); ?>" /> 601 606 <span class="description hide-if-js"><?php _e( 'If you want to hide header text, add <strong>#blank</strong> as text color.' );?></span> 607 <a href="#" class="pickcolor hide-if-no-js" id="link-color-example"></a> 602 608 <input type="button" class="button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color' ); ?>" id="pickcolor" /> 603 609 </p> 604 610 <div id="color-picker" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> -
wp-admin/css/wp-admin.dev.css
4521 4521 .appearance_page_custom-header .available-headers label img { 4522 4522 vertical-align: middle; 4523 4523 } 4524 #link-color-example { 4525 -moz-border-radius: 4px; 4526 -webkit-border-radius: 4px; 4527 border-radius: 4px; 4528 border: 1px solid #dfdfdf; 4529 margin: 0 7px 0 3px; 4530 padding: 4px 14px; 4531 } 4524 4532 4525 4526 4533 /*------------------------------------------------------------------------------ 4527 4534 16.2 - Custom Background Screen 4528 4535 ------------------------------------------------------------------------------*/