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

git-svn-id: https://develop.svn.wordpress.org/trunk@18553 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-08-16 04:54:51 +00:00
parent 92092a0249
commit f68214a20a
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;
font-weight: normal;
text-align: right;
padding-top: 5px;
padding-top: 4px;
font-size: 12px;
}
@ -301,10 +301,6 @@ div.postbox div.inside {
color: #777;
}
#dashboard_quick_press #media-buttons a {
vertical-align: bottom;
}
#dashboard-widgets #dashboard_quick_press form p.submit {
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;
}
#edButtonPreview,
#edButtonHTML {
margin: 5px 0 0 5px;
@ -756,7 +755,7 @@ th.sorted a span {
margin-left: 15px;
}
#media-buttons a {
.wp-media-buttons a {
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;
}
.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 {
vertical-align: middle;

View File

@ -531,7 +531,7 @@ function wp_dashboard_quick_press() {
</div>
<?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' ); ?>
</div>
<?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
$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_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( 'media', "/wp-admin/css/media$suffix.css", array(), '20110707' );
$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( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20110602' );
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110707' );