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.
Built from https://develop.svn.wordpress.org/trunk@26583 git-svn-id: http://core.svn.wordpress.org/trunk@26473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3951d34906
commit
4df7acf1d9
|
@ -508,6 +508,11 @@ table.ie-fixed {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
input[type="password"],
|
||||
.login form .input {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* IE6 leftovers */
|
||||
* html .row-actions {
|
||||
visibility: visible;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -508,6 +508,11 @@ table.ie-fixed {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
input[type="password"],
|
||||
.login form .input {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* IE6 leftovers */
|
||||
* html .row-actions {
|
||||
visibility: visible;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -347,6 +347,11 @@ input[type="search"]::-webkit-search-decoration {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.ie8 input[type="password"],
|
||||
.ie8 .login form .input {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* general */
|
||||
html,
|
||||
body {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -347,6 +347,11 @@ input[type="search"]::-webkit-search-decoration {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.ie8 input[type="password"],
|
||||
.ie8 .login form .input {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* general */
|
||||
html,
|
||||
body {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -57,7 +57,12 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
|
|||
add_action( 'login_head', 'wp_shake_js', 12 );
|
||||
|
||||
?><!DOCTYPE html>
|
||||
<!--[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>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
<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( 'colors-fresh', true );
|
||||
wp_admin_css( 'ie', true );
|
||||
|
||||
// Remove all stored post data on logging out.
|
||||
// This could be added by add_action('login_head'...) like wp_shake_js()
|
||||
|
|
Loading…
Reference in New Issue