<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[20181] trunk/wp-includes: Theme Customizer: Improve sidebar CSS.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/20181">20181</a></dd>
<dt>Author</dt> <dd>koopersmith</dd>
<dt>Date</dt> <dd>2012-03-15 05:30:11 +0000 (Thu, 15 Mar 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Theme Customizer: Improve sidebar CSS. Display most elements inline, refine padding/line-heights. see <a href="http://core.trac.wordpress.org/ticket/19910">#19910</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesclasswpcustomizesectionphp">trunk/wp-includes/class-wp-customize-section.php</a></li>
<li><a href="#trunkwpincludesclasswpcustomizesettingphp">trunk/wp-includes/class-wp-customize-setting.php</a></li>
<li><a href="#trunkwpincludesclasswpcustomizephp">trunk/wp-includes/class-wp-customize.php</a></li>
<li><a href="#trunkwpincludescsscustomizecontrolsdevcss">trunk/wp-includes/css/customize-controls.dev.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesclasswpcustomizesectionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-customize-section.php (20180 => 20181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-customize-section.php        2012-03-15 04:15:22 UTC (rev 20180)
+++ trunk/wp-includes/class-wp-customize-section.php        2012-03-15 05:30:11 UTC (rev 20181)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php foreach ( $this-&gt;settings as $setting ) : ?&gt;
</span><del>-                                &lt;li id=&quot;customize-control-&lt;?php echo esc_attr( $setting-&gt;id ); ?&gt;&quot; class=&quot;customize-control&quot;&gt;
</del><ins>+                                &lt;li id=&quot;customize-control-&lt;?php echo esc_attr( $setting-&gt;id ); ?&gt;&quot; class=&quot;customize-control customize-control-&lt;?php echo esc_attr( $setting-&gt;control ); ?&gt;&quot;&gt;
</ins><span class="cx">                                         &lt;?php $setting-&gt;_render(); ?&gt;
</span><span class="cx">                                 &lt;/li&gt;
</span><span class="cx">                                 &lt;?php endforeach; ?&gt;
</span></span></pre></div>
<a id="trunkwpincludesclasswpcustomizesettingphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-customize-setting.php (20180 => 20181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-customize-setting.php        2012-03-15 04:15:22 UTC (rev 20180)
+++ trunk/wp-includes/class-wp-customize-setting.php        2012-03-15 05:30:11 UTC (rev 20181)
</span><span class="lines">@@ -336,7 +336,8 @@
</span><span class="cx">                 switch( $this-&gt;control ) {
</span><span class="cx">                         case 'text':
</span><span class="cx">                                 ?&gt;
</span><del>-                                &lt;label&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;br/&gt;
</del><ins>+                                &lt;label&gt;
+                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
</ins><span class="cx">                                         &lt;input type=&quot;text&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); ?&gt; /&gt;
</span><span class="cx">                                 &lt;/label&gt;
</span><span class="cx">                                 &lt;?php
</span><span class="lines">@@ -344,7 +345,7 @@
</span><span class="cx">                         case 'color':
</span><span class="cx">                                 ?&gt;
</span><span class="cx">                                 &lt;label&gt;
</span><del>-                                        &lt;span&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
</del><ins>+                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
</ins><span class="cx">                                         &lt;div class=&quot;color-picker&quot;&gt;
</span><span class="cx">                                                 &lt;input type=&quot;hidden&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); ?&gt; /&gt;
</span><span class="cx">                                                 &lt;a href=&quot;#&quot;&gt;&lt;/a&gt;
</span><span class="lines">@@ -364,8 +365,8 @@
</span><span class="cx">                         case 'checkbox':
</span><span class="cx">                                 ?&gt;
</span><span class="cx">                                 &lt;label&gt;
</span><del>-                                        &lt;input type=&quot;checkbox&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); checked( $this-&gt;value() ); ?&gt; /&gt;
-                                        &lt;?php echo esc_html( $this-&gt;label ); ?&gt;
</del><ins>+                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
+                                        &lt;input type=&quot;checkbox&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); checked( $this-&gt;value() ); ?&gt; class=&quot;customize-control-content&quot; /&gt;
</ins><span class="cx">                                 &lt;/label&gt;
</span><span class="cx">                                 &lt;?php
</span><span class="cx">                                 break;
</span><span class="lines">@@ -373,7 +374,9 @@
</span><span class="cx">                                 if ( empty( $this-&gt;choices ) )
</span><span class="cx">                                         return;
</span><span class="cx"> 
</span><del>-                                echo esc_html( $this-&gt;label ) . '&lt;br/&gt;';
</del><ins>+                                ?&gt;
+                                &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
+                                &lt;?php
</ins><span class="cx">                                 foreach ( $this-&gt;choices as $value =&gt; $label ) :
</span><span class="cx">                                         ?&gt;
</span><span class="cx">                                         &lt;label&gt;
</span><span class="lines">@@ -388,21 +391,26 @@
</span><span class="cx">                                         return;
</span><span class="cx"> 
</span><span class="cx">                                 ?&gt;
</span><del>-                                &lt;label&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;br/&gt;
-                                &lt;select &lt;?php $this-&gt;name(); ?&gt;&gt;
-                                        &lt;?php
-                                        foreach ( $this-&gt;choices as $value =&gt; $label )
-                                                echo '&lt;option value=&quot;' . esc_attr( $value ) . '&quot;' . selected( $this-&gt;value(), $value, false ) . '&gt;' . $label . '&lt;/option&gt;';
-                                        ?&gt;
-                                &lt;/select&gt;
</del><ins>+                                &lt;label&gt;
+                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
+                                        &lt;select &lt;?php $this-&gt;name(); ?&gt; class=&quot;customize-control-content&quot;&gt;
+                                                &lt;?php
+                                                foreach ( $this-&gt;choices as $value =&gt; $label )
+                                                        echo '&lt;option value=&quot;' . esc_attr( $value ) . '&quot;' . selected( $this-&gt;value(), $value, false ) . '&gt;' . $label . '&lt;/option&gt;';
+                                                ?&gt;
+                                        &lt;/select&gt;
+                                &lt;/label&gt;
</ins><span class="cx">                                 &lt;?php
</span><span class="cx">                                 break;
</span><span class="cx">                         case 'upload':
</span><span class="cx">                                 ?&gt;
</span><del>-                                &lt;label&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;br/&gt;
-                                        &lt;input type=&quot;hidden&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); ?&gt; /&gt;
-                                        &lt;a href=&quot;#&quot; class=&quot;button-secondary upload&quot;&gt;&lt;?php _e( 'Upload' ); ?&gt;&lt;/a&gt;
-                                        &lt;a href=&quot;#&quot; class=&quot;remove&quot;&gt;&lt;?php _e( 'Remove' ); ?&gt;&lt;/a&gt;
</del><ins>+                                &lt;label&gt;
+                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
+                                        &lt;div&gt;
+                                                &lt;input type=&quot;hidden&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;name(); ?&gt; /&gt;
+                                                &lt;a href=&quot;#&quot; class=&quot;button-secondary upload&quot;&gt;&lt;?php _e( 'Upload' ); ?&gt;&lt;/a&gt;
+                                                &lt;a href=&quot;#&quot; class=&quot;remove&quot;&gt;&lt;?php _e( 'Remove' ); ?&gt;&lt;/a&gt;
+                                        &lt;/div&gt;
</ins><span class="cx">                                 &lt;/label&gt;
</span><span class="cx">                                 &lt;?php
</span><span class="cx">                                 break;
</span></span></pre></div>
<a id="trunkwpincludesclasswpcustomizephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-customize.php (20180 => 20181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-customize.php        2012-03-15 04:15:22 UTC (rev 20180)
+++ trunk/wp-includes/class-wp-customize.php        2012-03-15 05:30:11 UTC (rev 20181)
</span><span class="lines">@@ -588,7 +588,7 @@
</span><span class="cx">                 ) );
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;add_setting( 'page_on_front', array(
</span><del>-                        'label'          =&gt; __( 'Front page:' ),
</del><ins>+                        'label'          =&gt; __( 'Front page' ),
</ins><span class="cx">                 //        'theme_supports' =&gt; 'static-front-page',
</span><span class="cx">                         'section'        =&gt; 'static_front_page',
</span><span class="cx">                         'control'        =&gt; 'dropdown-pages',
</span><span class="lines">@@ -597,7 +597,7 @@
</span><span class="cx">                 ) );
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;add_setting( 'page_for_posts', array(
</span><del>-                        'label'          =&gt; __( 'Posts page:' ),
</del><ins>+                        'label'          =&gt; __( 'Posts page' ),
</ins><span class="cx">                 //        'theme_supports' =&gt; 'static-front-page',
</span><span class="cx">                         'section'        =&gt; 'static_front_page',
</span><span class="cx">                         'control'        =&gt; 'dropdown-pages',
</span></span></pre></div>
<a id="trunkwpincludescsscustomizecontrolsdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/css/customize-controls.dev.css (20180 => 20181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/css/customize-controls.dev.css        2012-03-15 04:15:22 UTC (rev 20180)
+++ trunk/wp-includes/css/customize-controls.dev.css        2012-03-15 05:30:11 UTC (rev 20181)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> .customize-section-content {
</span><span class="cx">         display: none;
</span><span class="cx">         padding: 0 20px 15px;
</span><ins>+        overflow: hidden;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-section.open .customize-section-content {
</span><span class="lines">@@ -107,6 +108,62 @@
</span><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.customize-control {
+        float: left;
+        clear: both;
+}
+
+.customize-control-title {
+        clear: left;
+        float: left;
+        min-width: 110px;
+        margin-right: 10px;
+        line-height: 28px;
+}
+.customize-control-text input,
+.customize-control-select select,
+.customize-control-checkbox input,
+.customize-control-color .color-picker,
+.customize-control-upload div {
+        float: left;
+        clear: right;
+        line-height: 28px;
+}
+
+.customize-control-text input {
+        width: 138px;
+        line-height: 18px;
+        margin: 1px 1px 5px;
+}
+
+.customize-control-select select {
+        width: 138px;
+        height: 28px;
+        line-height: 28px;
+}
+
+.customize-control-checkbox input {
+        margin-top: 8px;
+}
+
+.customize-control-radio {
+        padding: 10px 0;
+}
+
+.customize-control-radio .customize-control-title {
+        margin-bottom: 0;
+        line-height: 22px;
+}
+
+.customize-control-radio label {
+        float: left;
+        clear: both;
+        line-height: 20px;
+}
+.customize-control-radio input {
+        margin-right: 5px;
+}
+
</ins><span class="cx"> #customize-preview {
</span><span class="cx">         position: fixed;
</span><span class="cx">         left: 300px;
</span><span class="lines">@@ -188,10 +245,6 @@
</span><span class="cx">  * Color Picker
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-.customize-section .color-picker {
-        margin-top: 4px;
-}
-
</del><span class="cx"> .customize-section .color-picker a {
</span><span class="cx">         display: block;
</span><span class="cx">         height: 20px;
</span></span></pre>
</div>
</div>

</body>
</html>