Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144

git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-08-16 04:54:51 +00:00
parent 3503cc4b8d
commit 87dff720e9
8 changed files with 22 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -280,7 +280,7 @@ div.postbox div.inside {
clear: both; clear: both;
font-weight: normal; font-weight: normal;
text-align: right; text-align: right;
padding-top: 5px; padding-top: 4px;
font-size: 12px; font-size: 12px;
} }
@ -301,10 +301,6 @@ div.postbox div.inside {
color: #777; color: #777;
} }
#dashboard_quick_press #media-buttons a {
vertical-align: bottom;
}
#dashboard-widgets #dashboard_quick_press form p.submit { #dashboard-widgets #dashboard_quick_press form p.submit {
margin-left: 4.6em; margin-left: 4.6em;
} }

File diff suppressed because one or more lines are too long

View File

@ -744,7 +744,6 @@ th.sorted a span {
left: 10px; left: 10px;
} }
#edButtonPreview, #edButtonPreview,
#edButtonHTML { #edButtonHTML {
margin: 5px 0 0 5px; margin: 5px 0 0 5px;
@ -756,7 +755,7 @@ th.sorted a span {
margin-left: 15px; margin-left: 15px;
} }
#media-buttons a { .wp-media-buttons a {
padding: 0 10px 5px 0; padding: 0 10px 5px 0;
} }

File diff suppressed because one or more lines are too long

View File

@ -2194,7 +2194,20 @@ input#link_url {
right: 10px; right: 10px;
} }
.wp-media-buttons img, .wp-media-buttons {
cursor: default;
padding: 8px 8px 0;
}
.wp-media-buttons a {
cursor: pointer;
padding: 0 0 5px 10px;
}
.wp-media-buttons img {
vertical-align: middle;
}
#submitpost #ajax-loading, #submitpost #ajax-loading,
#submitpost .ajax-loading { #submitpost .ajax-loading {
vertical-align: middle; vertical-align: middle;

View File

@ -531,7 +531,7 @@ function wp_dashboard_quick_press() {
</div> </div>
<?php if ( current_user_can( 'upload_files' ) ) : ?> <?php if ( current_user_can( 'upload_files' ) ) : ?>
<div id="media-buttons" class="hide-if-no-js"> <div id="media-buttons" class="hide-if-no-js wp-media-buttons">
<?php do_action( 'media_buttons' ); ?> <?php do_action( 'media_buttons' ); ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -402,7 +402,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr // Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' ); $no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110721' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110815' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110711' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110711' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
@ -421,7 +421,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20110711b' ); $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20110711b' );
$styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20110707' ); $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20110707' );
$styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20110606' ); $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20110606' );
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20110711' ); $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20110815' );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20110707' ); // Readme as well $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20110707' ); // Readme as well
$styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20110602' ); $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20110602' );
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110707' ); $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110707' );