From 262a27b5cf303d6429d0cc173a16628dda3784ba Mon Sep 17 00:00:00 2001 From: iandstewart Date: Thu, 28 Apr 2011 22:04:39 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.automattic.com/wordpress/trunk@17755 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyeleven/inc/theme-options.php | 8 +++++- .../themes/twentyeleven/inc/widgets.php | 4 +-- wp-content/themes/twentyeleven/style.css | 26 ++++++------------- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index aaa576080..91d16c754 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -292,9 +292,15 @@ function twentyeleven_print_link_color_style() { -
  • +
  • comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> @@ -93,7 +93,7 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget { -
  • +
  • a { - background: #f9f9f9; + background: #f9f9f9; /* Show a solid color for older browsers */ background: -moz-linear-gradient(#f9f9f9, #e5e5e5); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); color: #333; } @@ -1216,7 +1215,6 @@ section.recent-posts .other-recent-posts a[rel="bookmark"]:after { font-size: 11px; } section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { - color: #1b8be0; } section.recent-posts .other-recent-posts .comments-link a, section.recent-posts .other-recent-posts .comments-link > span { @@ -1446,23 +1444,16 @@ section.ephemera ol, list-style: square; margin: 5px 0 0; } -section.ephemera .entry-title, -.widget_twentyeleven_ephemera .entry-title { +.widget_twentyeleven_ephemera .widget-entry-title { font-size: 15px; font-weight: bold; padding: 0; } -section.ephemera .entry-title a, .widget_twentyeleven_ephemera .entry-title a { - color: #1b8be0; } -section.ephemera .entry-title a:hover, .widget_twentyeleven_ephemera .entry-title a:hover { - color: #ff4b33; } -section.ephemera .entry-title .comments-link a, -.widget_twentyeleven_ephemera .entry-title .comments-link a, -.widget_twentyeleven_ephemera .entry-title .comments-link { +.widget_twentyeleven_ephemera .comments-link a { color: #666; display: block; font-size: 10px; @@ -1472,7 +1463,6 @@ section.ephemera .entry-title .comments-link a, } section.ephemera .entry-title .comments-link a:hover, .widget_twentyeleven_ephemera .entry-title .comments-link a:hover { - color: #1b8be0; } section.ephemera .entry-title a span { color: #29628d;