Ticket #12186: 12186.2.diff

File 12186.2.diff, 1.9 KB (added by johnonolan, 3 years ago)

Removes redundant CSS, lightens up border on background preview, changes labels for background preview.

Line 
1
2Property changes on: .
3___________________________________________________________________
4Name: svn:ignore
5   + wp-config.php
6
7
8Index: wp-admin/css/wp-admin-rtl.dev.css
9===================================================================
10--- wp-admin/css/wp-admin-rtl.dev.css   (revision 14417)
11+++ wp-admin/css/wp-admin-rtl.dev.css   (working copy)
12@@ -595,19 +595,6 @@
13        border-left-width: 1px;
14 }
15 
16-/* Custom Background  */
17-
18-#custom-background table th, #custom-background table td {
19-       text-align:right;
20-       padding-right:0px;
21-       padding-left:40px;
22-}
23-
24-#custom-background table label {
25-       padding-right:0;
26-       padding-left:10px;
27-}
28-
29 /* Custom Header */
30 table#available-headers td {
31        padding: 0 0 10px 20px;
32Index: wp-admin/css/wp-admin.dev.css
33===================================================================
34--- wp-admin/css/wp-admin.dev.css       (revision 14417)
35+++ wp-admin/css/wp-admin.dev.css       (working copy)
36@@ -3687,19 +3687,9 @@
37 
38 /* Custom Background  */
39 
40-#custom-background table th, #custom-background table td {
41-       text-align:left;
42-       padding-right:40px;
43-       padding-left:0;
44-}
45-
46-#custom-background table label {
47-       padding-right:10px;
48-       width:80px;
49-}
50 div#custom-background-image {
51        min-height: 100px;
52-       border: 1px solid #000;
53+       border: 1px solid #dfdfdf;
54 }
55 
56 div#custom-background-image img {
57Index: wp-admin/custom-background.php
58===================================================================
59--- wp-admin/custom-background.php      (revision 14417)
60+++ wp-admin/custom-background.php      (working copy)
61@@ -148,11 +148,11 @@
62                call_user_func($this->admin_image_div_callback);
63        } else {
64 ?>
65-<h3><?php _e('Background Image'); ?></h3>
66+<h3><?php _e('Background Preview'); ?></h3>
67 <table class="form-table">
68 <tbody>
69 <tr valign="top">
70-<th scope="row"><?php _e('Current Image'); ?></th>
71+<th scope="row"><?php _e('Current Background'); ?></th>
72 <td>
73 <style type="text/css">
74 #custom-background-image {