From 2e21ea25f502b34a8ed55ca96a6fdd0f33abb78a Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 24 Sep 2013 22:33:37 +0000 Subject: [PATCH] Twenty Fourteen: fixes for accent color functionality, props celloexpressions. See #25220. * Apply the primary accent color to the current-time indicator for the `mediaelements` players. * Fix instances of the custom accent color CSS overriding white or black link colors that should have no text-color change on hover. * Remove text color from main navigation hover states for submenus and from main navigation top-level items. * Change the background color a bit more on hover for main navigation submenus. git-svn-id: https://develop.svn.wordpress.org/trunk@25612 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/inc/customizer.php | 1 + src/wp-content/themes/twentyfourteen/style.css | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/wp-content/themes/twentyfourteen/inc/customizer.php b/src/wp-content/themes/twentyfourteen/inc/customizer.php index 38ddb07032..45bb136b96 100644 --- a/src/wp-content/themes/twentyfourteen/inc/customizer.php +++ b/src/wp-content/themes/twentyfourteen/inc/customizer.php @@ -129,6 +129,7 @@ function twentyfourteen_customizer_styles() { html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, + .hentry .mejs-controls .mejs-time-rail .mejs-time-current, .header-extra, .search-toggle, .widget-area button, diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css index 991bd4ee77..5c617a5d9c 100644 --- a/src/wp-content/themes/twentyfourteen/style.css +++ b/src/wp-content/themes/twentyfourteen/style.css @@ -1080,6 +1080,7 @@ footer.entry-meta .entry-title a:hover { .page-links a:hover { background: #24890d; border: 1px solid #24890d; + color: #fff; } .page-links > span.page-links-title { margin: 0; @@ -1576,6 +1577,7 @@ span > object { .paging-navigation a:hover { background-color: #f5f5f5; border-top: 1px solid #000; + color: #2b2b2b; } .post-navigation, .image-navigation { @@ -1927,6 +1929,9 @@ span > object { .widget_calendar a:hover { background-color: #35921f; } +.widget-area .widget_calendar a:hover { + color: #fff; /* Override custom accent color with more specific selector. */ +} .widget_calendar table { border: 1px solid rgba(255, 255, 255, 0.2); border-width: 1px 0 1px 1px;