<!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>[20777] trunk/wp-includes: Theme Customizer: Flex-width friendly UI, improved typographical hierarchy.</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/20777">20777</a></dd>
<dt>Author</dt> <dd>koopersmith</dd>
<dt>Date</dt> <dd>2012-05-12 00:48:20 +0000 (Sat, 12 May 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see <a href="http://core.trac.wordpress.org/ticket/19910">#19910</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesclasswpcustomizecontrolphp">trunk/wp-includes/class-wp-customize-control.php</a></li>
<li><a href="#trunkwpincludescsscustomizecontrolsrtldevcss">trunk/wp-includes/css/customize-controls-rtl.dev.css</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="trunkwpincludesclasswpcustomizecontrolphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-customize-control.php (20776 => 20777)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-customize-control.php        2012-05-11 21:29:01 UTC (rev 20776)
+++ trunk/wp-includes/class-wp-customize-control.php        2012-05-12 00:48:20 UTC (rev 20777)
</span><span class="lines">@@ -172,8 +172,8 @@
</span><span class="cx">                         case 'checkbox':
</span><span class="cx">                                 ?&gt;
</span><span class="cx">                                 &lt;label&gt;
</span><del>-                                        &lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
</del><span class="cx">                                         &lt;input type=&quot;checkbox&quot; value=&quot;&lt;?php echo esc_attr( $this-&gt;value() ); ?&gt;&quot; &lt;?php $this-&gt;link(); checked( $this-&gt;value() ); ?&gt; /&gt;
</span><ins>+                                        &lt;?php echo esc_html( $this-&gt;label ); ?&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="trunkwpincludescsscustomizecontrolsrtldevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/css/customize-controls-rtl.dev.css (20776 => 20777)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/css/customize-controls-rtl.dev.css        2012-05-11 21:29:01 UTC (rev 20776)
+++ trunk/wp-includes/css/customize-controls-rtl.dev.css        2012-05-12 00:48:20 UTC (rev 20777)
</span><span class="lines">@@ -23,19 +23,6 @@
</span><span class="cx">         margin-left: 10px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.customize-control-content {
-        float: left;
-}
-
-.customize-control-text input,
-.customize-control-select select,
-.customize-control-checkbox input,
-.customize-control-color .color-picker,
-.customize-control-upload div {
-        float: right;
-        clear: left;
-}
-
</del><span class="cx"> .customize-control-text input {
</span><span class="cx">         float: left;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpincludescsscustomizecontrolsdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/css/customize-controls.dev.css (20776 => 20777)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/css/customize-controls.dev.css        2012-05-11 21:29:01 UTC (rev 20776)
+++ trunk/wp-includes/css/customize-controls.dev.css        2012-05-12 00:48:20 UTC (rev 20777)
</span><span class="lines">@@ -34,29 +34,38 @@
</span><span class="cx">         overflow: hidden;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.control-section {
-        border: 0;
-}
</del><ins>+.control-section .customize-section-title {
+        padding: 10px 20px;
+        font-size: 15px;
+        font-family: Georgia, &quot;Times New Roman&quot;, &quot;Bitstream Charter&quot;, Times, serif;
+        font-weight: normal;
+        text-shadow: 0 1px 0 #fff;
</ins><span class="cx"> 
</span><del>-.control-section .customize-section-title {
-        padding: 8px 20px;
-        border-top: 1px solid #fff;
-        border-bottom: 1px solid #dfdfdf;
-        font-size: 13px;
</del><ins>+        background-color: #f5f5f5;
+        background-image: -webkit-linear-gradient( top, #f5f5f5, #eee );
+        background-image:    -moz-linear-gradient( top, #f5f5f5, #eee );
+        background-image:     -ms-linear-gradient( top, #f5f5f5, #eee );
+        background-image:      -o-linear-gradient( top, #f5f5f5, #eee );
+        background-image:         linear-gradient( top, #f5f5f5, #eee );
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .control-section .customize-section-title:hover {
</span><del>-        background-color: #efefef;
-        background-image: -webkit-linear-gradient( top, #f5f5f5, #eee );
-        background-image: -moz-linear-gradient( top, #f5f5f5, #eee );
-        background-image: -ms-linear-gradient( top, #f5f5f5, #eee );
-        background-image: -o-linear-gradient( top, #f5f5f5, #eee );
-        background-image: linear-gradient( top, #f5f5f5, #eee );
-        box-shadow: inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 );
</del><ins>+        color: #222;
+        background-color: #f9f9f9;
+        background-image: -webkit-linear-gradient( top, #f9f9f9, #f1f1f1 );
+        background-image:    -moz-linear-gradient( top, #f9f9f9, #f1f1f1 );
+        background-image:     -ms-linear-gradient( top, #f9f9f9, #f1f1f1 );
+        background-image:      -o-linear-gradient( top, #f9f9f9, #f1f1f1 );
+        background-image:         linear-gradient( top, #f9f9f9, #f1f1f1 );
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .control-section .customize-section-content {
</span><del>-        border-top: 1px solid #fff;
</del><ins>+
+}
+.control-section.open .customize-section-title {
+        border-bottom: 1px solid #e5e5e5;
+}
+.control-section.open .customize-section-title:hover {
</ins><span class="cx">         border-bottom: 1px solid #dfdfdf;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -68,9 +77,9 @@
</span><span class="cx">         content: '';
</span><span class="cx">         width: 0;
</span><span class="cx">         height: 0;
</span><del>-        border-color: #ccc transparent transparent transparent;
</del><ins>+        border-color: #ccc transparent;
</ins><span class="cx">         border-style: solid;
</span><del>-        border-width: 6px;
</del><ins>+        border-width: 6px 6px 0;
</ins><span class="cx">         position: absolute;
</span><span class="cx">         top: 25px;
</span><span class="cx">         right: 20px;
</span><span class="lines">@@ -78,12 +87,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-section.open .customize-section-title:after {
</span><del>-        margin-top: -7px;
-        border-color: transparent transparent #ccc transparent;
</del><ins>+        margin-top: -1px;
+        border-width: 0 6px 6px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.customize-section-title:hover:after {
+        border-color: #aaa transparent;
+}
+
</ins><span class="cx"> .control-section .customize-section-title:after {
</span><del>-        top: 13px;
</del><ins>+        top: 15px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #customize-info {
</span><span class="lines">@@ -140,49 +153,43 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-control {
</span><ins>+        width: 100%;
</ins><span class="cx">         float: left;
</span><span class="cx">         clear: both;
</span><del>-        margin-bottom: 4px;
</del><ins>+        margin-bottom: 8px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-control-title {
</span><del>-        clear: left;
-        float: left;
-        min-width: 110px;
-        margin-right: 10px;
-        line-height: 28px;
</del><ins>+        display: block;
+        line-height: 24px;
+        font-weight: bold;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.customize-control-content {
-        float: right;
-        width: 140px;
-}
-
-.customize-control-text input,
-.customize-control-select select,
-.customize-control-checkbox input,
</del><ins>+.customize-control select,
+.customize-control input[type=&quot;text&quot;],
+.customize-control input[type=&quot;radio&quot;],
+.customize-control input[type=&quot;checkbox&quot;],
</ins><span class="cx"> .customize-control-color .color-picker,
</span><ins>+.customize-control-checkbox label,
</ins><span class="cx"> .customize-control-upload div {
</span><del>-        float: left;
-        clear: right;
</del><span class="cx">         line-height: 28px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.customize-control-text input {
-        float: right;
-        width: 138px;
</del><ins>+.customize-control input[type=&quot;text&quot;] {
+        width: 98%;
</ins><span class="cx">         line-height: 18px;
</span><del>-        margin: 1px;
</del><ins>+        margin: 0;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.customize-control-select select {
-        width: 138px;
</del><ins>+.customize-control select {
+        min-width: 50%;
+        max-width: 100%;
</ins><span class="cx">         height: 28px;
</span><span class="cx">         line-height: 28px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-control-checkbox input {
</span><del>-        margin-top: 8px;
</del><ins>+        margin-right: 5px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-control-radio {
</span><span class="lines">@@ -212,9 +219,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Style for custom settings
</span><span class="cx">  */
</span><del>-.customize-section select {
-        max-width: 150px;
-}
</del><span class="cx"> 
</span><span class="cx"> /*
</span><span class="cx">  * Dropdowns
</span><span class="lines">@@ -356,8 +360,8 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-control-color .farbtastic-placeholder {
</span><del>-        width: 235px;
-        margin: 5px 0 10px 25px;
</del><ins>+        width: 100%;
+        margin: 5px 0 10px;
</ins><span class="cx">         float: left;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>