<!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>[21006] trunk/wp-admin: Darken the hover/on states for the customizer section titles.</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/21006">21006</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-06-05 20:57:02 +0000 (Tue, 05 Jun 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Darken the hover/on states for the customizer section titles. Switch Collapse arrow and label. Improve text contrast. props helenyhou. fixes <a href="http://core.trac.wordpress.org/ticket/20828">#20828</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsscustomizecontrolsdevcss">trunk/wp-admin/css/customize-controls.dev.css</a></li>
<li><a href="#trunkwpadmincsswpadminrtldevcss">trunk/wp-admin/css/wp-admin-rtl.dev.css</a></li>
<li><a href="#trunkwpadmincsswpadmindevcss">trunk/wp-admin/css/wp-admin.dev.css</a></li>
<li><a href="#trunkwpadmincustomizephp">trunk/wp-admin/customize.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsscustomizecontrolsdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/customize-controls.dev.css (21005 => 21006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/customize-controls.dev.css        2012-06-05 18:58:25 UTC (rev 21005)
+++ trunk/wp-admin/css/customize-controls.dev.css        2012-06-05 20:57:02 UTC (rev 21006)
</span><span class="lines">@@ -12,6 +12,19 @@
</span><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.control-section.customize-section:hover,
+.control-section.customize-section.open {
+        border-top-color: #808080;
+}
+
+.control-section.customize-section:hover {
+        border-bottom-color: #6d6d6d;
+}
+
+.customize-section.open:hover {
+        border-bottom-color: #dfdfdf;
+}
+
</ins><span class="cx"> .customize-section:last-child {
</span><span class="cx">         box-shadow: 0 1px 0 0px #fff;
</span><span class="cx"> }
</span><span class="lines">@@ -53,27 +66,26 @@
</span><span class="cx">         background-image:         linear-gradient( top, #f5f5f5, #eee );
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.control-section .customize-section-title:hover {
-        color: #222;
-        background-color: #e6e6e6;
-        background-image: -webkit-linear-gradient( top, #e9e9e9, #e4e4e4 );
-        background-image:    -moz-linear-gradient( top, #e9e9e9, #e4e4e4 );
-        background-image:     -ms-linear-gradient( top, #e9e9e9, #e4e4e4 );
-        background-image:      -o-linear-gradient( top, #e9e9e9, #e4e4e4 );
-        background-image:         linear-gradient( top, #e9e9e9, #e4e4e4 );
</del><ins>+.control-section:hover .customize-section-title,
+.control-section .customize-section-title:hover,
+.control-section.open .customize-section-title {
+        color: #fff;
+        text-shadow: 0 -1px 0 #333;
+        background-color: #808080;
+        background-image: -webkit-linear-gradient( top, #808080, #6d6d6d );
+        background-image:    -moz-linear-gradient( top, #808080, #6d6d6d );
+        background-image:     -ms-linear-gradient( top, #808080, #6d6d6d );
+        background-image:      -o-linear-gradient( top, #808080, #6d6d6d );
+        background-image:         linear-gradient( top, #808080, #6d6d6d );
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .control-section.open .customize-section-title {
</span><del>-        border-bottom: 1px solid #e5e5e5;
</del><ins>+        border-bottom: 1px solid #6d6d6d;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.control-section.open .customize-section-title:hover {
-        border-bottom: 1px solid #dfdfdf;
-}
-
</del><span class="cx"> .customize-section.open .customize-section-content {
</span><span class="cx">         display: block;
</span><del>-        background: #fff;
</del><ins>+        background: #fdfdfd;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .customize-section-title:after {
</span><span class="lines">@@ -97,6 +109,10 @@
</span><span class="cx">         border-color: #aaa transparent;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.control-section .customize-section-title:hover:after {
+        border-color: #eee transparent;
+}
+
</ins><span class="cx"> .control-section .customize-section-title:after {
</span><span class="cx">         top: 15px;
</span><span class="cx"> }
</span><span class="lines">@@ -293,7 +309,7 @@
</span><span class="cx"> .customize-control .dropdown-status {
</span><span class="cx">         display: none;
</span><span class="cx">         max-width: 112px;
</span><del>-        color: #999;
</del><ins>+        color: #777;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /*
</span><span class="lines">@@ -412,7 +428,7 @@
</span><span class="cx">         padding-bottom: 4px;
</span><span class="cx"> 
</span><span class="cx">         color: #777;
</span><del>-        background: #fff;
</del><ins>+        background: #fdfdfd;
</ins><span class="cx">         border-color: #dfdfdf;
</span><span class="cx">         -webkit-border-radius: 3px 3px 0 0;
</span><span class="cx">         border-radius: 3px 3px 0 0 ;
</span></span></pre></div>
<a id="trunkwpadmincsswpadminrtldevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin-rtl.dev.css (21005 => 21006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin-rtl.dev.css        2012-06-05 18:58:25 UTC (rev 21005)
+++ trunk/wp-admin/css/wp-admin-rtl.dev.css        2012-06-05 20:57:02 UTC (rev 21006)
</span><span class="lines">@@ -1591,18 +1591,18 @@
</span><span class="cx"> 
</span><span class="cx"> /* Collapse Button */
</span><span class="cx"> .wp-full-overlay .collapse-sidebar {
</span><del>-        right: auto;
-        left: 15px;
</del><ins>+        right: 0;
+        left: auto;
+        margin-right: 15px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay.collapsed .collapse-sidebar {
</span><del>-        right: auto;
-        left: -45px;
</del><ins>+        right: 100%;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay .collapse-sidebar-arrow {
</span><del>-        margin-left: 0;
</del><span class="cx">         margin-right: 2px;
</span><ins>+        margin-left: 0;
</ins><span class="cx">         background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -108px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1611,11 +1611,10 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay .collapse-sidebar-label {
</span><del>-        text-align: left;
-        right: auto;
-        left: 100%;
-        margin-right: 0;
-        margin-left: 10px;
</del><ins>+        right: 100%;
+        left: auto;
+        margin-right: 10px;
+        margin-left: 0;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /*------------------------------------------------------------------------------
</span></span></pre></div>
<a id="trunkwpadmincsswpadmindevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.dev.css (21005 => 21006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.dev.css        2012-06-05 18:58:25 UTC (rev 21005)
+++ trunk/wp-admin/css/wp-admin.dev.css        2012-06-05 20:57:02 UTC (rev 21006)
</span><span class="lines">@@ -5353,11 +5353,12 @@
</span><span class="cx"> .wp-full-overlay .collapse-sidebar {
</span><span class="cx">         position: absolute;
</span><span class="cx">         bottom: 12px;
</span><del>-        right: 15px;
</del><ins>+        left: 0;
</ins><span class="cx">         z-index: 50;
</span><span class="cx">         display: block;
</span><span class="cx">         width: 19px;
</span><span class="cx">         height: 19px;
</span><ins>+        margin-left: 15px;
</ins><span class="cx">         padding: 0;
</span><span class="cx">         border-radius: 50%;
</span><span class="cx">         text-decoration: none;
</span><span class="lines">@@ -5365,10 +5366,11 @@
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay.collapsed .collapse-sidebar {
</span><span class="cx">         position: absolute;
</span><del>-        right: -35px;
</del><ins>+        left: 100%;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay .collapse-sidebar-arrow {
</span><ins>+        position: absolute;
</ins><span class="cx">         margin-top: 2px;
</span><span class="cx">         margin-left: 2px;
</span><span class="cx">         display: block;
</span><span class="lines">@@ -5382,12 +5384,11 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay .collapse-sidebar-label {
</span><del>-        text-align: right;
</del><span class="cx">         position: absolute;
</span><del>-        right: 100%;
-        color: #aaa;
</del><ins>+        left: 100%;
+        color: #808080;
</ins><span class="cx">         line-height: 20px;
</span><del>-        margin-right: 10px;
</del><ins>+        margin-left: 10px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay.collapsed .collapse-sidebar-label {
</span><span class="lines">@@ -5395,7 +5396,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-label {
</span><del>-        color: #999;
</del><ins>+        color: #666;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /* Animations */
</span></span></pre></div>
<a id="trunkwpadmincustomizephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/customize.php (21005 => 21006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/customize.php        2012-06-05 18:58:25 UTC (rev 21005)
+++ trunk/wp-admin/customize.php        2012-06-05 20:57:02 UTC (rev 21006)
</span><span class="lines">@@ -96,8 +96,8 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;div id=&quot;customize-footer-actions&quot; class=&quot;wp-full-overlay-footer&quot;&gt;
</span><span class="cx">                         &lt;a href=&quot;#&quot; class=&quot;collapse-sidebar button-secondary&quot; title=&quot;&lt;?php esc_attr_e('Collapse Sidebar'); ?&gt;&quot;&gt;
</span><ins>+                                &lt;span class=&quot;collapse-sidebar-arrow&quot;&gt;&lt;/span&gt;
</ins><span class="cx">                                 &lt;span class=&quot;collapse-sidebar-label&quot;&gt;&lt;?php _e('Collapse'); ?&gt;&lt;/span&gt;
</span><del>-                                &lt;span class=&quot;collapse-sidebar-arrow&quot;&gt;&lt;/span&gt;
</del><span class="cx">                         &lt;/a&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">         &lt;/form&gt;
</span></span></pre>
</div>
</div>

</body>
</html>