Add the styling for "drop area" to Media->Add New, see #18206

git-svn-id: https://develop.svn.wordpress.org/trunk@18703 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-09-18 17:03:34 +00:00
parent c0f4b1a326
commit ff6097e6ee
3 changed files with 19 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -3756,10 +3756,6 @@ abbr.required {
14.1 - Media Uploader
------------------------------------------------------------------------------*/
div.plupload input {
cursor: pointer;
}
.find-box {
width: 500px;
height: 300px;
@ -3848,14 +3844,25 @@ form.upgrade .hint {
border-radius: 6px;
}
br.clear {
height: 2px;
line-height: 2px;
.drag-drop #drag-drop-area {
border: 4px dashed #DDDDDD;
height: 300px;
}
.swfupload {
margin: 5px 10px;
vertical-align: middle;
.drag-drop .drag-drop-inside {
padding-top: 100px;
}
.drag-drop .drag-drop-inside p {
text-align: center;
}
.dragdrop-info {
display: none;
}
.drag-drop .dragdrop-info {
display: block;
}

View File

@ -401,7 +401,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(), '20110916' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110918' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array('wp-admin'), '20110902' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );