Fix up the 'Attach' dialog on upload.php.

We are de-emphasising attaching (see [22630]) but this is existing
core functionality and will remain for now. This commit just cleans
it up a bit so as to be less embarrassing.

props lessbloat, helenyhou.
fixes #20164.



git-svn-id: https://develop.svn.wordpress.org/trunk@22723 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-11-20 18:50:15 +00:00
parent e158d36f6e
commit 0a830bf46b
7 changed files with 130 additions and 77 deletions
+10 -7
View File
@@ -20,13 +20,18 @@ TABLE OF CONTENTS:
1.0 - Left to Right Styles
------------------------------------------------------------------------------*/
.find-box-search {
border-color: #dfdfdf;
background-color: #f1f1f1;
.find-box-search,
.find-box-buttons {
background-color: #eff8ff;
border-top: 1px solid #dce6f8;
}
.find-box {
background-color: #f1f1f1;
background-color: #5589aa;
}
.find-box-head {
color: #fff;
}
.find-box-inside {
@@ -167,7 +172,6 @@ textarea.disabled {
h3.dashboard-widget-title,
h3.dashboard-widget-title span,
h3.dashboard-widget-title small,
.find-box-head,
.sidebar-name,
#nav-menu-header,
#nav-menu-footer,
@@ -475,8 +479,7 @@ a.page-numbers {
.widefat tfoot tr th,
h3.dashboard-widget-title,
h3.dashboard-widget-title span,
h3.dashboard-widget-title small,
.find-box-head {
h3.dashboard-widget-title small {
color: #333;
}
+10 -7
View File
@@ -20,13 +20,18 @@ TABLE OF CONTENTS:
1.0 - Left to Right Styles
------------------------------------------------------------------------------*/
.find-box-search {
border-color: #dfdfdf;
background-color: #f1f1f1;
.find-box-search,
.find-box-buttons {
background-color: #f7f7f7;
border-top: 1px solid #ddd;
}
.find-box {
background-color: #f1f1f1;
background-color: #444;
}
.find-box-head {
color: #eee;
}
.find-box-inside {
@@ -170,7 +175,6 @@ textarea.disabled {
h3.dashboard-widget-title,
h3.dashboard-widget-title span,
h3.dashboard-widget-title small,
.find-box-head,
.sidebar-name,
#nav-menu-header,
#nav-menu-footer,
@@ -477,8 +481,7 @@ a.page-numbers {
.widefat tfoot tr th,
h3.dashboard-widget-title,
h3.dashboard-widget-title span,
h3.dashboard-widget-title small,
.find-box-head {
h3.dashboard-widget-title small {
color: #333;
}
+15
View File
@@ -1083,6 +1083,21 @@ span.description,
14.1 - Media Uploader
------------------------------------------------------------------------------*/
#find-posts-input {
float: right;
}
#find-posts-search {
float: right;
margin-right: 3px;
margin-left: 4px;
}
.find-box-search .spinner {
left: auto;
right: 115px;
}
#find-posts-response .found-radio {
padding: 5px 8px 0 0;
}
+37 -14
View File
@@ -3963,10 +3963,10 @@ abbr.required {
------------------------------------------------------------------------------*/
.find-box {
width: 500px;
width: 600px;
height: 300px;
overflow: hidden;
padding: 33px 5px 40px;
padding: 33px 0 51px;
position: absolute;
z-index: 1000;
}
@@ -3984,19 +3984,37 @@ abbr.required {
.find-box-inside {
overflow: auto;
width: 100%;
padding: 6px;
height: 100%;
}
.find-box-search {
padding: 12px;
border-width: 1px;
border-style: none none solid;
overflow: hidden;
padding: 9px;
position: relative;
}
.find-box-search .spinner {
float: none;
left: 125px;
position: absolute;
top: 9px;
}
#find-posts-input {
float: left;
width: 140px;
height: 24px;
}
#find-posts-search {
float: left;
margin: 1px 4px 0 3px;
}
#find-posts-response {
margin: 8px 0;
padding: 0 1px;
padding: 0 1px 6px;
}
#find-posts-response table {
@@ -4004,17 +4022,13 @@ abbr.required {
}
#find-posts-response .found-radio {
padding: 5px 0 0 8px;
padding: 3px 0 0 8px;
width: 15px;
}
.find-box-buttons {
width: 480px;
margin: 8px;
}
.find-box-search label {
padding-right: 6px;
padding: 8px;
overflow: hidden;
}
.find-box #resize-se {
@@ -4023,6 +4037,15 @@ abbr.required {
bottom: 1px;
}
.ui-find-overlay {
position: absolute;
top: 0;
left: 0;
background-color: #000;
opacity: 0.6;
filter: alpha(opacity=60);
}
ul#dismissed-updates {
display: none;
}