Remove redundant CSS, lighten up border on background preview, change labels for background preview. Props johnonolan. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@14577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
01955d3402
commit
c982678a0b
File diff suppressed because one or more lines are too long
|
@ -649,19 +649,6 @@ button.dismiss {
|
||||||
border-left-width: 1px;
|
border-left-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom Background */
|
|
||||||
|
|
||||||
#custom-background table th, #custom-background table td {
|
|
||||||
text-align:right;
|
|
||||||
padding-right:0px;
|
|
||||||
padding-left:40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-background table label {
|
|
||||||
padding-right:0;
|
|
||||||
padding-left:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Custom Header */
|
/* Custom Header */
|
||||||
table#available-headers td {
|
table#available-headers td {
|
||||||
padding: 0 0 10px 20px;
|
padding: 0 0 10px 20px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3685,19 +3685,9 @@ span.imgedit-scale-warn {
|
||||||
|
|
||||||
/* Custom Background */
|
/* Custom Background */
|
||||||
|
|
||||||
#custom-background table th, #custom-background table td {
|
|
||||||
text-align:left;
|
|
||||||
padding-right:40px;
|
|
||||||
padding-left:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-background table label {
|
|
||||||
padding-right:10px;
|
|
||||||
width:80px;
|
|
||||||
}
|
|
||||||
div#custom-background-image {
|
div#custom-background-image {
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
border: 1px solid #000;
|
border: 1px solid #dfdfdf;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#custom-background-image img {
|
div#custom-background-image img {
|
||||||
|
|
|
@ -148,11 +148,11 @@ class Custom_Background {
|
||||||
call_user_func($this->admin_image_div_callback);
|
call_user_func($this->admin_image_div_callback);
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<h3><?php _e('Background Image'); ?></h3>
|
<h3><?php _e('Background Preview'); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Current Image'); ?></th>
|
<th scope="row"><?php _e('Current Background'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#custom-background-image {
|
#custom-background-image {
|
||||||
|
|
Loading…
Reference in New Issue