From 8e352c8187ab07e7d1018e3534faee5bbfba0501 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 5 Dec 2013 21:03:11 +0000 Subject: [PATCH] Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444. Built from https://develop.svn.wordpress.org/trunk@26689 git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/css/ie.css | 4 ++-- wp-content/themes/twentyfourteen/functions.php | 2 +- wp-content/themes/twentyfourteen/inc/custom-header.php | 2 +- wp-content/themes/twentyfourteen/style.css | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyfourteen/css/ie.css b/wp-content/themes/twentyfourteen/css/ie.css index 96a377781b..083c13a363 100644 --- a/wp-content/themes/twentyfourteen/css/ie.css +++ b/wp-content/themes/twentyfourteen/css/ie.css @@ -886,7 +886,7 @@ a.post-thumbnail:hover { } .ie7 .screen-reader-text { - clip: rect(1px 1px 1px 1px); /* IE7 */ + clip: rect(1px 1px 1px 1px); } .ie7 .site, @@ -904,7 +904,7 @@ a.post-thumbnail:hover { .ie7 .search-toggle .screen-reader-text { color: #fff; - position: relative !important; + position: relative; /* Override inherited `absolute` value set in style.css. */ } .ie7 .search-box { diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 683e819fcd..e611a213ae 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -239,7 +239,7 @@ function twentyfourteen_scripts() { wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'genericons' ) ); // Load the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131110' ); + wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131205' ); wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { diff --git a/wp-content/themes/twentyfourteen/inc/custom-header.php b/wp-content/themes/twentyfourteen/inc/custom-header.php index 96a26dbbc5..f22ef18866 100644 --- a/wp-content/themes/twentyfourteen/inc/custom-header.php +++ b/wp-content/themes/twentyfourteen/inc/custom-header.php @@ -70,9 +70,9 @@ function twentyfourteen_header_style() { ?> .site-title, .site-description { - position: absolute; clip: rect(1px 1px 1px 1px); /* IE7 */ clip: rect(1px, 1px, 1px, 1px); + position: absolute; }