<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[17755] trunk/wp-content/themes/twentyeleven: Twenty Eleven:
  make sure that link color options set in theme-options.
 php will override showcase.php recent posts and ephemera widget link colors
 ; See #17198</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17755">17755</a></dd>
<dt>Author</dt> <dd>iandstewart</dd>
<dt>Date</dt> <dd>2011-04-28 22:04:39 +0000 (Thu, 28 Apr 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Eleven: make sure that link color options set in theme-options.php will override showcase.php recent posts and ephemera widget link colors; See <a href="http://trac.wordpress.org/ticket/17198">#17198</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevenincthemeoptionsphp">trunk/wp-content/themes/twentyeleven/inc/theme-options.php</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenincwidgetsphp">trunk/wp-content/themes/twentyeleven/inc/widgets.php</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenstylecss">trunk/wp-content/themes/twentyeleven/style.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentyelevenincthemeoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/inc/theme-options.php (17754 => 17755)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-04-28 19:01:51 UTC (rev 17754)
+++ trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-04-28 22:04:39 UTC (rev 17755)
</span><span class="lines">@@ -292,9 +292,15 @@
</span><span class="cx">         &lt;style&gt;
</span><span class="cx">                 /* Link color */
</span><span class="cx">                 a,
</span><del>-                .entry-title a:hover {
</del><ins>+                .entry-title a:hover,
+                .widget_twentyeleven_ephemera .comments-link a:hover,
+                section.recent-posts .other-recent-posts a[rel=&quot;bookmark&quot;]:hover,
+                section.recent-posts .other-recent-posts .comments-link a:hover {
</ins><span class="cx">                         color: &lt;?php echo $link_color; ?&gt;;
</span><span class="cx">                 }
</span><ins>+                section.recent-posts .other-recent-posts .comments-link a:hover {
+                        border-color: &lt;?php echo $link_color; ?&gt;;
+                }                
</ins><span class="cx">         &lt;/style&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenincwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/inc/widgets.php (17754 => 17755)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/inc/widgets.php        2011-04-28 19:01:51 UTC (rev 17754)
+++ trunk/wp-content/themes/twentyeleven/inc/widgets.php        2011-04-28 22:04:39 UTC (rev 17755)
</span><span class="lines">@@ -84,7 +84,7 @@
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php if ( 'link' != get_post_format() ) : ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;li class=&quot;entry-title&quot;&gt;
</del><ins>+                        &lt;li class=&quot;widget-entry-title&quot;&gt;
</ins><span class="cx">                                 &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
</span><span class="cx">                                 &lt;span class=&quot;comments-link&quot;&gt;
</span><span class="cx">                                         &lt;?php comments_popup_link( __( '0 &lt;span class=&quot;reply&quot;&gt;comments &amp;rarr;&lt;/span&gt;', 'twentyeleven' ), __( '1 &lt;span class=&quot;reply&quot;&gt;comment &amp;rarr;&lt;/span&gt;', 'twentyeleven' ), __( '% &lt;span class=&quot;reply&quot;&gt;comments &amp;rarr;&lt;/span&gt;', 'twentyeleven' ) ); ?&gt;
</span><span class="lines">@@ -93,7 +93,7 @@
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php else : ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;li class=&quot;entry-title&quot;&gt;
</del><ins>+                        &lt;li class=&quot;widget-entry-title&quot;&gt;
</ins><span class="cx">                                 &lt;?php
</span><span class="cx">                                         $link_url = get_permalink();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/style.css (17754 => 17755)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/style.css        2011-04-28 19:01:51 UTC (rev 17754)
+++ trunk/wp-content/themes/twentyeleven/style.css        2011-04-28 22:04:39 UTC (rev 17755)
</span><span class="lines">@@ -298,7 +298,7 @@
</span><span class="cx"> 
</span><span class="cx"> body, input, textarea {
</span><span class="cx">         color: #333;
</span><del>-        font: 15px &quot;Helvetica Neue&quot;, Helvetica, Arial, serif;
</del><ins>+        font: 15px &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;
</ins><span class="cx">         font-weight: 300;
</span><span class="cx">         line-height: 1.625;
</span><span class="cx"> }
</span><span class="lines">@@ -435,7 +435,7 @@
</span><span class="cx"> 
</span><span class="cx"> /* Links */
</span><span class="cx"> a {
</span><del>-        color: #1B8BE0;
</del><ins>+        color: #1b8be0;
</ins><span class="cx">         text-decoration: none;
</span><span class="cx"> }
</span><span class="cx"> a:visited {
</span><span class="lines">@@ -446,7 +446,6 @@
</span><span class="cx">         text-decoration: underline;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-
</del><span class="cx"> /* Assitive text */
</span><span class="cx"> .section-heading,
</span><span class="cx"> .screen-reader-text {
</span><span class="lines">@@ -491,9 +490,9 @@
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx"> 
</span><span class="cx"> #access {
</span><del>-        background: #222;
</del><ins>+        background: #222; /* Show a solid color for older browsers */
</ins><span class="cx">         background: -moz-linear-gradient(#252525, #0a0a0a);
</span><del>-        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a));
</del><ins>+        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
</ins><span class="cx">         background: -webkit-linear-gradient(#252525, #0a0a0a);
</span><span class="cx">         -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
</span><span class="cx">         -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
</span><span class="lines">@@ -554,9 +553,9 @@
</span><span class="cx">         background: #efefef;
</span><span class="cx"> }
</span><span class="cx"> #access li:hover &gt; a {
</span><del>-        background: #f9f9f9;
</del><ins>+        background: #f9f9f9; /* Show a solid color for older browsers */
</ins><span class="cx">         background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
</span><del>-        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5));
</del><ins>+        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
</ins><span class="cx">         background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
</span><span class="cx">         color: #333;
</span><span class="cx"> }
</span><span class="lines">@@ -1216,7 +1215,6 @@
</span><span class="cx">         font-size: 11px;
</span><span class="cx"> }
</span><span class="cx"> section.recent-posts .other-recent-posts a[rel=&quot;bookmark&quot;]:hover {
</span><del>-        color: #1b8be0;
</del><span class="cx"> }
</span><span class="cx"> section.recent-posts .other-recent-posts .comments-link a,
</span><span class="cx"> section.recent-posts .other-recent-posts .comments-link &gt; span {
</span><span class="lines">@@ -1446,23 +1444,16 @@
</span><span class="cx">         list-style: square;
</span><span class="cx">         margin: 5px 0 0;
</span><span class="cx"> }
</span><del>-section.ephemera .entry-title,
-.widget_twentyeleven_ephemera .entry-title {
</del><ins>+.widget_twentyeleven_ephemera .widget-entry-title {
</ins><span class="cx">         font-size: 15px;
</span><span class="cx">         font-weight: bold;
</span><span class="cx">         padding: 0;
</span><span class="cx"> }
</span><del>-section.ephemera .entry-title a,
</del><span class="cx"> .widget_twentyeleven_ephemera .entry-title a {
</span><del>-        color: #1b8be0;
</del><span class="cx"> }
</span><del>-section.ephemera .entry-title a:hover,
</del><span class="cx"> .widget_twentyeleven_ephemera .entry-title a:hover {
</span><del>-        color: #ff4b33;
</del><span class="cx"> }
</span><del>-section.ephemera .entry-title .comments-link a,
-.widget_twentyeleven_ephemera .entry-title .comments-link a,
-.widget_twentyeleven_ephemera .entry-title .comments-link {
</del><ins>+.widget_twentyeleven_ephemera .comments-link a {
</ins><span class="cx">         color: #666;
</span><span class="cx">         display: block;
</span><span class="cx">         font-size: 10px;
</span><span class="lines">@@ -1472,7 +1463,6 @@
</span><span class="cx"> }
</span><span class="cx"> section.ephemera .entry-title .comments-link a:hover,
</span><span class="cx"> .widget_twentyeleven_ephemera .entry-title .comments-link a:hover {
</span><del>-        color: #1b8be0;
</del><span class="cx"> }
</span><span class="cx"> section.ephemera .entry-title a span {
</span><span class="cx">         color: #29628d;
</span></span></pre>
</div>
</div>

</body>
</html>