Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
56c685d0a4
commit
4fda3f791f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -421,7 +421,7 @@ td.action-links, th.action-links {
|
|||
}
|
||||
#screen-meta a.show-settings {
|
||||
padding: 0 6px 0 16px;
|
||||
background-position: left bottom;
|
||||
background-position: left top;
|
||||
}
|
||||
.metabox-prefs label {
|
||||
padding-right: 0;
|
||||
|
|
|
@ -169,10 +169,10 @@ columns = {
|
|||
},
|
||||
|
||||
colSpanChange : function(diff) {
|
||||
var $t = $('table').find('.colspanchange');
|
||||
var $t = $('table').find('.colspanchange'), n;
|
||||
if ( !$t.length )
|
||||
return;
|
||||
var n = parseInt( $t.attr('colspan'), 10 ) + diff;
|
||||
n = parseInt( $t.attr('colspan'), 10 ) + diff;
|
||||
$t.attr('colspan', n.toString());
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ showNotice = {
|
|||
};
|
||||
|
||||
jQuery(document).ready( function($) {
|
||||
var lastClicked = false, checks, first, last, checked;
|
||||
var lastClicked = false, checks, first, last, checked, bgx = ( isRtl ? 'left' : 'right' );
|
||||
|
||||
// Move .updated and .error alert boxes. Don't move boxes designed to be inline.
|
||||
$('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
|
||||
|
@ -215,11 +215,11 @@ jQuery(document).ready( function($) {
|
|||
|
||||
$('#screen-options-wrap').slideToggle('fast', function(){
|
||||
if ( $(this).hasClass('screen-options-open') ) {
|
||||
$('#show-settings-link').css({'backgroundPosition':'top right'});
|
||||
$('#show-settings-link').css({'backgroundPosition':'top '+bgx});
|
||||
$('#contextual-help-link-wrap').css('visibility', '');
|
||||
$(this).removeClass('screen-options-open');
|
||||
} else {
|
||||
$('#show-settings-link').css({'backgroundPosition':'bottom right'});
|
||||
$('#show-settings-link').css({'backgroundPosition':'bottom '+bgx});
|
||||
$(this).addClass('screen-options-open');
|
||||
}
|
||||
});
|
||||
|
@ -233,11 +233,11 @@ jQuery(document).ready( function($) {
|
|||
|
||||
$('#contextual-help-wrap').slideToggle('fast', function() {
|
||||
if ( $(this).hasClass('contextual-help-open') ) {
|
||||
$('#contextual-help-link').css({'backgroundPosition':'top right'});
|
||||
$('#contextual-help-link').css({'backgroundPosition':'top '+bgx});
|
||||
$('#screen-options-link-wrap').css('visibility', '');
|
||||
$(this).removeClass('contextual-help-open');
|
||||
} else {
|
||||
$('#contextual-help-link').css({'backgroundPosition':'bottom right'});
|
||||
$('#contextual-help-link').css({'backgroundPosition':'bottom '+bgx});
|
||||
$(this).addClass('contextual-help-open');
|
||||
}
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -64,7 +64,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
|
||||
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' );
|
||||
|
||||
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20101114' );
|
||||
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20101116' );
|
||||
$scripts->add_data( 'common', 'group', 1 );
|
||||
$scripts->localize( 'common', 'commonL10n', array(
|
||||
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),
|
||||
|
@ -470,13 +470,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(), '20101116' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20101116a' );
|
||||
|
||||
$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 = '20101114';
|
||||
$colors_version = '20101116';
|
||||
|
||||
// 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