Make WordPress Core


Ignore:
Timestamp:
11/18/2013 06:52:06 PM (12 years ago)
Author:
iammattthomas
Message:

Style and positioning fixes to form elements in the Publish box:

  • Make select element text #555 to match others
  • Make Cancel links vertically align with buttons
  • Make sure the spacing between buttons and cancel links is always consistent
  • Override active button styles for responsive states so button size doesn't change when active
  • Reduce font size of date select element to match date text inputs

Fixes #26082, props aubreypwd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r25670 r26247  
    100100</select>
    101101 <a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
    102  <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
     102 <a href="#post_status" class="cancel-post-status hide-if-no-js button-cancel"><?php _e('Cancel'); ?></a>
    103103</div>
    104104
     
    144144<p>
    145145 <a href="#visibility" class="save-post-visibility hide-if-no-js button"><?php _e('OK'); ?></a>
    146  <a href="#visibility" class="cancel-post-visibility hide-if-no-js"><?php _e('Cancel'); ?></a>
     146 <a href="#visibility" class="cancel-post-visibility hide-if-no-js button-cancel"><?php _e('Cancel'); ?></a>
    147147</p>
    148148</div>
Note: See TracChangeset for help on using the changeset viewer.