From a1ea21a2585265eb451e880e4a99ffcad1c55092 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 5 Dec 2013 21:02:11 +0000 Subject: [PATCH] Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444. git-svn-id: https://develop.svn.wordpress.org/trunk@26689 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/css/ie.css | 4 ++-- src/wp-content/themes/twentyfourteen/functions.php | 2 +- src/wp-content/themes/twentyfourteen/inc/custom-header.php | 2 +- src/wp-content/themes/twentyfourteen/style.css | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/css/ie.css b/src/wp-content/themes/twentyfourteen/css/ie.css index 96a377781b..083c13a363 100644 --- a/src/wp-content/themes/twentyfourteen/css/ie.css +++ b/src/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/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 683e819fcd..e611a213ae 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/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/src/wp-content/themes/twentyfourteen/inc/custom-header.php b/src/wp-content/themes/twentyfourteen/inc/custom-header.php index 96a26dbbc5..f22ef18866 100644 --- a/src/wp-content/themes/twentyfourteen/inc/custom-header.php +++ b/src/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; }