The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles.

Props erayalakese for the JS patch.
Fixes #28220.



git-svn-id: https://develop.svn.wordpress.org/trunk@28830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-06-25 17:38:28 +00:00
parent 6f220c7fc7
commit 69101fe0f3
3 changed files with 8 additions and 15 deletions

View File

@ -24,11 +24,6 @@ body#media-upload ul#sidemenu {
clear: both; clear: both;
} }
#media-upload,
#media-upload .media-item .slidetoggle {
background: #fff;
}
#media-upload .slidetoggle { #media-upload .slidetoggle {
border-top-color: #dfdfdf; border-top-color: #dfdfdf;
} }
@ -185,7 +180,7 @@ abbr.required {
.menu_order { .menu_order {
float: right; float: right;
font-size: 11px; font-size: 11px;
margin: 3px 10px 0; margin: 8px 10px 0;
} }
.menu_order_input { .menu_order_input {
@ -217,7 +212,6 @@ abbr.required {
} }
#media-upload .widefat { #media-upload .widefat {
width: 626px;
border-style: solid solid none; border-style: solid solid none;
} }
@ -273,9 +267,10 @@ h4.media-sub-title {
#gallery-settings .describe { #gallery-settings .describe {
padding: 5px; padding: 5px;
width: 615px; width: 100%;
clear: both; clear: both;
cursor: default; cursor: default;
background: #fff;
} }
#gallery-settings .describe select { #gallery-settings .describe select {
@ -327,7 +322,7 @@ h4.media-sub-title {
} }
p.media-types { p.media-types {
margin: 1em; padding: 1em;
} }
tr.not-image { tr.not-image {

View File

@ -102,6 +102,7 @@
display: block; display: block;
line-height: 36px; line-height: 36px;
float: right; float: right;
margin-right: 6px;
} }
.media-item .describe-toggle-off, .media-item .describe-toggle-off,
@ -118,10 +119,7 @@
min-height: 36px; min-height: 36px;
position: relative; position: relative;
width: 100%; width: 100%;
} background: #fff;
#media-items {
width: 623px;
} }
.media-new-php #media-items { .media-new-php #media-items {
@ -143,7 +141,7 @@
.media-item .pinkynail { .media-item .pinkynail {
float: left; float: left;
margin: 2px 10px 0 0; margin: 2px 10px 0 3px;
max-width: 40px; max-width: 40px;
max-height: 32px; max-height: 32px;
} }

View File

@ -40,7 +40,7 @@ var tb_position;
var tbWindow = $('#TB_window'), var tbWindow = $('#TB_window'),
width = $(window).width(), width = $(window).width(),
H = $(window).height(), H = $(window).height(),
W = ( 720 < width ) ? 720 : width, W = ( 833 < width ) ? 833 : width,
adminbar_height = 0; adminbar_height = 0;
if ( $('#wpadminbar').length ) { if ( $('#wpadminbar').length ) {