<!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>[25857] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: revise link colors.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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/25857">25857</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-10-21 16:39:53 +0000 (Mon, 21 Oct 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Fourteen: revise link colors. Props iamtakashi, see <a href="http://core.trac.wordpress.org/ticket/25640">#25640</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteeneditorstylecss">trunk/src/wp-content/themes/twentyfourteen/editor-style.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteeninccustomizerphp">trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenstylecss">trunk/src/wp-content/themes/twentyfourteen/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyfourteeneditorstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/editor-style.css (25856 => 25857)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/editor-style.css 2013-10-21 16:34:56 UTC (rev 25856)
+++ trunk/src/wp-content/themes/twentyfourteen/editor-style.css 2013-10-21 16:39:53 UTC (rev 25857)
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx">
</span><span class="cx"> a:active,
</span><span class="cx"> a:hover {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> outline: 0;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteeninccustomizerphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php (25856 => 25857)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php 2013-10-21 16:34:56 UTC (rev 25856)
+++ trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php 2013-10-21 16:39:53 UTC (rev 25857)
</span><span class="lines">@@ -55,8 +55,8 @@
</span><span class="cx"> function twentyfourteen_generate_accent_colors( $color ) {
</span><span class="cx"> $color = sanitize_hex_color( $color );
</span><span class="cx">
</span><del>- set_theme_mod( 'accent_lighter', twentyfourteen_adjust_color( $color, 14 ) );
- set_theme_mod( 'accent_much_lighter', twentyfourteen_adjust_color( $color, 71 ) );
</del><ins>+ set_theme_mod( 'accent_lighter', twentyfourteen_adjust_color( $color, 29 ) );
+ set_theme_mod( 'accent_much_lighter', twentyfourteen_adjust_color( $color, 49 ) );
</ins><span class="cx">
</span><span class="cx"> return $color;
</span><span class="cx"> }
</span><span class="lines">@@ -115,37 +115,22 @@
</span><span class="cx"> $accent_much_lighter = get_theme_mod( 'accent_much_lighter' );
</span><span class="cx">
</span><span class="cx"> $css = '/* Custom accent color. */
</span><del>- h1 a:hover,
- h2 a:hover,
- h3 a:hover,
- h4 a:hover,
- h5 a:hover,
- h6 a:hover,
</del><span class="cx"> a,
</span><del>- .entry-title a:hover,
- .cat-links a:hover,
- .site-content .post-navigation a:hover,
- .site-content .image-navigation a:hover,
- .comment-author a:hover,
- .comment-metadata a:hover,
- .comment-list .trackback a:hover,
- .comment-list .pingback a:hover,
</del><span class="cx"> .paging-navigation .page-numbers.current,
</span><del>- .content-sidebar.widget-area a:hover,
</del><span class="cx"> .content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link {
</span><span class="cx"> color: ' . $accent_color . ';
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> button,
</span><del>- html input[type="button"],
</del><ins>+ .contributor-posts-link,
+ input[type="button"],
</ins><span class="cx"> input[type="reset"],
</span><span class="cx"> input[type="submit"],
</span><del>- .hentry .mejs-controls .mejs-time-rail .mejs-time-current,
</del><span class="cx"> .header-extra,
</span><span class="cx"> .search-toggle,
</span><span class="cx"> .primary-navigation ul ul,
</span><span class="cx"> .primary-navigation li:hover > a,
</span><del>- .page-links a:hover,
</del><ins>+ .hentry .mejs-controls .mejs-time-rail .mejs-time-current,
</ins><span class="cx"> .widget_calendar tbody a {
</span><span class="cx"> background-color: ' . $accent_color . ';
</span><span class="cx"> }
</span><span class="lines">@@ -158,47 +143,61 @@
</span><span class="cx"> background: ' . $accent_color . ';
</span><span class="cx"> }
</span><span class="cx">
</span><del>- .page-links a:hover,
</del><span class="cx"> .paging-navigation .page-numbers.current {
</span><span class="cx"> border-color: ' . $accent_color . ';
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Generated variant of custom accent color: slightly lighter. */
</span><del>- .search-toggle:hover,
- .search-toggle.active,
- .search-box,
</del><span class="cx"> button:hover,
</span><del>- html input[type="button"]:hover,
</del><ins>+ button:focus,
+ .contributor-posts-link:hover,
+ input[type="button"]:hover,
+ input[type="button"]:focus,
</ins><span class="cx"> input[type="reset"]:hover,
</span><ins>+ input[type="reset"]:focus,
</ins><span class="cx"> input[type="submit"]:hover,
</span><del>- button:focus,
- html input[type="button"]:focus,
- input[type="reset"]:focus,
</del><span class="cx"> input[type="submit"]:focus,
</span><ins>+ .search-toggle:hover,
+ .search-toggle.active,
+ .search-box,
</ins><span class="cx"> .widget_calendar tbody a:hover {
</span><span class="cx"> background-color: ' . $accent_lighter . ';
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Generated variant of custom accent color: much lighter. */
</span><span class="cx"> button:active,
</span><del>- html input[type="button"]:active,
</del><ins>+ .contributor-posts-link:active,
+ input[type="button"]:active,
</ins><span class="cx"> input[type="reset"]:active,
</span><del>- input[type="submit"]:active {
</del><ins>+ input[type="submit"]:active,
+ .page-links a:hover {
</ins><span class="cx"> background-color: ' . $accent_much_lighter . ';
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> a:hover,
</span><span class="cx"> a:focus,
</span><span class="cx"> a:active,
</span><del>- .primary-navigation li.current_page_item > a,
- .primary-navigation li.current-menu-item > a,
</del><ins>+ .site-navigation .current_page_item > a,
+ .site-navigation .current-menu-item > a,
</ins><span class="cx"> .secondary-navigation a:hover,
</span><del>- #secondary .current_page_item > a,
- #secondary .current-menu-item > a,
- .featured-content a:hover,
- .featured-content .more-link,
- .widget-area a:hover {
</del><ins>+ .entry-title a:hover,
+ .cat-links a:hover,
+ .post-navigation a:hover,
+ .image-navigation a:hover,
+ .comment-author a:hover,
+ .comment-list .pingback a:hover,
+ .comment-list .trackback a:hover,
+ .comment-metadata a:hover,
+ .footer-sidebar a:hover,
+ .primary-sidebar a:hover,
+ .content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link:hover,
+ .featured-content a:hover {
</ins><span class="cx"> color: ' . $accent_much_lighter . ';
</span><ins>+ }
+
+ .page-links a:hover,
+ .paging-navigation a:hover {
+ border-color: ' . $accent_much_lighter . ';
</ins><span class="cx"> }';
</span><span class="cx">
</span><span class="cx"> wp_add_inline_style( 'twentyfourteen-style', $css );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/style.css (25856 => 25857)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css 2013-10-21 16:34:56 UTC (rev 25856)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css 2013-10-21 16:39:53 UTC (rev 25857)
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx"> a:hover,
</span><span class="cx"> a:focus,
</span><span class="cx"> a:active {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> h1,
</span><span class="lines">@@ -404,7 +404,7 @@
</span><span class="cx"> input[type="radio"],
</span><span class="cx"> input[type="reset"],
</span><span class="cx"> input[type="search"],
</span><del>-input[type="submit"]
</del><ins>+input[type="submit"],
</ins><span class="cx"> input[type="text"],
</span><span class="cx"> input[type="url"],
</span><span class="cx"> textarea {
</span><span class="lines">@@ -478,7 +478,7 @@
</span><span class="cx"> input[type="reset"]:focus,
</span><span class="cx"> input[type="submit"]:hover,
</span><span class="cx"> input[type="submit"]:focus {
</span><del>- background-color: #35921f;
</del><ins>+ background-color: #41a62a;
</ins><span class="cx"> color: #fff;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> input[type="button"]:active,
</span><span class="cx"> input[type="reset"]:active,
</span><span class="cx"> input[type="submit"]:active {
</span><del>- background-color: #5ff23d;
</del><ins>+ background-color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Input Fields */
</span><span class="lines">@@ -830,7 +830,7 @@
</span><span class="cx">
</span><span class="cx"> .search-toggle:hover,
</span><span class="cx"> .search-toggle.active {
</span><del>- background-color: #35921f;
</del><ins>+ background-color: #41a62a;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .search-toggle:before {
</span><span class="lines">@@ -857,7 +857,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .search-box {
</span><del>- background-color: #35921f;
</del><ins>+ background-color: #41a62a;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .search-box .search-field {
</span><span class="lines">@@ -898,7 +898,7 @@
</span><span class="cx">
</span><span class="cx"> .site-navigation .current_page_item > a,
</span><span class="cx"> .site-navigation .current-menu-item > a {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .site-navigation ul {
</span><span class="lines">@@ -997,7 +997,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .secondary-navigation a:hover {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .secondary-navigation ul {
</span><span class="lines">@@ -1187,7 +1187,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .entry-title a:hover {
</span><del>- color: #24890d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -1233,7 +1233,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .cat-links a:hover {
</span><del>- color: #24890d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .byline {
</span><span class="lines">@@ -1440,8 +1440,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .page-links a:hover {
</span><del>- background: #24890d;
- border: 1px solid #24890d;
</del><ins>+ background: #55d737;
+ border: 1px solid #55d737;
</ins><span class="cx"> color: #fff;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1686,7 +1686,7 @@
</span><span class="cx">
</span><span class="cx"> .post-navigation a:hover,
</span><span class="cx"> .image-navigation a:hover {
</span><del>- color: #24890d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Paging Navigation */
</span><span class="lines">@@ -1722,7 +1722,7 @@
</span><span class="cx">
</span><span class="cx"> .paging-navigation a:hover {
</span><span class="cx"> background-color: #f5f5f5;
</span><del>- border-top: 5px solid #24890d;
</del><ins>+ border-top: 5px solid #55d737;
</ins><span class="cx"> color: #2b2b2b;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1915,7 +1915,7 @@
</span><span class="cx"> .comment-list .pingback a:hover,
</span><span class="cx"> .comment-list .trackback a:hover,
</span><span class="cx"> .comment-metadata a:hover {
</span><del>- color: #24890d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> text-decoration: none;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1969,8 +1969,6 @@
</span><span class="cx"> padding-left: 36px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
-
</del><span class="cx"> .comment-edit-link {
</span><span class="cx"> margin-left: 10px;
</span><span class="cx"> }
</span><span class="lines">@@ -2037,7 +2035,9 @@
</span><span class="cx"> display: block;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.comment-form input[type=text] {
</del><ins>+.comment-form input[type="text"],
+.comment-form input[type="email"],
+.comment-form input[type="url"] {
</ins><span class="cx"> width: 100%;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2076,7 +2076,7 @@
</span><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/* Primary Sidebar */
</del><ins>+/* Primary Sidebar, Footer Sidebar */
</ins><span class="cx">
</span><span class="cx"> #secondary {
</span><span class="cx"> background-color: #000;
</span><span class="lines">@@ -2101,21 +2101,22 @@
</span><span class="cx"> padding-top: 48px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-area p {
- margin-bottom: 18px;
-}
-
-.widget-area a {
</del><ins>+.footer-sidebar a,
+.primary-sidebar a {
</ins><span class="cx"> color: rgba(255, 255, 255, 0.75);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-area a:hover {
- color: #5ff23d;
</del><ins>+.footer-sidebar a:hover,
+.primary-sidebar a:hover {
+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-area .widget-title,
-.widget-area .widget-title a,
-.widget-area .widget-title a:hover {
</del><ins>+.footer-sidebar .widget-title,
+.footer-sidebar .widget-title a,
+.footer-sidebar .widget-title a:hover,
+.primary-sidebar .widget-title,
+.primary-sidebar .widget-title a,
+.primary-sidebar .widget-title a:hover {
</ins><span class="cx"> color: #fff;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2135,15 +2136,7 @@
</span><span class="cx"> position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.content-sidebar.widget-area a {
- color: #2b2b2b;
-}
</del><span class="cx">
</span><del>-.content-sidebar.widget-area a:hover {
- color: #24890d;
-}
-
-
</del><span class="cx"> /**
</span><span class="cx"> * 7.1 Widgets
</span><span class="cx"> * -----------------------------------------------------------------------------
</span><span class="lines">@@ -2155,6 +2148,10 @@
</span><span class="cx"> overflow: hidden;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.widget p {
+ margin-bottom: 18px;
+}
+
</ins><span class="cx"> .widget ul,
</span><span class="cx"> .widget ol {
</span><span class="cx"> list-style: none;
</span><span class="lines">@@ -2239,13 +2236,9 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .widget_calendar tbody a:hover {
</span><del>- background-color: #35921f;
</del><ins>+ background-color: #41a62a;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-area .widget_calendar tbody a:hover {
- color: #fff; /* Override custom accent color with more specific selector. */
-}
-
</del><span class="cx"> .widget_calendar #prev {
</span><span class="cx"> padding-left: 5px;
</span><span class="cx"> }
</span><span class="lines">@@ -2450,11 +2443,6 @@
</span><span class="cx"> background-color: rgba(0, 0, 0, 0.02);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.content-sidebar .widget_calendar tbody a,
-.content-sidebar.widget-area .widget_calendar tbody a:hover {
- color: #fff; /* Override custom accent color with more specific selector. */
-}
-
</del><span class="cx"> /* Ephemera widget*/
</span><span class="cx">
</span><span class="cx"> .content-sidebar .widget_twentyfourteen_ephemera .widget-title {
</span><span class="lines">@@ -2532,7 +2520,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link:hover {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -2627,7 +2615,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .featured-content a:hover {
</span><del>- color: #5ff23d;
</del><ins>+ color: #55d737;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .featured-content .entry-meta {
</span></span></pre>
</div>
</div>
</body>
</html>