Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
768fd40c04
commit
a8a4ce9f0d
@ -508,6 +508,11 @@ table.ie-fixed {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="password"],
|
||||||
|
.login form .input {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/* IE6 leftovers */
|
/* IE6 leftovers */
|
||||||
* html .row-actions {
|
* html .row-actions {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
@ -347,6 +347,11 @@ input[type="search"]::-webkit-search-decoration {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ie8 input[type="password"],
|
||||||
|
.ie8 .login form .input {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/* general */
|
/* general */
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
@ -57,7 +57,12 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
|
|||||||
add_action( 'login_head', 'wp_shake_js', 12 );
|
add_action( 'login_head', 'wp_shake_js', 12 );
|
||||||
|
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
<!--[if IE 8]>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>>
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if !(IE 8) ]><!-->
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||||
|
<!--<![endif]-->
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||||
<title><?php bloginfo('name'); ?> › <?php echo $title; ?></title>
|
<title><?php bloginfo('name'); ?> › <?php echo $title; ?></title>
|
||||||
@ -65,6 +70,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
|
|||||||
|
|
||||||
wp_admin_css( 'wp-admin', true );
|
wp_admin_css( 'wp-admin', true );
|
||||||
wp_admin_css( 'colors-fresh', true );
|
wp_admin_css( 'colors-fresh', true );
|
||||||
|
wp_admin_css( 'ie', true );
|
||||||
|
|
||||||
// Remove all stored post data on logging out.
|
// Remove all stored post data on logging out.
|
||||||
// This could be added by add_action('login_head'...) like wp_shake_js()
|
// This could be added by add_action('login_head'...) like wp_shake_js()
|
||||||
|
Loading…
Reference in New Issue
Block a user