mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Restore lines in publish box, speed up misc-action edit animations. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d22cbc0ed4
commit
e391c3fc2e
File diff suppressed because one or more lines are too long
@ -1746,6 +1746,11 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.misc-pub-section {
|
||||
border-top-color: #fff;
|
||||
border-bottom-color: #dfdfdf;
|
||||
}
|
||||
|
||||
#minor-publishing {
|
||||
border-bottom-color: #dfdfdf;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -270,7 +270,7 @@ p.search-box {
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#major-publishing-actions {
|
||||
padding: 10px 0;
|
||||
padding: 10px 10px 8px;
|
||||
clear: both;
|
||||
border-top: none;
|
||||
}
|
||||
@ -310,19 +310,24 @@ p.search-box {
|
||||
}
|
||||
|
||||
#misc-publishing-actions {
|
||||
padding: 6px 0 10px 0;
|
||||
padding: 6px 0 16px 0;
|
||||
}
|
||||
|
||||
.misc-pub-section {
|
||||
padding: 6px;
|
||||
padding: 6px 10px;
|
||||
border-width: 1px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.misc-pub-section:first-child {
|
||||
border-top-width: 0;
|
||||
}
|
||||
.misc-pub-section-last {
|
||||
border-bottom: 0 none;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#minor-publishing-actions {
|
||||
padding: 12px 0 5px 0;
|
||||
padding: 10px 10px 2px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@ -4450,6 +4455,7 @@ table.form-table td .updated {
|
||||
}
|
||||
#poststuff #submitdiv .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#titlediv, #poststuff .postarea {
|
||||
margin-bottom: 20px;
|
||||
|
@ -444,14 +444,14 @@ jQuery(document).ready( function($) {
|
||||
$('.edit-visibility', '#visibility').click(function () {
|
||||
if ($('#post-visibility-select').is(":hidden")) {
|
||||
updateVisibility();
|
||||
$('#post-visibility-select').slideDown("normal");
|
||||
$('#post-visibility-select').slideDown('fast');
|
||||
$(this).hide();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.cancel-post-visibility', '#post-visibility-select').click(function () {
|
||||
$('#post-visibility-select').slideUp("normal");
|
||||
$('#post-visibility-select').slideUp('fast');
|
||||
$('#visibility-radio-' + $('#hidden-post-visibility').val()).attr('checked', true);
|
||||
$('#post_password').val($('#hidden_post_password').val());
|
||||
$('#sticky').attr('checked', $('#hidden-post-sticky').attr('checked'));
|
||||
@ -464,7 +464,7 @@ jQuery(document).ready( function($) {
|
||||
$('.save-post-visibility', '#post-visibility-select').click(function () { // crazyhorse - multiple ok cancels
|
||||
var pvSelect = $('#post-visibility-select');
|
||||
|
||||
pvSelect.slideUp("normal");
|
||||
pvSelect.slideUp('fast');
|
||||
$('.edit-visibility', '#visibility').show();
|
||||
updateText();
|
||||
|
||||
@ -488,14 +488,14 @@ jQuery(document).ready( function($) {
|
||||
|
||||
$('#timestampdiv').siblings('a.edit-timestamp').click(function() {
|
||||
if ($('#timestampdiv').is(":hidden")) {
|
||||
$('#timestampdiv').slideDown("normal");
|
||||
$('#timestampdiv').slideDown('fast');
|
||||
$(this).hide();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.cancel-timestamp', '#timestampdiv').click(function() {
|
||||
$('#timestampdiv').slideUp("normal");
|
||||
$('#timestampdiv').slideUp('fast');
|
||||
$('#mm').val($('#hidden_mm').val());
|
||||
$('#jj').val($('#hidden_jj').val());
|
||||
$('#aa').val($('#hidden_aa').val());
|
||||
@ -508,7 +508,7 @@ jQuery(document).ready( function($) {
|
||||
|
||||
$('.save-timestamp', '#timestampdiv').click(function () { // crazyhorse - multiple ok cancels
|
||||
if ( updateText() ) {
|
||||
$('#timestampdiv').slideUp("normal");
|
||||
$('#timestampdiv').slideUp('fast');
|
||||
$('#timestampdiv').siblings('a.edit-timestamp').show();
|
||||
}
|
||||
return false;
|
||||
@ -516,21 +516,21 @@ jQuery(document).ready( function($) {
|
||||
|
||||
$('#post-status-select').siblings('a.edit-post-status').click(function() {
|
||||
if ($('#post-status-select').is(":hidden")) {
|
||||
$('#post-status-select').slideDown("normal");
|
||||
$('#post-status-select').slideDown('fast');
|
||||
$(this).hide();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.save-post-status', '#post-status-select').click(function() {
|
||||
$('#post-status-select').slideUp("normal");
|
||||
$('#post-status-select').slideUp('fast');
|
||||
$('#post-status-select').siblings('a.edit-post-status').show();
|
||||
updateText();
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.cancel-post-status', '#post-status-select').click(function() {
|
||||
$('#post-status-select').slideUp("normal");
|
||||
$('#post-status-select').slideUp('fast');
|
||||
$('#post_status').val($('#hidden_post_status').val());
|
||||
$('#post-status-select').siblings('a.edit-post-status').show();
|
||||
updateText();
|
||||
|
File diff suppressed because one or more lines are too long
@ -328,7 +328,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20110511' );
|
||||
$scripts->add_data( 'postbox', 'group', 1 );
|
||||
|
||||
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110429' );
|
||||
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110512' );
|
||||
$scripts->add_data( 'post', 'group', 1 );
|
||||
$scripts->localize( 'post', 'postL10n', array(
|
||||
'tagsUsed' => __('Tags used on this post:'),
|
||||
@ -487,13 +487,13 @@ function wp_default_styles( &$styles ) {
|
||||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511o' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110512' );
|
||||
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
|
||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$colors_version = '20110511p';
|
||||
$colors_version = '20110512';
|
||||
|
||||
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
|
||||
$styles->add( 'colors', true, array(), $colors_version );
|
||||
|
Loading…
Reference in New Issue
Block a user